More Buildable Furniture + Tweaks (#23188)

your PR will be my beginning of a maintainer journey
This commit is contained in:
Nairod
2024-01-05 10:53:34 -06:00
committed by GitHub
parent 1b4f1ac35d
commit 1f2a89d453
8 changed files with 246 additions and 1 deletions

View File

@@ -349,4 +349,7 @@
- type: Rotatable
- type: Sprite
state: steel-bench
- type: Construction
graph: Seat
node: chairSteelBench

View File

@@ -40,6 +40,11 @@
- type: Tag
tags:
- Wooden
- type: Anchorable
- type: Rotatable
- type: Construction
graph: Dresser
node: dresser
- type: entity
id: DresserFilled

View File

@@ -43,6 +43,30 @@
- type: ContainerContainer
containers:
storagebase: !type:Container
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
min: 1
max: 2
- type: Construction
graph: FilingCabinet
node: filingCabinet
- type: StaticPrice
price: 20
- type: entity
name: tall cabinet
@@ -58,6 +82,9 @@
- state: tallcabinet-open
map: ["openLayer"]
- type: Appearance
- type: Construction
graph: FilingCabinet
node: tallCabinet
- type: entity
name: chest drawer
@@ -105,6 +132,30 @@
- type: ContainerContainer
containers:
storagebase: !type:Container
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
min: 1
max: 2
- type: Construction
graph: FilingCabinet
node: chestDrawer
- type: StaticPrice
price: 15
- type: entity
abstract: true