diff --git a/code/game/objects/items/storage/toolbox.dm b/code/game/objects/items/storage/toolbox.dm index 689319e6728..e98e15fd259 100644 --- a/code/game/objects/items/storage/toolbox.dm +++ b/code/game/objects/items/storage/toolbox.dm @@ -86,6 +86,39 @@ /obj/item/storage/toolbox/mechanical/old/heirloom/PopulateContents() return + +/obj/item/storage/toolbox/mechanical/old/clean + name = "toolbox" + desc = "A old, blue toolbox, it looks robust." + icon_state = "oldtoolboxclean" + item_state = "toolbox_blue" + has_latches = FALSE + force = 19 + throwforce = 22 + +/obj/item/storage/toolbox/mechanical/old/clean/proc/calc_damage() + var/power = 0 + for (var/obj/item/stack/telecrystal/TC in GetAllContents()) + power += TC.amount + force = 19 + power + throwforce = 22 + power + +/obj/item/storage/toolbox/mechanical/old/clean/attack(mob/target, mob/living/user) + calc_damage() + ..() + +/obj/item/storage/toolbox/mechanical/old/clean/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum) + calc_damage() + ..() + +/obj/item/storage/toolbox/mechanical/old/clean/PopulateContents() + new /obj/item/screwdriver(src) + new /obj/item/wrench(src) + new /obj/item/weldingtool(src) + new /obj/item/crowbar(src) + new /obj/item/wirecutters(src) + new /obj/item/multitool(src) + new /obj/item/clothing/gloves/color/yellow(src) /obj/item/storage/toolbox/electrical name = "electrical toolbox" diff --git a/code/modules/uplink/uplink_items.dm b/code/modules/uplink/uplink_items.dm index 1bb6a4d8b87..972c9a9a209 100644 --- a/code/modules/uplink/uplink_items.dm +++ b/code/modules/uplink/uplink_items.dm @@ -1547,6 +1547,14 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item)) cost = 20 restricted_roles = list("Assistant") surplus = 0 + +/datum/uplink_item/role_restricted/oldtoolboxclean + name = "Ancient Toolbox" + desc = "An iconic toolbox design notorious with Assistants everywhere, this design was especially made to become more robust the more telecrystals it has inside it! Tools and insulated gloves included." + item = /obj/item/storage/toolbox/mechanical/old/clean + cost = 2 + restricted_roles = list("Assistant") + surplus = 0 /datum/uplink_item/role_restricted/pie_cannon name = "Banana Cream Pie Cannon" diff --git a/icons/obj/storage.dmi b/icons/obj/storage.dmi index 13280fbc4d4..94d2ea4fda4 100644 Binary files a/icons/obj/storage.dmi and b/icons/obj/storage.dmi differ