Emergent Sanitation Gameplay (#1378)

* Emergent Sanitation Gameplay

* Fix the map

* Address review

* Mention if it's slippery in the description
This commit is contained in:
ike709
2020-07-11 16:49:54 -05:00
committed by GitHub
parent 531d9626ad
commit 203a835264
20 changed files with 1011 additions and 45 deletions

View File

@@ -77,7 +77,7 @@ namespace Content.Server.GameObjects.Components.Markers
}
}
private void Spawn()
public virtual void Spawn()
{
if (Chance != 1.0f && !_robustRandom.Prob(Chance))
return;
@@ -92,7 +92,7 @@ namespace Content.Server.GameObjects.Components.Markers
_entityManager.SpawnEntity(_robustRandom.Pick(Prototypes), Owner.Transform.GridPosition);
}
public void MapInit()
public virtual void MapInit()
{
_gameTicker.OnRuleAdded += RuleAdded;