mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
cleans up INIT (#17130)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
var/obj/effect/alien/weeds/node/linked_node = null
|
||||
var/static/list/weedImageCache
|
||||
|
||||
/obj/effect/alien/weeds/Initialize(var/mapload, var/node, var/newcolor)
|
||||
/obj/effect/alien/weeds/Initialize(mapload, var/node, var/newcolor)
|
||||
. = ..()
|
||||
if(isspace(loc))
|
||||
return INITIALIZE_HINT_QDEL
|
||||
@@ -75,7 +75,7 @@
|
||||
var/node_range = NODERANGE
|
||||
var/set_color = "#321D37"
|
||||
|
||||
/obj/effect/alien/weeds/node/Initialize(var/mapload, var/node, var/newcolor)
|
||||
/obj/effect/alien/weeds/node/Initialize(mapload, var/node, var/newcolor)
|
||||
. = ..()
|
||||
|
||||
for(var/obj/effect/alien/weeds/existing in loc)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
var/dries = 1 //VOREStation Add
|
||||
var/slips = 0 //VOREStation Add
|
||||
|
||||
/obj/effect/effect/foam/Initialize(var/mapload, var/ismetal = 0)
|
||||
/obj/effect/effect/foam/Initialize(mapload, var/ismetal = 0)
|
||||
. = ..()
|
||||
//icon_state = "[ismetal? "m" : ""]foam" //VOREStation Removal
|
||||
metal = ismetal
|
||||
|
||||
@@ -51,7 +51,7 @@ var/global/list/image/splatter_cache=list()
|
||||
qdel(B)
|
||||
|
||||
//VOREstation edit - Moved timer call to Init, and made it not call on mapload
|
||||
/obj/effect/decal/cleanable/blood/Initialize(var/mapload, var/_age)
|
||||
/obj/effect/decal/cleanable/blood/Initialize(mapload, var/_age)
|
||||
. = ..()
|
||||
if(!mapload)
|
||||
addtimer(CALLBACK(src, PROC_REF(dry)), DRYING_TIME * (amount+1))
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
icon_state = "dirt"
|
||||
mouse_opacity = 0
|
||||
|
||||
/obj/effect/decal/cleanable/dirt/Initialize(var/mapload, var/_age, var/dirt)
|
||||
/obj/effect/decal/cleanable/dirt/Initialize(mapload, var/_age, var/dirt)
|
||||
.=..()
|
||||
var/turf/simulated/our_turf = src.loc
|
||||
if(our_turf && istype(our_turf) && our_turf.can_dirty)
|
||||
|
||||
@@ -13,7 +13,7 @@ generic_filth = TRUE means when the decal is saved, it will be switched out for
|
||||
var/age = 0
|
||||
var/list/random_icon_states = list()
|
||||
|
||||
/obj/effect/decal/cleanable/Initialize(var/mapload, var/_age)
|
||||
/obj/effect/decal/cleanable/Initialize(mapload, var/_age)
|
||||
if(!isnull(_age))
|
||||
age = _age
|
||||
if(random_icon_states && length(src.random_icon_states) > 0)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
var/art_color
|
||||
var/art_shade
|
||||
|
||||
/obj/effect/decal/cleanable/crayon/Initialize(var/ml, main = "#FFFFFF",shade = "#000000",var/type = "rune", new_age = 0)
|
||||
/obj/effect/decal/cleanable/crayon/Initialize(mapload, main = "#FFFFFF",shade = "#000000",var/type = "rune", new_age = 0)
|
||||
name = type
|
||||
desc = "A [type] drawn in crayon."
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
if("graffiti")
|
||||
type = pick("amyjon","face","matt","revolution","engie","guy","end","dwarf","uboa")
|
||||
|
||||
. = ..(ml, new_age) // mapload, age
|
||||
. = ..(mapload, new_age) // mapload, age
|
||||
|
||||
/obj/effect/decal/cleanable/crayon/update_icon()
|
||||
cut_overlays()
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
var/decl/poster/poster_decl = null
|
||||
var/poster_type = /obj/structure/sign/poster
|
||||
|
||||
/obj/item/poster/Initialize(var/mapload, var/decl/poster/poster_decl = null)
|
||||
/obj/item/poster/Initialize(mapload, var/decl/poster/poster_decl = null)
|
||||
if(ispath(src.poster_decl))
|
||||
src.poster_decl = get_poster_decl(src.poster_decl, TRUE)
|
||||
else if(istype(poster_decl))
|
||||
@@ -126,7 +126,7 @@
|
||||
var/roll_type = /obj/item/poster
|
||||
var/ruined = FALSE
|
||||
|
||||
/obj/structure/sign/poster/Initialize(var/newloc, var/placement_dir = null, var/obj/item/poster/P = null)
|
||||
/obj/structure/sign/poster/Initialize(mapload, var/placement_dir = null, var/obj/item/poster/P = null)
|
||||
. = ..()
|
||||
|
||||
if(ispath(src.poster_decl))
|
||||
|
||||
Reference in New Issue
Block a user