Merge pull request #8761 from Cerebulon/briefcases

A Short Investigation
This commit is contained in:
Spookerton
2022-10-18 09:05:48 +01:00
committed by GitHub
7 changed files with 46 additions and 14 deletions

View File

@@ -1,9 +1,21 @@
// "Useful" items - I'm guessing things that might be used at work?
/datum/gear/utility
display_name = "briefcase"
path = /obj/item/storage/briefcase
display_name = "camera"
path = /obj/item/camera
sort_category = "Utility"
/datum/gear/utility/briefcase
display_name = "briefcase selection"
path = /obj/item/storage/briefcase
/datum/gear/utility/briefcase/New()
..()
var/list/briefcases = list()
for(var/briefcase in typesof(/obj/item/storage/briefcase/standard))
var/obj/item/briefcase_type = briefcase
briefcases[initial(briefcase_type.name)] = briefcase_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(briefcases))
/datum/gear/utility/clipboard
display_name = "clipboard"
path = /obj/item/clipboard
@@ -26,10 +38,6 @@
communicators[initial(communicator_type.name)] = communicator_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(communicators))
/datum/gear/utility/camera
display_name = "camera"
path = /obj/item/camera
/datum/gear/utility/codex
display_name = "the traveler's guide to vir"
path = /obj/item/book/codex/lore/vir