mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-13 16:13:49 +01:00
Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
var/codelen = 4
|
||||
locked = 1
|
||||
|
||||
/obj/structure/closet/crate/secure/loot/Initialize()
|
||||
. = ..()
|
||||
/obj/structure/closet/crate/secure/loot/New()
|
||||
..()
|
||||
var/list/digits = list("1", "2", "3", "4", "5", "6", "7", "8", "9", "0")
|
||||
|
||||
for(var/i in 1 to codelen)
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
|
||||
/obj/machinery/mineral/input/Initialize()
|
||||
/obj/machinery/mineral/input/New()
|
||||
icon_state = "blank"
|
||||
. = ..()
|
||||
|
||||
/obj/machinery/mineral/output
|
||||
icon = 'icons/mob/screen1.dmi'
|
||||
@@ -18,6 +17,5 @@
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
|
||||
/obj/machinery/mineral/output/Initialize()
|
||||
icon_state = "blank"
|
||||
. = ..()
|
||||
/obj/machinery/mineral/output/New()
|
||||
icon_state = "blank"
|
||||
@@ -10,9 +10,9 @@
|
||||
var/obj/machinery/mineral/stacking_machine/machine = null
|
||||
//var/machinedir = SOUTHEAST //This is really dumb, so lets burn it with fire.
|
||||
|
||||
/obj/machinery/mineral/stacking_unit_console/Initialize()
|
||||
/obj/machinery/mineral/stacking_unit_console/New()
|
||||
|
||||
. = ..()
|
||||
..()
|
||||
|
||||
spawn(7)
|
||||
//src.machine = locate(/obj/machinery/mineral/stacking_machine, get_step(src, machinedir)) //No.
|
||||
@@ -84,8 +84,8 @@
|
||||
var/list/stack_paths[0]
|
||||
var/stack_amt = 50; // Amount to stack before releassing
|
||||
|
||||
/obj/machinery/mineral/stacking_machine/Initialize()
|
||||
. = ..()
|
||||
/obj/machinery/mineral/stacking_machine/New()
|
||||
..()
|
||||
|
||||
for(var/obj/item/stack/material/S as anything in (subtypesof(/obj/item/stack/material) - typesof(/obj/item/stack/material/cyborg)))
|
||||
var/s_matname = initial(S.default_type)
|
||||
|
||||
@@ -345,7 +345,7 @@ var/list/mining_overlay_cache = list()
|
||||
|
||||
/turf/simulated/mineral/proc/UpdateMineral()
|
||||
clear_ore_effects()
|
||||
if(initialized && istype(mineral))
|
||||
if(mineral)
|
||||
new /obj/effect/mineral(src, mineral)
|
||||
update_icon()
|
||||
|
||||
@@ -626,9 +626,9 @@ var/list/mining_overlay_cache = list()
|
||||
//otherwise, they come out inside a chunk of rock
|
||||
var/obj/item/weapon/X
|
||||
if(is_clean)
|
||||
X = new /obj/item/weapon/archaeological_find(src, F.find_type)
|
||||
X = new /obj/item/weapon/archaeological_find(src, new_item_type = F.find_type)
|
||||
else
|
||||
X = new /obj/item/weapon/strangerock(src, F.find_type)
|
||||
X = new /obj/item/weapon/strangerock(src, inside_item_type = F.find_type)
|
||||
geologic_data.UpdateNearbyArtifactInfo(src)
|
||||
var/obj/item/weapon/strangerock/SR = X
|
||||
SR.geologic_data = geologic_data
|
||||
@@ -688,6 +688,5 @@ var/list/mining_overlay_cache = list()
|
||||
|
||||
if(mineral_name && (mineral_name in GLOB.ore_data))
|
||||
mineral = GLOB.ore_data[mineral_name]
|
||||
if(initialized)
|
||||
UpdateMineral()
|
||||
UpdateMineral()
|
||||
update_icon()
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
var/image/scanner_image
|
||||
var/ore_reagent // Reagent from pumping water near this ore.
|
||||
|
||||
/obj/effect/mineral/Initialize(var/ml, var/ore/M)
|
||||
. = ..(ml)
|
||||
/obj/effect/mineral/New(var/newloc, var/ore/M)
|
||||
..(newloc)
|
||||
name = "[M.display_name] deposit"
|
||||
ore_key = M.name
|
||||
if(M.reagent)
|
||||
|
||||
Reference in New Issue
Block a user