Files
OldThink/Content.Shared/Fluids/SharedPuddleSystem.Evaporation.cs
Aviu00 9a72a48c4b Fixes mostly (#292)
* - fix: Fix animals standing.

* - fix: Stuff drop from hands on stun or death even if lying.

* - tweak: Tentacle gun no longer stuns.

* - fix: Space cleaner now evaporates.

* - remove: No crew monitor objective.

* - fix: Fix time beacon.

* - tweak: Revert neuro implant buff.

* - tweak: Nerf dagger.

* - fix: Fix void adaptation not working.
2024-04-23 16:20:16 +03:00

24 lines
701 B
C#

using Content.Shared.Chemistry.Components;
using Content.Shared.Chemistry.Reagent;
namespace Content.Shared.Fluids;
public abstract partial class SharedPuddleSystem
{
[ValidatePrototypeId<ReagentPrototype>]
private const string Water = "Water";
[ValidatePrototypeId<ReagentPrototype>]
private const string HolyWater = "Holywater";
[ValidatePrototypeId<ReagentPrototype>]
private const string SpaceCleaner = "SpaceCleaner";
public static readonly string[] EvaporationReagents = { Water, HolyWater, SpaceCleaner };
public bool CanFullyEvaporate(Solution solution)
{
return solution.GetTotalPrototypeQuantity(EvaporationReagents) == solution.Volume;
}
}