Object Examine Text Overhaul (#20923)

Extends and reworks how various extended information text (desc_info,
desc_build, desc_upgrades) are handled to make object interactions and
mechanics A.) much more clearly documented in-game and B.) much easier
to support from the back-end.

Almost certainly a candidate for test merge.

Assembly/Disassembly instructions are noticeably sporadic, largely due
to our current lack of a unified framework. That's a future thing I'd
like to attack so that it can be handled programmatically, but for now I
only targeted the biggest culprits as I came across them.

---------

Signed-off-by: Batrachophreno <Batrochophreno@gmail.com>
This commit is contained in:
Batrachophreno
2025-07-21 15:35:14 +00:00
committed by GitHub
parent 827985ea9f
commit 387cee9243
391 changed files with 4203 additions and 2828 deletions
@@ -12,6 +12,13 @@
var/lich = null
/obj/item/phylactery/feedback_hints(mob/user, distance, is_adjacent)
. += ..()
if(!lich)
. += "The heart is inert."
else
. += "The heart is pulsing slowly."
/obj/item/phylactery/Initialize()
. = ..()
GLOB.world_phylactery += src
@@ -22,13 +29,6 @@
lich = null
return ..()
/obj/item/phylactery/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
if(!lich)
. += "The heart is inert."
else
. += "The heart is pulsing slowly."
/obj/item/phylactery/attackby(obj/item/attacking_item, mob/user)
..()
if(istype(attacking_item, /obj/item/nullrod))
@@ -10,16 +10,16 @@
var/cooldown_time = 120
var/cooldown = 0
/obj/item/poppet/feedback_hints(mob/user, distance, is_adjacent)
. += ..()
if(countenance)
. += SPAN_NOTICE("It is modeled after a [countenance].")
/obj/item/poppet/Destroy()
if(target)
to_chat(target, SPAN_NOTICE("The strange presence vanishes away..."))
return ..()
/obj/item/poppet/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
if(countenance)
. += SPAN_NOTICE("It is modeled after a [countenance].")
/obj/item/poppet/afterattack(var/atom/A, var/mob/user, var/proximity)
if(!proximity)