new door furniture
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2025-05-18 22:19:34 -04:00
parent 4ced33751e
commit 5507a5c261
5 changed files with 81 additions and 19 deletions

View File

@ -112,18 +112,18 @@
}, },
{ {
"id" : "Door1", "id" : "Door1",
"displayName" : "Door", "displayName" : "Door (Rough)",
"collidable": { "collidable": {
"type" : "CUBE", "type" : "CUBE",
"dimension1" : 1.0, "dimension1" : 0.25,
"dimension2" : 1.0, "dimension2" : 2.6,
"dimension3" : 2.0, "dimension3" : 1.4,
"rotX": 0, "rotX": 0,
"rotY": 0, "rotY": 0,
"rotZ": 0, "rotZ": 0,
"rotW": 1, "rotW": 1,
"offsetX" : 0.0, "offsetX" : 0.0,
"offsetY" : 0.5, "offsetY" : 1.3,
"offsetZ" : 0.0, "offsetZ" : 0.0,
"kinematic" : true "kinematic" : true
}, },
@ -168,20 +168,7 @@
} }
}, },
"buttonInteraction" : { "buttonInteraction" : {
"onInteract" : "door", "onInteract" : "door"
"interactionShape" : {
"type" : "CUBE",
"dimension1" : 0.3,
"dimension2" : 0.3,
"dimension3" : 0.3,
"rotX": 0,
"rotY": 0,
"rotZ": 0,
"rotW": 1,
"offsetX" : 0.0,
"offsetY" : 0.1,
"offsetZ" : 0.0
}
}, },
"gridAlignedData" : { "gridAlignedData" : {
"width" : 10, "width" : 10,
@ -197,6 +184,80 @@
"FURNITURE" "FURNITURE"
] ]
}, },
{
"id" : "Door2",
"displayName" : "Door (Solid)",
"collidable": {
"type" : "CUBE",
"dimension1" : 0.25,
"dimension2" : 2.6,
"dimension3" : 1.4,
"rotX": 0,
"rotY": 0,
"rotZ": 0,
"rotW": 1,
"offsetX" : 0.0,
"offsetY" : 1.3,
"offsetZ" : 0.0,
"kinematic" : true
},
"spawnItem" : {
"graphicsTemplate" : {
"model": {
"path" : "Models/objects/furniture/door2.glb"
}
},
"recipe" : {
"craftingTag" : "HAND",
"ingredients": [
{
"itemType": "mat:Log",
"count": 1
}
]
}
},
"furnitureData" : {
"door" : {
"open" : {
"animation" : {
"nameThirdPerson": "Opened"
}
},
"closed" : {
"animation" : {
"nameThirdPerson": "Closed"
}
},
"opening" : {
"animation" : {
"nameThirdPerson": "Opening"
}
},
"closing" : {
"animation" : {
"nameThirdPerson": "Closing"
}
}
}
},
"buttonInteraction" : {
"onInteract" : "door"
},
"gridAlignedData" : {
"width" : 1,
"height" : 8,
"length" : 4
},
"graphicsTemplate": {
"model": {
"path" : "Models/objects/furniture/door2.glb"
}
},
"tokens": [
"FURNITURE"
]
},
{ {
"id" : "chest1", "id" : "chest1",
"displayName" : "Chest", "displayName" : "Chest",

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

View File

@ -1885,6 +1885,7 @@ Roads applied to terrain voxel gen
Support lack of macro data for chunk gens Support lack of macro data for chunk gens
Support multichunk select all blocks Support multichunk select all blocks
More block types More block types
New door furniture item