示例#1
0
        // Function from file: bomb.dm
        public override dynamic attackby(dynamic A = null, dynamic user = null, string _params = null, bool?silent = null, bool?replace_spent = null)
        {
            if (A is Obj_Item_Device_Analyzer)
            {
                this.bombtank.attackby(A, user);
                return(null);
            }

            if (A is Obj_Item_Weapon_Wrench && !this.status)
            {
                user.WriteMsg("<span class='notice'>You disassemble " + this + ".</span>");
                this.bombassembly.loc    = user.loc;
                this.bombassembly.master = null;
                this.bombassembly        = null;
                this.bombtank.loc        = user.loc;
                this.bombtank.master     = null;
                this.bombtank            = null;
                GlobalFuncs.qdel(this);
                return(null);
            }

            if (A is Obj_Item_Weapon_Weldingtool && A.welding)
            {
                if (!this.status)
                {
                    this.status = true;
                    GlobalVars.bombers.Add("" + GlobalFuncs.key_name(user) + " welded a single tank bomb. Temp: " + (this.bombtank.air_contents.temperature - 273.41));
                    GlobalFuncs.message_admins("" + GlobalFuncs.key_name_admin(user) + " welded a single tank bomb. Temp: " + (this.bombtank.air_contents.temperature - 273.41));
                    user.WriteMsg(new Txt("<span class='notice'>A pressure hole has been bored to ").item(this.bombtank).str(" valve. ").The(this.bombtank).item().str(" can now be ignited.</span>").ToString());
                }
                else
                {
                    this.status = false;
                    GlobalVars.bombers.Add("" + GlobalFuncs.key_name(user) + " unwelded a single tank bomb. Temp: " + (this.bombtank.air_contents.temperature - 273.41));
                    user.WriteMsg("<span class='notice'>The hole has been closed.</span>");
                }
            }
            this.add_fingerprint(user);
            base.attackby((object)(A), (object)(user), _params, silent, replace_spent);
            return(null);
        }
 public Action_Innate_Blob_Earlyhelp(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
 public Action_Innate_Mecha_MechTogglePhasing(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
 public Action_Innate_Mecha_MechDefenceMode(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#5
0
 public Action_Innate_Mecha_MechSmoke(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#6
0
 public Action_Innate(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
 public Action_Innate_CameraJump(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#8
0
 public Action_Innate_TeleportIn(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#9
0
 public Action_Innate_Slime_Reproduce(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#10
0
 public Action_ItemAction_HandsFree(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#11
0
 public Action_Innate_MonkeyRecycle(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
 public Action_ItemAction_Tank_Internals(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
 public Action_Innate_VestModeSwap(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#14
0
 public Action_Innate_Mecha_MechViewStats(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#15
0
 public Action_ItemAction_Jetpack_Cycle(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#16
0
 public Action_Generic(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
 public Action_Innate_Mecha_MechOverloadMode(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
 // Function from file: jetpack.dm
 public Action_ItemAction_Jetpack_Cycle_Suit(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
     // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
     this.check_flags &= 65519;
     return;
 }
 public Action_Innate_Mecha_MechCycleEquip(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#20
0
 public Action_ToggleScopeZoom(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#21
0
 public Action_ItemAction_OrganAction(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#22
0
 public Action_SpellAction(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#23
0
 public Action_Innate_Slime_Feed(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#24
0
 public Action_Innate_CameraOff_Xenobio(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
 public Action_Innate_Mecha_MechSwitchDamtype(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#26
0
 public Action_Innate_CameraOff_Abductor(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
 public Action_Innate_Mecha_MechToggleThrusters(Obj_Item_Weapon_Tank Target = null) : base(Target)
 {
 }
示例#28
0
 // Function from file: action.dm
 public Action(Obj_Item_Weapon_Tank Target = null)
 {
     this.target = Target;
     return;
 }