Shoving lockers, content side
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using JetBrains.Annotations;
|
||||
using JetBrains.Annotations;
|
||||
using SS14.Shared.Interfaces.Map;
|
||||
using SS14.Shared.Prototypes;
|
||||
using SS14.Shared.Utility;
|
||||
@@ -19,6 +19,7 @@ namespace Content.Shared.Maps
|
||||
public bool IsSubFloor { get; private set; }
|
||||
public bool CanCrowbar { get; private set; }
|
||||
public string FootstepSounds { get; private set; }
|
||||
public float Friction { get; set; }
|
||||
|
||||
public void AssignTileId(ushort id)
|
||||
{
|
||||
@@ -45,6 +46,15 @@ namespace Content.Shared.Maps
|
||||
{
|
||||
FootstepSounds = node.AsString();
|
||||
}
|
||||
|
||||
if (mapping.TryGetNode("friction", out node))
|
||||
{
|
||||
Friction = node.AsFloat();
|
||||
}
|
||||
else
|
||||
{
|
||||
Friction = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user