mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-02-05 05:58:41 +00:00
In preparation for future development, both A.) increased the power draw of upgraded machines in more predictable ways and B.) reformated Examine text output to handle displaying machines' upgradeable parts and what they do in a more user-friendly way. A.) is important because it opens the door to adding upgrade components available for more machines. B.) is important because not only do we need to communicate those sorts of mechanics in a clean, clear, consistent way, but it also opens the doors to being able to communicate more types of interaction mechanics similarly well (such as assembly/disassembly tips). Examples of new Examine boxes:     Note- while updating, made get_examine_text() also give Antagonism text boxes to ghosts and storytellers, not just active Antags. This seemed like a no-brainer thing but can be split into a separate PR if requested. --------- Signed-off-by: Batrachophreno <Batrochophreno@gmail.com> Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
18 lines
812 B
Plaintext
18 lines
812 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."
|
|
desc_info = "The debugger can be used on vending machines to identify and resolve any viral infections, or on upgradeable machinery to identify the component parts it contains."
|
|
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)
|