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
@@ -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)"