// Function from file: ed209bot.dm public Mob_Living_SimpleAnimal_Bot_Ed209(dynamic loc = null, string created_name = null, string created_lasercolor = null) : base((object)(loc)) { Job_Detective J = null; AtomHud secsensor = null; // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!; if (Lang13.Bool(created_name)) { this.name = created_name; } if (Lang13.Bool(created_lasercolor)) { this.lasercolor = created_lasercolor; } this.icon_state = "" + this.lasercolor + "ed209" + this.on; this.set_weapon(); Task13.Schedule(3, (Task13.Closure)(() => { J = new Job_Detective(); this.access_card.access += J.get_access(); this.prev_access = this.access_card.access; if (Lang13.Bool(this.lasercolor)) { this.shot_delay = 6; this.check_records = false; this.arrest_type = true; this.bot_core.req_access = new ByTable(new object [] { GlobalVars.access_maint_tunnels, GlobalVars.access_theatre }); this.arrest_type = true; if (this.lasercolor == "b" && this.name == "ÿED-209 Security Robot") { this.name = Rand13.Pick(new object [] { "BLUE BALLER", "SANIC", "BLUE KILLDEATH MURDERBOT" }); } if (this.lasercolor == "r" && this.name == "ÿED-209 Security Robot") { this.name = Rand13.Pick(new object [] { "RED RAMPAGE", "RED ROVER", "RED KILLDEATH MURDERBOT" }); } } return; })); secsensor = GlobalVars.huds[2]; secsensor.add_hud_to(this); return; }
// Function from file: secbot.dm public Mob_Living_SimpleAnimal_Bot_Secbot(dynamic loc = null) : base((object)(loc)) { Job_Detective J = null; AtomHud secsensor = null; // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!; this.icon_state = "secbot" + this.on; Task13.Schedule(3, (Task13.Closure)(() => { J = new Job_Detective(); this.access_card.access += J.get_access(); this.prev_access = this.access_card.access; return; })); secsensor = GlobalVars.huds[2]; secsensor.add_hud_to(this); return; }