Gas Canisters and Ports (#2151)

* CanisterComponent start

* GasCanisterPort

* canister

* GasCanister yaml

* More Gas Canisters

* Canister & port fixes

* Placeholder canister and port sprites

* GasMixture serialization

* Component ignores

* Fix duplicate component ignore

Co-authored-by: py01 <pyronetics01@gmail.com>
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
py01
2020-10-10 05:37:52 -06:00
committed by GitHub
parent ccfc035a2a
commit 5aa866548b
6 changed files with 223 additions and 5 deletions

View File

@@ -0,0 +1,30 @@
- type: entity
abstract: true
id: GasCanisterPortBase
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: InteractionOutline
- type: Collidable
- type: SnapGrid
offset: Center
- type: Sprite
- type: Destructible
thresholdvalue: 100
- type: GasCanisterPort
- type: entity
parent: GasCanisterPortBase
id: FourwayGasCanisterPort
name: Fourway Gas Canister Port
components:
- type: NodeContainer
nodes:
- !type:PipeNode
nodeGroupID: Pipe
pipeDirection: Fourway
- type: Sprite
sprite: Constructible/Power/smes.rsi
state: smes

View File

@@ -0,0 +1,27 @@
- type: entity
abstract: true
id: GasCanisterBase
placement:
mode: SnapgridCenter
components:
- type: Clickable
- type: InteractionOutline
- type: Collidable
- type: SnapGrid
offset: Center
- type: Sprite
- type: Destructible
thresholdvalue: 100
- type: GasCanister
- type: Anchorable
- type: Pullable
- type: entity
parent: GasCanisterBase
id: GasCanister
name: Gas Canister
components:
- type: Sprite
sprite: "Constructible/Power/apc.rsi"
state: apc0