Skip to content

Commit

Permalink
Adding more recipes tables (#507)
Browse files Browse the repository at this point in the history
* Update table.yml

* Update tables.yml

Added 3 table recipes

* Update furniture.yml

added 3 tables
  • Loading branch information
MrLopLop authored Sep 7, 2024
1 parent 6d68321 commit 7571d2d
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,9 @@
sprite: _Nuclear14/Structures/Furniture/Tables/metalgrate.rsi
- type: Icon
sprite: _Nuclear14/Structures/Furniture/Tables/metalgrate.rsi
- type: Construction
graph: N14TableMetalGrateRecipes
node: N14TableMetalGrate

- type: entity
id: N14TableWoodSettler
Expand All @@ -485,7 +488,7 @@
- type: Icon
sprite: _Nuclear14/Structures/Furniture/Tables/table_settler.rsi
- type: Construction
graph: N14Table
graph: N14TableRecipes
node: N14TableWoodSettler

# - type: entity
Expand All @@ -508,4 +511,7 @@
- type: Sprite
sprite: _Nuclear14/Structures/Furniture/Tables/barcounter.rsi
- type: Icon
sprite: _Nuclear14/Structures/Furniture/Tables/barcounter.rsi
sprite: _Nuclear14/Structures/Furniture/Tables/barcounter.rsi
- type: Construction
graph: N14TableCounterBarRecipes
node: N14TableCounterBar
Original file line number Diff line number Diff line change
@@ -1,27 +1,77 @@
- type: constructionGraph
id: N14Table
- type: constructionGraph
id: N14TableCounterBarRecipes
start: start
graph:
- node: start
actions:
- !type:DeleteEntity {}
edges:
- to: N14TableWoodSettler
- to: TableCounterBar
completed:
- !type:SnapToGrid
southRotation: true
conditions:
- !type:EntityAnchored {}
steps:
- material: WoodPlank
amount: 2
doAfter: 1
- tool: Screwing
doAfter: 3

- node: N14TableWoodSettler
entity: N14TableWoodSettler
doAfter: 2

- node: TableCounterBar
entity: N14TableCounterBar
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: MaterialWoodPlank1
- !type:GivePrototype
prototype: N14TableCounterBar
amount: 1

- type: constructionGraph
id: N14TableMetalGrateRecipes
start: start
graph:
- node: start
edges:
- to: TableMetalGrate
completed:
- !type:SnapToGrid
southRotation: true
conditions:
- !type:EntityAnchored {}
steps:
- material: Steel
amount: 2
doAfter: 2

- node: TableMetalGrate
entity: N14TableMetalGrate
edges:
- to: start
completed:
- !type:GivePrototype
prototype: N14TableMetalGrate
amount: 1

- type: constructionGraph
id: N14TableRecipes
start: start
graph:
- node: start
edges:
- to: TableWoodSettler
completed:
- !type:SnapToGrid
southRotation: true
conditions:
- !type:EntityAnchored {}
steps:
- tool: Prying
doAfter: 3
- material: WoodPlank
amount: 2
doAfter: 2

- node: TableWoodSettler
entity: N14TableWoodSettler
edges:
- to: start
completed:
- !type:GivePrototype
prototype: N14TableWoodSettler
amount: 1
54 changes: 47 additions & 7 deletions Resources/Prototypes/_Nuclear14/Recipes/Construction/furniture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,20 +415,60 @@
hide: false

# Tables

- type: construction
name: wooden table
id: N14TableWoodSettler
graph: N14Table
name: bar counter
id: N14TableCounterBar
graph: N14TableCounterBarRecipes
startNode: start
targetNode: N14TableWoodSettler
targetNode: TableCounterBar
category: construction-category-furniture
description: You sit in this. Either by will or force.
description: An alcohol stained bartop.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
hide: false
canRotate: true
icon:
sprite: _Nuclear14/Structures/Furniture/Tables/table_settler.rsi
sprite: _Nuclear14/Structures/Furniture/Tables/barcounter.rsi
state: full
conditions:
- !type:TileNotBlocked

- type: construction
name: metal table
id: N14TableMetalGrate
graph: N14TableMetalGrateRecipes
startNode: start
targetNode: TableMetalGrate
category: construction-category-furniture
description: A cold handmade metal table made from grating.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
hide: false
canRotate: true
icon:
sprite: _Nuclear14/Structures/Furniture/Tables/metalgrate.rsi
state: full
conditions:
- !type:TileNotBlocked

- type: construction
name: wooden table
id: N14TableWoodSettler
graph: N14TableRecipes
startNode: start
targetNode: TableWoodSettler
category: construction-category-furniture
description: A wooden table used by settlers.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
hide: false
canRotate: true
icon:
sprite: _Nuclear14/Structures/Furniture/Tables/table_settler.rsi
state: full
conditions:
- !type:TileNotBlocked
hide: false

0 comments on commit 7571d2d

Please sign in to comment.