Fix throwable solution (#4590)
* Fix throwable solution * Revert previous commit * Change Spillable and SpillBehavior * Fix sloth's suggestion. Add more documents
This commit is contained in:
@@ -7,6 +7,7 @@ using Content.Shared.Notification.Managers;
|
||||
using Content.Shared.Verbs;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Server.Fluids.Components
|
||||
{
|
||||
@@ -14,7 +15,9 @@ namespace Content.Server.Fluids.Components
|
||||
public class SpillableComponent : Component, IDropped
|
||||
{
|
||||
public override string Name => "Spillable";
|
||||
public const string SolutionName = "puddle";
|
||||
|
||||
[DataField("solution")]
|
||||
public string SolutionName = "puddle";
|
||||
|
||||
/// <summary>
|
||||
/// Transfers solution from the held container to the floor.
|
||||
|
||||
Reference in New Issue
Block a user