コード例 #1
0
        // Function from file: ert.dm
        public override void post_equip(Mob H = null, int?visualsOnly = null)
        {
            visualsOnly = visualsOnly ?? GlobalVars.FALSE;

            Obj_Item_Weapon_Implant_Loyalty L = null;
            Obj_Item_Device_Radio           R = null;
            Obj_Item_Weapon_Card_Id         W = null;


            if (Lang13.Bool(visualsOnly))
            {
                return;
            }
            L           = new Obj_Item_Weapon_Implant_Loyalty(H);
            L.imp_in    = H;
            L.implanted = 1;
            ((dynamic)H).sec_hud_set_implants();
            R = ((dynamic)H).ears;
            R.set_frequency(GlobalVars.CENTCOM_FREQ);
            R.freqlock        = true;
            W                 = ((dynamic)H).wear_id;
            W.registered_name = H.real_name;
            W.update_label(W.registered_name, W.assignment);
            return;
        }
コード例 #2
0
        // Function from file: nuclear.dm
        public override void post_equip(Mob H = null, int?visualsOnly = null)
        {
            Obj_Item_Device_Radio R = null;
            Obj_Item_Device_Radio_Uplink_Nuclear U = null;
            Obj_Item_Weapon_Implant_WeaponsAuth  W = null;
            Obj_Item_Weapon_Implant_Explosive    E = null;

            R = ((dynamic)H).ears;
            R.set_frequency(GlobalVars.SYND_FREQ);
            R.freqlock = true;

            if (this.tc != 0)
            {
                U = new Obj_Item_Device_Radio_Uplink_Nuclear(H);
                U.hidden_uplink.owner        = "" + H.key;
                U.hidden_uplink.telecrystals = this.tc;
                H.equip_to_slot_or_del(U, 18);
            }
            W = new Obj_Item_Weapon_Implant_WeaponsAuth(H);
            W.implant(H);
            E = new Obj_Item_Weapon_Implant_Explosive(H);
            E.implant(H);
            H.faction |= "syndicate";
            H.update_icons();
            return;
        }
コード例 #3
0
        // Function from file: capture_the_flag.dm
        public override void post_equip(Mob H = null, int?visualsOnly = null)
        {
            Obj_Item_Device_Radio R = null;

            R = ((dynamic)H).ears;
            R.set_frequency(GlobalVars.CENTCOM_FREQ);
            R.freqlock = true;
            return;
        }
コード例 #4
0
        // Function from file: standard.dm
        public override void post_equip(Mob H = null, int?visualsOnly = null)
        {
            visualsOnly = visualsOnly ?? GlobalVars.FALSE;

            Obj_Item_Weapon_Card_Id W = null;
            Obj_Item_Device_Radio   R = null;


            if (Lang13.Bool(visualsOnly))
            {
                return;
            }
            W                 = ((dynamic)H).wear_id;
            W.icon_state      = "centcom";
            W.access          = GlobalFuncs.get_all_accesses();
            W.access         += GlobalFuncs.get_centcom_access("Special Ops Officer");
            W.assignment      = "Special Ops Officer";
            W.registered_name = H.real_name;
            W.update_label();
            R = ((dynamic)H).ears;
            R.set_frequency(GlobalVars.CENTCOM_FREQ);
            R.freqlock = true;
            return;
        }