Merge pull request #15585 from SandPoot/Initialize(mapload)
Every case of initialize that should have mapload, does
This commit is contained in:
@@ -126,7 +126,7 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
|
||||
ambientsounds = RUINS
|
||||
area_flags = UNIQUE_AREA | NO_ALERTS
|
||||
|
||||
/area/asteroid/artifactroom/Initialize()
|
||||
/area/asteroid/artifactroom/Initialize(mapload)
|
||||
. = ..()
|
||||
set_dynamic_lighting()
|
||||
|
||||
|
||||
@@ -31,6 +31,6 @@
|
||||
cam.lostTargetRef(WEAKREF(O))
|
||||
return
|
||||
|
||||
/area/ai_monitored/turret_protected/ai/Initialize()
|
||||
/area/ai_monitored/turret_protected/ai/Initialize(mapload)
|
||||
. = ..()
|
||||
src.area_flags |= ABDUCTOR_PROOF
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
///Will objects this area be needing power?
|
||||
var/requires_power = TRUE
|
||||
/// This gets overridden to 1 for space in area/Initialize().
|
||||
/// This gets overridden to 1 for space in area/Initialize(mapload).
|
||||
var/always_unpowered = FALSE
|
||||
|
||||
var/power_equip = TRUE
|
||||
@@ -197,7 +197,7 @@ GLOBAL_LIST_EMPTY(teleportlocs)
|
||||
*
|
||||
* returns INITIALIZE_HINT_LATELOAD
|
||||
*/
|
||||
/area/Initialize()
|
||||
/area/Initialize(mapload)
|
||||
icon_state = ""
|
||||
map_name = name // Save the initial (the name set in the map) name of the area.
|
||||
canSmoothWithAreas = typecacheof(canSmoothWithAreas)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
icon_state = "supplypod_loading"
|
||||
var/loading_id = ""
|
||||
|
||||
/area/centcom/supplypod/loading/Initialize()
|
||||
/area/centcom/supplypod/loading/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!loading_id)
|
||||
CRASH("[type] created without a loading_id")
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
name = "planet z helper"
|
||||
layer = POINT_LAYER
|
||||
|
||||
/obj/effect/mapping_helpers/planet_z/Initialize()
|
||||
/obj/effect/mapping_helpers/planet_z/Initialize(mapload)
|
||||
. = ..()
|
||||
var/datum/space_level/S = SSmapping.get_level(z)
|
||||
S.traits["Planet"] = TRUE //This probably doesn't work as I expect. But maybe!!
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
Asserts are to avoid the inevitable infinite loops
|
||||
*/
|
||||
|
||||
/area/holodeck/Initialize()
|
||||
/area/holodeck/Initialize(mapload)
|
||||
. = ..()
|
||||
var/list/update_holodeck_cache = SSholodeck?.rejected_areas[type]
|
||||
if(update_holodeck_cache)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
// area_limited_icon_smoothing = /area/shuttle
|
||||
sound_environment = SOUND_ENVIRONMENT_ROOM
|
||||
|
||||
/area/shuttle/Initialize()
|
||||
/area/shuttle/Initialize(mapload)
|
||||
if(!canSmoothWithAreas)
|
||||
canSmoothWithAreas = type
|
||||
. = ..()
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
var/max_recharge = 3000 //30 peels worth
|
||||
var/recharge_rate = 34 //about 1/3 of a peel per tick
|
||||
|
||||
/obj/item/clothing/shoes/clown_shoes/banana_shoes/combat/Initialize()
|
||||
/obj/item/clothing/shoes/clown_shoes/banana_shoes/combat/Initialize(mapload)
|
||||
. = ..()
|
||||
var/datum/component/material_container/bananium = GetComponent(/datum/component/material_container)
|
||||
bananium.insert_amount_mat(max_recharge, /datum/material/bananium)
|
||||
@@ -69,7 +69,7 @@
|
||||
var/next_trombone_allowed = 0
|
||||
var/datum/component/slippery/slipper
|
||||
|
||||
/obj/item/melee/transforming/energy/sword/bananium/Initialize()
|
||||
/obj/item/melee/transforming/energy/sword/bananium/Initialize(mapload)
|
||||
. = ..()
|
||||
slipper = LoadComponent(/datum/component/slippery, 81, GALOSHES_DONT_HELP)
|
||||
slipper.signal_enabled = active
|
||||
@@ -128,7 +128,7 @@
|
||||
on_throw_speed = 1
|
||||
var/datum/component/slippery/slipper
|
||||
|
||||
/obj/item/shield/energy/bananium/Initialize()
|
||||
/obj/item/shield/energy/bananium/Initialize(mapload)
|
||||
. = ..()
|
||||
slipper = LoadComponent(/datum/component/slippery, 81, GALOSHES_DONT_HELP)
|
||||
slipper.signal_enabled = active
|
||||
@@ -173,7 +173,7 @@
|
||||
var/det_time = 50
|
||||
var/obj/item/grenade/syndieminibomb/bomb
|
||||
|
||||
/obj/item/grown/bananapeel/bombanana/Initialize()
|
||||
/obj/item/grown/bananapeel/bombanana/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/slippery, det_time)
|
||||
bomb = new /obj/item/grenade/syndieminibomb(src)
|
||||
@@ -219,7 +219,7 @@
|
||||
/obj/item/clothing/mask/fakemoustache/sticky
|
||||
var/unstick_time = 2 MINUTES
|
||||
|
||||
/obj/item/clothing/mask/fakemoustache/sticky/Initialize()
|
||||
/obj/item/clothing/mask/fakemoustache/sticky/Initialize(mapload)
|
||||
. = ..()
|
||||
ADD_TRAIT(src, TRAIT_NODROP, STICKY_MOUSTACHE_TRAIT)
|
||||
addtimer(TRAIT_CALLBACK_REMOVE(src, TRAIT_NODROP, STICKY_MOUSTACHE_TRAIT), unstick_time)
|
||||
@@ -287,7 +287,7 @@
|
||||
return
|
||||
cell = new /obj/item/stock_parts/cell/hyper(src)
|
||||
|
||||
/obj/vehicle/sealed/mecha/combat/honker/dark/loaded/Initialize()
|
||||
/obj/vehicle/sealed/mecha/combat/honker/dark/loaded/Initialize(mapload)
|
||||
. = ..()
|
||||
var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/weapon/honker()
|
||||
ME.attach(src)
|
||||
|
||||
@@ -281,7 +281,7 @@ GLOBAL_LIST_INIT(meteorsC, list(/obj/effect/meteor/dust)) //for space dust event
|
||||
var/meteorgibs = /obj/effect/gibspawner/generic
|
||||
threat = 2
|
||||
|
||||
/obj/effect/meteor/meaty/Initialize()
|
||||
/obj/effect/meteor/meaty/Initialize(mapload)
|
||||
for(var/path in meteordrop)
|
||||
if(path == /obj/item/reagent_containers/food/snacks/meat/slab/human/mutant)
|
||||
meteordrop -= path
|
||||
@@ -312,7 +312,7 @@ GLOBAL_LIST_INIT(meteorsC, list(/obj/effect/meteor/dust)) //for space dust event
|
||||
meteordrop = list(/obj/item/reagent_containers/food/snacks/meat/slab/xeno, /obj/item/organ/tongue/alien)
|
||||
meteorgibs = /obj/effect/gibspawner/xeno
|
||||
|
||||
/obj/effect/meteor/meaty/xeno/Initialize()
|
||||
/obj/effect/meteor/meaty/xeno/Initialize(mapload)
|
||||
meteordrop += subtypesof(/obj/item/organ/alien)
|
||||
return ..()
|
||||
|
||||
@@ -363,7 +363,7 @@ GLOBAL_LIST_INIT(meteorsSPOOKY, list(/obj/effect/meteor/pumpkin))
|
||||
meteordrop = list(/obj/item/clothing/head/hardhat/pumpkinhead, /obj/item/reagent_containers/food/snacks/grown/pumpkin)
|
||||
threat = 100
|
||||
|
||||
/obj/effect/meteor/pumpkin/Initialize()
|
||||
/obj/effect/meteor/pumpkin/Initialize(mapload)
|
||||
. = ..()
|
||||
meteorsound = pick('sound/hallucinations/im_here1.ogg','sound/hallucinations/im_here2.ogg')
|
||||
//////////////////////////
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
idle_power_usage = 0
|
||||
var/obj/item/beacon/Beacon
|
||||
|
||||
/obj/machinery/bluespace_beacon/Initialize()
|
||||
/obj/machinery/bluespace_beacon/Initialize(mapload)
|
||||
. = ..()
|
||||
var/turf/T = loc
|
||||
Beacon = new(T)
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
if(storedpda)
|
||||
. += "[initial(icon_state)]-closed"
|
||||
|
||||
/obj/machinery/pdapainter/Initialize()
|
||||
/obj/machinery/pdapainter/Initialize(mapload)
|
||||
. = ..()
|
||||
var/list/blocked = list(
|
||||
/obj/item/pda/ai/pai,
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
payment_department = ACCOUNT_MED
|
||||
fair_market_price = 5
|
||||
|
||||
/obj/machinery/sleeper/Initialize()
|
||||
/obj/machinery/sleeper/Initialize(mapload)
|
||||
. = ..()
|
||||
// if(mapload)
|
||||
// component_parts -= circuit
|
||||
@@ -278,7 +278,7 @@
|
||||
icon_state = "sleeper_s"
|
||||
controls_inside = TRUE
|
||||
|
||||
/obj/machinery/sleeper/syndie/Initialize()
|
||||
/obj/machinery/sleeper/syndie/Initialize(mapload)
|
||||
. = ..()
|
||||
component_parts = list()
|
||||
component_parts += new /obj/item/circuitboard/machine/sleeper/syndie(null)
|
||||
@@ -289,7 +289,7 @@
|
||||
component_parts += new /obj/item/stack/cable_coil(null)
|
||||
RefreshParts()
|
||||
|
||||
/obj/machinery/sleeper/syndie/fullupgrade/Initialize()
|
||||
/obj/machinery/sleeper/syndie/fullupgrade/Initialize(mapload)
|
||||
. = ..()
|
||||
component_parts = list()
|
||||
component_parts += new /obj/item/circuitboard/machine/sleeper/syndie(null)
|
||||
|
||||
@@ -135,7 +135,7 @@ Class Procs:
|
||||
var/market_verb = "Customer"
|
||||
var/payment_department = ACCOUNT_ENG
|
||||
|
||||
/obj/machinery/Initialize()
|
||||
/obj/machinery/Initialize(mapload)
|
||||
if(!armor)
|
||||
armor = list(MELEE = 25, BULLET = 10, LASER = 10, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 50, ACID = 70)
|
||||
. = ..()
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
frequency = new_frequency
|
||||
radio_connection = SSradio.add_object(src, frequency, RADIO_AIRLOCK)
|
||||
|
||||
/obj/machinery/airlock_sensor/Initialize()
|
||||
/obj/machinery/airlock_sensor/Initialize(mapload)
|
||||
. = ..()
|
||||
set_frequency(frequency)
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ GLOBAL_LIST_EMPTY(announcement_systems)
|
||||
var/pinklight = "Light_Pink"
|
||||
var/errorlight = "Error_Red"
|
||||
|
||||
/obj/machinery/announcement_system/Initialize()
|
||||
/obj/machinery/announcement_system/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.announcement_systems += src
|
||||
radio = new /obj/item/radio/headset/silicon/ai(src)
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
max_integrity = 200
|
||||
var/obj/item/bodypart/storedpart
|
||||
var/initial_icon_state
|
||||
var/static/list/style_list_icons = list("standard" = 'icons/mob/augmentation/augments.dmi',
|
||||
"engineer" = 'icons/mob/augmentation/augments_engineer.dmi',
|
||||
"security" = 'icons/mob/augmentation/augments_security.dmi',
|
||||
"mining" = 'icons/mob/augmentation/augments_mining.dmi',
|
||||
"Talon" = 'icons/mob/augmentation/cosmetic_prosthetic/talon.dmi',
|
||||
"Nanotrasen" = 'icons/mob/augmentation/cosmetic_prosthetic/nanotrasen.dmi',
|
||||
"Hephaesthus" = 'icons/mob/augmentation/cosmetic_prosthetic/hephaestus.dmi',
|
||||
"Bishop" = 'icons/mob/augmentation/cosmetic_prosthetic/bishop.dmi',
|
||||
var/static/list/style_list_icons = list("standard" = 'icons/mob/augmentation/augments.dmi',
|
||||
"engineer" = 'icons/mob/augmentation/augments_engineer.dmi',
|
||||
"security" = 'icons/mob/augmentation/augments_security.dmi',
|
||||
"mining" = 'icons/mob/augmentation/augments_mining.dmi',
|
||||
"Talon" = 'icons/mob/augmentation/cosmetic_prosthetic/talon.dmi',
|
||||
"Nanotrasen" = 'icons/mob/augmentation/cosmetic_prosthetic/nanotrasen.dmi',
|
||||
"Hephaesthus" = 'icons/mob/augmentation/cosmetic_prosthetic/hephaestus.dmi',
|
||||
"Bishop" = 'icons/mob/augmentation/cosmetic_prosthetic/bishop.dmi',
|
||||
"Xion" = 'icons/mob/augmentation/cosmetic_prosthetic/xion.dmi',
|
||||
"Grayson" = 'icons/mob/augmentation/cosmetic_prosthetic/grayson.dmi',
|
||||
"Cybersolutions" = 'icons/mob/augmentation/cosmetic_prosthetic/cybersolutions.dmi',
|
||||
@@ -27,7 +27,7 @@
|
||||
if(storedpart)
|
||||
. += "<span class='notice'>Alt-click to eject the limb.</span>"
|
||||
|
||||
/obj/machinery/aug_manipulator/Initialize()
|
||||
/obj/machinery/aug_manipulator/Initialize(mapload)
|
||||
initial_icon_state = initial(icon_state)
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"Imported"
|
||||
)
|
||||
|
||||
/obj/machinery/autolathe/Initialize()
|
||||
/obj/machinery/autolathe/Initialize(mapload)
|
||||
. = ..()
|
||||
wires = new /datum/wires/autolathe(src)
|
||||
stored_research = new /datum/techweb/specialized/autounlocking/autolathe
|
||||
@@ -429,7 +429,7 @@
|
||||
desc = "It produces items using metal and glass. This model was reprogrammed without some of the more hazardous designs."
|
||||
circuit = /obj/item/circuitboard/machine/autolathe/secure
|
||||
|
||||
/obj/machinery/autolathe/secure/Initialize()
|
||||
/obj/machinery/autolathe/secure/Initialize(mapload)
|
||||
. = ..()
|
||||
// let's not leave the parent datum floating, right?
|
||||
if(stored_research)
|
||||
@@ -452,14 +452,14 @@
|
||||
"Misc",
|
||||
"Imported"
|
||||
)
|
||||
/obj/machinery/autolathe/toy/Initialize()
|
||||
/obj/machinery/autolathe/toy/Initialize(mapload)
|
||||
. = ..()
|
||||
// let's not leave the parent datum floating, right?
|
||||
if(stored_research)
|
||||
QDEL_NULL(stored_research)
|
||||
stored_research = new /datum/techweb/specialized/autounlocking/autolathe/toy
|
||||
|
||||
/obj/machinery/autolathe/toy/hacked/Initialize()
|
||||
/obj/machinery/autolathe/toy/hacked/Initialize(mapload)
|
||||
. = ..()
|
||||
adjust_hacked(TRUE)
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
var/minimum_time_between_warnings = 400
|
||||
var/syphoning_credits = 0
|
||||
|
||||
/obj/machinery/computer/bank_machine/Initialize()
|
||||
/obj/machinery/computer/bank_machine/Initialize(mapload)
|
||||
. = ..()
|
||||
radio = new(src)
|
||||
radio.subspace_transmission = TRUE
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
var/efficiency = 0
|
||||
var/productivity = 0
|
||||
|
||||
/obj/machinery/bloodbankgen/Initialize()
|
||||
/obj/machinery/bloodbankgen/Initialize(mapload)
|
||||
. = ..()
|
||||
create_reagents(maxbloodstored, AMOUNT_VISIBLE)
|
||||
update_icon()
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
c_tag = "Arena"
|
||||
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF | FREEZE_PROOF
|
||||
|
||||
/obj/machinery/camera/motion/thunderdome/Initialize()
|
||||
/obj/machinery/camera/motion/thunderdome/Initialize(mapload)
|
||||
. = ..()
|
||||
proximity_monitor.SetRange(7)
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/obj/machinery/camera/emp_proof
|
||||
start_active = TRUE
|
||||
|
||||
/obj/machinery/camera/emp_proof/Initialize()
|
||||
/obj/machinery/camera/emp_proof/Initialize(mapload)
|
||||
. = ..()
|
||||
upgradeEmpProof()
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
start_active = TRUE
|
||||
icon_state = "xraycam" // Thanks to Krutchen for the icons.
|
||||
|
||||
/obj/machinery/camera/xray/Initialize()
|
||||
/obj/machinery/camera/xray/Initialize(mapload)
|
||||
. = ..()
|
||||
upgradeXRay()
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
start_active = TRUE
|
||||
name = "motion-sensitive security camera"
|
||||
|
||||
/obj/machinery/camera/motion/Initialize()
|
||||
/obj/machinery/camera/motion/Initialize(mapload)
|
||||
. = ..()
|
||||
upgradeMotion()
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
/obj/machinery/camera/all
|
||||
start_active = TRUE
|
||||
|
||||
/obj/machinery/camera/all/Initialize()
|
||||
/obj/machinery/camera/all/Initialize(mapload)
|
||||
. = ..()
|
||||
upgradeEmpProof()
|
||||
upgradeXRay()
|
||||
@@ -43,7 +43,7 @@
|
||||
var/number = 0 //camera number in area
|
||||
|
||||
//This camera type automatically sets it's name to whatever the area that it's in is called.
|
||||
/obj/machinery/camera/autoname/Initialize()
|
||||
/obj/machinery/camera/autoname/Initialize(mapload)
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
fair_market_price = 5 // He nodded, because he knew I was right. Then he swiped his credit card to pay me for arresting him.
|
||||
payment_department = ACCOUNT_MED
|
||||
|
||||
/obj/machinery/clonepod/Initialize()
|
||||
/obj/machinery/clonepod/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
countdown = new(src)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
var/datum/techweb/linked_techweb
|
||||
light_color = LIGHT_COLOR_BLUE
|
||||
|
||||
/obj/machinery/computer/operating/Initialize()
|
||||
/obj/machinery/computer/operating/Initialize(mapload)
|
||||
. = ..()
|
||||
linked_techweb = SSresearch.science_tech
|
||||
find_table()
|
||||
|
||||
@@ -77,7 +77,7 @@ GLOBAL_LIST_INIT(arcade_prize_pool, list(
|
||||
/obj/machinery/computer/arcade/proc/Reset()
|
||||
return
|
||||
|
||||
/obj/machinery/computer/arcade/Initialize()
|
||||
/obj/machinery/computer/arcade/Initialize(mapload)
|
||||
. = ..()
|
||||
// If it's a generic arcade machine, pick a random arcade
|
||||
// circuit board for it and make the new machine
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
var/killed_crew = 0
|
||||
|
||||
|
||||
/obj/machinery/computer/arcade/orion_trail/Initialize()
|
||||
/obj/machinery/computer/arcade/orion_trail/Initialize(mapload)
|
||||
. = ..()
|
||||
Radio = new /obj/item/radio(src)
|
||||
Radio.listening = 0
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
light_color = LIGHT_COLOR_CYAN
|
||||
|
||||
/obj/machinery/computer/atmos_alert/Initialize()
|
||||
/obj/machinery/computer/atmos_alert/Initialize(mapload)
|
||||
. = ..()
|
||||
set_frequency(receive_frequency)
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
frequency = new_frequency
|
||||
radio_connection = SSradio.add_object(src, frequency, RADIO_ATMOSIA)
|
||||
|
||||
/obj/machinery/air_sensor/Initialize()
|
||||
/obj/machinery/air_sensor/Initialize(mapload)
|
||||
. = ..()
|
||||
SSair.atmos_air_machinery += src
|
||||
set_frequency(frequency)
|
||||
@@ -126,7 +126,7 @@ GLOBAL_LIST_EMPTY(atmos_air_controllers)
|
||||
var/datum/radio_frequency/radio_connection
|
||||
|
||||
|
||||
/obj/machinery/computer/atmos_control/Initialize()
|
||||
/obj/machinery/computer/atmos_control/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.atmos_air_controllers += src
|
||||
set_frequency(frequency)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
interaction_flags_machine = INTERACT_MACHINE_ALLOW_SILICON | INTERACT_MACHINE_SET_MACHINE //| INTERACT_MACHINE_REQUIRES_SIGHT
|
||||
|
||||
/obj/machinery/computer/security/Initialize()
|
||||
/obj/machinery/computer/security/Initialize(mapload)
|
||||
. = ..()
|
||||
// Map name has to start and end with an A-Z character,
|
||||
// and definitely NOT with a square bracket or even a number.
|
||||
@@ -275,7 +275,7 @@
|
||||
var/icon_state_off = "entertainment_blank"
|
||||
var/icon_state_on = "entertainment"
|
||||
|
||||
/obj/machinery/computer/security/telescreen/entertainment/Initialize()
|
||||
/obj/machinery/computer/security/telescreen/entertainment/Initialize(mapload)
|
||||
. = ..()
|
||||
RegisterSignal(src, COMSIG_CLICK, .proc/BigClick)
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
light_color = LIGHT_COLOR_RED
|
||||
|
||||
/obj/machinery/computer/camera_advanced/Initialize()
|
||||
/obj/machinery/computer/camera_advanced/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/i in networks)
|
||||
networks -= i
|
||||
|
||||
@@ -56,7 +56,7 @@ GLOBAL_VAR_INIT(time_last_changed_position, 0)
|
||||
/obj/machinery/computer/card/centcom/get_jobs()
|
||||
return get_all_centcom_jobs()
|
||||
|
||||
/obj/machinery/computer/card/Initialize()
|
||||
/obj/machinery/computer/card/Initialize(mapload)
|
||||
. = ..()
|
||||
change_position_cooldown = CONFIG_GET(number/id_console_jobslot_delay)
|
||||
|
||||
@@ -586,7 +586,7 @@ GLOBAL_VAR_INIT(time_last_changed_position, 0)
|
||||
icon_screen = "idminor"
|
||||
circuit = /obj/item/circuitboard/computer/card/minor
|
||||
|
||||
/obj/machinery/computer/card/minor/Initialize()
|
||||
/obj/machinery/computer/card/minor/Initialize(mapload)
|
||||
. = ..()
|
||||
var/obj/item/circuitboard/computer/card/minor/typed_circuit = circuit
|
||||
if(target_dept)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
light_color = LIGHT_COLOR_BLUE
|
||||
|
||||
/obj/machinery/computer/cloning/Initialize()
|
||||
/obj/machinery/computer/cloning/Initialize(mapload)
|
||||
. = ..()
|
||||
updatemodules(TRUE)
|
||||
var/obj/item/circuitboard/computer/cloning/board = circuit
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
/// The last lines used for changing the status display
|
||||
var/static/last_status_display
|
||||
|
||||
/obj/machinery/computer/communications/Initialize()
|
||||
/obj/machinery/computer/communications/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.shuttle_caller_list += src
|
||||
AddComponent(/datum/component/gps, "Secured Communications Signal")
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
|
||||
eject_disk(user)
|
||||
|
||||
/obj/machinery/computer/scan_consolenew/Initialize()
|
||||
/obj/machinery/computer/scan_consolenew/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
// Connect with a nearby DNA Scanner on init
|
||||
@@ -263,7 +263,7 @@
|
||||
if(!ui)
|
||||
ui = new(user, src, "DnaConsole")
|
||||
ui.open()
|
||||
|
||||
|
||||
/obj/machinery/computer/scan_consolenew/ui_assets()
|
||||
. = ..() || list()
|
||||
. += get_asset_datum(/datum/asset/simple/genetics)
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
var/list/obj/machinery/launchpad/launchpads
|
||||
var/maximum_pads = 4
|
||||
|
||||
/obj/machinery/computer/launchpad/Initialize()
|
||||
/obj/machinery/computer/launchpad/Initialize(mapload)
|
||||
launchpads = list()
|
||||
. = ..()
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
/// Countdown timer for the mass driver's delayed launch functionality.
|
||||
COOLDOWN_DECLARE(massdriver_countdown)
|
||||
|
||||
/obj/machinery/computer/pod/Initialize()
|
||||
/obj/machinery/computer/pod/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/obj/machinery/mass_driver/M in range(range, src))
|
||||
if(M.id == id)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
light_color = LIGHT_COLOR_RED
|
||||
|
||||
/obj/machinery/computer/prisoner/gulag_teleporter_computer/Initialize()
|
||||
/obj/machinery/computer/prisoner/gulag_teleporter_computer/Initialize(mapload)
|
||||
. = ..()
|
||||
scan_machinery()
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
light_color = LIGHT_COLOR_CYAN
|
||||
|
||||
/obj/machinery/computer/station_alert/Initialize()
|
||||
/obj/machinery/computer/station_alert/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.alert_consoles += src
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ GLOBAL_LIST_INIT(possible_uplinker_IDs, list("Alfa","Bravo","Charlie","Delta","E
|
||||
var/obj/item/uplinkholder = null
|
||||
var/obj/machinery/computer/telecrystals/boss/linkedboss = null
|
||||
|
||||
/obj/machinery/computer/telecrystals/uplinker/Initialize()
|
||||
/obj/machinery/computer/telecrystals/uplinker/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
var/ID = pick_n_take(GLOB.possible_uplinker_IDs)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
var/turf/target
|
||||
var/obj/item/implant/imp_t
|
||||
|
||||
/obj/machinery/computer/teleporter/Initialize()
|
||||
/obj/machinery/computer/teleporter/Initialize(mapload)
|
||||
. = ..()
|
||||
id = "[rand(1000, 9999)]"
|
||||
link_power_station()
|
||||
|
||||
@@ -38,7 +38,7 @@ GLOBAL_LIST_EMPTY(cryopod_computers)
|
||||
var/obj/O = i
|
||||
O.forceMove(drop_location())
|
||||
|
||||
/obj/machinery/computer/cryopod/Initialize()
|
||||
/obj/machinery/computer/cryopod/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.cryopod_computers += src
|
||||
|
||||
@@ -144,7 +144,7 @@ GLOBAL_LIST_EMPTY(cryopod_computers)
|
||||
var/datum/weakref/control_computer_weakref
|
||||
COOLDOWN_DECLARE(last_no_computer_message)
|
||||
|
||||
/obj/machinery/cryopod/Initialize()
|
||||
/obj/machinery/cryopod/Initialize(mapload)
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD //Gotta populate the cryopod computer GLOB first
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
var/obj/item/defibrillator/defib //this mount's defibrillator
|
||||
var/clamps_locked = FALSE //if true, and a defib is loaded, it can't be removed without unlocking the clamps
|
||||
|
||||
/obj/machinery/defibrillator_mount/loaded/Initialize() //loaded subtype for mapping use
|
||||
/obj/machinery/defibrillator_mount/loaded/Initialize(mapload) //loaded subtype for mapping use
|
||||
. = ..()
|
||||
defib = new/obj/item/defibrillator/loaded(src)
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
var/deploy_time = 40
|
||||
var/deploy_message = TRUE
|
||||
|
||||
/obj/structure/barricade/security/Initialize()
|
||||
/obj/structure/barricade/security/Initialize(mapload)
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/deploy), deploy_time)
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
var/suction_enabled = TRUE
|
||||
var/transmit_enabled = TRUE
|
||||
|
||||
/obj/machinery/dish_drive/Initialize()
|
||||
/obj/machinery/dish_drive/Initialize(mapload)
|
||||
. = ..()
|
||||
RefreshParts()
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
var/max_mutations = 6
|
||||
var/read_only = FALSE //Well,it's still a floppy disk
|
||||
|
||||
/obj/item/disk/data/Initialize()
|
||||
/obj/item/disk/data/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "datadisk[rand(0,6)]"
|
||||
add_overlay("datadisk_gene")
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
/// sigh
|
||||
var/unelectrify_timerid
|
||||
|
||||
/obj/machinery/door/airlock/Initialize()
|
||||
/obj/machinery/door/airlock/Initialize(mapload)
|
||||
. = ..()
|
||||
wires = new wiretypepath(src) //CIT CHANGE - makes it possible for airlocks to have different wire datums
|
||||
if(frequency)
|
||||
|
||||
@@ -485,7 +485,7 @@
|
||||
var/friendly = FALSE
|
||||
var/stealthy = FALSE
|
||||
|
||||
/obj/machinery/door/airlock/cult/Initialize()
|
||||
/obj/machinery/door/airlock/cult/Initialize(mapload)
|
||||
. = ..()
|
||||
new openingoverlaytype(loc)
|
||||
|
||||
@@ -593,7 +593,7 @@
|
||||
normal_integrity = 240
|
||||
var/construction_state = GEAR_SECURE //Pinion airlocks have custom deconstruction
|
||||
|
||||
/obj/machinery/door/airlock/clockwork/Initialize()
|
||||
/obj/machinery/door/airlock/clockwork/Initialize(mapload)
|
||||
. = ..()
|
||||
new /obj/effect/temp_visual/ratvar/door(loc)
|
||||
new /obj/effect/temp_visual/ratvar/beam/door(loc)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
var/air_frequency = FREQ_ATMOS_ALARMS
|
||||
autoclose = FALSE
|
||||
|
||||
/obj/machinery/door/airlock/alarmlock/Initialize()
|
||||
/obj/machinery/door/airlock/alarmlock/Initialize(mapload)
|
||||
. = ..()
|
||||
air_connection = new
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
air_connection = null
|
||||
return ..()
|
||||
|
||||
/obj/machinery/door/airlock/alarmlock/Initialize()
|
||||
/obj/machinery/door/airlock/alarmlock/Initialize(mapload)
|
||||
. = ..()
|
||||
SSradio.remove_object(src, air_frequency)
|
||||
air_connection = SSradio.add_object(src, air_frequency, RADIO_TO_AIRALARM)
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
maptext_height = 26
|
||||
maptext_width = 32
|
||||
|
||||
/obj/machinery/door_timer/Initialize()
|
||||
/obj/machinery/door_timer/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
Radio = new/obj/item/radio(src)
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
/obj/machinery/door/Initialize()
|
||||
/obj/machinery/door/Initialize(mapload)
|
||||
. = ..()
|
||||
set_init_door_layer()
|
||||
update_freelook_sight()
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
var/boltslocked = TRUE
|
||||
var/list/affecting_areas
|
||||
|
||||
/obj/machinery/door/firedoor/Initialize()
|
||||
/obj/machinery/door/firedoor/Initialize(mapload)
|
||||
. = ..()
|
||||
CalculateAffectingAreas()
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ GLOBAL_LIST_EMPTY(doppler_arrays)
|
||||
verb_say = "states coldly"
|
||||
var/list/message_log = list()
|
||||
|
||||
/obj/machinery/doppler_array/Initialize()
|
||||
/obj/machinery/doppler_array/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.doppler_arrays += src
|
||||
|
||||
@@ -218,6 +218,6 @@ GLOBAL_LIST_EMPTY(doppler_arrays)
|
||||
return
|
||||
|
||||
|
||||
/obj/machinery/doppler_array/research/science/Initialize()
|
||||
/obj/machinery/doppler_array/research/science/Initialize(mapload)
|
||||
. = ..()
|
||||
linked_techweb = SSresearch.science_tech
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
var/break_message = "lets out a tinny alarm before falling dark."
|
||||
var/break_sound = 'sound/machines/warning-buzzer.ogg'
|
||||
|
||||
/obj/machinery/droneDispenser/Initialize()
|
||||
/obj/machinery/droneDispenser/Initialize(mapload)
|
||||
. = ..()
|
||||
var/datum/component/material_container/materials = AddComponent(/datum/component/material_container, list(/datum/material/iron, /datum/material/glass), MINERAL_MATERIAL_AMOUNT * MAX_STACK_SIZE * 2, TRUE, /obj/item/stack)
|
||||
materials.insert_amount_mat(starting_amount)
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
/obj/machinery/doorButtons/proc/findObjsByTag()
|
||||
return
|
||||
|
||||
/obj/machinery/doorButtons/Initialize()
|
||||
/obj/machinery/doorButtons/Initialize(mapload)
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
SSradio.remove_object(src,frequency)
|
||||
return ..()
|
||||
|
||||
/obj/machinery/embedded_controller/radio/Initialize()
|
||||
/obj/machinery/embedded_controller/radio/Initialize(mapload)
|
||||
. = ..()
|
||||
set_frequency(frequency)
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
new /obj/item/stack/sheet/metal (loc, 2)
|
||||
qdel(src)
|
||||
|
||||
/obj/machinery/flasher/portable/Initialize()
|
||||
/obj/machinery/flasher/portable/Initialize(mapload)
|
||||
. = ..()
|
||||
proximity_monitor = new(src, 0)
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ The console is located at computer/gulag_teleporter.dm
|
||||
/obj/item/clothing/mask/breath,
|
||||
/obj/item/clothing/mask/gas))
|
||||
|
||||
/obj/machinery/gulag_teleporter/Initialize()
|
||||
/obj/machinery/gulag_teleporter/Initialize(mapload)
|
||||
. = ..()
|
||||
locate_reclaimer()
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
var/allow_clothing = FALSE
|
||||
var/allow_living = FALSE
|
||||
|
||||
/obj/machinery/harvester/Initialize()
|
||||
/obj/machinery/harvester/Initialize(mapload)
|
||||
. = ..()
|
||||
if(prob(1))
|
||||
name = "auto-autopsy"
|
||||
|
||||
@@ -85,7 +85,7 @@ Possible to do for anyone motivated enough:
|
||||
desc = "It's a floor-mounted device for projecting holographic images. This one will refuse to auto-connect incoming calls."
|
||||
secure = TRUE
|
||||
|
||||
/obj/machinery/holopad/secure/Initialize()
|
||||
/obj/machinery/holopad/secure/Initialize(mapload)
|
||||
. = ..()
|
||||
var/obj/item/circuitboard/machine/holopad/board = circuit
|
||||
board.secure = TRUE
|
||||
@@ -144,7 +144,7 @@ Possible to do for anyone motivated enough:
|
||||
if(!replay_mode && (disk?.record))
|
||||
replay_start()
|
||||
|
||||
/obj/machinery/holopad/Initialize()
|
||||
/obj/machinery/holopad/Initialize(mapload)
|
||||
. = ..()
|
||||
if(on_network)
|
||||
holopads += src
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
var/timerid = 0 ///Timer ID for interrogations
|
||||
var/message_cooldown = 0 ///Cooldown for breakout message
|
||||
|
||||
/obj/machinery/hypnochair/Initialize()
|
||||
/obj/machinery/hypnochair/Initialize(mapload)
|
||||
. = ..()
|
||||
open_machine()
|
||||
update_icon()
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
location.hotspot_expose(700,10,1)
|
||||
return 1
|
||||
|
||||
/obj/machinery/igniter/Initialize()
|
||||
/obj/machinery/igniter/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "igniter[on]"
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
/obj/machinery/sparker/toxmix
|
||||
id = INCINERATOR_TOXMIX_IGNITER
|
||||
|
||||
/obj/machinery/sparker/Initialize()
|
||||
/obj/machinery/sparker/Initialize(mapload)
|
||||
. = ..()
|
||||
spark_system = new /datum/effect_system/spark_spread
|
||||
spark_system.set_up(2, 1, src)
|
||||
|
||||
@@ -229,7 +229,7 @@
|
||||
/obj/item/storage/briefcase/launchpad
|
||||
var/obj/machinery/launchpad/briefcase/pad
|
||||
|
||||
/obj/item/storage/briefcase/launchpad/Initialize()
|
||||
/obj/item/storage/briefcase/launchpad/Initialize(mapload)
|
||||
pad = new(null, src) //spawns pad in nullspace to hide it from briefcase contents
|
||||
. = ..()
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
dir = EAST
|
||||
pixel_x = -26
|
||||
|
||||
/obj/machinery/light_switch/Initialize()
|
||||
/obj/machinery/light_switch/Initialize(mapload)
|
||||
. = ..()
|
||||
if(istext(area))
|
||||
area = text2path(area)
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
)
|
||||
var/obj/item/disk/data/dna_disk
|
||||
|
||||
/obj/machinery/limbgrower/Initialize()
|
||||
/obj/machinery/limbgrower/Initialize(mapload)
|
||||
create_reagents(100, OPENCONTAINER)
|
||||
stored_research = new /datum/techweb/specialized/autounlocking/limbgrower
|
||||
. = ..()
|
||||
@@ -60,7 +60,7 @@
|
||||
reagent_type = reagent_id.type
|
||||
)
|
||||
data["reagents"] += list(reagent_data)
|
||||
else
|
||||
else
|
||||
data["reagents"] = list()
|
||||
data["total_reagents"] = reagents.total_volume
|
||||
data["max_reagents"] = reagents.maximum_volume
|
||||
@@ -379,7 +379,7 @@
|
||||
C.undershirt = "Nude"
|
||||
C.saved_underwear = ""
|
||||
C.saved_undershirt = ""
|
||||
|
||||
|
||||
// Just enough to start reviving them, I hope
|
||||
C.blood_volume = BLOOD_VOLUME_SURVIVE
|
||||
// At some point, make a way to deal with species regenerate_organs
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
var/center_y = 0
|
||||
var/max_dist = 20 // absolute value of center_x,y cannot exceed this integer
|
||||
|
||||
/obj/machinery/magnetic_module/Initialize()
|
||||
/obj/machinery/magnetic_module/Initialize(mapload)
|
||||
..()
|
||||
var/turf/T = loc
|
||||
hide(T.intact)
|
||||
@@ -213,7 +213,7 @@
|
||||
var/datum/radio_frequency/radio_connection
|
||||
|
||||
|
||||
/obj/machinery/magnetic_controller/Initialize()
|
||||
/obj/machinery/magnetic_controller/Initialize(mapload)
|
||||
. = ..()
|
||||
if(autolink)
|
||||
for(var/obj/machinery/magnetic_module/M in GLOB.machines)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
///List of consoles that can access the pad
|
||||
var/list/obj/machinery/computer/mechpad/consoles
|
||||
|
||||
/obj/machinery/mechpad/Initialize()
|
||||
/obj/machinery/mechpad/Initialize(mapload)
|
||||
. = ..()
|
||||
display_name = "Orbital Pad - [get_area_name(src)]"
|
||||
GLOB.mechpad_list += src
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
req_one_access = list(ACCESS_ENGINE, ACCESS_ROBOTICS)
|
||||
|
||||
/obj/machinery/navbeacon/Initialize()
|
||||
/obj/machinery/navbeacon/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
set_codes()
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
/// MISSING:
|
||||
var/shot_stagger = 0
|
||||
|
||||
/obj/machinery/porta_turret/Initialize()
|
||||
/obj/machinery/porta_turret/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!base)
|
||||
base = src
|
||||
@@ -837,7 +837,7 @@
|
||||
/obj/machinery/porta_turret/aux_base/interact(mob/user) //Controlled solely from the base console.
|
||||
return
|
||||
|
||||
/obj/machinery/porta_turret/aux_base/Initialize()
|
||||
/obj/machinery/porta_turret/aux_base/Initialize(mapload)
|
||||
. = ..()
|
||||
cover.name = name
|
||||
cover.desc = desc
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
var/map_pad_id = "" as text //what's my name
|
||||
var/map_pad_link_id = "" as text //who's my friend
|
||||
|
||||
/obj/machinery/quantumpad/Initialize()
|
||||
/obj/machinery/quantumpad/Initialize(mapload)
|
||||
. = ..()
|
||||
if(map_pad_id)
|
||||
mapped_quantum_pads[map_pad_id] = src
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
var/recharge_speed
|
||||
var/repairs
|
||||
|
||||
/obj/machinery/recharge_station/Initialize()
|
||||
/obj/machinery/recharge_station/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/recharge_station/upgraded
|
||||
|
||||
/obj/machinery/recharge_station/upgraded/Initialize()
|
||||
/obj/machinery/recharge_station/upgraded/Initialize(mapload)
|
||||
. = ..()
|
||||
component_parts = list()
|
||||
component_parts += new /obj/item/circuitboard/machine/cyborgrecharger(null)
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
/obj/machinery/recharge_station/fullupgrade
|
||||
|
||||
/obj/machinery/recharge_station/fullupgrade/Initialize()
|
||||
/obj/machinery/recharge_station/fullupgrade/Initialize(mapload)
|
||||
. = ..()
|
||||
component_parts = list()
|
||||
component_parts += new /obj/item/circuitboard/machine/cyborgrecharger(null)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
var/eat_victim_items = TRUE
|
||||
var/item_recycle_sound = 'sound/items/welder.ogg'
|
||||
|
||||
/obj/machinery/recycler/Initialize()
|
||||
/obj/machinery/recycler/Initialize(mapload)
|
||||
AddComponent(/datum/component/butchering/recycler, 1, amount_produced,amount_produced/5)
|
||||
AddComponent(/datum/component/material_container, list(/datum/material/iron, /datum/material/glass, /datum/material/silver, /datum/material/plasma, /datum/material/gold, /datum/material/diamond, /datum/material/plastic, /datum/material/uranium, /datum/material/bananium, /datum/material/titanium, /datum/material/bluespace), INFINITY, FALSE, null, null, null, TRUE)
|
||||
. = ..()
|
||||
|
||||
@@ -85,7 +85,7 @@ GLOBAL_LIST_EMPTY(allConsoles)
|
||||
else
|
||||
icon_state = "req_comp0"
|
||||
|
||||
/obj/machinery/requests_console/Initialize()
|
||||
/obj/machinery/requests_console/Initialize(mapload)
|
||||
. = ..()
|
||||
name = "\improper [department] requests console"
|
||||
GLOB.allConsoles += src
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
layer = BELOW_OBJ_LAYER
|
||||
var/busy_processing = FALSE
|
||||
|
||||
/obj/machinery/sheetifier/Initialize()
|
||||
/obj/machinery/sheetifier/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/material_container, list(/datum/material/meat), MINERAL_MATERIAL_AMOUNT * MAX_STACK_SIZE * 2, TRUE, /obj/item/reagent_containers/food/snacks/meat/slab, CALLBACK(src, .proc/CanInsertMaterials), CALLBACK(src, .proc/AfterInsertMaterials))
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
max_integrity = 200 //The shield can only take so much beating (prevents perma-prisons)
|
||||
CanAtmosPass = ATMOS_PASS_DENSITY
|
||||
|
||||
/obj/structure/emergency_shield/Initialize()
|
||||
/obj/structure/emergency_shield/Initialize(mapload)
|
||||
. = ..()
|
||||
setDir(pick(GLOB.cardinals))
|
||||
air_update_turf(1)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
var/icon_state_open = "burst_plasma_open"
|
||||
var/icon_state_off = "burst_plasma_off"
|
||||
|
||||
/obj/machinery/shuttle/Initialize()
|
||||
/obj/machinery/shuttle/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.custom_shuttle_machines += src
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
bluespace_capable = TRUE
|
||||
cooldown = 90
|
||||
|
||||
/obj/machinery/shuttle/engine/Initialize()
|
||||
/obj/machinery/shuttle/engine/Initialize(mapload)
|
||||
. = ..()
|
||||
check_setup()
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
var/list/symbols = list(SEVEN = 1, "<font color='orange'>&</font>" = 2, "<font color='yellow'>@</font>" = 2, "<font color='green'>$</font>" = 2, "<font color='blue'>?</font>" = 2, "<font color='grey'>#</font>" = 2, "<font color='white'>!</font>" = 2, "<font color='fuchsia'>%</font>" = 2) //if people are winning too much, multiply every number in this list by 2 and see if they are still winning too much.
|
||||
|
||||
|
||||
/obj/machinery/computer/slot_machine/Initialize()
|
||||
/obj/machinery/computer/slot_machine/Initialize(mapload)
|
||||
. = ..()
|
||||
jackpots = rand(1, 4) //false hope
|
||||
plays = rand(75, 200)
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
/obj/machinery/space_heater/get_cell()
|
||||
return cell
|
||||
|
||||
/obj/machinery/space_heater/Initialize()
|
||||
/obj/machinery/space_heater/Initialize(mapload)
|
||||
. = ..()
|
||||
cell = new(src)
|
||||
update_icon()
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
var/friendc = FALSE // track if Friend Computer mode
|
||||
var/last_picture // For when Friend Computer mode is undone
|
||||
|
||||
/obj/machinery/status_display/evac/Initialize()
|
||||
/obj/machinery/status_display/evac/Initialize(mapload)
|
||||
. = ..()
|
||||
// register for radio system
|
||||
SSradio.add_object(src, frequency)
|
||||
@@ -304,7 +304,7 @@
|
||||
var/mode = SD_BLANK
|
||||
var/emotion = "Neutral"
|
||||
|
||||
/obj/machinery/status_display/ai/Initialize()
|
||||
/obj/machinery/status_display/ai/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.ai_status_displays.Add(src)
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
state_open = TRUE
|
||||
density = FALSE
|
||||
|
||||
/obj/machinery/suit_storage_unit/Initialize()
|
||||
/obj/machinery/suit_storage_unit/Initialize(mapload)
|
||||
. = ..()
|
||||
wires = new /datum/wires/suit_storage_unit(src)
|
||||
if(suit_type)
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
countdown.stop()
|
||||
STOP_PROCESSING(SSfastprocess, src)
|
||||
|
||||
/obj/machinery/syndicatebomb/Initialize()
|
||||
/obj/machinery/syndicatebomb/Initialize(mapload)
|
||||
. = ..()
|
||||
wires = new /datum/wires/syndicatebomb(src)
|
||||
if(payload)
|
||||
@@ -242,7 +242,7 @@
|
||||
open_panel = TRUE
|
||||
timer_set = 120
|
||||
|
||||
/obj/machinery/syndicatebomb/empty/Initialize()
|
||||
/obj/machinery/syndicatebomb/empty/Initialize(mapload)
|
||||
. = ..()
|
||||
wires.cut_all()
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
||||
flags_1 = NODECONSTRUCT_1
|
||||
|
||||
/obj/machinery/telecomms/allinone/Initialize()
|
||||
/obj/machinery/telecomms/allinone/Initialize(mapload)
|
||||
. = ..()
|
||||
if (intercept)
|
||||
freq_listening = list(FREQ_SYNDICATE)
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
freq_listening = list(FREQ_ENGINEERING)
|
||||
autolinkers = list("processor4", "engineering", "common")
|
||||
|
||||
/obj/machinery/telecomms/bus/preset_four/Initialize()
|
||||
/obj/machinery/telecomms/bus/preset_four/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/i = MIN_FREQ, i <= MAX_FREQ, i += 2)
|
||||
freq_listening |= i
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
armor = list(MELEE = 25, BULLET = 10, LASER = 10, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 50, ACID = 70)
|
||||
var/obj/item/stored
|
||||
|
||||
/obj/machinery/blackbox_recorder/Initialize()
|
||||
/obj/machinery/blackbox_recorder/Initialize(mapload)
|
||||
. = ..()
|
||||
stored = new /obj/item/blackbox(src)
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
var/list/datum/data_rc_msg/rc_msgs = list()
|
||||
var/decryptkey
|
||||
|
||||
/obj/machinery/telecomms/message_server/Initialize()
|
||||
/obj/machinery/telecomms/message_server/Initialize(mapload)
|
||||
. = ..()
|
||||
if (!decryptkey)
|
||||
decryptkey = GenerateKey()
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
freq_listening = list(FREQ_COMMAND, FREQ_ENGINEERING, FREQ_SECURITY)
|
||||
|
||||
//Common and other radio frequencies for people to freely use
|
||||
/obj/machinery/telecomms/receiver/preset_right/Initialize()
|
||||
/obj/machinery/telecomms/receiver/preset_right/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/i = MIN_FREQ, i <= MAX_FREQ, i += 2)
|
||||
freq_listening |= i
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
var/list/log_entries = list()
|
||||
var/totaltraffic = 0 // gigabytes (if > 1024, divide by 1024 -> terrabytes)
|
||||
|
||||
/obj/machinery/telecomms/server/Initialize()
|
||||
/obj/machinery/telecomms/server/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
/obj/machinery/telecomms/server/RefreshParts()
|
||||
@@ -72,7 +72,7 @@
|
||||
/obj/machinery/telecomms/server/presets
|
||||
network = "tcommsat"
|
||||
|
||||
/obj/machinery/telecomms/server/presets/Initialize()
|
||||
/obj/machinery/telecomms/server/presets/Initialize(mapload)
|
||||
. = ..()
|
||||
name = id
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
autolinkers = list("common")
|
||||
|
||||
//Common and other radio frequencies for people to freely use
|
||||
/obj/machinery/telecomms/server/presets/common/Initialize()
|
||||
/obj/machinery/telecomms/server/presets/common/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/i = MIN_FREQ, i <= MAX_FREQ, i += 2)
|
||||
freq_listening |= i
|
||||
@@ -123,6 +123,6 @@
|
||||
freq_listening = list(FREQ_SECURITY)
|
||||
autolinkers = list("security")
|
||||
|
||||
/obj/machinery/telecomms/server/presets/common/birdstation/Initialize()
|
||||
/obj/machinery/telecomms/server/presets/common/birdstation/Initialize(mapload)
|
||||
. = ..()
|
||||
freq_listening = list()
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
var/obj/machinery/teleport/station/power_station
|
||||
var/calibrated //Calibration prevents mutation
|
||||
|
||||
/obj/machinery/teleport/hub/Initialize()
|
||||
/obj/machinery/teleport/hub/Initialize(mapload)
|
||||
. = ..()
|
||||
link_power_station()
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
/obj/machinery/teleport/hub/proc/is_ready()
|
||||
. = !panel_open && !(stat & (BROKEN|NOPOWER)) && power_station && power_station.engaged && !(power_station.stat & (BROKEN|NOPOWER))
|
||||
|
||||
/obj/machinery/teleport/hub/syndicate/Initialize()
|
||||
/obj/machinery/teleport/hub/syndicate/Initialize(mapload)
|
||||
. = ..()
|
||||
component_parts += new /obj/item/stock_parts/matter_bin/super(null)
|
||||
RefreshParts()
|
||||
@@ -120,7 +120,7 @@
|
||||
var/list/linked_stations = list()
|
||||
var/efficiency = 0
|
||||
|
||||
/obj/machinery/teleport/station/Initialize()
|
||||
/obj/machinery/teleport/station/Initialize(mapload)
|
||||
. = ..()
|
||||
link_console_and_hub()
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
var/obj/effect/countdown/transformer/countdown
|
||||
var/mob/living/silicon/ai/masterAI
|
||||
|
||||
/obj/machinery/transformer/Initialize()
|
||||
/obj/machinery/transformer/Initialize(mapload)
|
||||
// On us
|
||||
. = ..()
|
||||
new /obj/machinery/conveyor/auto(locate(x - 1, y, z), WEST)
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
||||
layer = OPEN_DOOR_LAYER
|
||||
|
||||
/obj/machinery/turnstile/Initialize()
|
||||
/obj/machinery/turnstile/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "turnstile"
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
density = FALSE
|
||||
max_integrity = 60
|
||||
|
||||
/obj/structure/arachnid/cocoon/Initialize()
|
||||
/obj/structure/arachnid/cocoon/Initialize(mapload)
|
||||
icon_state = pick("cocoon1","cocoon2","cocoon3")
|
||||
. = ..()
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
var/static/list/AllTeleporters
|
||||
|
||||
/obj/effect/bump_teleporter/Initialize()
|
||||
/obj/effect/bump_teleporter/Initialize(mapload)
|
||||
. = ..()
|
||||
LAZYADD(AllTeleporters, src)
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
var/poster_item_icon_state = "rolled_poster"
|
||||
var/poster_item_type = /obj/item/poster
|
||||
|
||||
/obj/structure/sign/poster/Initialize()
|
||||
/obj/structure/sign/poster/Initialize(mapload)
|
||||
. = ..()
|
||||
if(random_basetype)
|
||||
randomise(random_basetype)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
var/displayed_text
|
||||
var/atom/attached_to
|
||||
|
||||
/obj/effect/countdown/Initialize()
|
||||
/obj/effect/countdown/Initialize(mapload)
|
||||
. = ..()
|
||||
attach(loc)
|
||||
|
||||
|
||||
@@ -72,6 +72,6 @@
|
||||
icon_state = "tracks"
|
||||
random_icon_states = null
|
||||
|
||||
/obj/effect/decal/cleanable/blood/xtracks/Initialize()
|
||||
/obj/effect/decal/cleanable/blood/xtracks/Initialize(mapload)
|
||||
add_blood_DNA(list("UNKNOWN DNA" = "X*"))
|
||||
. = ..()
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
if(!fixed_color)
|
||||
add_atom_colour(blood_DNA_to_color(), FIXED_COLOUR_PRIORITY)
|
||||
|
||||
/obj/effect/cleanable/trail_holder/Initialize()
|
||||
/obj/effect/cleanable/trail_holder/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
persistent = TRUE
|
||||
persistence_allow_stacking = TRUE
|
||||
|
||||
/obj/effect/decal/cleanable/ash/Initialize()
|
||||
/obj/effect/decal/cleanable/ash/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(/datum/reagent/ash, 30)
|
||||
pixel_x = rand(-5, 5)
|
||||
@@ -30,7 +30,7 @@
|
||||
icon_state = "big_ash"
|
||||
beauty = -100
|
||||
|
||||
/obj/effect/decal/cleanable/ash/large/Initialize()
|
||||
/obj/effect/decal/cleanable/ash/large/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(/datum/reagent/ash, 30) //double the amount of ash.
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
mergeable_decal = TRUE
|
||||
persistent = TRUE
|
||||
|
||||
/obj/effect/decal/cleanable/glass/Initialize()
|
||||
/obj/effect/decal/cleanable/glass/Initialize(mapload)
|
||||
. = ..()
|
||||
setDir(pick(GLOB.cardinals))
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
if(data["alpha"])
|
||||
alpha = text2num(data["alpha"])
|
||||
|
||||
/obj/effect/decal/cleanable/dirt/Initialize()
|
||||
/obj/effect/decal/cleanable/dirt/Initialize(mapload)
|
||||
. = ..()
|
||||
var/turf/T = get_turf(src)
|
||||
if(T.tiled_dirt)
|
||||
@@ -265,7 +265,7 @@
|
||||
qdel(src)
|
||||
return power // no block
|
||||
|
||||
/obj/effect/decal/cleanable/shreds/Initialize()
|
||||
/obj/effect/decal/cleanable/shreds/Initialize(mapload)
|
||||
pixel_x = rand(-10, 10)
|
||||
pixel_y = rand(-10, 10)
|
||||
. = ..()
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
beauty = -100
|
||||
persistent = TRUE
|
||||
|
||||
/obj/effect/decal/cleanable/oil/Initialize()
|
||||
/obj/effect/decal/cleanable/oil/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(/datum/reagent/oil, 30)
|
||||
reagents.add_reagent(/datum/reagent/liquidgibs/oil, 5)
|
||||
@@ -68,6 +68,6 @@
|
||||
/obj/effect/decal/cleanable/oil/slippery
|
||||
persistent = FALSE
|
||||
|
||||
/obj/effect/decal/cleanable/oil/slippery/Initialize()
|
||||
/obj/effect/decal/cleanable/oil/slippery/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/slippery, 80, (NO_SLIP_WHEN_WALKING | SLIDE))
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
||||
var/turf_loc_check = TRUE
|
||||
|
||||
/obj/effect/decal/Initialize()
|
||||
/obj/effect/decal/Initialize(mapload)
|
||||
. = ..()
|
||||
if(turf_loc_check && (!isturf(loc) || NeverShouldHaveComeHere(loc)))
|
||||
return INITIALIZE_HINT_QDEL
|
||||
@@ -37,7 +37,7 @@
|
||||
layer = TURF_DECAL_LAYER
|
||||
plane = ABOVE_WALL_PLANE
|
||||
|
||||
/obj/effect/turf_decal/Initialize()
|
||||
/obj/effect/turf_decal/Initialize(mapload)
|
||||
..()
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ would spawn and follow the beaker, even if it is carried or thrown.
|
||||
pass_flags = PASSTABLE | PASSGRILLE
|
||||
anchored = TRUE
|
||||
|
||||
/obj/effect/particle_effect/Initialize()
|
||||
/obj/effect/particle_effect/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.cameranet.updateVisibility(src)
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
opacity = 1
|
||||
anchored = TRUE
|
||||
|
||||
/obj/effect/particle_effect/expl_particles/Initialize()
|
||||
/obj/effect/particle_effect/expl_particles/Initialize(mapload)
|
||||
. = ..()
|
||||
QDEL_IN(src, 15)
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
pixel_x = -32
|
||||
pixel_y = -32
|
||||
|
||||
/obj/effect/explosion/Initialize()
|
||||
/obj/effect/explosion/Initialize(mapload)
|
||||
. = ..()
|
||||
QDEL_IN(src, 10)
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
/obj/effect/particle_effect/foam/long_life
|
||||
lifetime = 150
|
||||
|
||||
/obj/effect/particle_effect/foam/Initialize()
|
||||
/obj/effect/particle_effect/foam/Initialize(mapload)
|
||||
. = ..()
|
||||
MakeSlippery()
|
||||
create_reagents(1000, NONE, NO_REAGENTS_VALUE) //limited by the size of the reagent holder anyway.
|
||||
@@ -271,7 +271,7 @@
|
||||
attack_hand_speed = CLICK_CD_MELEE
|
||||
attack_hand_is_action = TRUE
|
||||
|
||||
/obj/structure/foamedmetal/Initialize()
|
||||
/obj/structure/foamedmetal/Initialize(mapload)
|
||||
. = ..()
|
||||
air_update_turf(1)
|
||||
|
||||
@@ -305,7 +305,7 @@
|
||||
max_integrity = 10
|
||||
pass_flags_self = PASSGLASS
|
||||
|
||||
/obj/structure/foamedmetal/resin/Initialize()
|
||||
/obj/structure/foamedmetal/resin/Initialize(mapload)
|
||||
. = ..()
|
||||
neutralize_air()
|
||||
addtimer(CALLBACK(src, .proc/neutralize_air), 5) // yeah this sucks, maybe when auxmos is out
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user