mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 03:56:47 +01:00
Initialize fixing (#17279)
* Initialoize fixing * diff fix * add init grep test * fixed missed ones * . * some more * ,
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
/obj/item/capture_crystal
|
||||
)
|
||||
|
||||
/obj/item/storage/backpack/sport/hyd/catchemall/Initialize() //gotta have your starter 'mon too (or an improved way to catch one)
|
||||
/obj/item/storage/backpack/sport/hyd/catchemall/Initialize(mapload) //gotta have your starter 'mon too (or an improved way to catch one)
|
||||
. = ..()
|
||||
var/path = pick(subtypesof(/obj/item/capture_crystal))
|
||||
contents += new path()
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
if(capacity && current_capacity)
|
||||
. += "The drill currently has [current_capacity] capacity taken up and can fit [capacity - current_capacity] more ore."
|
||||
|
||||
/obj/machinery/mining/drill/Initialize()
|
||||
/obj/machinery/mining/drill/Initialize(mapload)
|
||||
. = ..()
|
||||
if(ispath(cell))
|
||||
cell = new cell(src)
|
||||
@@ -423,7 +423,7 @@
|
||||
if(brace_tier >= 3)
|
||||
. += span_notice("The internals of the brace look resilient enough to support a drill by itself.")
|
||||
|
||||
/obj/machinery/mining/brace/Initialize()
|
||||
/obj/machinery/mining/brace/Initialize(mapload)
|
||||
. = ..()
|
||||
default_apply_parts()
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ var/global/list/total_extraction_beacons = list()
|
||||
density = FALSE
|
||||
var/beacon_network = "station"
|
||||
|
||||
/obj/structure/extraction_point/Initialize()
|
||||
/obj/structure/extraction_point/Initialize(mapload)
|
||||
. = ..()
|
||||
name += " ([rand(100,999)]) ([get_area_name(src, TRUE)])"
|
||||
global.total_extraction_beacons += src
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
AddElement(/datum/element/conflict_checking, CONFLICT_ELEMENT_CRUSHER)
|
||||
|
||||
/*
|
||||
/obj/item/kinetic_crusher/Initialize()
|
||||
/obj/item/kinetic_crusher/Initialize(mapload)
|
||||
. = ..()
|
||||
if(requires_Wield)
|
||||
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, PROC_REF(on_wield))
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
var/obj/machinery/mineral/processing_unit/machine = null
|
||||
var/show_all_ores = FALSE
|
||||
|
||||
/obj/machinery/mineral/processing_unit_console/Initialize()
|
||||
/obj/machinery/mineral/processing_unit_console/Initialize(mapload)
|
||||
. = ..()
|
||||
src.machine = locate(/obj/machinery/mineral/processing_unit) in range(5, src)
|
||||
if (machine)
|
||||
@@ -187,7 +187,7 @@
|
||||
ORE_VERDANTIUM = 60,
|
||||
ORE_RUTILE = 40) //VOREStation Add
|
||||
|
||||
/obj/machinery/mineral/processing_unit/Initialize()
|
||||
/obj/machinery/mineral/processing_unit/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/ore in GLOB.ore_data)
|
||||
var/ore/OD = GLOB.ore_data[ore]
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
var/obj/machinery/mineral/output = null
|
||||
|
||||
|
||||
/obj/machinery/mineral/unloading_machine/Initialize()
|
||||
/obj/machinery/mineral/unloading_machine/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/dir in cardinal)
|
||||
input = locate(/obj/machinery/mineral/input, get_step(src, dir))
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
var/upright = 0
|
||||
var/base_state
|
||||
|
||||
/obj/item/stack/flag/Initialize()
|
||||
/obj/item/stack/flag/Initialize(mapload)
|
||||
. = ..()
|
||||
base_state = icon_state
|
||||
update_icon()
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
var/upperdrop = 10
|
||||
var/outcropdrop = /obj/item/ore/glass
|
||||
|
||||
/obj/structure/outcrop/Initialize()
|
||||
/obj/structure/outcrop/Initialize(mapload)
|
||||
. = ..()
|
||||
if(prob(1))
|
||||
add_overlay("[initial(icon_state)]-egg")
|
||||
|
||||
@@ -195,7 +195,7 @@ var/list/mining_overlay_cache = list()
|
||||
//Cache hit
|
||||
return mining_overlay_cache["[cache_id]_[direction]"]
|
||||
|
||||
/turf/simulated/mineral/Initialize()
|
||||
/turf/simulated/mineral/Initialize(mapload)
|
||||
. = ..()
|
||||
if(turf_resource_types & TURF_HAS_RARE_ORE)
|
||||
make_ore(1)
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
icon_state = "slag"
|
||||
material = null
|
||||
|
||||
/obj/item/ore/Initialize()
|
||||
/obj/item/ore/Initialize(mapload)
|
||||
. = ..()
|
||||
randpixel_xy()
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
layer = ABOVE_MOB_LAYER
|
||||
duration = 4
|
||||
|
||||
/obj/effect/temp_visual/resonance_crush/Initialize()
|
||||
/obj/effect/temp_visual/resonance_crush/Initialize(mapload)
|
||||
. = ..()
|
||||
transform = matrix()*1.5
|
||||
animate(src, transform = matrix()*0.1, alpha = 50, time = 4)
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
layer = ABOVE_MOB_LAYER
|
||||
duration = 4
|
||||
|
||||
/obj/effect/temp_visual/resonance_crush/Initialize()
|
||||
/obj/effect/temp_visual/resonance_crush/Initialize(mapload)
|
||||
. = ..()
|
||||
transform = matrix()*1.5
|
||||
animate(src, transform = matrix()*0.1, alpha = 50, time = 4)
|
||||
|
||||
@@ -262,7 +262,7 @@ GLOBAL_LIST_EMPTY(unique_deployable)
|
||||
pixel_y = -4
|
||||
max_n_of_items = 100
|
||||
|
||||
/obj/machinery/smartfridge/survival_pod/Initialize()
|
||||
/obj/machinery/smartfridge/survival_pod/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/obj/item/O in loc)
|
||||
if(accept_check(O))
|
||||
|
||||
Reference in New Issue
Block a user