mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-01 21:12:27 +00:00
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>
21 lines
828 B
Plaintext
21 lines
828 B
Plaintext
// Used to resolve throwing vendors without going directly into wiring.
|
|
/obj/item/device/debugger
|
|
name = "debugger"
|
|
desc = "Used to debug electronic equipment, debuggers come with a retractable data cable that can be plugged into most machines."
|
|
icon = 'icons/obj/hacktool.dmi'
|
|
icon_state = "hacktool-g"
|
|
obj_flags = OBJ_FLAG_CONDUCTABLE
|
|
force = 11
|
|
w_class = WEIGHT_CLASS_SMALL
|
|
throwforce = 5
|
|
throw_range = 15
|
|
throw_speed = 3
|
|
hitsound = /singleton/sound_category/switch_sound
|
|
|
|
matter = list(MATERIAL_PLASTIC = 50, DEFAULT_WALL_MATERIAL = 50, MATERIAL_GLASS = 20)
|
|
origin_tech = list(TECH_MAGNET = 1, TECH_ENGINEERING = 1)
|
|
|
|
/obj/item/device/debugger/mechanics_hints(mob/user, distance, is_adjacent)
|
|
. += ..()
|
|
. += "The debugger can be used on vending machines and APCs to identify and resolve any viral infections."
|