mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 12:02:31 +01:00
Resolved some runtimes for mimic turfs on examine (#20097)
Resolved some runtimes for mimic turfs on examine. All examine headers respect the proc signature. All examine that do not explicitly need not to, passthrough the arglist to references examine target procs.
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
/obj/item/holomenu/examine(mob/user, distance, is_adjacent, show_extended)
|
||||
/obj/item/holomenu/examine(mob/user, distance, is_adjacent, infix, suffix, show_extended)
|
||||
if(anchored && length(menu_text))
|
||||
interact(user)
|
||||
return TRUE
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
slowdown = 10
|
||||
layer = ABOVE_HUMAN_LAYER
|
||||
|
||||
/obj/structure/ecd/examine(mob/living/user, distance, is_adjacent, infix, suffix, show_extended)
|
||||
/obj/structure/ecd/examine(mob/user, distance, is_adjacent, infix, suffix, show_extended)
|
||||
. = ..()
|
||||
switch(state)
|
||||
if(ECD_LOOSE)
|
||||
@@ -22,8 +22,11 @@
|
||||
to_chat(user, SPAN_NOTICE("\The [src] is bolted to the floor."))
|
||||
if(ECD_WELDED)
|
||||
to_chat(user, SPAN_NOTICE("\The [src] is bolted and welded to the floor."))
|
||||
if(user.isSynthetic())
|
||||
to_chat(user, SPAN_NOTICE("\The [src] does not seem to be doing anything, but you can feel it. A signal, beyond anything you can consciously understand, weaving and scratching a shield around the back of your mind."))
|
||||
|
||||
if(istype(user, /mob/living))
|
||||
var/mob/living/living_user = user
|
||||
if(living_user.isSynthetic())
|
||||
to_chat(living_user, SPAN_NOTICE("\The [src] does not seem to be doing anything, but you can feel it. A signal, beyond anything you can consciously understand, weaving and scratching a shield around the back of your mind."))
|
||||
|
||||
/obj/structure/ecd/attackby(obj/item/attacking_item, mob/user, params)
|
||||
if(attacking_item.iswrench())
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
playsound(src.loc, 'sound/weapons/blade_open.ogg', 50, 1)
|
||||
closed = !closed
|
||||
|
||||
/obj/item/pocketwatch/examine(mob/user, distance, is_adjacent, show_extended)
|
||||
/obj/item/pocketwatch/examine(mob/user, distance, is_adjacent, infix, suffix, show_extended)
|
||||
. = ..()
|
||||
if (distance <= 1)
|
||||
checktime()
|
||||
|
||||
Reference in New Issue
Block a user