Footstep sounds. (#182)

This commit is contained in:
Pieter-Jan Briers
2019-04-05 02:04:34 +02:00
committed by GitHub
parent 85241a7dce
commit f5bb790edb
28 changed files with 171 additions and 2 deletions

View File

@@ -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();
}
}
}
}