Files
Batrachophreno 387cee9243 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>
2025-07-21 15:35:14 +00:00

13 lines
485 B
Plaintext

/obj/item/suppressor
name = "suppressor"
desc = "A suppressor"
icon = 'icons/obj/guns/suppressor.dmi'
icon_state = "suppressor_item"
origin_tech = list(TECH_MATERIAL = 2, TECH_COMBAT = 3)
w_class = WEIGHT_CLASS_SMALL
/obj/item/suppressor/mechanics_hints(mob/user, distance, is_adjacent)
. += ..()
. += "Suppressors can be attached to weapons to reduce their sound."
. += "Click on a weapon adjacent to you or in your hand to attach it and ALT-click the weapon to remove it."