mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
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:
committed by
GitHub
parent
766816954d
commit
9465b565b8
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user