mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +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:
co-authored by
DGamerL
parent
766816954d
commit
9465b565b8
@@ -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)
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user