// Function from file: mech_fabricator.dm
 public Obj_Machinery_MechaPartFabricator(dynamic loc = null) : base((object)(loc))
 {
     // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
     this.component_parts = new ByTable();
     this.component_parts.Add(new Obj_Item_Weapon_Circuitboard_Mechfab(null));
     this.component_parts.Add(new Obj_Item_Weapon_StockParts_MatterBin(null));
     this.component_parts.Add(new Obj_Item_Weapon_StockParts_MatterBin(null));
     this.component_parts.Add(new Obj_Item_Weapon_StockParts_Manipulator(null));
     this.component_parts.Add(new Obj_Item_Weapon_StockParts_MicroLaser(null));
     this.component_parts.Add(new Obj_Item_Weapon_StockParts_ConsoleScreen(null));
     this.RefreshParts();
     this.files = new Research(  );
     return;
 }
Ejemplo n.º 2
0
        // Function from file: server.dm
        public override void initialize(  )
        {
            ByTable temp_list = null;
            dynamic N         = null;
            dynamic N2        = null;


            if (!(this.files != null))
            {
                this.files = new Research(  );
            }

            if (!(this.id_with_upload.len != 0))
            {
                temp_list = new ByTable();
                temp_list = GlobalFuncs.splittext(this.id_with_upload_string, ";");

                foreach (dynamic _a in Lang13.Enumerate(temp_list))
                {
                    N = _a;

                    this.id_with_upload.Add(String13.ParseNumber(N));
                }
            }

            if (!(this.id_with_download.len != 0))
            {
                temp_list = new ByTable();
                temp_list = GlobalFuncs.splittext(this.id_with_download_string, ";");

                foreach (dynamic _b in Lang13.Enumerate(temp_list))
                {
                    N2 = _b;

                    this.id_with_download.Add(String13.ParseNumber(N2));
                }
            }
            return;
        }