Change over solar panel breakage to use more construction graphs (#5395)

This commit is contained in:
20kdc
2021-11-26 09:17:21 +00:00
committed by GitHub
parent d4947bfb86
commit f0f913f5bc
4 changed files with 82 additions and 61 deletions

View File

@@ -59,6 +59,8 @@
edges:
- to: solarassembly
completed:
- !type:SnapToGrid
southRotation: true
- !type:SpawnPrototype
prototype: SheetGlass1
amount: 2
@@ -68,12 +70,31 @@
steps:
- tool: Prying
doAfter: 0.5
- node: solarpanel_broken
entity: SolarPanelBroken
edges:
- to: solarassembly
completed:
- !type:SnapToGrid
southRotation: true
- !type:SpawnPrototype
prototype: ShardGlass
amount: 2
conditions:
- !type:EntityAnchored
anchored: true
steps:
- tool: Prying
doAfter: 0.5
- node: solartracker
entity: SolarTracker
edges:
- to: solarassembly
completed:
- !type:SnapToGrid
southRotation: true
- !type:SpawnPrototype
prototype: SheetGlass1
amount: 2