cleans up INIT (#17130)

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
Kashargul
2025-02-13 23:28:01 +01:00
committed by GitHub
co-authored by Selis
parent 7a92b21f97
commit f9e7b44dae
38 changed files with 187 additions and 187 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
pickup_sound = 'sound/items/pickup/device.ogg'
drop_sound = 'sound/items/drop/device.ogg'
/obj/item/uplink/Initialize(var/mapload)
/obj/item/uplink/Initialize(mapload)
. = ..()
addtimer(CALLBACK(src, PROC_REF(next_offer)), offer_time) //It seems like only the /hidden type actually makes use of this...
+4 -4
View File
@@ -32,8 +32,8 @@
bag_material = MAT_SYNCLOTH
/obj/item/stack/sandbags/Initialize(var/ml, var/amt, var/bag_mat)
. = ..(ml, amt)
/obj/item/stack/sandbags/Initialize(mapload, var/amt, var/bag_mat)
. = ..(mapload, amt)
recipes = sandbag_recipes
update_icon()
if(bag_mat)
@@ -132,8 +132,8 @@ var/global/list/datum/stack_recipe/sandbag_recipes = list( \
var/bag_material = MAT_CLOTH
/obj/item/stack/emptysandbag/Initialize(var/ml, var/amt, var/bag_mat)
. = ..(ml, amt)
/obj/item/stack/emptysandbag/Initialize(mapload, var/amt, var/bag_mat)
. = ..(mapload, amt)
if(bag_mat)
bag_material = bag_mat
var/datum/material/M = get_material_by_name("[bag_material]")
+1 -1
View File
@@ -30,7 +30,7 @@
var/pass_color = FALSE // Will the item pass its own color var to the created item? Dyed cloth, wood, etc.
var/strict_color_stacking = FALSE // Will the stack merge with other stacks that are different colors? (Dyed cloth, wood, etc)
/obj/item/stack/Initialize(var/ml, var/starting_amount)
/obj/item/stack/Initialize(mapload, var/starting_amount)
. = ..()
if(!stacktype)
stacktype = type