Ejemplo n.º 1
0
 // Function from file: tracker.dm
 public Obj_Machinery_Power_Tracker(dynamic loc = null, Obj_Item_SolarAssembly S = null) : base((object)(loc))
 {
     // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
     this.Make(S);
     this.connect_to_network();
     return;
 }
Ejemplo n.º 2
0
 // Function from file: tracker.dm
 public void Make(Obj_Item_SolarAssembly S = null)
 {
     if (!(S != null))
     {
         S            = new Obj_Item_SolarAssembly(this);
         S.glass_type = typeof(Obj_Item_Stack_Sheet_Glass);
         S.tracker    = true;
         S.anchored   = 1;
     }
     S.loc = this;
     this.update_icon();
     return;
 }
Ejemplo n.º 3
0
        // Function from file: solar.dm
        public void Make(Obj_Item_SolarAssembly S = null)
        {
            if (!(S != null))
            {
                S            = new Obj_Item_SolarAssembly(this);
                S.glass_type = typeof(Obj_Item_Stack_Sheet_Glass);
                S.anchored   = 1;
            }
            S.loc = this;

            if (S.glass_type == typeof(Obj_Item_Stack_Sheet_Rglass))
            {
                this.health *= 2;
            }
            this.update_icon();
            return;
        }
 // Function from file: solar.dm
 public Obj_Machinery_Power_Solar_Fake(dynamic loc = null, Obj_Item_SolarAssembly S = null) : base((object)(loc), S)
 {
     // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!;
     return;
 }