// Function from file: mutations.dm public override void on_life(Mob_Living owner = null) { if (owner.getFireLoss() != 0) { if (Rand13.PercentChance(1)) { owner.heal_organ_damage(0, 1); } } return; }
// Function from file: statue.dm public override int?process(dynamic seconds = null) { Mob_Living M = null; this.timer--; foreach (dynamic _a in Lang13.Enumerate(this, typeof(Mob_Living))) { M = _a; M.setToxLoss(this.intialTox); M.adjustFireLoss(this.intialFire - M.getFireLoss()); M.adjustBruteLoss(this.intialBrute - M.getBruteLoss()); M.setOxyLoss(this.intialOxy); } if (this.timer <= 0) { this.dump_contents(); GlobalVars.SSobj.processing.Remove(this); GlobalFuncs.qdel(this); } return(null); }