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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user