refactor/ci: enforce mapload in Initialize args (#26878)

* refactor/ci: enforce mapload in Initialize args

* add new missing mapload arg

* add yet another missing mapload arg

* Update code/modules/power/engines/singularity/particle_accelerator/particle.dm

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

---------

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
warriorstar-orion
2024-10-23 19:07:46 +00:00
committed by GitHub
co-authored by DGamerL
parent 766816954d
commit 9465b565b8
111 changed files with 168 additions and 160 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
var/mutable_appearance/standard_background
var/const/max_dimensions = 10
/atom/movable/screen/movable/pic_in_pic/Initialize()
/atom/movable/screen/movable/pic_in_pic/Initialize(mapload)
. = ..()
make_backgrounds()
+2 -2
View File
@@ -47,7 +47,7 @@
mymob.overlay_fullscreen("lighting_backdrop_lit", /atom/movable/screen/fullscreen/stretch/lighting_backdrop/lit)
mymob.overlay_fullscreen("lighting_backdrop_unlit", /atom/movable/screen/fullscreen/stretch/lighting_backdrop/unlit)
/atom/movable/screen/plane_master/lighting/Initialize()
/atom/movable/screen/plane_master/lighting/Initialize(mapload)
. = ..()
add_filter("emissives", 1, alpha_mask_filter(render_source = EMISSIVE_RENDER_TARGET, flags = MASK_INVERSE))
@@ -73,7 +73,7 @@
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
render_target = EMISSIVE_RENDER_TARGET
/atom/movable/screen/plane_master/emissive/Initialize()
/atom/movable/screen/plane_master/emissive/Initialize(mapload)
. = ..()
add_filter("em_block_masking", 1, color_matrix_filter(GLOB.em_mask_matrix))
+1 -1
View File
@@ -1347,7 +1347,7 @@
icon_state = "rift"
color = "red"
/obj/effect/bubblegum_warning/Initialize()
/obj/effect/bubblegum_warning/Initialize(mapload)
. = ..()
addtimer(CALLBACK(src, PROC_REF(slap_someone)), 2.5 SECONDS) //A chance to run away
@@ -425,7 +425,7 @@ CONTENTS:
item_state = "abductor_headset"
ks2type = /obj/item/encryptionkey/heads/captain
/obj/item/radio/headset/abductor/Initialize()
/obj/item/radio/headset/abductor/Initialize(mapload)
. = ..()
make_syndie() // Why the hell is this a proc why cant it just be a subtype
@@ -28,7 +28,7 @@
var/obj/machinery/computer/camera_advanced/abductor/camera
var/list/datum/icon_snapshot/disguises = list()
/obj/machinery/abductor/console/Initialize()
/obj/machinery/abductor/console/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD
+3 -3
View File
@@ -71,7 +71,7 @@ GLOBAL_VAR(bomb_set)
extended = FALSE
anchored = FALSE
/obj/machinery/nuclearbomb/Initialize()
/obj/machinery/nuclearbomb/Initialize(mapload)
. = ..()
r_code = rand(10000, 99999) // Creates a random code upon object spawn.
wires = new/datum/wires/nuclearbomb(src)
@@ -87,7 +87,7 @@ GLOBAL_VAR(bomb_set)
radio.follow_target = src
radio.config(list("Special Ops" = 0))
/obj/machinery/nuclearbomb/syndicate/Initialize()
/obj/machinery/nuclearbomb/syndicate/Initialize(mapload)
. = ..()
wires.labelled = FALSE
ADD_TRAIT(src, TRAIT_OBSCURED_WIRES, ROUNDSTART_TRAIT)
@@ -793,7 +793,7 @@ GLOBAL_VAR(bomb_set)
training = TRUE
sprite_prefix = "t_"
/obj/machinery/nuclearbomb/training/Initialize()
/obj/machinery/nuclearbomb/training/Initialize(mapload)
. = ..()
r_code = 11111 //Uuh.. one!
+1 -1
View File
@@ -249,7 +249,7 @@
pixel_y = 20
duration = 1.5 SECONDS
/obj/effect/temp_visual/tarot_preview/Initialize(atom/mapload, new_icon_state)
/obj/effect/temp_visual/tarot_preview/Initialize(mapload, new_icon_state)
. = ..()
if(new_icon_state)
icon_state = "tarot_[new_icon_state]"
+4 -4
View File
@@ -38,7 +38,7 @@
var/list/categories = list("Tools", "Electronics", "Construction", "Communication", "Security", "Machinery", "Medical", "Miscellaneous", "Dinnerware", "Imported")
var/board_type = /obj/item/circuitboard/autolathe
/obj/machinery/autolathe/Initialize()
/obj/machinery/autolathe/Initialize(mapload)
. = ..()
AddComponent(/datum/component/material_container, list(MAT_METAL, MAT_GLASS), _show_on_examine=TRUE, _after_insert=CALLBACK(src, PROC_REF(AfterMaterialInsert)))
component_parts = list()
@@ -56,7 +56,7 @@
files = new /datum/research/autolathe(src)
matching_designs = list()
/obj/machinery/autolathe/upgraded/Initialize()
/obj/machinery/autolathe/upgraded/Initialize(mapload)
. = ..()
component_parts = list()
component_parts += new board_type(null)
@@ -67,7 +67,7 @@
component_parts += new /obj/item/stack/sheet/glass(null)
RefreshParts()
/obj/machinery/autolathe/upgraded/gamma/Initialize()
/obj/machinery/autolathe/upgraded/gamma/Initialize(mapload)
. = ..()
files = new /datum/research/autolathe/gamma(src)
adjust_hacked(TRUE)
@@ -524,7 +524,7 @@
name = "syndicate autolathe"
board_type = /obj/item/circuitboard/autolathe/syndi
/obj/machinery/autolathe/syndicate/Initialize()
/obj/machinery/autolathe/syndicate/Initialize(mapload)
. = ..()
files = new /datum/research/autolathe/syndicate(src)
@@ -123,7 +123,7 @@ GLOBAL_LIST_EMPTY(gas_sensors)
/// List of sensor names to cache lists used in the display TGUI
var/tmp/list/sensor_name_data_map = list()
/obj/machinery/computer/general_air_control/Initialize()
/obj/machinery/computer/general_air_control/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD // Do all our work in here
@@ -29,7 +29,7 @@
/obj/machinery/computer/security/ui_host()
return parent ? parent : src
/obj/machinery/computer/security/Initialize()
/obj/machinery/computer/security/Initialize(mapload)
. = ..()
// Initialize map objects
map_name = "camera_console_[UID()]_map"
@@ -230,7 +230,7 @@
/// Used to detect how many video cameras are active
var/feeds_on = 0
/obj/machinery/computer/security/telescreen/entertainment/Initialize()
/obj/machinery/computer/security/telescreen/entertainment/Initialize(mapload)
. = ..()
set_light(1, LIGHTING_MINIMUM_POWER) //so byond doesnt cull, and we get an emissive appearance
@@ -305,7 +305,7 @@
network = list()
circuit = /obj/item/circuitboard/camera/engineering
/obj/machinery/computer/security/engineering/Initialize()
/obj/machinery/computer/security/engineering/Initialize(mapload)
. = ..()
network = list()
var/area/console_area = get_area(src)
+1 -1
View File
@@ -19,7 +19,7 @@
/// Are we forcing the icon to be represented in a no-power state?
var/force_no_power_icon_state = FALSE
/obj/machinery/computer/Initialize()
/obj/machinery/computer/Initialize(mapload)
. = ..()
power_change()
update_icon()
@@ -9,7 +9,7 @@
circuit = /obj/item/circuitboard/crew
var/datum/ui_module/crew_monitor/crew_monitor
/obj/machinery/computer/crew/Initialize()
/obj/machinery/computer/crew/Initialize(mapload)
. = ..()
crew_monitor = new(src)
@@ -39,6 +39,6 @@
name = "advanced crew monitoring computer"
desc = "Used to monitor active health sensors built into most of the crew's uniforms across multiple sectors."
/obj/machinery/computer/crew/advanced/Initialize()
/obj/machinery/computer/crew/advanced/Initialize(mapload)
. = ..()
crew_monitor.is_advanced = TRUE
@@ -27,7 +27,7 @@
light_color = LIGHT_COLOR_DARKBLUE
/obj/machinery/computer/med_data/Initialize()
/obj/machinery/computer/med_data/Initialize(mapload)
. = ..()
field_edit_questions = list(
// General
@@ -29,7 +29,7 @@
light_color = LIGHT_COLOR_DARKGREEN
/obj/machinery/computer/message_monitor/Initialize()
/obj/machinery/computer/message_monitor/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD // Give the message server time to initialize
+1 -1
View File
@@ -124,7 +124,7 @@ GLOBAL_LIST_EMPTY(airlock_emissive_underlays)
return TRUE
return FALSE
/obj/machinery/door/airlock/Initialize()
/obj/machinery/door/airlock/Initialize(mapload)
. = ..()
/*
About the new airlock wires panel:
+5 -5
View File
@@ -332,7 +332,7 @@
glass = TRUE
opacity = FALSE
/obj/machinery/door/airlock/centcom/glass/Initialize()
/obj/machinery/door/airlock/centcom/glass/Initialize(mapload)
. = ..()
update_icon()
@@ -518,7 +518,7 @@
/// Inner airlock material (Glass, plasteel)
var/stealth_airlock_material = null
/obj/machinery/door/airlock/cult/Initialize()
/obj/machinery/door/airlock/cult/Initialize(mapload)
. = ..()
icon = GET_CULT_DATA(airlock_runed_icon_file, initial(icon))
overlays_file = GET_CULT_DATA(airlock_runed_overlays_file, initial(overlays_file))
@@ -583,7 +583,7 @@
glass = TRUE
opacity = FALSE
/obj/machinery/door/airlock/cult/glass/Initialize()
/obj/machinery/door/airlock/cult/glass/Initialize(mapload)
. = ..()
update_icon()
@@ -596,7 +596,7 @@
assemblytype = /obj/structure/door_assembly/door_assembly_cult/unruned
openingoverlaytype = /obj/effect/temp_visual/cult/door/unruned
/obj/machinery/door/airlock/cult/unruned/Initialize()
/obj/machinery/door/airlock/cult/unruned/Initialize(mapload)
. = ..()
icon = GET_CULT_DATA(airlock_unruned_icon_file, initial(icon))
overlays_file = GET_CULT_DATA(airlock_unruned_overlays_file, initial(overlays_file))
@@ -609,7 +609,7 @@
glass = TRUE
opacity = FALSE
/obj/machinery/door/airlock/cult/unruned/glass/Initialize()
/obj/machinery/door/airlock/cult/unruned/glass/Initialize(mapload)
. = ..()
update_icon()
+1 -1
View File
@@ -8,7 +8,7 @@
idle_power_consumption = 40
var/dye_color = "#FFFFFF"
/obj/machinery/dye_generator/Initialize()
/obj/machinery/dye_generator/Initialize(mapload)
. = ..()
power_change()
+1 -1
View File
@@ -16,7 +16,7 @@
var/base_state = "mflash"
anchored = TRUE
/obj/machinery/flasher/Initialize()
/obj/machinery/flasher/Initialize(mapload)
. = ..()
update_icon()
+1 -1
View File
@@ -18,7 +18,7 @@
/obj/machinery/floodlight/get_cell()
return cell
/obj/machinery/floodlight/Initialize()
/obj/machinery/floodlight/Initialize(mapload)
. = ..()
cell = new(src)
mapVarInit()
+1 -1
View File
@@ -79,7 +79,7 @@
/// The rune that created the shield itself. Used to delete the rune when the shield is destroyed.
var/obj/effect/rune/parent_rune
/obj/machinery/shield/cult/barrier/Initialize()
/obj/machinery/shield/cult/barrier/Initialize(mapload)
. = ..()
invisibility = INVISIBILITY_MAXIMUM
+1 -1
View File
@@ -33,7 +33,7 @@ GLOBAL_LIST_EMPTY(status_displays)
var/index1
var/index2
/obj/machinery/status_display/Initialize()
/obj/machinery/status_display/Initialize(mapload)
. = ..()
GLOB.status_displays |= src
update_icon(UPDATE_OVERLAYS)
+1 -1
View File
@@ -244,7 +244,7 @@
helmet_type = /obj/item/clothing/head/radiation
storage_type = /obj/item/geiger_counter
/obj/machinery/suit_storage_unit/Initialize()
/obj/machinery/suit_storage_unit/Initialize(mapload)
. = ..()
component_parts = list()
+1 -1
View File
@@ -29,7 +29,7 @@
/// When the teleporter is upgraded, it can lock onto beacons directly, rather than turfs. This is the variable for it.
var/advanced_beacon_locking = FALSE
/obj/machinery/computer/teleporter/Initialize()
/obj/machinery/computer/teleporter/Initialize(mapload)
. = ..()
link_power_station()
update_icon()
+1 -1
View File
@@ -67,7 +67,7 @@
A.turret_controls -= src
return ..()
/obj/machinery/turretid/Initialize()
/obj/machinery/turretid/Initialize(mapload)
. = ..()
if(!control_area)
control_area = get_area(src)
+1 -1
View File
@@ -209,7 +209,7 @@
)
return data
/obj/machinery/computer/mech_bay_power_console/Initialize()
/obj/machinery/computer/mech_bay_power_console/Initialize(mapload)
reconnect()
update_icon()
return ..()
+1 -1
View File
@@ -131,7 +131,7 @@
hud_possible = list (DIAG_STAT_HUD, DIAG_BATT_HUD, DIAG_MECH_HUD, DIAG_TRACK_HUD)
/obj/mecha/Initialize()
/obj/mecha/Initialize(mapload)
. = ..()
icon_state += "-open"
add_radio()
@@ -38,7 +38,7 @@
icon_state = "mustard"
anchored = FALSE
/obj/effect/decal/cleanable/liquid_fuel/flamethrower_fuel/Initialize(newLoc, amt = 1, d = 0)
/obj/effect/decal/cleanable/liquid_fuel/flamethrower_fuel/Initialize(mapload, newLoc, amt = 1, d = 0)
dir = d //Setting this direction means you won't get torched by your own flamethrower.
. = ..()
@@ -50,7 +50,7 @@
canSmoothWith = list(SMOOTH_GROUP_CLEANABLE_DIRT, SMOOTH_GROUP_WALLS)
mouse_opacity = FALSE
/obj/effect/decal/cleanable/dirt/Initialize()
/obj/effect/decal/cleanable/dirt/Initialize(mapload)
. = ..()
QUEUE_SMOOTH_NEIGHBORS(src)
if(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BITMASK))
@@ -252,7 +252,7 @@
max_integrity = 20
var/metal = METAL_FOAM_ALUMINUM
/obj/structure/foamedmetal/Initialize()
/obj/structure/foamedmetal/Initialize(mapload)
. = ..()
recalculate_atmos_connectivity()
@@ -38,7 +38,7 @@ This spawner places pipe leading up to the interior door, you will need to finis
var/one_door_interior //For square airlocks, if you set this then a) only one door will spawn, and b) you can choose if the door should go opposite to how it normally goes. Please use the define
var/one_door_exterior //See above
/obj/effect/spawner/airlock/Initialize()
/obj/effect/spawner/airlock/Initialize(mapload)
..()
forceMove(locate(x + 1, y + 1, z)) //Needs to move because our icon_state implies we are one turf to the northeast, when we're not
opposite_interior_direction = turn(interior_direction, 180) //Do it this way (instead of setting it directly) to avoid code mishaps
@@ -8,7 +8,7 @@
)
record_spawn = TRUE
/obj/effect/spawner/random/dice/Initialize()
/obj/effect/spawner/random/dice/Initialize(mapload)
. = ..()
spawn_loot_count = rand(1, 2)
@@ -101,7 +101,7 @@
var/can_move = TRUE
var/obj/item/chameleon/master = null
/obj/effect/dummy/chameleon/Initialize()
/obj/effect/dummy/chameleon/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_EFFECT_CAN_TELEPORT, ROUNDSTART_TRAIT)
@@ -13,7 +13,7 @@
var/brightness_on = 4 //luminosity when on
var/togglesound = 'sound/weapons/empty.ogg'
/obj/item/flashlight/Initialize()
/obj/item/flashlight/Initialize(mapload)
. = ..()
update_brightness()
@@ -228,14 +228,14 @@
/obj/item/flashlight/flare/used
/obj/item/flashlight/flare/used/Initialize()
/obj/item/flashlight/flare/used/Initialize(mapload)
. = ..()
// fuel gets set on New which is annoying so these can't just be vars
fuel = 0
on = 0
update_icon()
/obj/item/flashlight/flare/glowstick/used/Initialize()
/obj/item/flashlight/flare/glowstick/used/Initialize(mapload)
. = ..()
// fuel gets set on New which is annoying so these can't just be vars
fuel = 0
@@ -268,7 +268,7 @@
fuel_upp = 2000
blocks_emissive = FALSE
/obj/item/flashlight/flare/glowstick/Initialize()
/obj/item/flashlight/flare/glowstick/Initialize(mapload)
. = ..()
light_color = color
@@ -315,7 +315,7 @@
icon_state = "random_glowstick"
color = null
/obj/item/flashlight/flare/glowstick/random/Initialize()
/obj/item/flashlight/flare/glowstick/random/Initialize(mapload)
. = ..()
var/T = pick(typesof(/obj/item/flashlight/flare/glowstick) - /obj/item/flashlight/flare/glowstick/random - /obj/item/flashlight/flare/glowstick/emergency)
new T(loc)
@@ -17,7 +17,7 @@
var/cc_beacon = FALSE //set if allowed to teleport to even if on zlevel2
var/wormhole_weaver = FALSE // special beacons for wormwhole weaver
/obj/item/beacon/Initialize()
/obj/item/beacon/Initialize(mapload)
. = ..()
GLOB.beacons |= src
@@ -23,7 +23,7 @@
var/fake_name = "Agent ALERT_A_CODER"
var/static/list/fakename_list
/obj/item/encryptionkey/syndicate/Initialize()
/obj/item/encryptionkey/syndicate/Initialize(mapload)
if(!LAZYLEN(fakename_list))
fakename_list = GLOB.html_colors.Copy()
. = ..()
@@ -90,7 +90,7 @@
instant = TRUE
freqlock = TRUE
/obj/item/radio/headset/alt/deathsquad/Initialize()
/obj/item/radio/headset/alt/deathsquad/Initialize(mapload)
. = ..()
set_frequency(DTH_FREQ)
@@ -67,7 +67,7 @@
GLOB.global_intercoms.Add(src)
update_icon(UPDATE_ICON_STATE | UPDATE_OVERLAYS)
/obj/item/radio/intercom/Initialize()
/obj/item/radio/intercom/Initialize(mapload)
. = ..()
if(!custom_name)
name = "station intercom (General)"
@@ -534,7 +534,7 @@ GLOBAL_LIST_INIT(soil_recipes, list (
resistance_flags = FIRE_PROOF
merge_type = /obj/item/stack/sheet/soil
/obj/item/stack/sheet/soil/Initialize(loc, amt)
/obj/item/stack/sheet/soil/Initialize(mapload, loc, amt)
recipes = GLOB.soil_recipes
return ..()
+2 -2
View File
@@ -15,7 +15,7 @@
var/cooldown = 0
var/pulseicon = "plutonium_core_pulse"
/obj/item/nuke_core/Initialize()
/obj/item/nuke_core/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
@@ -328,7 +328,7 @@
usesound = 'sound/weapons/bladeslice.ogg'
var/uses_left
/obj/item/scalpel/supermatter/Initialize()
/obj/item/scalpel/supermatter/Initialize(mapload)
. = ..()
uses_left = rand(2, 4)
+5 -5
View File
@@ -269,7 +269,7 @@
/// The list of potential RCD actions.
var/static/list/possible_actions
/obj/item/rcd/Initialize()
/obj/item/rcd/Initialize(mapload)
. = ..()
if(!length(possible_actions))
possible_actions = list()
@@ -358,13 +358,13 @@
user.visible_message("<span class='suicide'>[user] puts the barrel of [src] into [user.p_their()] mouth and pulls the trigger. It looks like [user.p_theyre()] trying to commit suicide!</span>")
if(!afterattack(suicide_tile, user, TRUE))
flags &= ~NODROP
flags &= ~NODROP
return SHAME
user.visible_message("<span class='suicide'>[user] explodes as [src] builds a structure inside [user.p_them()]!</span>")
flags &= ~NODROP
flags &= ~NODROP
user.gib()
return OBLITERATION
return OBLITERATION
/**
* Creates and returns a base64 icon of the given `airlock_type`.
*
@@ -23,7 +23,7 @@
throw_range = 15
attack_verb = list("HONKED")
/obj/item/bikehorn/Initialize()
/obj/item/bikehorn/Initialize(mapload)
. = ..()
AddComponent(/datum/component/squeak, honk_sounds, 50, falloff_exponent = 20) //die off quick please
+2 -2
View File
@@ -834,7 +834,7 @@
///The Article title of the wiki page being opened in the <iframe>, must use underscores '_' and not whitespace for spaces in title
var/wiki_article_title = "Space_Law"
/obj/item/book/manual/wiki/Initialize()
/obj/item/book/manual/wiki/Initialize(mapload)
. = ..()
pages = list({"
<html><meta charset='utf-8'><head></head><body bgcolor='[book_bgcolor]'>
@@ -1010,7 +1010,7 @@
icon_state = "random_book"
var/static/list/banned_books = list(/obj/item/book/manual/random, /obj/item/book/manual/nuclear, /obj/item/book/manual/wiki)
/obj/item/book/manual/random/Initialize()
/obj/item/book/manual/random/Initialize(mapload)
..()
var/newtype = pick(subtypesof(/obj/item/book/manual) - banned_books)
new newtype(loc)
+1 -1
View File
@@ -40,7 +40,7 @@
if(icon_prefix)
icon_state = "[icon_prefix][icon_state]"
/obj/item/shard/Initialize()
/obj/item/shard/Initialize(mapload)
. = ..()
AddComponent(/datum/component/caltrop, force)
set_initial_icon_state()
+1 -1
View File
@@ -433,7 +433,7 @@
var/node_range = NODERANGE
/obj/structure/alien/weeds/node/Initialize()
/obj/structure/alien/weeds/node/Initialize(mapload)
add_overlay("weednode")
return ..(loc, src)
+2 -2
View File
@@ -25,7 +25,7 @@
var/invulnerable = FALSE
var/shock_cooldown = FALSE
/obj/structure/fence/Initialize()
/obj/structure/fence/Initialize(mapload)
. = ..()
update_cut_status()
@@ -184,7 +184,7 @@
cuttable = FALSE
var/open = FALSE
/obj/structure/fence/door/Initialize()
/obj/structure/fence/door/Initialize(mapload)
. = ..()
update_door_status()
+1 -1
View File
@@ -33,7 +33,7 @@
. = ..()
. += "<span class='notice'><b>Alt-Click</b> to deflate [src].</span>"
/obj/structure/inflatable/Initialize(location)
/obj/structure/inflatable/Initialize(mapload, location)
. = ..()
recalculate_atmos_connectivity()
@@ -14,7 +14,7 @@
blocks_emissive = FALSE
var/static/list/billboard_overlay = list("chasmland", "incompatible", "feed", "warm", "adventure", "plasmaland", "gate", "gate2", "ufo", "notfriendly", "gps", "service", "protection", "diamonds", "step", "paradise", "hell")
/obj/structure/lavaland_billboard/Initialize()
/obj/structure/lavaland_billboard/Initialize(mapload)
. = ..()
add_overlay(mutable_appearance(/obj/structure/lavaland_billboard, pick(billboard_overlay)))
underlays += emissive_appearance(icon, "billboard_lightmask")
@@ -25,7 +25,7 @@
/// How much foam is on the door. Max 5 levels.
var/foam_level = 0
/obj/structure/mineral_door/Initialize()
/obj/structure/mineral_door/Initialize(mapload)
. = ..()
initial_state = icon_state
recalculate_atmos_connectivity()
@@ -217,7 +217,7 @@
max_integrity = 200
rad_insulation = RAD_VERY_LIGHT_INSULATION
/obj/structure/mineral_door/wood/Initialize()
/obj/structure/mineral_door/wood/Initialize(mapload)
. = ..()
AddComponent(/datum/component/debris, DEBRIS_WOOD, -20, 10)
@@ -98,7 +98,7 @@
var/atom/attack_atom
/obj/structure/ghost_beacon/Initialize()
/obj/structure/ghost_beacon/Initialize(mapload)
. = ..()
last_ghost_alert = world.time
attack_atom = src
+1 -1
View File
@@ -38,7 +38,7 @@
var/open_sound = 'sound/items/deconstruct.ogg'
var/status
/obj/structure/morgue/Initialize()
/obj/structure/morgue/Initialize(mapload)
. = ..()
update_icon(update_state())
set_light(1, LIGHTING_MINIMUM_POWER)
@@ -8,7 +8,7 @@
resistance_flags = LAVA_PROOF | FIRE_PROOF
armor = list(MELEE = 30, BULLET = 80, LASER = 90, ENERGY = 90, BOMB = 80, RAD = 100, FIRE = 100, ACID = 100)
/obj/structures/plasmageyser/Initialize()
/obj/structures/plasmageyser/Initialize(mapload)
. = ..()
START_PROCESSING(SSprocessing, src)
+1 -1
View File
@@ -98,7 +98,7 @@
name = "airtight plastic flaps"
desc = "Heavy duty, airtight, plastic flaps."
/obj/structure/plasticflaps/mining/Initialize()
/obj/structure/plasticflaps/mining/Initialize(mapload)
. = ..()
recalculate_atmos_connectivity()
+1 -1
View File
@@ -441,7 +441,7 @@ GLOBAL_LIST_EMPTY(safes)
drill_x_offset = -1
drill_y_offset = 20
/obj/structure/safe/floor/Initialize()
/obj/structure/safe/floor/Initialize(mapload)
. = ..()
var/turf/T = loc
if(!T.transparent_floor)
+2 -2
View File
@@ -693,7 +693,7 @@
/obj/structure/table/wood/fancy/flip(direction)
return FALSE
/obj/structure/table/wood/fancy/Initialize()
/obj/structure/table/wood/fancy/Initialize(mapload)
. = ..()
QUEUE_SMOOTH(src)
@@ -828,7 +828,7 @@
var/list/typecache_can_hold = list(/mob, /obj/item)
var/list/held_items = list()
/obj/structure/table/tray/Initialize()
/obj/structure/table/tray/Initialize(mapload)
. = ..()
typecache_can_hold = typecacheof(typecache_can_hold)
for(var/atom/movable/held in get_turf(src))
+2 -2
View File
@@ -163,7 +163,7 @@
/turf/simulated/floor/chasm/straight_down
var/obj/effect/abstract/chasm_storage/storage
/turf/simulated/floor/chasm/straight_down/Initialize()
/turf/simulated/floor/chasm/straight_down/Initialize(mapload)
. = ..()
var/found_storage = FALSE
for(var/obj/effect/abstract/chasm_storage/C in contents)
@@ -187,7 +187,7 @@
light_power = 0.75
light_color = LIGHT_COLOR_LAVA //let's just say you're falling into lava, that makes sense right. Ignore the fact the people you pull out are not burning.
/turf/simulated/floor/chasm/straight_down/lava_land_surface/Initialize()
/turf/simulated/floor/chasm/straight_down/lava_land_surface/Initialize(mapload)
. = ..()
baseturf = /turf/simulated/floor/chasm/straight_down/lava_land_surface
@@ -127,7 +127,7 @@
var/current_color
// We pick a random color when we are spawned
/turf/simulated/floor/light/disco/Initialize()
/turf/simulated/floor/light/disco/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
+1 -1
View File
@@ -56,7 +56,7 @@
smoothing_groups = list(SMOOTH_GROUP_WALLS, SMOOTH_GROUP_BRASS_WALL)
canSmoothWith = list(SMOOTH_GROUP_BRASS_WALL)
/turf/simulated/wall/clockwork/Initialize()
/turf/simulated/wall/clockwork/Initialize(mapload)
. = ..()
new /obj/effect/temp_visual/ratvar/wall(src)
new /obj/effect/temp_visual/ratvar/beam(src)
@@ -62,7 +62,7 @@
/obj/item/paper/contractor_guide
name = "contractor guide"
/obj/item/paper/contractor_guide/Initialize()
/obj/item/paper/contractor_guide/Initialize(mapload)
info = {"<p>Welcome agent, congratulations on your new position as a Syndicate contractor. On top of your already assigned objectives,
this kit will provide you contracts to take on for telecrystal payments.</p>
<p>Provided within is your specialist contractor space suit. It's even more compact, being able to fit into a pocket, and faster than the
+1 -1
View File
@@ -17,7 +17,7 @@ GLOBAL_LIST_EMPTY(remote_signalers)
/// Signal freqency itself
var/frequency = RSD_FREQ
/obj/item/assembly/signaler/Initialize()
/obj/item/assembly/signaler/Initialize(mapload)
. = ..()
GLOB.remote_signalers |= src
+1 -1
View File
@@ -5,7 +5,7 @@
var/lootdoubles = 0 //if the same item can be spawned twice
var/loot = "" //a list of possible items to spawn- a string of paths
/obj/effect/spawner/away/lootdrop/Initialize()
/obj/effect/spawner/away/lootdrop/Initialize(mapload)
..()
var/list/things = params2list(loot)
@@ -177,7 +177,7 @@
/obj/item/paper/fluff/ruins/oldstation/report
name = "\improper Crew Reawakening Report"
/obj/item/paper/fluff/ruins/oldstation/report/Initialize()
/obj/item/paper/fluff/ruins/oldstation/report/Initialize(mapload)
. = ..()
init_current_date_string()
info = "Artificial Program's report to surviving crewmembers.<br><br>Crew were placed into cryostasis 10 March, 2445.<br><br>Crew were awoken from cryostasis [GLOB.current_date_string].<br><br> \
@@ -63,7 +63,7 @@ GLOBAL_LIST_EMPTY(telecomms_trap_tank)
//Has someone put an item in the autolathe, breaking the hologram?
var/disguise_broken = FALSE
/obj/machinery/autolathe/trapped/Initialize()
/obj/machinery/autolathe/trapped/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_PARENT_ATTACKBY, PROC_REF(material_container_shenanigins))
@@ -220,7 +220,7 @@ GLOBAL_LIST_EMPTY(telecomms_trap_tank)
name = "supermatter charged bomb core"
desc = "If you are looking at this, please don't put it in a bomb"
/obj/item/bombcore/doomsday/Initialize()
/obj/item/bombcore/doomsday/Initialize(mapload)
. = ..()
if(!istype(loc, /obj/machinery/syndicatebomb/doomsday))
log_debug("something tried to spawn a telecomms doomsday ruin payload outside the ruin, deleting!")
+5 -5
View File
@@ -211,7 +211,7 @@
var/list/del_types = list(/obj/item/pda, /obj/item/radio/headset)
/obj/effect/mob_spawn/human/Initialize()
/obj/effect/mob_spawn/human/Initialize(mapload)
if(ispath(outfit))
outfit = new outfit()
if(!outfit)
@@ -471,7 +471,7 @@
id_job = "Clown"
outfit = /datum/outfit/job/clown
/obj/effect/mob_spawn/human/corpse/clown/Initialize()
/obj/effect/mob_spawn/human/corpse/clown/Initialize(mapload)
mob_name = pick(GLOB.clown_names)
return ..()
@@ -480,7 +480,7 @@
name = "Clown Officer"
outfit = /datum/outfit/clownofficer
/obj/effect/mob_spawn/human/corpse/clown/officer/Initialize()
/obj/effect/mob_spawn/human/corpse/clown/officer/Initialize(mapload)
mob_name = "Honk Specialist [pick(GLOB.clown_names)]"
return ..()
/datum/outfit/clownofficer
@@ -499,7 +499,7 @@
name = "Clown Soldier"
outfit = /datum/outfit/clownsoldier
/obj/effect/mob_spawn/human/corpse/clown/soldier/Initialize()
/obj/effect/mob_spawn/human/corpse/clown/soldier/Initialize(mapload)
mob_name = "Officer [pick(GLOB.clown_names)]"
return ..()
@@ -560,7 +560,7 @@
id_job = "Mime"
outfit = /datum/outfit/job/mime
/obj/effect/mob_spawn/human/corpse/mime/Initialize()
/obj/effect/mob_spawn/human/corpse/mime/Initialize(mapload)
mob_name = pick(GLOB.mime_names)
return ..()
+9 -9
View File
@@ -60,7 +60,7 @@
icon_state = "tajblind_engi"
item_state = "tajblind_engi"
/obj/item/clothing/glasses/hud/tajblind/meson/Initialize()
/obj/item/clothing/glasses/hud/tajblind/meson/Initialize(mapload)
. = ..()
desc += "<br><span class='notice'>It has an optical meson scanner integrated into it.</span>"
@@ -86,7 +86,7 @@
scan_reagents = 1
actions_types = list(/datum/action/item_action/toggle, /datum/action/item_action/toggle_research_scanner)
/obj/item/clothing/glasses/hud/tajblind/sci/Initialize()
/obj/item/clothing/glasses/hud/tajblind/sci/Initialize(mapload)
. = ..()
desc += "<br><span class='notice'>It has science goggles integrated into it.</span>"
@@ -101,7 +101,7 @@
hud_types = DATA_HUD_MEDICAL_ADVANCED
examine_extensions = list(EXAMINE_HUD_MEDICAL_READ)
/obj/item/clothing/glasses/hud/tajblind/med/Initialize()
/obj/item/clothing/glasses/hud/tajblind/med/Initialize(mapload)
. = ..()
desc += "<br><span class='notice'>It has a health HUD integrated into it.</span>"
@@ -112,7 +112,7 @@
hud_types = DATA_HUD_SECURITY_ADVANCED
examine_extensions = list(EXAMINE_HUD_SECURITY_READ)
/obj/item/clothing/glasses/hud/tajblind/sec/Initialize()
/obj/item/clothing/glasses/hud/tajblind/sec/Initialize(mapload)
. = ..()
desc += "<br><span class='notice'>It has a security HUD integrated into it.</span>"
@@ -121,7 +121,7 @@
flash_protect = FLASH_PROTECTION_FLASH
tint = FLASH_PROTECTION_FLASH
/obj/item/clothing/glasses/hud/tajblind/shaded/Initialize()
/obj/item/clothing/glasses/hud/tajblind/shaded/Initialize(mapload)
. = ..()
desc += "<br><span class='notice'>It has an in-built flash protection.</span>"
@@ -130,7 +130,7 @@
icon_state = "tajblind_engi"
item_state = "tajblind_engi"
/obj/item/clothing/glasses/hud/tajblind/shaded/meson/Initialize()
/obj/item/clothing/glasses/hud/tajblind/shaded/meson/Initialize(mapload)
. = ..()
desc += "<br><span class='notice'>It has an optical meson scanner integrated into it.</span>"
@@ -157,7 +157,7 @@
scan_reagents = 1
actions_types = list(/datum/action/item_action/toggle, /datum/action/item_action/toggle_research_scanner)
/obj/item/clothing/glasses/hud/tajblind/shaded/sci/Initialize()
/obj/item/clothing/glasses/hud/tajblind/shaded/sci/Initialize(mapload)
. = ..()
desc += "<br><span class='notice'>It has science goggles integrated into it.</span>"
@@ -172,7 +172,7 @@
hud_types = DATA_HUD_MEDICAL_ADVANCED
examine_extensions = list(EXAMINE_HUD_MEDICAL_READ)
/obj/item/clothing/glasses/hud/tajblind/shaded/med/Initialize()
/obj/item/clothing/glasses/hud/tajblind/shaded/med/Initialize(mapload)
. = ..()
desc += "<br><span class='notice'>It has a health HUD integrated into it.</span>"
@@ -184,7 +184,7 @@
hud_types = DATA_HUD_SECURITY_ADVANCED
examine_extensions = list(EXAMINE_HUD_SECURITY_READ)
/obj/item/clothing/glasses/hud/tajblind/shaded/sec/Initialize()
/obj/item/clothing/glasses/hud/tajblind/shaded/sec/Initialize(mapload)
. = ..()
desc += "<br><span class='notice'>It has a security HUD integrated into it.</span>"
@@ -7,7 +7,7 @@
species_exception = list(/datum/species/golem) // now you too can be a golem boxing champion
var/datum/martial_art/boxing/style
/obj/item/clothing/gloves/boxing/Initialize()
/obj/item/clothing/gloves/boxing/Initialize(mapload)
. = ..()
style = new()
+1 -1
View File
@@ -80,7 +80,7 @@
..()
w_class = up ? WEIGHT_CLASS_SMALL : WEIGHT_CLASS_NORMAL
/obj/item/clothing/mask/gas/explorer/folded/Initialize()
/obj/item/clothing/mask/gas/explorer/folded/Initialize(mapload)
. = ..()
force_adjust_mask()
+1 -1
View File
@@ -208,7 +208,7 @@
var/obj/item/assembly/signaler/anomaly/grav/core = null
var/obj/item/stock_parts/cell/cell = null
/obj/item/clothing/shoes/magboots/gravity/Initialize()
/obj/item/clothing/shoes/magboots/gravity/Initialize(mapload)
. = ..()
style = new()
@@ -21,7 +21,7 @@
"Vulpkanin" = 'icons/mob/clothing/species/vulpkanin/helmet.dmi'
)
/obj/item/clothing/head/helmet/space/hardsuit/ert/Initialize()
/obj/item/clothing/head/helmet/space/hardsuit/ert/Initialize(mapload)
if(loc)
var/mob/living/carbon/human/wearer = loc.loc //loc is the hardsuit, so its loc is the wearer
if(ishuman(wearer))
+1 -1
View File
@@ -81,7 +81,7 @@
item_state = "clown"
item_color = "clown"
/obj/item/clothing/under/rank/civilian/clown/Initialize()
/obj/item/clothing/under/rank/civilian/clown/Initialize(mapload)
. = ..()
AddComponent(/datum/component/squeak, list('sound/items/bikehorn.ogg' = 1), 50, falloff_exponent = 20) //die off quick please
@@ -17,7 +17,7 @@
///station account database
var/datum/money_account_database/account_db
/obj/machinery/computer/account_database/Initialize()
/obj/machinery/computer/account_database/Initialize(mapload)
. = ..()
reconnect_database()
@@ -11,7 +11,7 @@
var/open = FALSE
var/speed_multiplier = 1 //How fast it distills. Defaults to 100% (1.0). Lower is better.
/obj/structure/fermenting_barrel/Initialize()
/obj/structure/fermenting_barrel/Initialize(mapload)
create_reagents(300) //Bluespace beakers, but without the portability or efficiency in circuits.
AddComponent(/datum/component/debris, DEBRIS_WOOD, -20, 10)
. = ..()
@@ -37,7 +37,7 @@
icon_state = "crunchy"
bitesize_mod = 2
/obj/item/food/grown/random/Initialize()
/obj/item/food/grown/random/Initialize(mapload)
. = ..()
wine_power = rand(0.1,1.5)
if(prob(1))
@@ -87,7 +87,7 @@
force = 0
attack_verb = list("played", "jazzed", "trumpeted", "mourned", "dooted", "spooked")
/obj/item/instrument/trumpet/spectral/Initialize()
/obj/item/instrument/trumpet/spectral/Initialize(mapload)
. = ..()
AddComponent(/datum/component/spooky)
@@ -110,7 +110,7 @@
force = 0
attack_verb = list("played", "jazzed", "saxxed", "mourned", "dooted", "spooked")
/obj/item/instrument/saxophone/spectral/Initialize()
/obj/item/instrument/saxophone/spectral/Initialize(mapload)
. = ..()
AddComponent(/datum/component/spooky)
@@ -133,7 +133,7 @@
force = 0
attack_verb = list("played", "jazzed", "tromboned", "mourned", "dooted", "spooked")
/obj/item/instrument/trombone/spectral/Initialize()
/obj/item/instrument/trombone/spectral/Initialize(mapload)
. = ..()
AddComponent(/datum/component/spooky)
+1 -1
View File
@@ -359,7 +359,7 @@
icon_state = "random_book"
var/amount = 1
/obj/item/book/random/Initialize()
/obj/item/book/random/Initialize(mapload)
. = ..()
addtimer(CALLBACK(src, PROC_REF(spawn_books)), 0)
+4 -4
View File
@@ -98,7 +98,7 @@
/obj/structure/bookcase/manuals/medical
name = "Medical Manuals bookcase"
/obj/structure/bookcase/manuals/medical/Initialize()
/obj/structure/bookcase/manuals/medical/Initialize(mapload)
. = ..()
new /obj/item/book/manual/medical_cloning(src)
update_icon(UPDATE_ICON_STATE)
@@ -107,7 +107,7 @@
/obj/structure/bookcase/manuals/engineering
name = "Engineering Manuals bookcase"
/obj/structure/bookcase/manuals/engineering/Initialize()
/obj/structure/bookcase/manuals/engineering/Initialize(mapload)
. = ..()
new /obj/item/book/manual/wiki/engineering_construction(src)
new /obj/item/book/manual/engineering_particle_accelerator(src)
@@ -120,7 +120,7 @@
/obj/structure/bookcase/manuals/research_and_development
name = "R&D Manuals bookcase"
/obj/structure/bookcase/manuals/research_and_development/Initialize()
/obj/structure/bookcase/manuals/research_and_development/Initialize(mapload)
. = ..()
new /obj/item/book/manual/research_and_development(src)
update_icon(UPDATE_ICON_STATE)
@@ -128,7 +128,7 @@
/obj/structure/bookcase/sop
name = "bookcase (Standard Operating Procedures)"
/obj/structure/bookcase/sop/Initialize()
/obj/structure/bookcase/sop/Initialize(mapload)
. = ..()
new /obj/item/book/manual/wiki/sop_command(src)
new /obj/item/book/manual/wiki/sop_engineering(src)
+1 -1
View File
@@ -45,7 +45,7 @@
body_parts_covered = UPPER_TORSO|HEAD|ARMS
var/datum/martial_art/bearserk/style
/obj/item/clothing/head/bearpelt/bearserk/Initialize()
/obj/item/clothing/head/bearpelt/bearserk/Initialize(mapload)
. = ..()
style = new()
+1 -1
View File
@@ -38,7 +38,7 @@
/obj/item/storage/belt/judobelt/update_weight()
w_class = WEIGHT_CLASS_BULKY
/obj/item/storage/belt/judobelt/Initialize()
/obj/item/storage/belt/judobelt/Initialize(mapload)
. = ..()
style = new()
+1 -1
View File
@@ -146,7 +146,7 @@
dyeable = TRUE
var/datum/martial_art/krav_maga/style
/obj/item/clothing/gloves/color/black/krav_maga/Initialize()
/obj/item/clothing/gloves/color/black/krav_maga/Initialize(mapload)
. = ..()
style = new()
+1 -1
View File
@@ -261,7 +261,7 @@
layer_over_suit = TRUE
var/datum/martial_art/wrestling/style
/obj/item/storage/belt/champion/wrestling/Initialize()
/obj/item/storage/belt/champion/wrestling/Initialize(mapload)
. = ..()
style = new()
@@ -15,7 +15,7 @@
var/boom_sizes = list(2, 3, 5)
var/hacked = FALSE
/obj/item/grenade/plastic/miningcharge/Initialize()
/obj/item/grenade/plastic/miningcharge/Initialize(mapload)
. = ..()
image_overlay = mutable_appearance(icon, "[icon_state]_active", ON_EDGED_TURF_LAYER)
@@ -279,7 +279,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/economy/vending/wallmed/survival_pod,
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 5
/obj/structure/fans/Initialize(loc)
/obj/structure/fans/Initialize(mapload, loc)
. = ..()
recalculate_atmos_connectivity()
@@ -181,7 +181,7 @@ GLOBAL_LIST_EMPTY(wormhole_effect)
icon_state = "flare-contractor-on"
duration = 5.1 SECONDS // Needs to be slightly longer then the callback to make the portal
/obj/effect/temp_visual/getaway_flare/Initialize()
/obj/effect/temp_visual/getaway_flare/Initialize(mapload)
. = ..()
playsound(loc, 'sound/goonstation/misc/matchstick_light.ogg', 50, TRUE)
set_light(8, l_color = "#FFD165")
@@ -379,7 +379,7 @@ GLOBAL_LIST_EMPTY(wormhole_effect)
/obj/effect/temp_visual/thunderbolt_targeting/wormhole_weaver
duration = 5 SECONDS
/obj/effect/temp_visual/thunderbolt_targeting/wormhole_weaver/Initialize()
/obj/effect/temp_visual/thunderbolt_targeting/wormhole_weaver/Initialize(mapload)
. = ..()
GLOB.wormhole_effect += src
playsound(loc, 'sound/machines/twobeep.ogg', 50, TRUE)
+1 -1
View File
@@ -181,7 +181,7 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons)
desc = "you shouldnt see this"
var/atom/movable/stored_obj
/obj/effect/extraction_holder/Initialize()
/obj/effect/extraction_holder/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_EFFECT_CAN_TELEPORT, ROUNDSTART_TRAIT)
@@ -36,7 +36,7 @@
var/inserted_id_uid
var/obj/item/radio/intercom/announcer
/obj/machinery/mineral/labor_prisoner_shuttle_console/Initialize()
/obj/machinery/mineral/labor_prisoner_shuttle_console/Initialize(mapload)
. = ..()
announcer = new /obj/item/radio/intercom(null)
announcer.follow_target = src
@@ -79,7 +79,7 @@
/obj/machinery/anomalous_crystal/ex_act()
ActivationReaction(null,"bomb")
/obj/machinery/anomalous_crystal/random/Initialize() //Just a random crysal spawner for loot
/obj/machinery/anomalous_crystal/random/Initialize(mapload) //Just a random crysal spawner for loot
. = ..()
var/random_crystal = pick(typesof(/obj/machinery/anomalous_crystal) - /obj/machinery/anomalous_crystal/random - /obj/machinery/anomalous_crystal)
new random_crystal(loc)
@@ -41,7 +41,7 @@
bag.red = src
bag.blue = blue
/obj/item/shared_storage/Initialize()
/obj/item/shared_storage/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_ADJACENCY_TRANSPARENT, ROUNDSTART_TRAIT)
@@ -426,7 +426,7 @@
icon = 'icons/effects/effects.dmi'
var/can_destroy = FALSE
/obj/effect/immortality_talisman/Initialize()
/obj/effect/immortality_talisman/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_EFFECT_CAN_TELEPORT, ROUNDSTART_TRAIT)
+1 -1
View File
@@ -1,4 +1,4 @@
/mob/living/Initialize()
/mob/living/Initialize(mapload)
. = ..()
var/datum/atom_hud/data/human/medical/advanced/medhud = GLOB.huds[DATA_HUD_MEDICAL_ADVANCED]
medhud.add_to_hud(src)
@@ -138,7 +138,7 @@
mob_biotypes = MOB_ORGANIC | MOB_BEAST
footstep_type = FOOTSTEP_MOB_SHOE
/mob/living/simple_animal/cow/Initialize()
/mob/living/simple_animal/cow/Initialize(mapload)
udder = new()
. = ..()
@@ -48,7 +48,7 @@
/// The amount of nutrition the nian caterpillar needs to evolve, default is 500.
var/nutrition_need = 500
/mob/living/simple_animal/nian_caterpillar/Initialize()
/mob/living/simple_animal/nian_caterpillar/Initialize(mapload)
. = ..()
real_name = name
add_language("Tkachi")
@@ -148,7 +148,7 @@
var/regen_cooldown = 0
/mob/living/simple_animal/hostile/carp/megacarp/Initialize()
/mob/living/simple_animal/hostile/carp/megacarp/Initialize(mapload)
. = ..()
name = "[pick(GLOB.megacarp_first_names)] [pick(GLOB.megacarp_last_names)]"
melee_damage_lower += rand(2, 10)
@@ -43,7 +43,7 @@
/// Chance of doing the throw or stamina damage, along with the flat damage amount
var/throw_onhit = 50
/mob/living/simple_animal/hostile/gorilla/Initialize()
/mob/living/simple_animal/hostile/gorilla/Initialize(mapload)
. = ..()
var/datum/action/innate/gorilla/gorilla_toggle/toggle = new
toggle.Grant(src)
+1 -1
View File
@@ -16,7 +16,7 @@
var/max_items = 7
var/obj/item/storage/backpack/modstorage/bag
/obj/item/mod/module/storage/Initialize()
/obj/item/mod/module/storage/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_ADJACENCY_TRANSPARENT, ROUNDSTART_TRAIT)
var/obj/item/storage/backpack/modstorage/S = new(src)
@@ -21,7 +21,7 @@
energy = 50
/obj/effect/accelerated_particle/Initialize(loc)
/obj/effect/accelerated_particle/Initialize(mapload)
. = ..()
addtimer(CALLBACK(src, PROC_REF(propagate)), 1)
RegisterSignal(src, COMSIG_CROSSED_MOVABLE, PROC_REF(try_irradiate))
+1 -1
View File
@@ -297,7 +297,7 @@
track = TRACKER_AUTO
autostart = TRUE // Automatically search for connected devices
/obj/machinery/power/solar_control/Initialize()
/obj/machinery/power/solar_control/Initialize(mapload)
SSsun.solars |= src
setup()
. = ..()
+1 -1
View File
@@ -400,7 +400,7 @@
/////COMPUTER/////
/////////////////
/obj/machinery/computer/turbine_computer/Initialize()
/obj/machinery/computer/turbine_computer/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD
@@ -262,7 +262,7 @@
///This number is randomly generated when the arc revolver is made. This ensures the beams only link to beams from the gun, one lower or higher than the number on the boosted object.
var/random_link_number
/obj/item/ammo_casing/energy/arc_revolver/Initialize()
/obj/item/ammo_casing/energy/arc_revolver/Initialize(mapload)
. = ..()
random_link_number = rand(1, 9999999)
+1 -1
View File
@@ -14,7 +14,7 @@
var/list/syringes = list()
var/max_syringes = 1
/obj/item/gun/syringe/Initialize()
/obj/item/gun/syringe/Initialize(mapload)
. = ..()
chambered = new /obj/item/ammo_casing/syringegun(src)
@@ -431,7 +431,7 @@
var/efficiency = 0.2
var/recharge_rate = 1 // Keep this as an integer
/obj/item/handheld_chem_dispenser/Initialize()
/obj/item/handheld_chem_dispenser/Initialize(mapload)
. = ..()
cell = new(src)
dispensable_reagents = sortList(dispensable_reagents)
@@ -186,7 +186,7 @@
update_icon(UPDATE_OVERLAYS)
/obj/item/reagent_containers/iv_bag/blood/random/Initialize()
/obj/item/reagent_containers/iv_bag/blood/random/Initialize(mapload)
blood_type = pick("A+", "A-", "B+", "B-", "O+", "O-")
return ..()
+1 -1
View File
@@ -454,7 +454,7 @@ datum/tech/robotics
desc = "A gift from the Liberator."
icon_state = "datadisk1"
/obj/item/disk/design_disk/golem_shell/Initialize()
/obj/item/disk/design_disk/golem_shell/Initialize(mapload)
. = ..()
var/datum/design/golem_shell/G = new
blueprint = G

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