public ChestbursterPawn() { SpawnXenoAtTick = Find.TickManager.TicksGame + overrideXenoSpawnDelay ?? GameTime.RandomTickNextNight(Find.TickManager.TicksGame, GenLocalDate.HourOfDay(this)); Log.Message("Will spawn xeno at " + SpawnXenoAtTick + " (now its " + Find.TickManager.TicksGame + ")"); XenoLifecycle.Instance().Register(this); }
public override void Notify_PawnDied() { base.Notify_PawnDied(); XenoLifecycle.Instance().SpawnChestburster(pawn); }