[MIRROR] Initialize fixing (#10335)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-08 14:22:04 -07:00
committed by GitHub
parent 2e725a0727
commit ce2446922e
888 changed files with 2876 additions and 2225 deletions

View File

@@ -225,13 +225,13 @@
//Teleport to Mine
/obj/effect/step_trigger/teleporter/mine/to_mining/Initialize()
/obj/effect/step_trigger/teleporter/mine/to_mining/Initialize(mapload)
. = ..()
teleport_x = src.x
teleport_y = 2
teleport_z = Z_LEVEL_STATION_ONE
/obj/effect/step_trigger/teleporter/mine/from_mining/Initialize()
/obj/effect/step_trigger/teleporter/mine/from_mining/Initialize(mapload)
. = ..()
teleport_x = src.x
teleport_y = world.maxy - 1
@@ -239,13 +239,13 @@
//Teleport to Wild
/obj/effect/step_trigger/teleporter/wild/to_wild/Initialize()
/obj/effect/step_trigger/teleporter/wild/to_wild/Initialize(mapload)
. = ..()
teleport_x = src.x
teleport_y = 2
teleport_z = Z_LEVEL_SURFACE_WILD
/obj/effect/step_trigger/teleporter/wild/from_wild/Initialize()
/obj/effect/step_trigger/teleporter/wild/from_wild/Initialize(mapload)
. = ..()
teleport_x = src.x
teleport_y = world.maxy - 1
@@ -259,37 +259,37 @@
Z_LEVEL_SURFACE_WILD
)
/obj/effect/step_trigger/teleporter/bridge/east_to_west/Initialize()
/obj/effect/step_trigger/teleporter/bridge/east_to_west/Initialize(mapload)
teleport_x = src.x - 4
teleport_y = src.y
teleport_z = src.z
return ..()
/obj/effect/step_trigger/teleporter/bridge/east_to_west/small/Initialize()
/obj/effect/step_trigger/teleporter/bridge/east_to_west/small/Initialize(mapload)
teleport_x = src.x - 3
teleport_y = src.y
teleport_z = src.z
return ..()
/obj/effect/step_trigger/teleporter/bridge/west_to_east/Initialize()
/obj/effect/step_trigger/teleporter/bridge/west_to_east/Initialize(mapload)
teleport_x = src.x + 4
teleport_y = src.y
teleport_z = src.z
return ..()
/obj/effect/step_trigger/teleporter/bridge/west_to_east/small/Initialize()
/obj/effect/step_trigger/teleporter/bridge/west_to_east/small/Initialize(mapload)
teleport_x = src.x + 3
teleport_y = src.y
teleport_z = src.z
return ..()
/obj/effect/step_trigger/teleporter/bridge/north_to_south/Initialize()
/obj/effect/step_trigger/teleporter/bridge/north_to_south/Initialize(mapload)
teleport_x = src.x
teleport_y = src.y - 4
teleport_z = src.z
return ..()
/obj/effect/step_trigger/teleporter/bridge/south_to_north/Initialize()
/obj/effect/step_trigger/teleporter/bridge/south_to_north/Initialize(mapload)
teleport_x = src.x
teleport_y = src.y + 4
teleport_z = src.z

View File

@@ -31,14 +31,14 @@
icecaps = "icecaps"
icon_state = "frozen" //CHOMP comment: Not sure what this does at the moment, but we're doing it live.
/obj/effect/overmap/visitable/planet/Sif/Initialize()
/obj/effect/overmap/visitable/planet/Sif/Initialize(mapload)
atmosphere = new(CELL_VOLUME)
atmosphere.adjust_gas_temp(GAS_O2, MOLES_O2STANDARD, 273)
atmosphere.adjust_gas_temp(GAS_N2, MOLES_N2STANDARD, 273)
. = ..()
/obj/effect/overmap/visitable/planet/Sif/Initialize()
/obj/effect/overmap/visitable/planet/Sif/Initialize(mapload)
. = ..()
docking_codes = null

View File

@@ -117,7 +117,7 @@
wreckage = /obj/effect/decal/mecha_wreckage/honker/cluwne
max_equip = 4
/obj/mecha/combat/honker/cluwne/Initialize()
/obj/mecha/combat/honker/cluwne/Initialize(mapload)
. = ..()
var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/weapon/energy/pulse
ME.attach(src)

View File

@@ -109,7 +109,7 @@
var/triggerproc = "explode" //name of the proc thats called when the mine is triggered
var/triggered = 0
/obj/effect/meatgrinder/Initialize()
/obj/effect/meatgrinder/Initialize(mapload)
icon_state = "blob"
. = ..()

View File

@@ -13,14 +13,14 @@
icecaps = "icecaps"
icon_state = "frozen"
/obj/effect/overmap/visitable/planet/Sif/Initialize()
/obj/effect/overmap/visitable/planet/Sif/Initialize(mapload)
atmosphere = new(CELL_VOLUME)
atmosphere.adjust_gas_temp(GAS_O2, MOLES_O2STANDARD, 273)
atmosphere.adjust_gas_temp(GAS_N2, MOLES_N2STANDARD, 273)
. = ..()
/obj/effect/overmap/visitable/planet/Sif/Initialize()
/obj/effect/overmap/visitable/planet/Sif/Initialize(mapload)
. = ..()
docking_codes = null
@@ -40,6 +40,6 @@
map_z = list(Z_LEVEL_STATION_ONE, Z_LEVEL_STATION_TWO, Z_LEVEL_STATION_THREE)
extra_z_levels = list(Z_LEVEL_TRANSIT) // Hopefully temporary, so arrivals announcements work.
/obj/effect/overmap/visitable/planet/Sif/Initialize()
/obj/effect/overmap/visitable/planet/Sif/Initialize(mapload)
. = ..()
docking_codes = null

View File

@@ -220,13 +220,13 @@
//Teleport to Mine
/obj/effect/step_trigger/teleporter/mine/to_mining/Initialize()
/obj/effect/step_trigger/teleporter/mine/to_mining/Initialize(mapload)
. = ..()
teleport_x = src.x
teleport_y = 2
teleport_z = Z_LEVEL_SURFACE_MINE
/obj/effect/step_trigger/teleporter/mine/from_mining/Initialize()
/obj/effect/step_trigger/teleporter/mine/from_mining/Initialize(mapload)
. = ..()
teleport_x = src.x
teleport_y = world.maxy - 1
@@ -234,13 +234,13 @@
//Teleport to Wild
/obj/effect/step_trigger/teleporter/wild/to_wild/Initialize()
/obj/effect/step_trigger/teleporter/wild/to_wild/Initialize(mapload)
. = ..()
teleport_x = src.x
teleport_y = 2
teleport_z = Z_LEVEL_SURFACE_WILD
/obj/effect/step_trigger/teleporter/wild/from_wild/Initialize()
/obj/effect/step_trigger/teleporter/wild/from_wild/Initialize(mapload)
. = ..()
teleport_x = src.x
teleport_y = world.maxy - 1
@@ -253,37 +253,37 @@
Z_LEVEL_SURFACE_WILD
)
/obj/effect/step_trigger/teleporter/bridge/east_to_west/Initialize()
/obj/effect/step_trigger/teleporter/bridge/east_to_west/Initialize(mapload)
teleport_x = src.x - 4
teleport_y = src.y
teleport_z = src.z
return ..()
/obj/effect/step_trigger/teleporter/bridge/east_to_west/small/Initialize()
/obj/effect/step_trigger/teleporter/bridge/east_to_west/small/Initialize(mapload)
teleport_x = src.x - 3
teleport_y = src.y
teleport_z = src.z
return ..()
/obj/effect/step_trigger/teleporter/bridge/west_to_east/Initialize()
/obj/effect/step_trigger/teleporter/bridge/west_to_east/Initialize(mapload)
teleport_x = src.x + 4
teleport_y = src.y
teleport_z = src.z
return ..()
/obj/effect/step_trigger/teleporter/bridge/west_to_east/small/Initialize()
/obj/effect/step_trigger/teleporter/bridge/west_to_east/small/Initialize(mapload)
teleport_x = src.x + 3
teleport_y = src.y
teleport_z = src.z
return ..()
/obj/effect/step_trigger/teleporter/bridge/north_to_south/Initialize()
/obj/effect/step_trigger/teleporter/bridge/north_to_south/Initialize(mapload)
teleport_x = src.x
teleport_y = src.y - 4
teleport_z = src.z
return ..()
/obj/effect/step_trigger/teleporter/bridge/south_to_north/Initialize()
/obj/effect/step_trigger/teleporter/bridge/south_to_north/Initialize(mapload)
teleport_x = src.x
teleport_y = src.y + 4
teleport_z = src.z

View File

@@ -4,7 +4,7 @@
/mob/living/silicon/robot/platform/cargo
req_access = list(access_cargo_bot)
/obj/item/card/id/platform/Initialize()
/obj/item/card/id/platform/Initialize(mapload)
. = ..()
access |= access_explorer
access |= access_pilot

View File

@@ -22,7 +22,7 @@
/obj/item/taperoll/engineering,
/obj/item/clothing/suit/storage/hooded/wintercoat/engineering)
/obj/structure/closet/secure_closet/engineering_chief_wardrobe/Initialize()
/obj/structure/closet/secure_closet/engineering_chief_wardrobe/Initialize(mapload)
if(prob(50))
starts_with += /obj/item/storage/backpack/industrial
else

View File

@@ -21,7 +21,7 @@
/obj/item/clothing/suit/storage/hooded/wintercoat/medical,
/obj/item/clothing/shoes/white)
/obj/structure/closet/secure_closet/CMO_wardrobe/Initialize()
/obj/structure/closet/secure_closet/CMO_wardrobe/Initialize(mapload)
if(prob(50))
starts_with += /obj/item/storage/backpack/medic
else

View File

@@ -16,7 +16,7 @@
/obj/item/ammo_magazine/clip/c762/hunter = 9,
/obj/item/gun/projectile/shotgun/pump/rifle = 2)
/obj/structure/closet/secure_closet/guncabinet/rifle/Initialize()
/obj/structure/closet/secure_closet/guncabinet/rifle/Initialize(mapload)
if(prob(85))
starts_with += /obj/item/gun/projectile/shotgun/pump/rifle
else
@@ -58,7 +58,7 @@
/obj/item/cataloguer
)
/obj/structure/closet/secure_closet/explorer/Initialize()
/obj/structure/closet/secure_closet/explorer/Initialize(mapload)
if(prob(50))
starts_with += /obj/item/storage/backpack
else
@@ -129,7 +129,7 @@
/obj/item/cell/device,
/obj/item/radio)
/obj/structure/closet/secure_closet/pilot/Initialize()
/obj/structure/closet/secure_closet/pilot/Initialize(mapload)
if(prob(50))
starts_with += /obj/item/storage/backpack
else

View File

@@ -22,7 +22,7 @@
/obj/item/clothing/head/beret/sec/corporate/hos,
/obj/item/clothing/mask/gas/half)
/obj/structure/closet/secure_closet/hos_wardrobe/Initialize()
/obj/structure/closet/secure_closet/hos_wardrobe/Initialize(mapload)
if(prob(50))
starts_with += /obj/item/storage/backpack/security
else

View File

@@ -171,7 +171,7 @@ Once in open space, consider disabling nonessential power-consuming electronics
item_state = "tdgreen"
assignment = "Talon synthetic"
/obj/item/card/id/synthetic/talon/Initialize()
/obj/item/card/id/synthetic/talon/Initialize(mapload)
. = ..()
access = list(access_talon, access_synth)

View File

@@ -24,7 +24,7 @@
density = TRUE
/obj/machinery/atmospherics/binary/circulator/Initialize()
/obj/machinery/atmospherics/binary/circulator/Initialize(mapload)
. = ..()
desc = initial(desc) + " Its outlet port is to the [dir2text(dir)]."

View File

@@ -42,7 +42,7 @@
//2: Do not pass input_pressure_min
//4: Do not pass output_pressure_max
/obj/machinery/atmospherics/binary/dp_vent_pump/Initialize()
/obj/machinery/atmospherics/binary/dp_vent_pump/Initialize(mapload)
. = ..()
if(frequency)
set_frequency(frequency)
@@ -58,7 +58,7 @@
/obj/machinery/atmospherics/binary/dp_vent_pump/high_volume
name = "Large Dual Port Air Vent"
/obj/machinery/atmospherics/binary/dp_vent_pump/high_volume/Initialize()
/obj/machinery/atmospherics/binary/dp_vent_pump/high_volume/Initialize(mapload)
. = ..()
air1.volume = ATMOS_DEFAULT_VOLUME_PUMP + 800
air2.volume = ATMOS_DEFAULT_VOLUME_PUMP + 800

View File

@@ -27,7 +27,7 @@
var/id = null
var/datum/radio_frequency/radio_connection
/obj/machinery/atmospherics/binary/passive_gate/Initialize()
/obj/machinery/atmospherics/binary/passive_gate/Initialize(mapload)
. = ..()
air1.volume = ATMOS_DEFAULT_VOLUME_PUMP * 2.5
air2.volume = ATMOS_DEFAULT_VOLUME_PUMP * 2.5

View File

@@ -235,7 +235,7 @@
var/kin_to_el_ratio = 0.1 //How much kinetic energy will be taken from turbine and converted into electricity
var/obj/machinery/atmospherics/pipeturbine/turbine
/obj/machinery/power/turbinemotor/Initialize()
/obj/machinery/power/turbinemotor/Initialize(mapload)
. = ..()
updateConnection()

View File

@@ -37,7 +37,7 @@ Thus, the two variables affect pump operation are set in New():
var/id = null
var/datum/radio_frequency/radio_connection
/obj/machinery/atmospherics/binary/pump/Initialize()
/obj/machinery/atmospherics/binary/pump/Initialize(mapload)
. = ..()
air1.volume = ATMOS_DEFAULT_VOLUME_PUMP

View File

@@ -20,7 +20,7 @@
var/list/filtering_outputs = list() //maps gasids to gas_mixtures
/obj/machinery/atmospherics/omni/atmos_filter/Initialize()
/obj/machinery/atmospherics/omni/atmos_filter/Initialize(mapload)
. = ..()
rebuild_filtering_list()

View File

@@ -24,7 +24,7 @@
var/list/mixing_inputs = list()
/obj/machinery/atmospherics/omni/mixer/Initialize()
/obj/machinery/atmospherics/omni/mixer/Initialize(mapload)
. = ..()
if(mapper_set())

View File

@@ -25,7 +25,7 @@
var/list/ports = new()
/obj/machinery/atmospherics/omni/Initialize()
/obj/machinery/atmospherics/omni/Initialize(mapload)
. = ..()
icon_state = "base"

View File

@@ -18,7 +18,7 @@ GLOBAL_LIST_EMPTY(shutoff_valves)
. = ..()
. += "The automatic shutoff circuit is [close_on_leaks ? "enabled" : "disabled"]."
/obj/machinery/atmospherics/valve/shutoff/Initialize()
/obj/machinery/atmospherics/valve/shutoff/Initialize(mapload)
. = ..()
open()
GLOB.shutoff_valves += src

View File

@@ -39,7 +39,7 @@
if(frequency)
radio_connection = radio_controller.add_object(src, frequency, RADIO_ATMOSIA)
/obj/machinery/atmospherics/trinary/atmos_filter/Initialize()
/obj/machinery/atmospherics/trinary/atmos_filter/Initialize(mapload)
. = ..()
switch(filter_type)

View File

@@ -37,7 +37,7 @@
icon_state += "off"
update_use_power(USE_POWER_OFF)
/obj/machinery/atmospherics/trinary/mixer/Initialize()
/obj/machinery/atmospherics/trinary/mixer/Initialize(mapload)
. = ..()
air1.volume = ATMOS_DEFAULT_VOLUME_MIXER

View File

@@ -17,7 +17,7 @@
var/datum/pipe_network/network2
var/datum/pipe_network/network3
/obj/machinery/atmospherics/trinary/Initialize()
/obj/machinery/atmospherics/trinary/Initialize(mapload)
. = ..()
air1 = new

View File

@@ -302,7 +302,7 @@
/obj/machinery/atmospherics/tvalve/digital/Initialize()
/obj/machinery/atmospherics/tvalve/digital/Initialize(mapload)
. = ..()
if(frequency)
set_frequency(frequency)

View File

@@ -21,7 +21,7 @@
var/set_temperature = T20C // Thermostat
var/cooling = 0
/obj/machinery/atmospherics/unary/freezer/Initialize()
/obj/machinery/atmospherics/unary/freezer/Initialize(mapload)
. = ..()
default_apply_parts()

View File

@@ -21,7 +21,7 @@
var/set_temperature = T20C //thermostat
var/heating = 0 //mainly for icon updates
/obj/machinery/atmospherics/unary/heater/Initialize()
/obj/machinery/atmospherics/unary/heater/Initialize(mapload)
. = ..()
default_apply_parts()

View File

@@ -24,7 +24,7 @@
level = 1
/obj/machinery/atmospherics/unary/outlet_injector/Initialize()
/obj/machinery/atmospherics/unary/outlet_injector/Initialize(mapload)
. = ..()
air_contents.volume = ATMOS_DEFAULT_VOLUME_PUMP + 500 //Give it a small reservoir for injecting. Also allows it to have a higher flow rate limit than vent pumps, to differentiate injectors a bit more.

View File

@@ -13,7 +13,7 @@
var/welded = 0 //defining this here for ventcrawl stuff
/obj/machinery/atmospherics/unary/Initialize()
/obj/machinery/atmospherics/unary/Initialize(mapload)
. = ..()
air_contents = new

View File

@@ -78,7 +78,7 @@
pressure_checks = 2
pressure_checks_default = 2
/obj/machinery/atmospherics/unary/vent_pump/Initialize()
/obj/machinery/atmospherics/unary/vent_pump/Initialize(mapload)
. = ..()
air_contents.volume = ATMOS_DEFAULT_VOLUME_PUMP
@@ -116,7 +116,7 @@
icon_connect_type = "-aux"
connect_types = CONNECT_TYPE_AUX //connects to aux pipes
/obj/machinery/atmospherics/unary/vent_pump/high_volume/Initialize()
/obj/machinery/atmospherics/unary/vent_pump/high_volume/Initialize(mapload)
. = ..()
air_contents.volume = ATMOS_DEFAULT_VOLUME_PUMP + 800
@@ -141,7 +141,7 @@
power_channel = ENVIRON
power_rating = 30000 //15 kW ~ 20 HP
/obj/machinery/atmospherics/unary/vent_pump/engine/Initialize()
/obj/machinery/atmospherics/unary/vent_pump/engine/Initialize(mapload)
. = ..()
air_contents.volume = ATMOS_DEFAULT_VOLUME_PUMP + 500 //meant to match air injector

View File

@@ -31,7 +31,7 @@
use_power = USE_POWER_IDLE
icon_state = "map_scrubber_on"
/obj/machinery/atmospherics/unary/vent_scrubber/Initialize()
/obj/machinery/atmospherics/unary/vent_scrubber/Initialize(mapload)
. = ..()
air_contents.volume = ATMOS_DEFAULT_VOLUME_FILTER

View File

@@ -263,7 +263,7 @@
if(frequency)
radio_connection = radio_controller.add_object(src, frequency, RADIO_ATMOSIA)
/obj/machinery/atmospherics/valve/digital/Initialize()
/obj/machinery/atmospherics/valve/digital/Initialize(mapload)
. = ..()
if(frequency)
set_frequency(frequency)

View File

@@ -23,7 +23,7 @@
buckle_lying = 1
// BubbleWrap
/obj/machinery/atmospherics/pipe/simple/heat_exchanging/Initialize()
/obj/machinery/atmospherics/pipe/simple/heat_exchanging/Initialize(mapload)
. = ..()
// BubbleWrap END
color = "#404040" //we don't make use of the fancy overlay system for colours, use this to set the default.

View File

@@ -19,7 +19,7 @@
level = 1
/obj/machinery/atmospherics/pipe/manifold/Initialize()
/obj/machinery/atmospherics/pipe/manifold/Initialize(mapload)
. = ..()
alpha = 255
icon = null

View File

@@ -20,7 +20,7 @@
level = 1
/obj/machinery/atmospherics/pipe/manifold4w/Initialize()
/obj/machinery/atmospherics/pipe/manifold4w/Initialize(mapload)
. = ..()
alpha = 255
icon = null

View File

@@ -24,7 +24,7 @@
/obj/machinery/atmospherics/pipe/drain_power()
return -1
/obj/machinery/atmospherics/pipe/Initialize()
/obj/machinery/atmospherics/pipe/Initialize(mapload)
if(istype(get_turf(src), /turf/simulated/wall) || istype(get_turf(src), /turf/simulated/shuttle/wall) || istype(get_turf(src), /turf/unsimulated/wall))
level = 1
. = ..()

View File

@@ -26,7 +26,7 @@
level = 1
/obj/machinery/atmospherics/pipe/simple/Initialize()
/obj/machinery/atmospherics/pipe/simple/Initialize(mapload)
. = ..()
// Pipe colors and icon states are handled by an image cache - so color and icon should

View File

@@ -18,7 +18,7 @@
pipe_flags = PIPING_DEFAULT_LAYER_ONLY
density = TRUE
/obj/machinery/atmospherics/pipe/tank/Initialize()
/obj/machinery/atmospherics/pipe/tank/Initialize(mapload)
icon_state = "air"
. = ..()
@@ -74,7 +74,7 @@
name = "Pressure Tank (Air)"
icon_state = "air_map"
/obj/machinery/atmospherics/pipe/tank/air/Initialize()
/obj/machinery/atmospherics/pipe/tank/air/Initialize(mapload)
air_temporary = new
air_temporary.volume = volume
air_temporary.temperature = T20C
@@ -90,7 +90,7 @@
name = "Pressure Tank (Oxygen)"
icon_state = "o2_map"
/obj/machinery/atmospherics/pipe/tank/oxygen/Initialize()
/obj/machinery/atmospherics/pipe/tank/oxygen/Initialize(mapload)
air_temporary = new
air_temporary.volume = volume
air_temporary.temperature = T20C
@@ -105,7 +105,7 @@
icon_state = "n2_map"
volume = 40000 //Vorestation edit
/obj/machinery/atmospherics/pipe/tank/nitrogen/Initialize()
/obj/machinery/atmospherics/pipe/tank/nitrogen/Initialize(mapload)
air_temporary = new
air_temporary.volume = volume
air_temporary.temperature = T20C
@@ -119,7 +119,7 @@
name = "Pressure Tank (Carbon Dioxide)"
icon_state = "co2_map"
/obj/machinery/atmospherics/pipe/tank/carbon_dioxide/Initialize()
/obj/machinery/atmospherics/pipe/tank/carbon_dioxide/Initialize(mapload)
air_temporary = new
air_temporary.volume = volume
air_temporary.temperature = T20C
@@ -134,7 +134,7 @@
icon_state = "phoron_map"
connect_types = CONNECT_TYPE_REGULAR|CONNECT_TYPE_FUEL
/obj/machinery/atmospherics/pipe/tank/phoron/Initialize()
/obj/machinery/atmospherics/pipe/tank/phoron/Initialize(mapload)
air_temporary = new
air_temporary.volume = volume
air_temporary.temperature = T20C
@@ -148,7 +148,7 @@
name = "Pressure Tank (Nitrous Oxide)"
icon_state = "n2o_map"
/obj/machinery/atmospherics/pipe/tank/nitrous_oxide/Initialize()
/obj/machinery/atmospherics/pipe/tank/nitrous_oxide/Initialize(mapload)
air_temporary = new
air_temporary.volume = volume
air_temporary.temperature = T0C

View File

@@ -191,6 +191,8 @@
#define REAGENT_ID_BENZILATE "benzilate"
#define REAGENT_PHENETHYLAMINE "Phenethylamine"
#define REAGENT_ID_PHENETHYLAMINE "phenethylamine"
#define REAGENT_XEYAKIN_BLOOD "Xeyakin Blood"
#define REAGENT_ID_XEYAKIN_BLOOD "xeyakinblood"
// Phoronreagents

View File

@@ -1285,7 +1285,7 @@ var/mob/dview/dview_mob = new
color = origin.color
set_light(origin.light_range, origin.light_power, origin.light_color)
/mob/dview/Initialize()
/mob/dview/Initialize(mapload)
. = ..()
// We don't want to be in any mob lists; we're a dummy not a mob.
mob_list -= src

View File

@@ -14,7 +14,7 @@
var/list/background_mas = list()
var/const/max_dimensions = 10
/obj/screen/movable/pic_in_pic/Initialize()
/obj/screen/movable/pic_in_pic/Initialize(mapload)
. = ..()
make_backgrounds()
@@ -170,4 +170,4 @@
/obj/screen/movable/pic_in_pic/proc/unshow_to(client/C)
if(C)
shown_to -= C
C.screen -= src
C.screen -= src

View File

@@ -251,7 +251,7 @@ var/global/datum/emergency_shuttle_controller/emergency_shuttle = new
layer = TURF_LAYER
plane = TURF_PLANE
/obj/effect/bgstar/Initialize()
/obj/effect/bgstar/Initialize(mapload)
. = ..()
pixel_x += rand(-2,30)
pixel_y += rand(-2,30)

View File

@@ -156,7 +156,7 @@
// 'Reactive' beam parts do something when touched or stood in.
/obj/effect/ebeam/reactive
/obj/effect/ebeam/reactive/Initialize()
/obj/effect/ebeam/reactive/Initialize(mapload)
START_PROCESSING(SSobj, src)
return ..()

View File

@@ -113,7 +113,7 @@
/obj/item/bananapeel/testing/proc/shmove(var/atom/source, var/atom/old_loc, var/atom/new_loc)
world.log << "the [source] moved from [old_loc]([old_loc.x],[old_loc.y],[old_loc.z]) to [new_loc]([new_loc.x],[new_loc.y],[new_loc.z])"
/obj/item/bananapeel/testing/Initialize()
/obj/item/bananapeel/testing/Initialize(mapload)
. = ..()
AddComponent(/datum/component/recursive_move)
RegisterSignal(src, COMSIG_OBSERVER_MOVED, PROC_REF(shmove))

View File

@@ -1,4 +1,4 @@
// /decl is a subtype used for singletons that should never have more than one instance
// /decl is a subtype used for singletons that should never have more than one instance
// in existence at a time. If you want to use a /decl you should use a pattern like:
// var/decl/somedecl/mydecl = GET_DECL(/decl/somedecl)
@@ -60,7 +60,7 @@ var/repository/decls/decls_repository // Initialiozed in /datum/global_init/New(
. = get_decls(subtypesof(decl_prototype))
fetched_decl_subtypes[decl_prototype] = .
/decl/proc/Initialize()
/decl/proc/Initialize(mapload)
SHOULD_CALL_PARENT(TRUE)
SHOULD_NOT_SLEEP(TRUE)
return

View File

@@ -42,7 +42,7 @@
var/randomize = TRUE
var/square_chance = 10
/obj/item/soap/Initialize()
/obj/item/soap/Initialize(mapload)
if(randomize && prob(square_chance))
icon_state = "[icon_state]-alt"
. = ..()

View File

@@ -57,7 +57,7 @@ GLOBAL_LIST_EMPTY(areas_by_type)
GLOB.areas_by_type[type] = src
return ..()
/area/Initialize()
/area/Initialize(mapload)
. = ..()
luminosity = !(dynamic_lighting)
icon_state = ""

View File

@@ -75,7 +75,7 @@
var/scan_level
var/precision_coeff
/obj/machinery/dna_scannernew/Initialize()
/obj/machinery/dna_scannernew/Initialize(mapload)
. = ..()
default_apply_parts()
RefreshParts()
@@ -357,7 +357,7 @@
return
return
/obj/machinery/computer/scan_consolenew/Initialize()
/obj/machinery/computer/scan_consolenew/Initialize(mapload)
. = ..()
for(var/i=0;i<3;i++)
// Traitgenes Use bodyrecords

View File

@@ -41,7 +41,7 @@
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) //No armor at all.
canremove = FALSE
/obj/item/clothing/suit/space/changeling/Initialize()
/obj/item/clothing/suit/space/changeling/Initialize(mapload)
. = ..()
if(ismob(loc))
loc.visible_message(span_warning("[loc.name]\'s flesh rapidly inflates, forming a bloated mass around their body!"),
@@ -107,7 +107,7 @@
max_heat_protection_temperature = FIRESUIT_MAX_HEAT_PROTECTION_TEMPERATURE
slowdown = 1.5
/obj/item/clothing/suit/space/changeling/armored/Initialize()
/obj/item/clothing/suit/space/changeling/armored/Initialize(mapload)
. = ..()
if(ismob(loc))
loc.visible_message(span_warning("[loc.name]\'s flesh turns black, quickly transforming into a hard, chitinous mass!"),

View File

@@ -269,7 +269,7 @@ var/global/list/changeling_fabricated_clothing = list(
if(ismob(loc))
registered_user = loc
/obj/item/card/id/syndicate/changeling/Initialize()
/obj/item/card/id/syndicate/changeling/Initialize(mapload)
. = ..()
access = null

View File

@@ -33,7 +33,7 @@
var/activation_cooldown = 30 SECONDS
var/last_activation = 0
/obj/structure/cult/pylon/Initialize()
/obj/structure/cult/pylon/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
@@ -153,7 +153,7 @@
/obj/effect/gateway/active/cult/cultify()
return
/obj/effect/gateway/active/Initialize()
/obj/effect/gateway/active/Initialize(mapload)
. = ..()
addtimer(CALLBACK(src, PROC_REF(spawn_and_qdel)), rand(30, 60) SECONDS)

View File

@@ -65,7 +65,7 @@ var/global/list/rnwords = list("ire","ego","nahlizet","certum","veri","jatkaa","
// self other technology - Communication rune //was other hear blood
// join hide technology - stun rune. Rune color: bright pink.
/obj/effect/rune/Initialize()
/obj/effect/rune/Initialize(mapload)
. = ..()
blood_image = image(loc = src)
blood_image.override = 1
@@ -288,7 +288,7 @@ var/global/list/rnwords = list("ire","ego","nahlizet","certum","veri","jatkaa","
</html>
"}
/obj/item/book/tome/Initialize()
/obj/item/book/tome/Initialize(mapload)
. = ..()
if(!cultwords["travel"])
runerandom()

View File

@@ -126,7 +126,7 @@
// Multiply this and the hits var to get a rough idea of how penetrating a meteor is.
var/wall_power = 100
/obj/effect/meteor/Initialize()
/obj/effect/meteor/Initialize(mapload)
. = ..()
z_original = z
GLOB.meteor_list += src
@@ -151,7 +151,7 @@
GLOB.meteor_list -= src
return ..()
/obj/effect/meteor/Initialize()
/obj/effect/meteor/Initialize(mapload)
. = ..()
SpinAnimation()

View File

@@ -76,7 +76,7 @@
continue
L.ai_holder.give_target(target)
/obj/item/spell/control/Initialize()
/obj/item/spell/control/Initialize(mapload)
control_overlay = image('icons/obj/spells.dmi',"controlled")
return ..()

View File

@@ -11,7 +11,7 @@
var/obj/item/inserted_spell/inserting = null
var/allow_stacking = 0
/obj/item/spell/insert/Initialize()
/obj/item/spell/insert/Initialize(mapload)
. = ..()
set_light(spell_light_range, spell_light_intensity, l_color = light_color)

View File

@@ -9,7 +9,7 @@
var/spell_light_intensity = 2
var/spell_light_range = 3
/obj/item/spell/modifier/Initialize()
/obj/item/spell/modifier/Initialize(mapload)
. = ..()
set_light(spell_light_range, spell_light_intensity, l_color = light_color)

View File

@@ -15,7 +15,7 @@
cast_methods = CAST_USE
aspect = ASPECT_TELE
/obj/item/spell/phase_shift/Initialize()
/obj/item/spell/phase_shift/Initialize(mapload)
. = ..()
set_light(3, 2, l_color = "#FA58F4")
@@ -28,7 +28,7 @@
/obj/effect/phase_shift/ex_act()
return
/obj/effect/phase_shift/Initialize()
/obj/effect/phase_shift/Initialize(mapload)
. = ..()
set_light(3, 5, l_color = "#FA58F4")
START_PROCESSING(SSobj, src)

View File

@@ -18,7 +18,7 @@
adjust_instability(4)
..()
/obj/item/spell/spawner/darkness/Initialize()
/obj/item/spell/spawner/darkness/Initialize(mapload)
. = ..()
set_light(6, -20, l_color = "#FFFFFF")

View File

@@ -14,7 +14,7 @@
aspect = ASPECT_UNSTABLE
spawner_type = /obj/effect/temporary_effect/destablize
/obj/item/spell/spawner/destablize/Initialize()
/obj/item/spell/spawner/destablize/Initialize(mapload)
. = ..()
set_light(3, 2, l_color = "#C26DDE")
@@ -36,7 +36,7 @@
var/instability_power = 5
var/instability_range = 6
/obj/effect/temporary_effect/destablize/Initialize()
/obj/effect/temporary_effect/destablize/Initialize(mapload)
. = ..()
radiate_loop()

View File

@@ -13,7 +13,7 @@
aspect = ASPECT_EMP
spawner_type = /obj/effect/temporary_effect/pulse/pulsar
/obj/item/spell/spawner/pulsar/Initialize()
/obj/item/spell/spawner/pulsar/Initialize(mapload)
. = ..()
set_light(3, 2, l_color = "#2ECCFA")
@@ -31,7 +31,7 @@
var/pulse_delay = 2 SECONDS
var/pulsetimer
/obj/effect/temporary_effect/pulse/Initialize()
/obj/effect/temporary_effect/pulse/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD

View File

@@ -8,7 +8,7 @@
var/max_cable = 100
var/on = 0
/obj/machinery/cablelayer/Initialize()
/obj/machinery/cablelayer/Initialize(mapload)
cable = new(src, max_cable)
. = ..()

View File

@@ -15,7 +15,7 @@
clicksound = 'sound/machines/buttonbeep.ogg'
clickvol = 30
/obj/machinery/sleep_console/Initialize()
/obj/machinery/sleep_console/Initialize(mapload)
findsleeper()
return ..()
@@ -113,7 +113,7 @@
idle_power_usage = 15
active_power_usage = 200 //builtin health analyzer, dialysis machine, injectors.
/obj/machinery/sleeper/Initialize()
/obj/machinery/sleeper/Initialize(mapload)
. = ..()
beaker = new /obj/item/reagent_containers/glass/beaker/large(src)
default_apply_parts()
@@ -539,6 +539,6 @@
icon_state = "sleeper"
stasis_level = 100 //Just one setting
/obj/machinery/sleeper/survival_pod/Initialize()
/obj/machinery/sleeper/survival_pod/Initialize(mapload)
. = ..()
RefreshParts(1)

View File

@@ -17,7 +17,7 @@
var/obj/machinery/body_scanconsole/console
var/printing_text = null
/obj/machinery/bodyscanner/Initialize()
/obj/machinery/bodyscanner/Initialize(mapload)
. = ..()
default_apply_parts()

View File

@@ -165,7 +165,7 @@
if(name == "alarm")
name = "[alarm_area.name] Air Alarm"
/obj/machinery/alarm/Initialize()
/obj/machinery/alarm/Initialize(mapload)
. = ..()
set_frequency(frequency)
if(!master_is_operating())

View File

@@ -80,7 +80,7 @@
qdel(src)
return
/obj/machinery/atmospheric_field_generator/perma/Initialize()
/obj/machinery/atmospheric_field_generator/perma/Initialize(mapload)
. = ..()
generate_field()
@@ -159,7 +159,7 @@
isactive = FALSE
return
/obj/machinery/atmospheric_field_generator/Initialize()
/obj/machinery/atmospheric_field_generator/Initialize(mapload)
. = ..()
//Delete ourselves if we find extra mapped in arfgs
for(var/obj/machinery/atmospheric_field_generator/F in loc)
@@ -213,7 +213,7 @@
return
/obj/structure/atmospheric_retention_field/Initialize()
/obj/structure/atmospheric_retention_field/Initialize(mapload)
. = ..()
update_nearby_tiles() //Force ZAS update
update_connections(1)

View File

@@ -64,7 +64,7 @@
frequency = new_frequency
radio_connection = radio_controller.add_object(src, frequency, RADIO_ATMOSIA)
/obj/machinery/air_sensor/Initialize()
/obj/machinery/air_sensor/Initialize(mapload)
. = ..()
if(frequency)
set_frequency(frequency)
@@ -130,7 +130,7 @@
frequency = new_frequency
radio_connection = radio_controller.add_object(src, frequency, RADIO_ATMOSIA)
/obj/machinery/computer/general_air_control/Initialize()
/obj/machinery/computer/general_air_control/Initialize(mapload)
. = ..()
if(frequency)
set_frequency(frequency)

View File

@@ -14,7 +14,7 @@
//Simple variable to prevent me from doing attack_hand in both this and the child computer
var/zone = "This computer is working on a wireless range, the range is currently limited to "
/obj/machinery/computer/area_atmos/Initialize()
/obj/machinery/computer/area_atmos/Initialize(mapload)
. = ..()
scanscrubbers()

View File

@@ -415,7 +415,7 @@ update_flag
update_icon()
//Dirty way to fill room with gas. However it is a bit easier to do than creating some floor/engine/n2o -rastaf0
/obj/machinery/portable_atmospherics/canister/nitrous_oxide/roomfiller/Initialize()
/obj/machinery/portable_atmospherics/canister/nitrous_oxide/roomfiller/Initialize(mapload)
. = ..()
air_contents.gas[GAS_N2O] = 9*4000
var/turf/simulated/location = src.loc

View File

@@ -12,7 +12,7 @@
use_power = USE_POWER_IDLE
idle_power_usage = 15
/obj/machinery/meter/Initialize()
/obj/machinery/meter/Initialize(mapload)
. = ..()
if (!target)
target = select_target()

View File

@@ -245,7 +245,7 @@
/obj/machinery/portable_atmospherics/powered/scrubber/huge/stationary
name = "Stationary Air Scrubber"
/obj/machinery/portable_atmospherics/powered/scrubber/huge/stationary/Initialize()
/obj/machinery/portable_atmospherics/powered/scrubber/huge/stationary/Initialize(mapload)
. = ..()
desc += "This one seems to be tightly secured with large bolts."

View File

@@ -29,7 +29,7 @@
var/filtertext
/obj/machinery/autolathe/Initialize()
/obj/machinery/autolathe/Initialize(mapload)
AddComponent(/datum/component/material_container, subtypesof(/datum/material), 0, MATCONTAINER_EXAMINE, _after_insert = CALLBACK(src, PROC_REF(AfterMaterialInsert)))
. = ..()
if(!autolathe_recipes)

View File

@@ -53,7 +53,7 @@
src.reagent_amt = amt
src.cost = cost
/obj/machinery/biogenerator/Initialize()
/obj/machinery/biogenerator/Initialize(mapload)
. = ..()
var/datum/reagents/R = new/datum/reagents(1000)
reagents = R

View File

@@ -100,7 +100,7 @@
add_overlay("bioprinter_working")
//VOREStation Edit End
/obj/machinery/organ_printer/Initialize()
/obj/machinery/organ_printer/Initialize(mapload)
. = ..()
default_apply_parts()
@@ -298,7 +298,7 @@
icon_state = "bioprinter"
circuit = /obj/item/circuitboard/bioprinter
/obj/machinery/organ_printer/flesh/full/Initialize()
/obj/machinery/organ_printer/flesh/full/Initialize(mapload)
. = ..()
container = new /obj/item/reagent_containers/glass/bottle/biomass(src)
@@ -365,7 +365,7 @@
var/matter_amount_per_sheet = 10
var/matter_type = MAT_STEEL
/obj/machinery/organ_printer/robot/full/Initialize()
/obj/machinery/organ_printer/robot/full/Initialize(mapload)
. = ..()
stored_matter = max_stored_matter

View File

@@ -188,7 +188,7 @@ var/global/list/engineering_networks = list(
/obj/machinery/camera/autoname
var/static/list/by_area
/obj/machinery/camera/autoname/Initialize()
/obj/machinery/camera/autoname/Initialize(mapload)
. = ..()
var/area/A = get_area(src)
if(!A)

View File

@@ -13,7 +13,7 @@
var/chargelevel = -1
circuit = /obj/item/circuitboard/cell_charger
/obj/machinery/cell_charger/Initialize()
/obj/machinery/cell_charger/Initialize(mapload)
. = ..()
default_apply_parts()
add_overlay("ccharger1")

View File

@@ -49,7 +49,7 @@
var/speed_coeff
var/efficiency
/obj/machinery/clonepod/Initialize()
/obj/machinery/clonepod/Initialize(mapload)
. = ..()
default_apply_parts()
update_icon()
@@ -451,7 +451,7 @@
icon_state = "pod_g"
/obj/machinery/clonepod/full/Initialize()
/obj/machinery/clonepod/full/Initialize(mapload)
. = ..()
for(var/i = 1 to container_limit)
containers += new /obj/item/reagent_containers/glass/bottle/biomass(src)
@@ -484,7 +484,7 @@
name = "Diskette Box"
icon_state = "disk_kit"
/obj/item/storage/box/disks/Initialize()
/obj/item/storage/box/disks/Initialize(mapload)
. = ..()
new /obj/item/disk/body_record(src)
new /obj/item/disk/body_record(src)

View File

@@ -101,7 +101,7 @@
var/blocked = 0 //Player cannot attack/heal while set
var/turtle = 0
/obj/machinery/computer/arcade/battle/Initialize()
/obj/machinery/computer/arcade/battle/Initialize(mapload)
. = ..()
randomize_characters()

View File

@@ -15,7 +15,7 @@
var/datum/tgui_module/camera/camera
var/camera_datum_type = /datum/tgui_module/camera
/obj/machinery/computer/security/Initialize()
/obj/machinery/computer/security/Initialize(mapload)
. = ..()
if(!LAZYLEN(network))
network = get_default_networks()
@@ -89,7 +89,7 @@ GLOBAL_LIST_EMPTY(bodycamera_screens) // CHOMPEdit
var/enabled = TRUE // on or off
/obj/machinery/computer/security/telescreen/entertainment/Initialize()
/obj/machinery/computer/security/telescreen/entertainment/Initialize(mapload)
GLOB.entertainment_screens += src
var/static/icon/mask = icon('icons/obj/entertainment_monitor.dmi', "mask")
@@ -198,7 +198,7 @@ GLOBAL_LIST_EMPTY(bodycamera_screens) // CHOMPEdit
var/enabled = TRUE // on or off
/obj/machinery/computer/security/telescreen/bodycamera/Initialize()
/obj/machinery/computer/security/telescreen/bodycamera/Initialize(mapload)
GLOB.bodycamera_screens += src
var/static/icon/mask = icon('icons/obj/entertainment_monitor.dmi', "mask")

View File

@@ -25,7 +25,7 @@
light_color = "#315ab4"
/obj/machinery/computer/cloning/Initialize()
/obj/machinery/computer/cloning/Initialize(mapload)
. = ..()
pods = list()
records = list()

View File

@@ -12,7 +12,7 @@
var/datum/tgui_module/communications/communications
/obj/machinery/computer/communications/Initialize()
/obj/machinery/computer/communications/Initialize(mapload)
. = ..()
communications = new(src)

View File

@@ -59,7 +59,7 @@
expired = 1
return ..()
/obj/item/card/id/guest/Initialize()
/obj/item/card/id/guest/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
update_icon()

View File

@@ -28,7 +28,7 @@
var/static/list/field_edit_choices
/obj/machinery/computer/med_data/Initialize()
/obj/machinery/computer/med_data/Initialize(mapload)
. = ..()
field_edit_questions = list(
// General

View File

@@ -68,7 +68,7 @@
icon_screen = initial(icon_screen)
..()
/obj/machinery/computer/message_monitor/Initialize()
/obj/machinery/computer/message_monitor/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD
@@ -341,7 +341,7 @@
/obj/item/paper/monitorkey
name = "Monitor Decryption Key"
/obj/item/paper/monitorkey/Initialize()
/obj/item/paper/monitorkey/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD

View File

@@ -12,7 +12,7 @@
var/time = 30.0
var/title = "Mass Driver Controls"
/obj/machinery/computer/pod/Initialize()
/obj/machinery/computer/pod/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD

View File

@@ -24,7 +24,7 @@
var/static/list/field_edit_questions
var/static/list/field_edit_choices
/obj/machinery/computer/secure_data/Initialize()
/obj/machinery/computer/secure_data/Initialize(mapload)
. = ..()
field_edit_questions = list(
// General

View File

@@ -29,7 +29,7 @@
var/static/list/field_edit_questions
var/static/list/field_edit_choices
/obj/machinery/computer/skills/Initialize()
/obj/machinery/computer/skills/Initialize(mapload)
. = ..()
field_edit_questions = list(
// General

View File

@@ -17,7 +17,7 @@
monitor_type = /datum/tgui_module/alarm_monitor/all
circuit = /obj/item/circuitboard/stationalert_all
/obj/machinery/computer/station_alert/Initialize()
/obj/machinery/computer/station_alert/Initialize(mapload)
alarm_monitor = new monitor_type(src)
alarm_monitor.register_alarm(src, "update_console_icon")
. = ..()

View File

@@ -22,7 +22,7 @@
var/obj/item/radio/intercom/announce // Integreated announcer
/obj/machinery/computer/timeclock/Initialize()
/obj/machinery/computer/timeclock/Initialize(mapload)
. = ..()
announce = new /obj/item/radio/intercom(src)

View File

@@ -33,7 +33,7 @@
icon_state = "base"
initialize_directions = dir
/obj/machinery/atmospherics/unary/cryo_cell/Initialize()
/obj/machinery/atmospherics/unary/cryo_cell/Initialize(mapload)
. = ..()
var/image/tank = image(icon,"tank")
tank.alpha = 200

View File

@@ -290,7 +290,7 @@
time_till_despawn = 60 //1 second, because gateway.
/obj/machinery/cryopod/Initialize()
/obj/machinery/cryopod/Initialize(mapload)
. = ..()
announce = new /obj/item/radio/intercom(src)
@@ -300,7 +300,7 @@
occupant.resting = 1
return ..()
/obj/machinery/cryopod/Initialize()
/obj/machinery/cryopod/Initialize(mapload)
. = ..()
find_control_computer()

View File

@@ -11,7 +11,7 @@
var/id_tag = null
var/chime_sound = 'sound/machines/doorbell.ogg'
/obj/machinery/doorbell_chime/Initialize()
/obj/machinery/doorbell_chime/Initialize(mapload)
. = ..()
update_icon()
@@ -99,7 +99,7 @@
assign_uid()
id = num2text(uid)
/obj/machinery/button/doorbell/Initialize()
/obj/machinery/button/doorbell/Initialize(mapload)
. = ..()
update_icon()

View File

@@ -1553,7 +1553,7 @@ About the new airlock wires panel:
else
wires = new/datum/wires/airlock(src)
/obj/machinery/door/airlock/Initialize()
/obj/machinery/door/airlock/Initialize(mapload)
if(src.closeOtherId != null)
for (var/obj/machinery/door/airlock/A in machines)
if(A.closeOtherId == src.closeOtherId && A != src)

View File

@@ -86,7 +86,7 @@
/// Optional: If door_color_icon is not null, this color will be applied to the door color overlay
var/door_color
/obj/machinery/door/airlock/angled_bay/Initialize()
/obj/machinery/door/airlock/angled_bay/Initialize(mapload)
obtain_icon()
. = ..()

View File

@@ -144,7 +144,7 @@
radio_connection = radio_controller.add_object(src, new_frequency, RADIO_AIRLOCK)
/obj/machinery/door/airlock/Initialize()
/obj/machinery/door/airlock/Initialize(mapload)
. = ..()
if(frequency)
set_frequency(frequency)
@@ -224,7 +224,7 @@
frequency = new_frequency
radio_connection = radio_controller.add_object(src, frequency, RADIO_AIRLOCK)
/obj/machinery/airlock_sensor/Initialize()
/obj/machinery/airlock_sensor/Initialize(mapload)
. = ..()
set_frequency(frequency)
@@ -370,7 +370,7 @@
radio_connection = radio_controller.add_object(src, frequency, RADIO_AIRLOCK)
/obj/machinery/access_button/Initialize()
/obj/machinery/access_button/Initialize(mapload)
. = ..()
set_frequency(frequency)

View File

@@ -14,7 +14,7 @@
radio_controller.remove_object(src,air_frequency)
. = ..()
/obj/machinery/door/airlock/alarmlock/Initialize()
/obj/machinery/door/airlock/alarmlock/Initialize(mapload)
. = ..()
radio_controller.remove_object(src, air_frequency)
air_connection = radio_controller.add_object(src, air_frequency, RADIO_TO_AIRALARM)

View File

@@ -40,7 +40,7 @@
//turning this off prevents awkward zone geometry in places like medbay lobby, for example.
block_air_zones = 0
/obj/machinery/door/blast/Initialize()
/obj/machinery/door/blast/Initialize(mapload)
. = ..()
implicit_material = get_material_by_name(MAT_PLASTEEL)

View File

@@ -36,7 +36,7 @@
maptext_height = 26
maptext_width = 32
/obj/machinery/door_timer/Initialize()
/obj/machinery/door_timer/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD

View File

@@ -51,7 +51,7 @@
var/open_sound = 'sound/machines/firelockopen.ogg' //CHOMPEdit firedoor sound variable.
var/close_sound = 'sound/machines/firelockclose.ogg' //CHOMPEdit firedoor sound variable.
/obj/machinery/door/firedoor/Initialize()
/obj/machinery/door/firedoor/Initialize(mapload)
. = ..()
//Delete ourselves if we find extra mapped in firedoors
for(var/obj/machinery/door/firedoor/F in loc)

View File

@@ -14,7 +14,7 @@
appearance = master_controller
. = ..()
/obj/machinery/dummy_airlock_controller/Initialize()
/obj/machinery/dummy_airlock_controller/Initialize(mapload)
. = ..()
if(id_tag)
for(var/obj/machinery/embedded_controller/radio/airlock/_master in SSmachines.machinery)

View File

@@ -15,7 +15,7 @@
tag_secure = 1
valid_actions = list("cycle_ext", "cycle_int", "force_ext", "force_int", "abort", "toggle_override")
/obj/machinery/embedded_controller/radio/airlock/docking_port/Initialize()
/obj/machinery/embedded_controller/radio/airlock/docking_port/Initialize(mapload)
. = ..()
airlock_program = new/datum/embedded_program/airlock/docking(src)
docking_program = new/datum/embedded_program/docking/airlock(src, airlock_program)
@@ -172,4 +172,4 @@
set src in view(1)
src.program:initiate_undocking()
*/
*/

Some files were not shown because too many files have changed in this diff Show More