Added simple grilles with construction, deconstruction and destruction. (#4801)
This commit is contained in:
committed by
GitHub
parent
f635909d4e
commit
09d40b386a
44
Resources/Prototypes/Recipes/Construction/Graphs/grille.yml
Normal file
44
Resources/Prototypes/Recipes/Construction/Graphs/grille.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
- type: constructionGraph
|
||||
id: grille
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: grille
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
steps:
|
||||
- material: MetalRod
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
|
||||
- node: grille
|
||||
entity: Grille
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: PartRodMetal1
|
||||
amount: 2
|
||||
- !type:DeleteEntity
|
||||
steps:
|
||||
- tool: Cutting
|
||||
doAfter: 0.25
|
||||
|
||||
- node: grilleBroken
|
||||
entity: GrilleBroken
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: PartRodMetal1
|
||||
amount: 1
|
||||
- !type:DeleteEntity
|
||||
steps:
|
||||
- tool: Cutting
|
||||
- to: grille
|
||||
steps:
|
||||
- material: MetalRod
|
||||
amount: 1
|
||||
doAfter: 0.5
|
||||
@@ -70,6 +70,23 @@
|
||||
placementMode: SnapgridCenter
|
||||
canRotate: false
|
||||
|
||||
- type: construction
|
||||
name: grille
|
||||
id: Grille
|
||||
graph: grille
|
||||
startNode: start
|
||||
targetNode: grille
|
||||
category: Structures
|
||||
description: A flimsy framework of iron rods.
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
icon:
|
||||
sprite: Structures/Walls/grille.rsi
|
||||
state: grille
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canRotate: false
|
||||
|
||||
- type: construction
|
||||
name: window
|
||||
id: Window
|
||||
|
||||
Reference in New Issue
Block a user