Adds Spray Bottles (#1522)
* Spray Bottle * -"Proper" wall detection -Removed some using -Fixed sound * Just don't add it * -Removed spill sound -Added sound parameter to SpillHelper.SpillAt * Now spawns Vapor instead of Puddles instantly * -Review -Nullable * Reworkkkk * AABB shittery Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
This commit is contained in:
18
Content.Server/GameObjects/EntitySystems/VaporSystem.cs
Normal file
18
Content.Server/GameObjects/EntitySystems/VaporSystem.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Content.Server.GameObjects.Components.Chemistry;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.GameObjects.Systems;
|
||||
|
||||
namespace Content.Server.GameObjects.EntitySystems
|
||||
{
|
||||
public class VaporSystem : EntitySystem
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void Update(float frameTime)
|
||||
{
|
||||
foreach (var vaporComp in ComponentManager.EntityQuery<VaporComponent>())
|
||||
{
|
||||
vaporComp.Update();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user