From cfc01d053b40d40b356101f2224396811c7899d9 Mon Sep 17 00:00:00 2001 From: PsiOmegaDelta Date: Tue, 13 Oct 2015 08:56:20 +0200 Subject: [PATCH] Changes how Topic() calls apply fingerprints. Now applies fingerprints if the user is adjacent to a physical object, otherwise applies a hidden fingerprint. CouldUseTopic() is only called when a user has successfully interacted with an object interface/UI. --- code/game/objects/objs.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/game/objects/objs.dm b/code/game/objects/objs.dm index 800659307e..51e97c66aa 100644 --- a/code/game/objects/objs.dm +++ b/code/game/objects/objs.dm @@ -46,7 +46,11 @@ /obj/proc/CouldUseTopic(var/mob/user) var/atom/host = nano_host() - host.add_hiddenprint(user) + if(!isAI(user) && host.Adjacent(user)) + // We are -probably- in physical contact with the object, better than how Topics() previously did it and always applied fingerprints. + host.add_fingerprint(user) + else + host.add_hiddenprint(user) /obj/proc/CouldNotUseTopic(var/mob/user) // Nada