This commit is contained in:
Aronai Sieyes
2021-07-05 20:10:36 -04:00
parent b2f14ac1cf
commit a3afb8de53
3 changed files with 20 additions and 0 deletions
+5
View File
@@ -943,3 +943,8 @@ modules/mob/living/carbon/human/life.dm if you die, you will be zoomed out.
// Like the above, but used for RPED sorting of parts.
/obj/item/proc/rped_rating()
return get_rating()
/// How are you described if at all when in pockets (or other 'usually not visible' places)
/obj/item/proc/pocket_description(mob/haver, mob/examiner)
return null // most things are hidden
@@ -44,6 +44,9 @@
return FALSE
/obj/item/weapon/storage/pouch/pocket_description(mob/haver, mob/examiner)
return "[src]"
/obj/item/weapon/storage/pouch/large
name = "storage pouch (large)"
desc = "This storage pouch can be used to provide a good amount of additional storage for quick access."
@@ -133,6 +133,18 @@
if(accessories_visible.len)
tie_msg += " Attached to it is [english_list(accessories_visible)]."
var/list/pocket_msg
if(l_store)
var/l_store_message = l_store.pocket_description(src, user)
if(l_store_message)
LAZYADD(pocket_msg, l_store_message)
if(r_store)
var/r_store_message = r_store.pocket_description(src, user)
if(r_store_message)
LAZYADD(pocket_msg, r_store_message)
if(LAZYLEN(pocket_msg))
tie_msg += " Near the waist it has [english_list(pocket_msg)]."
if(w_uniform.blood_DNA)
msg += "<span class='warning'>[T.He] [T.is] wearing [bicon(w_uniform)] [w_uniform.gender==PLURAL?"some":"a"] [(w_uniform.blood_color != SYNTH_BLOOD_COLOUR) ? "blood" : "oil"]-stained [w_uniform.name]![tie_msg]</span>"
else