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
+4 -4
View File
@@ -17,6 +17,10 @@
var/diffuser_enabled = TRUE
var/diffuser_range = 0 // 1x1 tiles, including the tile its on.
/obj/machinery/shield_diffuser/feedback_hints(mob/user, distance, is_adjacent)
. += ..()
. += "It is [diffuser_enabled ? "diffuser_enabled" : "disabled"]."
/obj/machinery/shield_diffuser/process()
if(stat & BROKEN)
return PROCESS_KILL
@@ -49,10 +53,6 @@
update_icon()
to_chat(user, "You turn \the [src] [diffuser_enabled ? "on" : "off"].")
/obj/machinery/shield_diffuser/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
. += "It is [diffuser_enabled ? "diffuser_enabled" : "disabled"]."
/obj/machinery/shield_diffuser/power_change()
..()
update_icon()