// Function from file: mutations.dm public override void on_life(Mob_Living owner = null) { if (Rand13.PercentChance(1) && !(owner.paralysis != 0)) { owner.visible_message("<span class='danger'>" + owner + " starts having a seizure!</span>", "<span class='userdanger'>You have a seizure!</span>"); owner.Paralyse(10); owner.Jitter(1000); Task13.Schedule(90, (Task13.Closure)(() => { owner.jitteriness = 10; return; })); } return; }
// Function from file: shriek.dm public override dynamic sting_action(Mob user = null, Ent_Static target = null) { Mob_Living M = null; Obj_Machinery_Light L = null; foreach (dynamic _a in Lang13.Enumerate(GlobalFuncs.get_hearers_in_view(4, user), typeof(Mob_Living))) { M = _a; if (M is Mob_Living_Carbon) { if (!(M.mind != null) || !(M.mind.changeling != null)) { M.adjustEarDamage(0, 30); M.confused += 25; M.Jitter(50); } else { M.WriteMsg(new Sound("sound/effects/screech.ogg")); } } if (M is Mob_Living_Silicon) { M.WriteMsg(new Sound("sound/weapons/flash.ogg")); M.Weaken(Rand13.Int(5, 10)); } } foreach (dynamic _b in Lang13.Enumerate(Map13.FetchInRange(user, 4), typeof(Obj_Machinery_Light))) { L = _b; L.on = true; L.broken(); } GlobalFuncs.feedback_add_details("changeling_powers", "RS"); return(1); }