make romerol work on the dead (#26222)

* a

* review

* g
This commit is contained in:
Mr. 27
2024-03-18 02:25:36 -04:00
committed by GitHub
parent 6c239890c5
commit 87386ca0ba
2 changed files with 10 additions and 3 deletions

View File

@@ -70,6 +70,12 @@ namespace Content.Server.Zombies
private void OnPendingMapInit(EntityUid uid, PendingZombieComponent component, MapInitEvent args) private void OnPendingMapInit(EntityUid uid, PendingZombieComponent component, MapInitEvent args)
{ {
if (_mobState.IsDead(uid))
{
ZombifyEntity(uid);
return;
}
component.NextTick = _timing.CurTime + TimeSpan.FromSeconds(1f); component.NextTick = _timing.CurTime + TimeSpan.FromSeconds(1f);
} }

View File

@@ -455,6 +455,7 @@
physicalDesc: reagent-physical-desc-necrotic physicalDesc: reagent-physical-desc-necrotic
flavor: bitter flavor: bitter
color: "#7e916e" color: "#7e916e"
worksOnTheDead: true
metabolisms: metabolisms:
Medicine: Medicine:
effects: effects: