diff --git a/assets/Data/entity/objects/furniture.json b/assets/Data/entity/objects/furniture.json index 88656000..1fbab179 100644 --- a/assets/Data/entity/objects/furniture.json +++ b/assets/Data/entity/objects/furniture.json @@ -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" + ] } ], diff --git a/assets/Models/objects/furniture/chest1.glb b/assets/Models/objects/furniture/chest1.glb new file mode 100644 index 00000000..1b0ad2f1 Binary files /dev/null and b/assets/Models/objects/furniture/chest1.glb differ diff --git a/assets/Models/objects/furniture/chest1.png b/assets/Models/objects/furniture/chest1.png new file mode 100644 index 00000000..dd149d3a Binary files /dev/null and b/assets/Models/objects/furniture/chest1.png differ diff --git a/docs/src/progress/renderertodo.md b/docs/src/progress/renderertodo.md index 8e9f204e..3647a13b 100644 --- a/docs/src/progress/renderertodo.md +++ b/docs/src/progress/renderertodo.md @@ -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