mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
cleans up INIT (#17130)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
@@ -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...
|
||||
|
||||
|
||||
@@ -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