Adds metal and wood counters (#7688)

This commit is contained in:
Peptide90
2022-04-30 22:28:03 +01:00
committed by GitHub
parent d261888b48
commit a3b8c08210
23 changed files with 313 additions and 1 deletions

View File

@@ -14,6 +14,23 @@
- material: MetalRod
amount: 2
doAfter: 1
- to: CounterWoodFrame
completed:
- !type:SnapToGrid
southRotation: true
steps:
- material: WoodPlank
amount: 1
doAfter: 1
- to: CounterMetalFrame
completed:
- !type:SnapToGrid
southRotation: true
steps:
- material: Steel
amount: 1
doAfter: 1
- node: TableFrame
entity: TableFrame
@@ -63,6 +80,39 @@
amount: 1
doAfter: 1
- node: CounterWoodFrame
entity: CounterWoodFrame
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: MaterialWoodPlank1
amount: 1
steps:
- tool: Anchoring
doAfter: 1
- to: CounterWood
steps:
- material: WoodPlank
amount: 1
doAfter: 1
- node: CounterMetalFrame
entity: CounterMetalFrame
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 1
- to: CounterMetal
steps:
- material: Steel
amount: 1
doAfter: 1
- node: Table
entity: Table
edges:
@@ -152,3 +202,27 @@
steps:
- tool: Prying
doAfter: 1
- node: CounterMetal
entity: TableCounterMetal
edges:
- to: CounterMetalFrame
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 1
steps:
- tool: Anchoring
doAfter: 1
- node: CounterWood
entity: TableCounterWood
edges:
- to: CounterWoodFrame
completed:
- !type:SpawnPrototype
prototype: MaterialWoodPlank1
amount: 1
steps:
- tool: Prying
doAfter: 1

View File

@@ -271,6 +271,40 @@
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
name: metal counter
id: TableCounterMetal
graph: Table
startNode: start
targetNode: CounterMetal
category: Furniture
description: Looks like a good place to put a drink down.
icon:
sprite: Structures/Furniture/Tables/countermetal.rsi
state: full
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
name: wood counter
id: TableCounterWood
graph: Table
startNode: start
targetNode: CounterWood
category: Furniture
description: Do not apply fire to this. Rumour says it burns easily.
icon:
sprite: Structures/Furniture/Tables/counterwood.rsi
state: full
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
#bathroom
- type: construction