- type: Rotatable
- type: Sprite
state: steel-bench
+ - type: Construction
+ graph: Seat
+ node: chairSteelBench
- type: Tag
tags:
- Wooden
+ - type: Anchorable
+ - type: Rotatable
+ - type: Construction
+ graph: Dresser
+ node: dresser
- type: entity
id: DresserFilled
- 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
- state: tallcabinet-open
map: ["openLayer"]
- type: Appearance
+ - type: Construction
+ graph: FilingCabinet
+ node: tallCabinet
- type: entity
name: chest drawer
- 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
--- /dev/null
+- type: constructionGraph
+ id: Dresser
+ start: start
+ graph:
+ - node: start
+ actions:
+ - !type:DestroyEntity {}
+ edges:
+ - to: dresser
+ completed:
+ - !type:SnapToGrid { }
+ steps:
+ - material: WoodPlank
+ amount: 3
+ doAfter: 2
+ - node: dresser
+ entity: Dresser
+ edges:
+ - to: start
+ completed:
+ - !type:SpawnPrototype
+ prototype: MaterialWoodPlank
+ amount: 3
+ steps:
+ - tool: Prying
+ doAfter: 3
--- /dev/null
+- type: constructionGraph
+ id: FilingCabinet
+ start: start
+ graph:
+ - node: start
+ actions:
+ - !type:DestroyEntity {}
+ edges:
+ - to: filingCabinet
+ steps:
+ - material: Steel
+ amount: 4
+ doAfter: 3
+ - to: tallCabinet
+ steps:
+ - material: Steel
+ amount: 4
+ doAfter: 3
+ - to: chestDrawer
+ steps:
+ - material: Steel
+ amount: 3
+ doAfter: 3
+
+ - node: filingCabinet
+ entity: filingCabinet
+ edges:
+ - to: start
+ completed:
+ - !type:SpawnPrototype
+ prototype: SheetSteel1
+ amount: 4
+ steps:
+ - tool: Screwing
+ doAfter: 4
+ - node: tallCabinet
+ entity: filingCabinetTall
+ edges:
+ - to: start
+ completed:
+ - !type:SpawnPrototype
+ prototype: SheetSteel1
+ amount: 4
+ steps:
+ - tool: Screwing
+ doAfter: 4
+ - node: chestDrawer
+ entity: filingCabinetDrawer
+ edges:
+ - to: start
+ completed:
+ - !type:SpawnPrototype
+ prototype: SheetSteel1
+ amount: 3
+ steps:
+ - tool: Screwing
+ doAfter: 4
doAfter: 1
- material: MetalRod
amount: 2
+ - to: chairSteelBench
+ steps:
+ - material: Steel
+ amount: 2
+ doAfter: 1
- node: chair
entity: Chair
- tool: Screwing
doAfter: 1
+ - node: chairSteelBench
+ entity: SteelBench
+ edges:
+ - to: start
+ completed:
+ - !type:SpawnPrototype
+ prototype: SheetSteel1
+ amount: 2
+ steps:
+ - tool: Screwing
+ doAfter: 1
+
conditions:
- !type:TileNotBlocked
+- type: construction
+ name: steel bench
+ id: ChairSteelBench
+ graph: Seat
+ startNode: start
+ targetNode: chairSteelBench
+ category: construction-category-furniture
+ description: A long chair made for a metro. Really standard design.
+ icon:
+ sprite: Structures/Furniture/chairs.rsi
+ state: steel-bench
+ objectType: Structure
+ placementMode: SnapgridCenter
+ canBuildInImpassable: false
+ conditions:
+ - !type:TileNotBlocked
+
#tables
- type: construction
name: steel table
conditions:
- !type:TileNotBlocked
-#beds
+#bedroom
- type: construction
id: Bed
name: bed
conditions:
- !type:TileNotBlocked
+- type: construction
+ id: Dresser
+ name: dresser
+ description: Wooden dresser, can store things inside itself.
+ graph: Dresser
+ startNode: start
+ targetNode: dresser
+ category: construction-category-furniture
+ icon:
+ sprite: Structures/Furniture/furniture.rsi
+ state: dresser
+ objectType: Structure
+ placementMode: SnapgridCenter
+ canBuildInImpassable: false
+ conditions:
+ - !type:TileNotBlocked
+
#racks
- type: construction
id: Rack
conditions:
- !type:TileNotBlocked
+#misc
- type: construction
id: MeatSpike
name: meat spike
--- /dev/null
+#bureaucracy
+- type: construction
+ id: FilingCabinet
+ name: filing cabinet
+ description: A cabinet for all your filing needs.
+ graph: FilingCabinet
+ startNode: start
+ targetNode: filingCabinet
+ category: construction-category-storage
+ icon:
+ sprite: Structures/Storage/cabinets.rsi
+ state: filingcabinet
+ objectType: Structure
+ placementMode: SnapgridCenter
+ canBuildInImpassable: false
+ conditions:
+ - !type:TileNotBlocked
+
+- type: construction
+ id: TallCabinet
+ name: tall cabinet
+ description: A cabinet for all your filing needs.
+ graph: FilingCabinet
+ startNode: start
+ targetNode: tallCabinet
+ category: construction-category-storage
+ icon:
+ sprite: Structures/Storage/cabinets.rsi
+ state: tallcabinet
+ objectType: Structure
+ placementMode: SnapgridCenter
+ canBuildInImpassable: false
+ conditions:
+ - !type:TileNotBlocked
+
+- type: construction
+ id: ChestDrawer
+ name: chest drawer
+ description: A small drawer for all your filing needs, Now with wheels!
+ graph: FilingCabinet
+ startNode: start
+ targetNode: chestDrawer
+ category: construction-category-storage
+ icon:
+ sprite: Structures/Storage/cabinets.rsi
+ state: chestdrawer
+ objectType: Structure
+ placementMode: SnapgridCenter
+ canBuildInImpassable: false
+ conditions:
+ - !type:TileNotBlocked