Add a fire extinguisher (#1685)
* added a lantern * Add A Lantern with radiating light * Added a GasVapor system and made a base for extinguisher spray. * switched to using solution component for fire extinguisher * made it so fire extinguisher's can run out of water vapor * Added actual Gas to Gas Vapor, now getting atmosphere for touched tiles. * Made it so gasVapor reacts and dissapates on reacting * GasVapor now dissapates exponentially while traveling * Added in-hands for fire extinguisher * Added Spraysound to gasSprayer and to fire extinguisher prototype * parameterized GasSprayer and GasVapor * removed un-used imports in gasSprayer and gasVapor components and systems * removed accidential threading import into gasmixturecomponent * add a shared extinguisher component for extinguisher spray rotation instead of piggy-backing on RogueArrow * paremeterized fuelCost and fuel name in GasSprayerComponent * Paremeterized gasAmount, removed un-used code from gasVaporComponent * Removed BaseItem Parent from Extinguisher_spray * added GasVapor and GasSprayer to Ingored Components list * reduced offset of spawned extinguisher vapor from player * Update IgnoredComponents.cs * renamed SharedExtinguisherComponent to SharedGasSprayerComponent and removed reference to RoguePointingArrow * renamed shareExtinguisherComponent to SharedGasSprayerComponent * Update Content.Server/Atmos/GasSprayerComponent.cs Added check for solution component on GasSprayer. Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com> * Update Content.Server/Atmos/GasSprayerComponent.cs Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.GameObjects.Components
|
||||
{
|
||||
public class SharedGasSprayerComponent : Component
|
||||
{
|
||||
public sealed override string Name => "GasSprayer";
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum ExtinguisherVisuals
|
||||
{
|
||||
Rotation
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user