Example #1
0
        public override void PawnDied(Corpse corpse)
        {
            float    radius        = Alope.DeathRadius(corpse.InnerPawn.ageTracker.CurLifeStageIndex);
            ThingDef filthFireFoam = ThingDefOf.Filth_FireFoam;

            GenExplosion.DoExplosion(corpse.Position, corpse.Map, radius, DamageDefOf.Extinguish, corpse.InnerPawn, -1, -1, null, null, null, null, filthFireFoam, 1f, 2, true, null, 0f, 1, 0f, false);
        }
Example #2
0
        public override void PawnDied(Corpse corpse)
        {
            float    radius    = Alope.DeathRadius(corpse.InnerPawn.ageTracker.CurLifeStageIndex);
            ThingDef gas_Smoke = ThingDefOf.Gas_Smoke;

            GenExplosion.DoExplosion(corpse.Position, corpse.Map, radius, DamageDefOf.Smoke, corpse.InnerPawn, -1, -1, null, null, null, null, gas_Smoke, 1f, 1, false, null, 0f, 1, 0f, false);
        }