mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Dynamic Headset Description
Headsets now generate a description of available radio channels based on the installed encryption key(s). Currently only updates on creation, not when changing encryption keys, to ensure that less than legal keys are not detected by a mere casual glance.
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
|
||||
src.loc = T
|
||||
|
||||
/obj/item/examine(mob/user)
|
||||
/obj/item/examine(mob/user, var/distance = -1)
|
||||
var/size
|
||||
switch(src.w_class)
|
||||
if(1.0)
|
||||
@@ -117,10 +117,8 @@
|
||||
size = "huge"
|
||||
else
|
||||
//if ((CLUMSY in usr.mutations) && prob(50)) t = "funny-looking"
|
||||
user << "This is a [src.blood_DNA ? "bloody " : ""]\icon[src][src.name]. It is a [size] item."
|
||||
if(src.desc)
|
||||
user << src.desc
|
||||
return
|
||||
var/custom_sufix = "It is a [size] item."
|
||||
return ..(user, distance, custom_sufix)
|
||||
|
||||
/obj/item/attack_hand(mob/user as mob)
|
||||
if (!user) return
|
||||
|
||||
Reference in New Issue
Block a user