コード例 #1
0
        // Function from file: tgstation.dme
        public Obj_Mecha_Combat_Reticence_Loaded(dynamic loc = null) : base((object)(loc))
        {
            Obj_Item_MechaParts_MechaEquipment ME = null;

            // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
            ME = new Obj_Item_MechaParts_MechaEquipment_Weapon_Ballistic_Silenced();
            ME.attach(this);
            ME = new Obj_Item_MechaParts_MechaEquipment_Rcd();
            ME.attach(this);
            return;
        }
コード例 #2
0
        // Function from file: gygax.dm
        public Obj_Mecha_Combat_Gygax_Dark_Loaded(dynamic loc = null) : base((object)(loc))
        {
            Obj_Item_MechaParts_MechaEquipment ME = null;

            // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
            ME = new Obj_Item_MechaParts_MechaEquipment_Weapon_Ballistic_Carbine();
            ME.attach(this);
            ME = new Obj_Item_MechaParts_MechaEquipment_Weapon_Ballistic_Launcher_Flashbang();
            ME.attach(this);
            ME = new Obj_Item_MechaParts_MechaEquipment_Teleporter();
            ME.attach(this);
            ME = new Obj_Item_MechaParts_MechaEquipment_TeslaEnergyRelay();
            ME.attach(this);
            return;
        }
コード例 #3
0
        // Function from file: marauder.dm
        public Obj_Mecha_Combat_Marauder_Loaded(dynamic loc = null) : base((object)(loc))
        {
            Obj_Item_MechaParts_MechaEquipment ME = null;

            // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
            ME = new Obj_Item_MechaParts_MechaEquipment_Weapon_Energy_Pulse(this);
            ME.attach(this);
            ME = new Obj_Item_MechaParts_MechaEquipment_Weapon_Ballistic_Launcher_MissileRack(this);
            ME.attach(this);
            ME = new Obj_Item_MechaParts_MechaEquipment_TeslaEnergyRelay(this);
            ME.attach(this);
            ME = new Obj_Item_MechaParts_MechaEquipment_AntiprojArmorBooster(this);
            ME.attach(this);
            return;
        }
コード例 #4
0
        // Function from file: honker.dm
        public override string get_equipment_list(  )
        {
            string output = null;
            Obj_Item_MechaParts_MechaEquipment MT = null;


            if (!(this.equipment.len != 0))
            {
                return(null);
            }
            output = "<b>Honk-ON-Systems:</b><div style=\"margin-left: 15px;\">";

            foreach (dynamic _a in Lang13.Enumerate(this.equipment, typeof(Obj_Item_MechaParts_MechaEquipment)))
            {
                MT = _a;

                output += new Txt("<div id='").Ref(MT).str("'>").item(MT.get_equip_info()).str("</div>").ToString();
            }
            output += "</div>";
            return(output);
        }