mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
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:
@@ -1,13 +1,17 @@
|
||||
/obj/item/paper_scanner
|
||||
name = "paper scanner"
|
||||
desc = "A simple device that can be used to scan paper or paper bundles in order to digitize them."
|
||||
desc_info = "Alt-click it while it's in one of your hands to eject the portable drive. Click paper or a paper bundle with it to digitize it and store it in the inserted drive."
|
||||
icon = 'icons/obj/devices/paperscanner.dmi'
|
||||
icon_state = "paperscanner"
|
||||
item_state = "paperscanner"
|
||||
contained_sprite = TRUE
|
||||
var/obj/item/computer_hardware/hard_drive/portable/drive
|
||||
|
||||
/obj/item/paper_scanner/mechanics_hints(mob/user, distance, is_adjacent)
|
||||
. += ..()
|
||||
. += "Click paper or a paper bundle with it to digitize it and store it in the inserted drive."
|
||||
. += "ALT-click it while it's in one of your hands to eject the portable drive."
|
||||
|
||||
/obj/item/paper_scanner/Initialize(mapload, ...)
|
||||
. = ..()
|
||||
drive = new /obj/item/computer_hardware/hard_drive/portable(src)
|
||||
|
||||
Reference in New Issue
Block a user