mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Refactors the examine proc to return a list of strings (#12280)
This commit is contained in:
committed by
variableundefined
parent
40a4cd1b75
commit
0e8ddb2afe
@@ -30,8 +30,8 @@
|
||||
transform = matrix(-1, 0, 0, 0, 1, 0)
|
||||
|
||||
/obj/item/organ/internal/cyberimp/arm/examine(mob/user)
|
||||
..()
|
||||
to_chat(user, "<span class='info'>[src] is assembled in the [parent_organ == "r_arm" ? "right" : "left"] arm configuration. You can use a screwdriver to reassemble it.</span>")
|
||||
. = ..()
|
||||
. += "<span class='info'>[src] is assembled in the [parent_organ == "r_arm" ? "right" : "left"] arm configuration. You can use a screwdriver to reassemble it.</span>"
|
||||
|
||||
/obj/item/organ/internal/cyberimp/arm/attackby(obj/item/I, mob/user, params)
|
||||
if(isscrewdriver(I))
|
||||
|
||||
@@ -145,12 +145,12 @@
|
||||
return 0
|
||||
|
||||
/obj/item/organ/examine(mob/user)
|
||||
..(user)
|
||||
. = ..()
|
||||
if(status & ORGAN_DEAD)
|
||||
if(!is_robotic())
|
||||
to_chat(user, "<span class='notice'>The decay has set in.</span>")
|
||||
. += "<span class='notice'>The decay has set in.</span>"
|
||||
else
|
||||
to_chat(user, "<span class='notice'>It looks in need of repairs.</span>")
|
||||
. += "<span class='notice'>It looks in need of repairs.</span>"
|
||||
|
||||
/obj/item/organ/proc/handle_germ_effects()
|
||||
//** Handle the effects of infections
|
||||
|
||||
Reference in New Issue
Block a user