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:
Ygg01
2021-09-15 12:46:43 +02:00
committed by GitHub
parent 9dae24ad89
commit c3d11fb3e1
15 changed files with 42 additions and 6 deletions

View File

@@ -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.