Merge pull request #10721 from vulppine/air-alarm-fixup

Air sensors & air alarm fixup
This commit is contained in:
Flipp Syder
2022-09-02 13:00:33 -07:00
committed by GitHub
51 changed files with 3168 additions and 2582 deletions

View File

@@ -0,0 +1,42 @@
- type: constructionGraph
id: AirSensor
start: start
graph:
- node: start
edges:
- to: assembly
steps:
- material: Steel
amount: 2
doAfter: 1
- node: assembly
entity: AirSensorAssembly
actions:
- !type:SpriteStateChange
state: gsensor0
edges:
- to: start
conditions:
- !type:EntityAnchored
anchored: false
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity {}
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

View File

@@ -284,6 +284,21 @@
conditions:
- !type:WallmountCondition {}
- type: construction
name: air sensor
id: AirSensor
graph: AirSensor
startNode: start
targetNode: sensor
category: construction-category-structures
description: An air sensor. Senses air.
icon:
sprite: Structures/Specific/Atmospherics/sensor.rsi
state: gsensor1
placementMode: SnapgridCenter
objectType: Structure
canRotate: true
# ATMOS PIPES
- type: construction
name: gas pipe half