GasGeneratorComponent (#3029)
* GasGeneratorComponent * gas generator sprite * component comment * replace the other typeof with nameof * Update Resources/Textures/Constructible/Atmos/gasgenerator.rsi/meta.json Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Update Resources/Prototypes/Entities/Constructible/Ground/gasgenerator.yml Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Update Content.Server/GameObjects/Components/Atmos/Piping/GasGeneratorComponent.cs Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com> * Update Content.Server/GameObjects/Components/Atmos/Piping/GasGeneratorComponent.cs Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com> * specifies physics component * comments Co-authored-by: py01 <pyronetics01@gmail.com> Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
- type: entity
|
||||
abstract: true
|
||||
id: GasGeneratorBase
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
anchored: true
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
bounds: "-0.5,-0.5,0.5,0.5"
|
||||
layer:
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
- Opaque
|
||||
mask:
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
- type: SnapGrid
|
||||
offset: Center
|
||||
- type: GasGenerator
|
||||
|
||||
- type: entity
|
||||
parent: GasGeneratorBase
|
||||
id: GasGenerator
|
||||
name: gas generator
|
||||
description: Fabricates gas.
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Constructible/Atmos/gasgenerator.rsi
|
||||
layers:
|
||||
- sprite: Constructible/Atmos/pipe.rsi
|
||||
state: pipeFourway
|
||||
- state: gasGenerator
|
||||
- type: NodeContainer
|
||||
nodes:
|
||||
- !type:PipeNode
|
||||
nodeGroupID: Pipe
|
||||
pipeDirection: Fourway
|
||||
|
||||
Reference in New Issue
Block a user