mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-24 21:56:55 +01:00
A Short Investigation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/obj/item/storage/briefcase
|
||||
name = "briefcase"
|
||||
desc = "It's made of AUTHENTIC faux-leather and has a price-tag still attached. Its owner must be a real professional."
|
||||
name = "brown briefcase"
|
||||
desc = "It's made of AUTHENTIC faux-leather. Its owner must be a real professional."
|
||||
icon_state = "briefcase"
|
||||
force = 8.0
|
||||
throw_speed = 1
|
||||
@@ -12,9 +12,29 @@
|
||||
drop_sound = 'sound/items/drop/backpack.ogg'
|
||||
pickup_sound = 'sound/items/pickup/backpack.ogg'
|
||||
|
||||
/obj/item/storage/briefcase/standard/black
|
||||
name = "black briefcase"
|
||||
icon_state = "briefcase_black"
|
||||
|
||||
/obj/item/storage/briefcase/standard/nt
|
||||
name = "branded briefcase"
|
||||
desc = "It's made of AUTHENTIC faux-leather and printed with the NanoTrasen logo. Its owner must be a real executive."
|
||||
icon_state = "briefcase_nt"
|
||||
|
||||
|
||||
/obj/item/storage/briefcase/standard/alum
|
||||
name = "aluminium briefcase"
|
||||
desc = "It's made of lightweight but sturdy metal. Its owner might be a real professional of a different kind."
|
||||
icon_state = "briefcase_alum"
|
||||
|
||||
/obj/item/storage/briefcase/standard/alum/Initialize()
|
||||
if(prob(50))
|
||||
name = "aluminum briefcase"
|
||||
. = ..()
|
||||
|
||||
/obj/item/storage/briefcase/clutch
|
||||
name = "clutch purse"
|
||||
desc = "A fashionable handheld bag typically used by women."
|
||||
desc = "A fashionable handheld bag."
|
||||
icon_state = "clutch"
|
||||
item_state_slots = list(slot_r_hand_str = "smpurse", slot_l_hand_str = "smpurse")
|
||||
force = 0
|
||||
@@ -29,4 +49,4 @@
|
||||
force = 4.0
|
||||
w_class = ITEMSIZE_LARGE
|
||||
max_w_class = ITEMSIZE_NORMAL
|
||||
max_storage_space = ITEMSIZE_COST_NORMAL * 4
|
||||
max_storage_space = ITEMSIZE_COST_NORMAL * 4
|
||||
|
||||
@@ -90,7 +90,12 @@
|
||||
|
||||
/obj/item/storage/lockbox/medal
|
||||
name = "lockbox of medals"
|
||||
desc = "A lockbox filled with commemorative medals, it has the NanoTrasen logo stamped on it."
|
||||
desc = "A tasteful wooden lockbox filled with commemorative medals."
|
||||
icon_state = "medalbox+l"
|
||||
icon_locked = "medalbox+l"
|
||||
icon_closed = "medalbox"
|
||||
icon_broken = "medalbox+b"
|
||||
item_state_slots = list(slot_r_hand_str = "briefcase", slot_l_hand_str = "briefcase)
|
||||
req_access = list(access_heads)
|
||||
storage_slots = 7
|
||||
starts_with = list(
|
||||
|
||||
@@ -85,11 +85,11 @@
|
||||
tgui_interact(user)
|
||||
|
||||
/obj/item/storage/secure/tgui_interact(mob/user, datum/tgui/ui = null)
|
||||
ui = SStgui.try_update_ui(user, src, ui)
|
||||
ui = SStgui.try_update_ui(user, src, ui)
|
||||
if(!ui)
|
||||
ui = new(user, src, "SecureSafe", name)
|
||||
ui.open()
|
||||
|
||||
|
||||
/obj/item/storage/secure/tgui_data(mob/user)
|
||||
var/list/data = list()
|
||||
data["locked"] = locked
|
||||
@@ -148,7 +148,6 @@
|
||||
name = "secure briefcase"
|
||||
icon = 'icons/obj/storage.dmi'
|
||||
icon_state = "secure"
|
||||
item_state_slots = list(slot_r_hand_str = "case", slot_l_hand_str = "case")
|
||||
desc = "A large briefcase with a digital locking system."
|
||||
force = 8.0
|
||||
throw_speed = 1
|
||||
|
||||
@@ -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
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 40 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 39 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 63 KiB |
Reference in New Issue
Block a user