Files
Alphas00 b76fbcbf9e Tray of Holding, ARCD
Added the tray of holding, a service tray that can hold a lot more items. Unlocked with applies bluespace research.
The advanced RCD can no be fabricated after research a new tech node, Bluespace Construction.
Tray of holding and ARCD are also available for borgs, after being researched.
2024-06-18 17:44:55 +02:00

49 lines
1.6 KiB
Plaintext

/obj/item/storage/bag/tray/holding
name = "serving tray of holding"
desc = "A tray for food, now featuring bluesapce technology. Don't ask."
/obj/item/storage/bag/tray/holding/ComponentInitialize()
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_combined_w_class = INFINITY
STR.max_items = 50
/datum/design/tray_holding
name = "Serving Tray of Holding"
desc = "A serving tray for food, now somehow using bluespace to hold more stuff."
id = "tray_holding"
build_type = PROTOLATHE
materials = list(MAT_GOLD = 250, MAT_URANIUM = 500)
build_path =/obj/item/storage/bag/tray/holding
category = list("Bluespace Designs")
departmental_flags = DEPARTMENTAL_FLAG_SERVICE
/obj/item/borg/upgrade/tray_hold
name = "cyborg tray of holding"
desc = "A tray of holding replacement for service borg's tray."
icon_state = "cyborg_upgrade3"
require_module = 1
module_type = /obj/item/robot_module/butler
/obj/item/borg/upgrade/tray_hold/action(mob/living/silicon/robot/R, user = usr)
. = ..()
if(.)
var/obj/item/storage/bag/tray/holding/S = new(R.module)
R.module.basic_modules += S
R.module.add_module(S, FALSE, TRUE)
/obj/item/borg/upgrade/tray_hold/deactivate(mob/living/silicon/robot/R, user = usr)
. = ..()
if (.)
var/obj/item/storage/bag/tray/holding/S = locate() in R.module
R.module.remove_module(S, TRUE)
/datum/design/borg_tray_hold
name = "Cyborg Tray of Holding"
id = "borg_tray_hold"
build_type = MECHFAB
build_path = /obj/item/borg/upgrade/tray_hold
materials = list(MAT_GOLD = 250, MAT_URANIUM = 500)
construction_time = 100
category = list("Cyborg Upgrade Modules")