Add seat construction (#3653)
This commit is contained in:
124
Resources/Prototypes/Recipes/Construction/Graphs/seats.yml
Normal file
124
Resources/Prototypes/Recipes/Construction/Graphs/seats.yml
Normal file
@@ -0,0 +1,124 @@
|
||||
- type: constructionGraph
|
||||
id: seat
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
actions:
|
||||
- !type:DeleteEntity {}
|
||||
edges:
|
||||
- to: chair
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 1
|
||||
doAfter: 1
|
||||
- to: stool
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 1
|
||||
doAfter: 1
|
||||
- to: stoolBar
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 1
|
||||
doAfter: 1
|
||||
- to: chairOffice
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- to: chairOfficeDark
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- to: chairComfy
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 5
|
||||
doAfter: 1
|
||||
- to: chairWood
|
||||
steps:
|
||||
- material: WoodPlank
|
||||
amount: 3
|
||||
doAfter: 1
|
||||
|
||||
- node: chair
|
||||
entity: Chair
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
|
||||
- node: stool
|
||||
entity: Stool
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
|
||||
- node: stoolBar
|
||||
entity: StoolBar
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
|
||||
- node: chairOffice
|
||||
entity: ChairOfficeLight
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 2
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
|
||||
- node: chairOfficeDark
|
||||
entity: ChairOfficeDark
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 2
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
|
||||
- node: chairComfy
|
||||
entity: ComfyChair
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 5
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
|
||||
- node: chairWood
|
||||
entity: ChairWood
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: MaterialWoodPlank1
|
||||
amount: 3
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
118
Resources/Prototypes/Recipes/Construction/furniture.yml
Normal file
118
Resources/Prototypes/Recipes/Construction/furniture.yml
Normal file
@@ -0,0 +1,118 @@
|
||||
- type: construction
|
||||
name: chair
|
||||
id: Chair
|
||||
graph: seat
|
||||
startNode: start
|
||||
targetNode: chair
|
||||
category: Furniture
|
||||
description: You sit in this. Either by will or force.
|
||||
icon:
|
||||
sprite: Constructible/Misc/furniture.rsi
|
||||
state: chair
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked {}
|
||||
|
||||
- type: construction
|
||||
name: stool
|
||||
id: Stool
|
||||
graph: seat
|
||||
startNode: start
|
||||
targetNode: stool
|
||||
category: Furniture
|
||||
description: You sit in this. Either by will or force.
|
||||
icon:
|
||||
sprite: Constructible/Misc/furniture.rsi
|
||||
state: stool_base
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked {}
|
||||
|
||||
- type: construction
|
||||
name: bar stool
|
||||
id: StoolBar
|
||||
graph: seat
|
||||
startNode: start
|
||||
targetNode: stoolBar
|
||||
category: Furniture
|
||||
description: You sit in this. Either by will or force.
|
||||
icon:
|
||||
sprite: Constructible/Misc/furniture.rsi
|
||||
state: bar_stool
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked {}
|
||||
|
||||
- type: construction
|
||||
name: office chair
|
||||
id: ChairOfficeLight
|
||||
graph: seat
|
||||
startNode: start
|
||||
targetNode: chairOffice
|
||||
category: Furniture
|
||||
description: You sit in this. Either by will or force.
|
||||
icon:
|
||||
sprite: Constructible/Misc/furniture.rsi
|
||||
state: officechair_white
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked {}
|
||||
|
||||
- type: construction
|
||||
name: dark office chair
|
||||
id: ChairOfficeDark
|
||||
graph: seat
|
||||
startNode: start
|
||||
targetNode: chairOfficeDark
|
||||
category: Furniture
|
||||
description: You sit in this. Either by will or force.
|
||||
icon:
|
||||
sprite: Constructible/Misc/furniture.rsi
|
||||
state: officechair_dark
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked {}
|
||||
|
||||
- type: construction
|
||||
name: comfy chair
|
||||
id: ChairComfy
|
||||
graph: seat
|
||||
startNode: start
|
||||
targetNode: chairComfy
|
||||
category: Furniture
|
||||
description: It looks comfy.
|
||||
icon:
|
||||
sprite: Constructible/Misc/furniture.rsi
|
||||
state: comfychair_preview
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked {}
|
||||
|
||||
- type: construction
|
||||
name: wooden chair
|
||||
id: ChairWood
|
||||
graph: seat
|
||||
startNode: start
|
||||
targetNode: chairWood
|
||||
category: Furniture
|
||||
description: You sit in this. Either by will or force.
|
||||
icon:
|
||||
sprite: Constructible/Misc/furniture.rsi
|
||||
state: wooden_chair
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked {}
|
||||
Reference in New Issue
Block a user