mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01:00
Fixed PDA disguises being foolproof against discovery by the Examine verb if you have your real ID inside the PDA.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@595 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -72,11 +72,13 @@
|
||||
usr << "\blue [src.name] has a \icon[src.back] [src.back.name] on [t_his] back."
|
||||
|
||||
if (src.wear_id)
|
||||
var/obj/item/weapon/card/id/id = src:wear_id
|
||||
var/id
|
||||
if(istype(src:wear_id, /obj/item/device/pda))
|
||||
var/obj/item/device/pda/pda = src:wear_id
|
||||
id = pda.id
|
||||
if (id.registered != src.real_name && in_range(src, usr) && prob(10))
|
||||
id = pda.owner
|
||||
else
|
||||
id = src.wear_id.registered
|
||||
if (id != src.real_name && in_range(src, usr) && prob(10))
|
||||
usr << "\red [src.name] is wearing \icon[src.wear_id] [src.wear_id.name] yet doesn't seem to be that person!!!"
|
||||
else
|
||||
usr << "\blue [src.name] is wearing \icon[src.wear_id] [src.wear_id.name]."
|
||||
|
||||
Reference in New Issue
Block a user