mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01: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:
co-authored by
SleepyGemmy
parent
39228d3a2c
commit
ce5ac79e3c
@@ -55,7 +55,7 @@
|
||||
airflow_speed = 0
|
||||
airflow_dest = null
|
||||
|
||||
/mob/abstract/eye/examinate()
|
||||
/mob/abstract/eye/ExaminateVerb()
|
||||
set popup_menu = 0
|
||||
set src = usr.contents
|
||||
return 0
|
||||
@@ -97,7 +97,7 @@
|
||||
/mob/abstract/eye/proc/setLoc(var/T)
|
||||
if(!owner)
|
||||
return FALSE
|
||||
|
||||
|
||||
T = get_turf(T)
|
||||
if(!T || T == loc)
|
||||
return FALSE
|
||||
@@ -108,7 +108,7 @@
|
||||
owner.client.eye = src
|
||||
if(owner_follows_eye)
|
||||
owner.forceMove(loc)
|
||||
|
||||
|
||||
visualnet.update_eye_chunks(src)
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user