mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
Initialize fixing (#17279)
* Initialoize fixing * diff fix * add init grep test * fixed missed ones * . * some more * ,
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
var/static/list/possible_states = list("health", "spider", "slime", "emp", "species", "egg", "vent", "mindshock", "viral", "gland")
|
||||
var/static/list/possible_tech = list(TECH_MATERIAL, TECH_ENGINEERING, TECH_PHORON, TECH_POWER, TECH_BIO, TECH_COMBAT, TECH_MAGNET, TECH_DATA)
|
||||
|
||||
/obj/item/prop/alien/junk/Initialize()
|
||||
/obj/item/prop/alien/junk/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = pick(possible_states)
|
||||
var/list/techs = possible_tech.Copy()
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
bound_height = 128
|
||||
var/has_misc_overlay = TRUE
|
||||
|
||||
/obj/structure/prop/altevian_jump_drive/Initialize()
|
||||
/obj/structure/prop/altevian_jump_drive/Initialize(mapload)
|
||||
.=..()
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
interaction_message = span_notice("The prismatic turret seems to be able to rotate.")
|
||||
|
||||
/obj/structure/prop/prism/Initialize()
|
||||
/obj/structure/prop/prism/Initialize(mapload)
|
||||
. = ..()
|
||||
if(degrees_from_north)
|
||||
animate(src, transform = turn(NORTH, degrees_from_north), time = 3)
|
||||
@@ -197,7 +197,7 @@
|
||||
for(var/obj/structure/prop/prism/P in my_turrets)
|
||||
P.rotate_auto(new_bearing)
|
||||
|
||||
/obj/structure/prop/prismcontrol/Initialize()
|
||||
/obj/structure/prop/prismcontrol/Initialize(mapload)
|
||||
. = ..()
|
||||
if(my_turrets.len) //Preset controls.
|
||||
for(var/obj/structure/prop/prism/P in my_turrets)
|
||||
|
||||
@@ -251,7 +251,7 @@
|
||||
/obj/structure/prop/machine/stamper/starts_on
|
||||
icon_state = "stamper_on"
|
||||
|
||||
/obj/structure/prop/machine/stamper/starts_on/Initialize()
|
||||
/obj/structure/prop/machine/stamper/starts_on/Initialize(mapload)
|
||||
. = ..()
|
||||
add_overlay("stamper_proc")
|
||||
add_overlay("stamper_but")
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
var/tally = 0 //The counter referenced against total_creature_max, or just to see how many mobs it has spawned.
|
||||
var/total_creature_max //If set, it can spawn this many creatures, total, ever.
|
||||
|
||||
/obj/structure/prop/nest/Initialize()
|
||||
/obj/structure/prop/nest/Initialize(mapload)
|
||||
. = ..()
|
||||
den_mobs = list()
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
visible_message(span_cult("\The [src] is completely unaffected by the blast."))
|
||||
return
|
||||
|
||||
/obj/machinery/door/blast/puzzle/Initialize()
|
||||
/obj/machinery/door/blast/puzzle/Initialize(mapload)
|
||||
. = ..()
|
||||
implicit_material = get_material_by_name("dungeonium")
|
||||
if(locks.len)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
/obj/structure/cult/pylon/swarm/Initialize()
|
||||
/obj/structure/cult/pylon/swarm/Initialize(mapload)
|
||||
. = ..()
|
||||
active_beams = list()
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
var/datum/looping_sound/sequence/morse/soundloop
|
||||
var/message_to_play = "The quick brown fox jumps over the lazy dog."
|
||||
|
||||
/obj/structure/prop/transmitter/Initialize()
|
||||
/obj/structure/prop/transmitter/Initialize(mapload)
|
||||
soundloop = new(list(src), FALSE)
|
||||
set_new_message(message_to_play)
|
||||
soundloop.start()
|
||||
|
||||
Reference in New Issue
Block a user