// Function from file: particle_accelerator.dm public Wires_ParticleAccelerator_ControlBox(Obj_Machinery_ParticleAccelerator_ControlBox holder = null) : base(holder) { this.wires = new ByTable(new object [] { "power", "strength", "limit", "interface" }); this.add_duds(2); // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!; return; }
// Function from file: particle_accelerator.dm public bool report_ready(Obj_Machinery_ParticleAccelerator_ControlBox O = null) { if (O != null && O == this.master) { if (this.construction_state >= 3) { return(true); } } return(false); }
// Function from file: particle_accelerator.dm public bool connect_master(Obj_Machinery_ParticleAccelerator_ControlBox O = null) { if (O != null && O is Obj_Machinery_ParticleAccelerator_ControlBox) { if (O.dir == this.dir) { this.master = O; return(true); } } return(false); }