From fc5bda6efcee7cfd8cc08e8cb7ed43bed00d9ea9 Mon Sep 17 00:00:00 2001 From: vulppine Date: Tue, 23 Aug 2022 11:53:57 -0700 Subject: [PATCH] air sensor construction graph --- .../Specific/Atmospherics/sensor.yml | 6 +++ .../Graphs/utilities/air_sensor.yml | 37 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 Resources/Prototypes/Recipes/Construction/Graphs/utilities/air_sensor.yml diff --git a/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml b/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml index d015d6b9a9..997156a309 100644 --- a/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml +++ b/Resources/Prototypes/Entities/Structures/Specific/Atmospherics/sensor.yml @@ -50,6 +50,9 @@ - AirSensor - type: AccessReader access: [ [ "Atmospherics" ] ] + - type: Construction + graph: AirSensor + node: sensor - type: Sprite netsync: false drawdepth: FloorObjects @@ -67,6 +70,9 @@ - type: Anchorable - type: Clickable - type: InteractionOutline + - type: Construction + graph: AirSensor + node: assembly - type: Sprite netsync: false drawdepth: FloorObjects diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/utilities/air_sensor.yml b/Resources/Prototypes/Recipes/Construction/Graphs/utilities/air_sensor.yml new file mode 100644 index 0000000000..608cd5ed00 --- /dev/null +++ b/Resources/Prototypes/Recipes/Construction/Graphs/utilities/air_sensor.yml @@ -0,0 +1,37 @@ +- type: constructionGraph + id: AirSensor + start: start + graph: + - node: start + edges: + - to: assembly + steps: + - material: Steel + amount: 2 + doAfter: 1 + - node: assembly + entity: AirSensorAssembly + - !type:SpriteStateChange + state: gsensor0 + edges: + - to: start + completed: + - !type:SpawnPrototype + prototype: SheetSteel1 + amount: 2 + steps: + - tool: Screwing + doAfter: 2 + - to: sensor + conditions: + - !type:EntityAnchored + steps: + - tool: Welding + doAfter: 5 + - node: sensor + entity: AirSensor + edges: + - to: assembly + steps: + - tool: Welding + doAfter: 5