mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 09:31:13 +00:00
Split examine verb and function, and improve it (#17251)
* Split examine verb and function, and include adjacency and distance checking in examine function * Fix various issues * Update code/modules/mob/examinations.dm Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> * Add required define vars * Update code/game/objects/items/stacks/wrap.dm Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> --------- Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
This commit is contained in:
@@ -337,8 +337,8 @@
|
||||
P.focused_conv.cl_send(P, text, M)
|
||||
registered_message = text
|
||||
|
||||
/obj/item/modular_computer/examine(mob/user)
|
||||
/obj/item/modular_computer/examine(mob/user, distance, is_adjacent)
|
||||
. = ..()
|
||||
var/obj/item/card/id/id = GetID()
|
||||
if(istype(id) && Adjacent(user))
|
||||
if(istype(id) && is_adjacent)
|
||||
id.show(user)
|
||||
|
||||
Reference in New Issue
Block a user