[MIRROR] cleans up INIT (#10164)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-02-14 21:40:43 -07:00
committed by GitHub
parent a71b34b7e0
commit e4f07e43f3
38 changed files with 187 additions and 187 deletions

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]")

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