Esempio n. 1
0
 // Function from file: autolathe.dm
 public override dynamic Destroy(  )
 {
     GlobalFuncs.qdel(this.wires);
     this.wires = null;
     GlobalFuncs.qdel(this.materials);
     this.materials = null;
     return(base.Destroy());
 }
Esempio n. 2
0
 // Function from file: recycler.dm
 public Obj_Machinery_Recycler(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_Recycler(null));
     this.component_parts.Add(new Obj_Item_Weapon_StockParts_MatterBin(null));
     this.component_parts.Add(new Obj_Item_Weapon_StockParts_Manipulator(null));
     this.materials = new MaterialContainer(this, new ByTable().Set("$metal", 1).Set("$glass", 1).Set("$plasma", 1).Set("$silver", 1).Set("$gold", 1).Set("$diamond", 1).Set("$uranium", 1).Set("$bananium", 1));
     this.RefreshParts();
     this.update_icon();
     return;
 }
Esempio n. 3
0
 // Function from file: autolathe.dm
 public Obj_Machinery_Autolathe(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_Autolathe(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_MatterBin(null));
     this.component_parts.Add(new Obj_Item_Weapon_StockParts_Manipulator(null));
     this.component_parts.Add(new Obj_Item_Weapon_StockParts_ConsoleScreen(null));
     this.materials = new MaterialContainer(this, new ByTable().Set("$metal", 1).Set("$glass", 1));
     this.RefreshParts();
     this.wires            = new Wires_Autolathe(this);
     this.files            = new Research_Autolathe(  );
     this.matching_designs = new ByTable();
     return;
 }
Esempio n. 4
0
 // Function from file: bananashoes.dm
 public Obj_Item_Clothing_Shoes_ClownShoes_BananaShoes(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.bananium = new MaterialContainer(this, new ByTable().Set("$bananium", 1), 200000);
     return;
 }