Adds construct / deconstruct crates (#5650)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
- type: constructionGraph
|
||||
id: CrateGenericSteel
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: crategenericsteel
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 5
|
||||
doAfter: 5
|
||||
|
||||
|
||||
- node: crategenericsteel
|
||||
entity: CrateGenericSteel
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 5
|
||||
conditions:
|
||||
- !type:StorageWelded
|
||||
welded: false
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 5
|
||||
- !type:DeleteEntity {}
|
||||
@@ -0,0 +1,28 @@
|
||||
- type: constructionGraph
|
||||
id: CratePlastic
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: crateplastic
|
||||
steps:
|
||||
- material: Plastic
|
||||
amount: 5
|
||||
doAfter: 5
|
||||
|
||||
|
||||
- node: crateplastic
|
||||
entity: CratePlastic
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 5
|
||||
conditions:
|
||||
- !type:StorageWelded
|
||||
welded: false
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetPlastic1
|
||||
amount: 5
|
||||
- !type:DeleteEntity {}
|
||||
30
Resources/Prototypes/Recipes/Crafting/Graphs/cratesecure.yml
Normal file
30
Resources/Prototypes/Recipes/Crafting/Graphs/cratesecure.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
- type: constructionGraph
|
||||
id: CrateSecure
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: cratesecure
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 5
|
||||
doAfter: 5
|
||||
|
||||
|
||||
- node: cratesecure
|
||||
entity: CrateSecure
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 5
|
||||
conditions:
|
||||
- !type:StorageWelded
|
||||
welded: false
|
||||
- !type:Locked
|
||||
locked: false
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 5
|
||||
- !type:DeleteEntity {}
|
||||
@@ -7,5 +7,26 @@
|
||||
category: Storage
|
||||
description: "A wooden crate for holding livestock"
|
||||
icon: Structures/Storage/Crates/livestock.rsi/livestockcrate.png
|
||||
objectType: Item
|
||||
|
||||
objectType: Structure
|
||||
|
||||
- type: construction
|
||||
name: steel crate
|
||||
id: CrateGenericSteel
|
||||
graph: CrateGenericSteel
|
||||
startNode: start
|
||||
targetNode: crategenericsteel
|
||||
category: Storage
|
||||
description: "A metal crate for storing things"
|
||||
icon: Structures/Storage/Crates/generic.rsi/crate_icon.png
|
||||
objectType: Structure
|
||||
|
||||
- type: construction
|
||||
name: plastic crate
|
||||
id: CratePlastic
|
||||
graph: CratePlastic
|
||||
startNode: start
|
||||
targetNode: crateplastic
|
||||
category: Storage
|
||||
description: "A plastic crate for storing things"
|
||||
icon: Structures/Storage/Crates/plastic.rsi/plasticcrate_icon.png
|
||||
objectType: Structure
|
||||
Reference in New Issue
Block a user