20 lines
473 B
C#
20 lines
473 B
C#
using Content.Server.Atmos;
|
|
|
|
namespace Content.Server._White.Flamethrower;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class GasProjectileComponent : Component
|
|
{
|
|
public GasMixture? GasMixture;
|
|
|
|
public TileInfo? LastTile;
|
|
|
|
public TileInfo? CurTile;
|
|
|
|
[DataField("gasUsagePerTile", required: true)]
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float GasUsagePerTile;
|
|
}
|
|
|
|
public record struct TileInfo(EntityUid? GridUid, EntityUid? MapUid, Vector2i Tile);
|