Filled bucket will spill player when it is worn on their head (#6114)

This commit is contained in:
Alex Evgrashin
2022-01-13 17:22:19 +03:00
committed by GitHub
parent a95ddcbdd0
commit 206d7c119e
2 changed files with 34 additions and 0 deletions

View File

@@ -12,4 +12,11 @@ public class SpillableComponent : Component
[DataField("solution")]
public string SolutionName = "puddle";
/// <summary>
/// Should this item be spilled when worn as clothing?
/// Doesn't count for pockets or hands.
/// </summary>
[DataField("spillWorn")]
public bool SpillWorn = true;
}