mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-19 22:02:24 +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>
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
// These objects are used by cyborgs to get around a lot of the limitations on stacks
|
|
// and the weird bugs that crop up when expecting borg module code to behave sanely.
|
|
/obj/item/stack/material/cyborg
|
|
uses_charge = 1
|
|
charge_costs = list(1000)
|
|
gender = NEUTER
|
|
|
|
// Don't shove it in the autholathe
|
|
recyclable = FALSE
|
|
matter = null
|
|
|
|
/obj/item/stack/material/cyborg/New()
|
|
if(..())
|
|
name = "[material.display_name] synthesiser"
|
|
desc = "A device that synthesises [material.display_name]."
|
|
matter = null
|
|
|
|
/obj/item/stack/material/cyborg/plastic
|
|
icon_state = "sheet-plastic"
|
|
default_type = MATERIAL_PLASTIC
|
|
|
|
/obj/item/stack/material/cyborg/steel
|
|
icon_state = "sheet-metal"
|
|
default_type = MATERIAL_STEEL
|
|
|
|
/obj/item/stack/material/cyborg/plasteel
|
|
icon_state = "sheet-plasteel"
|
|
default_type = MATERIAL_PLASTEEL
|
|
|
|
/obj/item/stack/material/cyborg/wood
|
|
icon_state = "sheet-wood"
|
|
default_type = MATERIAL_WOOD
|
|
|
|
/obj/item/stack/material/cyborg/cloth
|
|
icon_state = "sheet-cloth"
|
|
default_type = MATERIAL_CLOTH
|
|
|
|
/obj/item/stack/material/cyborg/glass
|
|
icon_state = "sheet-glass"
|
|
default_type = MATERIAL_GLASS
|
|
|
|
/obj/item/stack/material/cyborg/glass/mechanics_hints(mob/user, distance, is_adjacent)
|
|
. += ..()
|
|
. += "As a synthetic, you can replenish your material supplies by recharging."
|
|
|
|
/obj/item/stack/material/cyborg/glass/assembly_hints(mob/user, distance, is_adjacent)
|
|
. += ..()
|
|
. += "Use in your hand to build a window."
|
|
|
|
/obj/item/stack/material/cyborg/glass/reinforced
|
|
icon_state = "sheet-rglass"
|
|
default_type = MATERIAL_GLASS_REINFORCED
|
|
charge_costs = list(500, 1000)
|