Beispiel #1
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;
        }
Beispiel #2
0
        // Function from file: extra_drone_types.dm
        public Mob_Living_SimpleAnimal_Drone_Syndrone_Badass(dynamic loc = null) : base((object)(loc))
        {
            Obj_Item_Weapon_Implant_WeaponsAuth W = null;

            // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
            this.internal_storage.hidden_uplink.telecrystals = 30;
            W = new Obj_Item_Weapon_Implant_WeaponsAuth(this);
            W.implant(this);
            return;
        }