public override bool f_action(dynamic target = null) { Mob_Living_Carbon M = null; Mob_Living_Carbon H = null; dynamic T = null; if (!this.action_checks(target)) { return(false); } GlobalFuncs.playsound(this.chassis, "sound/items/AirHorn.ogg", 100, 1); this.chassis.occupant_message("<font color='red' size='5'>HONK</font>"); foreach (dynamic _a in Lang13.Enumerate(Map13.FetchHearersExcludeThis(this.chassis, 6), typeof(Mob_Living_Carbon))) { M = _a; if (M is Mob_Living_Carbon_Human) { H = M; if (((dynamic)H).ears is Obj_Item_Clothing_Ears_Earmuffs) { continue; } } M.WriteMsg("<font color='red' size='7'>HONK</font>"); M.SetSleeping(0); M.stuttering += 20; M.adjustEarDamage(0, 30); M.Weaken(3); if (Rand13.PercentChance(30)) { M.Stun(10); M.Paralyse(4); } else { M.Jitter(500); } } this.log_message("Honked from " + this.name + ". HONK!"); T = GlobalFuncs.get_turf(this); GlobalFuncs.message_admins(new Txt().item(GlobalFuncs.key_name_admin(this.chassis.occupant, ((dynamic)this.chassis.occupant).client)).str("(<A HREF='?_src_=holder;adminmoreinfo=").Ref(this.chassis.occupant).str("'>?</A>) (<A HREF='?_src_=holder;adminplayerobservefollow=").Ref(this.chassis.occupant).str("'>FLW</A>) used a Mecha Honker in (").item(T.x).str(",").item(T.y).str(",").item(T.z).str(" - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=").item(T.x).str(";Y=").item(T.y).str(";Z=").item(T.z).str("'>JMP</a>)").ToString()); GlobalFuncs.log_game("" + ((dynamic)this.chassis.occupant).ckey + "(" + this.chassis.occupant + ") used a Mecha Honker in (" + T.x + "," + T.y + "," + T.z + ")"); return(true); }