Update files
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
var/stored_power = 0//Power to deploy per tick
|
||||
|
||||
/obj/machinery/power/am_control_unit/Initialize()
|
||||
/obj/machinery/power/am_control_unit/Initialize(mapload)
|
||||
. = ..()
|
||||
linked_shielding = list()
|
||||
linked_cores = list()
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
var/dirs = 0
|
||||
|
||||
|
||||
/obj/machinery/am_shielding/Initialize()
|
||||
/obj/machinery/am_shielding/Initialize(mapload)
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/controllerscan), 10)
|
||||
|
||||
|
||||
@@ -370,7 +370,7 @@
|
||||
custom_materials = list(/datum/material/glass = 20)
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
|
||||
/obj/item/stock_parts/cell/emergency_light/Initialize()
|
||||
/obj/item/stock_parts/cell/emergency_light/Initialize(mapload)
|
||||
. = ..()
|
||||
var/area/A = get_area(src)
|
||||
if(!A.lightswitch || !A.light_power)
|
||||
|
||||
@@ -98,7 +98,7 @@ GLOBAL_LIST_EMPTY(gravity_generators) // We will keep track of this by adding ne
|
||||
// Generator which spawns with the station.
|
||||
//
|
||||
|
||||
/obj/machinery/gravity_generator/main/station/Initialize()
|
||||
/obj/machinery/gravity_generator/main/station/Initialize(mapload)
|
||||
. = ..()
|
||||
setup_parts()
|
||||
middle.add_overlay("activated")
|
||||
|
||||
@@ -250,7 +250,7 @@
|
||||
icon_state = "tube-empty"
|
||||
start_with_cell = FALSE
|
||||
|
||||
/obj/machinery/light/built/Initialize()
|
||||
/obj/machinery/light/built/Initialize(mapload)
|
||||
. = ..()
|
||||
status = LIGHT_EMPTY
|
||||
update(0)
|
||||
@@ -259,7 +259,7 @@
|
||||
icon_state = "bulb-empty"
|
||||
start_with_cell = FALSE
|
||||
|
||||
/obj/machinery/light/small/built/Initialize()
|
||||
/obj/machinery/light/small/built/Initialize(mapload)
|
||||
. = ..()
|
||||
status = LIGHT_EMPTY
|
||||
update(0)
|
||||
@@ -267,7 +267,7 @@
|
||||
|
||||
|
||||
// create a new lighting fixture
|
||||
/obj/machinery/light/Initialize()
|
||||
/obj/machinery/light/Initialize(mapload)
|
||||
. = ..()
|
||||
if(start_with_cell && !no_emergency)
|
||||
cell = new/obj/item/stock_parts/cell/emergency_light(src)
|
||||
@@ -797,7 +797,7 @@
|
||||
desc = "A broken [name]."
|
||||
|
||||
|
||||
/obj/item/light/Initialize()
|
||||
/obj/item/light/Initialize(mapload)
|
||||
. = ..()
|
||||
update()
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
. = ..()
|
||||
. += "<span class='notice'>It's operating system seems quite outdated... It doesn't seem like it'd be compatible with the latest remote NTOS monitoring systems.</span>"
|
||||
|
||||
/obj/machinery/computer/monitor/Initialize()
|
||||
/obj/machinery/computer/monitor/Initialize(mapload)
|
||||
. = ..()
|
||||
search()
|
||||
history["supply"] = list()
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
addtimer(CALLBACK(src, .proc/refresh), 20) //Wait a bit so we can find the one below, then get powering
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/power/deck_relay/Initialize()
|
||||
/obj/machinery/power/deck_relay/Initialize(mapload)
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/find_relays), 30)
|
||||
addtimer(CALLBACK(src, .proc/refresh), 50) //Wait a bit so we can find the one below, then get powering
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
interaction_flags_atom = INTERACT_ATOM_ATTACK_HAND | INTERACT_ATOM_UI_INTERACT | INTERACT_ATOM_REQUIRES_ANCHORED
|
||||
|
||||
/obj/machinery/power/port_gen/Initialize()
|
||||
/obj/machinery/power/port_gen/Initialize(mapload)
|
||||
. = ..()
|
||||
soundloop = new(src, active)
|
||||
|
||||
@@ -85,12 +85,12 @@
|
||||
var/time_per_sheet = 260
|
||||
var/current_heat = 0
|
||||
|
||||
/obj/machinery/power/port_gen/pacman/Initialize()
|
||||
/obj/machinery/power/port_gen/pacman/Initialize(mapload)
|
||||
. = ..()
|
||||
if(anchored)
|
||||
connect_to_network()
|
||||
|
||||
/obj/machinery/power/port_gen/pacman/Initialize()
|
||||
/obj/machinery/power/port_gen/pacman/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
var/obj/S = sheet_path
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
var/irradiate = TRUE // RTGs irradiate surroundings, but only when panel is open.
|
||||
|
||||
/obj/machinery/power/rtg/Initialize()
|
||||
/obj/machinery/power/rtg/Initialize(mapload)
|
||||
. = ..()
|
||||
connect_to_network()
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
/obj/machinery/power/rtg/advanced/fullupgrade //fully ugpraded stock parts
|
||||
desc = "An advanced RTG capable of moderating isotope decay, increasing power output but reducing lifetime. It uses plasma-fueled radiation collectors to increase output even further. This model is fully upgraded with the latest tech available in this quadrant."
|
||||
|
||||
/obj/machinery/power/rtg/advanced/fullupgrade/Initialize()
|
||||
/obj/machinery/power/rtg/advanced/fullupgrade/Initialize(mapload)
|
||||
. = ..()
|
||||
//This looks terrifying. And apparently instancing vars and modifying the amount variable causes runtime errors. Guess we're sticking to copy pasta, thanks, byond.
|
||||
component_parts = list()
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
/obj/machinery/power/rad_collector/anchored
|
||||
anchored = TRUE
|
||||
|
||||
/obj/machinery/power/rad_collector/Initialize()
|
||||
/obj/machinery/power/rad_collector/Initialize(mapload)
|
||||
. = ..()
|
||||
Radio = new /obj/item/radio(src)
|
||||
Radio.listening = 0
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
state = EMITTER_WELDED
|
||||
use_power = FALSE
|
||||
|
||||
/obj/machinery/power/emitter/Initialize()
|
||||
/obj/machinery/power/emitter/Initialize(mapload)
|
||||
. = ..()
|
||||
RefreshParts()
|
||||
wires = new /datum/wires/emitter(src)
|
||||
@@ -454,7 +454,7 @@
|
||||
resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
||||
var/delay = 0
|
||||
|
||||
/obj/item/turret_control/Initialize()
|
||||
/obj/item/turret_control/Initialize(mapload)
|
||||
. = ..()
|
||||
ADD_TRAIT(src, TRAIT_NODROP, ABSTRACT_ITEM_TRAIT)
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ field_generator power level display
|
||||
. += "+p[power_level]"
|
||||
|
||||
|
||||
/obj/machinery/field/generator/Initialize()
|
||||
/obj/machinery/field/generator/Initialize(mapload)
|
||||
. = ..()
|
||||
fields = list()
|
||||
connected_gens = list()
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
grav_pull = 10
|
||||
consume_range = 12 //How many tiles out do we eat
|
||||
|
||||
/obj/singularity/narsie/large/Initialize()
|
||||
/obj/singularity/narsie/large/Initialize(mapload)
|
||||
. = ..()
|
||||
send_to_playing_players("<span class='narsie'>NAR'SIE HAS RISEN</span>")
|
||||
sound_to_playing_players('sound/creatures/narsie_rises.ogg')
|
||||
@@ -44,7 +44,7 @@
|
||||
var/souls = 0
|
||||
var/resolved = FALSE
|
||||
|
||||
/obj/singularity/narsie/large/cult/Initialize()
|
||||
/obj/singularity/narsie/large/cult/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.cult_narsie = src
|
||||
var/list/all_cults = list()
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
var/strength = 0
|
||||
var/powered = FALSE
|
||||
|
||||
/obj/machinery/particle_accelerator/control_box/Initialize()
|
||||
/obj/machinery/particle_accelerator/control_box/Initialize(mapload)
|
||||
. = ..()
|
||||
wires = new /datum/wires/particle_accelerator/control_box(src)
|
||||
connected_parts = list()
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
if(!terminal)
|
||||
. += "<span class='warning'>This SMES has no power terminal!</span>"
|
||||
|
||||
/obj/machinery/power/smes/Initialize()
|
||||
/obj/machinery/power/smes/Initialize(mapload)
|
||||
. = ..()
|
||||
dir_loop:
|
||||
for(var/d in GLOB.cardinals)
|
||||
|
||||
@@ -297,7 +297,7 @@
|
||||
var/obj/machinery/power/tracker/connected_tracker = null
|
||||
var/list/connected_panels = list()
|
||||
|
||||
/obj/machinery/power/solar_control/Initialize()
|
||||
/obj/machinery/power/solar_control/Initialize(mapload)
|
||||
. = ..()
|
||||
azimuth_rate = SSsun.base_rotation
|
||||
RegisterSignal(SSsun, COMSIG_SUN_MOVED, .proc/timed_track)
|
||||
|
||||
@@ -192,7 +192,7 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
|
||||
///Disables the sm's proccessing totally.
|
||||
var/processes = TRUE
|
||||
|
||||
/obj/machinery/power/supermatter_crystal/Initialize()
|
||||
/obj/machinery/power/supermatter_crystal/Initialize(mapload)
|
||||
. = ..()
|
||||
uid = gl_uid++
|
||||
SSair.atmos_air_machinery += src
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
var/obj/machinery/power/master = null
|
||||
|
||||
|
||||
/obj/machinery/power/terminal/Initialize()
|
||||
/obj/machinery/power/terminal/Initialize(mapload)
|
||||
. = ..()
|
||||
var/turf/T = get_turf(src)
|
||||
if(level == 1)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
/obj/machinery/power/tesla_coil/power
|
||||
circuit = /obj/item/circuitboard/machine/tesla_coil/power
|
||||
|
||||
/obj/machinery/power/tesla_coil/Initialize()
|
||||
/obj/machinery/power/tesla_coil/Initialize(mapload)
|
||||
. = ..()
|
||||
wires = new /datum/wires/tesla_coil(src)
|
||||
linked_techweb = SSresearch.science_tech
|
||||
@@ -162,7 +162,7 @@
|
||||
buckle_lying = FALSE
|
||||
buckle_requires_restraints = TRUE
|
||||
|
||||
/obj/machinery/power/grounding_rod/Initialize()
|
||||
/obj/machinery/power/grounding_rod/Initialize(mapload)
|
||||
GLOB.grounding_rods |= src
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
// the inlet stage of the gas turbine electricity generator
|
||||
|
||||
/obj/machinery/power/compressor/Initialize()
|
||||
/obj/machinery/power/compressor/Initialize(mapload)
|
||||
. = ..()
|
||||
// The inlet of the compressor is the direction it faces
|
||||
gas_contained = new
|
||||
@@ -162,7 +162,7 @@
|
||||
#define TURBGENQ 100000
|
||||
#define TURBGENG 0.5
|
||||
|
||||
/obj/machinery/power/turbine/Initialize()
|
||||
/obj/machinery/power/turbine/Initialize(mapload)
|
||||
. = ..()
|
||||
// The outlet is pointed at the direction of the turbine component
|
||||
outturf = get_step(src, dir)
|
||||
@@ -288,7 +288,7 @@
|
||||
var/obj/machinery/power/compressor/compressor
|
||||
var/id = 0
|
||||
|
||||
/obj/machinery/computer/turbine_computer/Initialize()
|
||||
/obj/machinery/computer/turbine_computer/Initialize(mapload)
|
||||
. = ..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
|
||||
Reference in New Issue
Block a user