* 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>
17 lines
373 B
C#
17 lines
373 B
C#
using Robust.Shared.Maths;
|
|
using Robust.Shared.Physics;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Content.Shared.Physics
|
|
{
|
|
public class GasVaporController : VirtualController
|
|
{
|
|
public void Move(Vector2 velocityDirection, float speed)
|
|
{
|
|
LinearVelocity = velocityDirection * speed;
|
|
}
|
|
}
|
|
}
|