mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-22 05:17:38 +01:00
387cee9243
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>
16 lines
570 B
Plaintext
16 lines
570 B
Plaintext
/obj/item/research_slip
|
|
name = "research slip"
|
|
desc = "A small slip of plastic with an embedded chip. It is commonly used to store small amounts of research data."
|
|
icon = 'icons/obj/item/research_slip.dmi'
|
|
icon_state = "slip_nt"
|
|
contained_sprite = TRUE
|
|
|
|
/obj/item/research_slip/mechanics_hints(mob/user, distance, is_adjacent)
|
|
. += ..()
|
|
. += "This item is to be used in the destructive analyzer to gain research points."
|
|
|
|
/obj/item/research_slip/Initialize(mapload, var/list/research_levels)
|
|
. = ..()
|
|
if(length(research_levels))
|
|
origin_tech = research_levels
|