mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 04:57:47 +01:00
Merge examine refactor for vorestation
This commit is contained in:
@@ -56,8 +56,9 @@
|
||||
return 1
|
||||
|
||||
/obj/item/device/nifrepairer/examine(mob/user)
|
||||
if(..(user, 1))
|
||||
. = ..()
|
||||
if(Adjacent(user))
|
||||
if(supply.total_volume)
|
||||
to_chat(user, "<span class='notice'>\The [src] contains [supply.total_volume] units of programmed nanites, ready for dispensing.</span>")
|
||||
. += "<span class='notice'>\The [src] contains [supply.total_volume] units of programmed nanites, ready for dispensing.</span>"
|
||||
else
|
||||
to_chat(user, "<span class='notice'>\The [src] is empty and ready to accept nanopaste.</span>")
|
||||
. += "<span class='notice'>\The [src] is empty and ready to accept nanopaste.</span>"
|
||||
|
||||
@@ -581,16 +581,10 @@ var/global/list/default_medbay_channels = list(
|
||||
|
||||
/obj/item/device/radio/examine(mob/user)
|
||||
. = ..()
|
||||
<<<<<<< HEAD
|
||||
if ((in_range(src, user) || loc == user))
|
||||
if (b_stat)
|
||||
user.show_message("<span class='notice'>\The [src] can be attached and modified!</span>")
|
||||
=======
|
||||
|
||||
if((in_range(src, user) || loc == user))
|
||||
if(b_stat)
|
||||
. += "<span class='notice'>\The [src] can be attached and modified!</span>"
|
||||
>>>>>>> 6c6644f... Rewrite examine() to pass a list around (#7038)
|
||||
else
|
||||
. += "<span class='notice'>\The [src] can not be modified or attached!</span>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user