chest furniture
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2025-05-14 18:37:24 -04:00
parent 5cc5ea5bc9
commit 5c91104961
4 changed files with 91 additions and 1 deletions

View File

@ -196,6 +196,96 @@
"tokens": [
"FURNITURE"
]
},
{
"id" : "chest1",
"displayName" : "Chest",
"collidable": {
"type" : "CUBE",
"dimension1" : 1.0,
"dimension2" : 1.0,
"dimension3" : 2.0,
"rotX": 0,
"rotY": 0,
"rotZ": 0,
"rotW": 1,
"offsetX" : 0.0,
"offsetY" : 0.5,
"offsetZ" : 0.0,
"kinematic" : true
},
"spawnItem" : {
"graphicsTemplate" : {
"model": {
"path" : "Models/objects/furniture/chest1.glb"
}
},
"recipe" : {
"craftingTag" : "HAND",
"ingredients": [
{
"itemType": "mat:Log",
"count": 1
}
]
}
},
"furnitureData" : {
"door" : {
"open" : {
"animation" : {
"nameThirdPerson": "Open"
}
},
"closed" : {
"animation" : {
"nameThirdPerson": "Closed"
}
},
"opening" : {
"animation" : {
"nameThirdPerson": "Opening"
}
},
"closing" : {
"animation" : {
"nameThirdPerson": "Closing"
}
}
}
},
"buttonInteraction" : {
"onInteract" : "inventory",
"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" : {
"width" : 10,
"height" : 10,
"length" : 10
},
"inventoryData" : {
"naturalSize" : 30
},
"graphicsTemplate": {
"model": {
"path" : "Models/objects/furniture/chest1.glb"
}
},
"tokens": [
"FURNITURE"
]
}
],

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

View File

@ -1760,7 +1760,6 @@ Toolbar ui uses unified item transfer flow
New inventory packet types
Unified container movement utils
(05/14/2025)
Break up InventoryUtils class
Update inventory utility logic
@ -1771,6 +1770,7 @@ Fix window framebuffer scrunching bug
Recipes for spawn items defined in parent entity
Spawn items have stack/charge
Spawn items respect charge state
Chest furniture