Footstep sounds. (#182)
This commit is contained in:
committed by
GitHub
parent
85241a7dce
commit
f5bb790edb
@@ -18,6 +18,7 @@ namespace Content.Shared.Maps
|
||||
public string SpriteName { get; private set; }
|
||||
public bool IsSubFloor { get; private set; }
|
||||
public bool CanCrowbar { get; private set; }
|
||||
public string FootstepSounds { get; private set; }
|
||||
|
||||
public void AssignTileId(ushort id)
|
||||
{
|
||||
@@ -39,6 +40,11 @@ namespace Content.Shared.Maps
|
||||
{
|
||||
CanCrowbar = node.AsBool();
|
||||
}
|
||||
|
||||
if (mapping.TryGetNode("footstep_sounds", out node))
|
||||
{
|
||||
FootstepSounds = node.AsString();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user