mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] cleans up INIT (#10164)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a71b34b7e0
commit
e4f07e43f3
@@ -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]")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user