mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-12 01:43:40 +00:00
29 lines
681 B
Plaintext
29 lines
681 B
Plaintext
|
|
/obj/item/storage
|
|
name = "storage"
|
|
icon = 'icons/obj/storage.dmi'
|
|
w_class = WEIGHT_CLASS_NORMAL
|
|
var/component_type = /datum/component/storage/concrete
|
|
|
|
/obj/item/storage/get_dumping_location(obj/item/storage/source,mob/user)
|
|
return src
|
|
|
|
/obj/item/storage/Initialize()
|
|
. = ..()
|
|
PopulateContents()
|
|
|
|
/obj/item/storage/ComponentInitialize()
|
|
AddComponent(component_type)
|
|
|
|
/obj/item/storage/AllowDrop()
|
|
return TRUE
|
|
|
|
/obj/item/storage/contents_explosion(severity, target)
|
|
for(var/atom/A in contents)
|
|
A.ex_act(severity, target)
|
|
CHECK_TICK
|
|
|
|
//Cyberboss says: "USE THIS TO FILL IT, NOT INITIALIZE OR NEW"
|
|
|
|
/obj/item/storage/proc/PopulateContents()
|