mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-29 08:42:34 +01:00
af0312c7d4
Fixes https://github.com/Aurorastation/Aurora.3/issues/18504 Fixes https://github.com/Aurorastation/Aurora.3/issues/21064 Fixes https://github.com/Aurorastation/Aurora.3/issues/21267 Fixes https://github.com/Aurorastation/Aurora.3/issues/21455 Fixes https://github.com/Aurorastation/Aurora.3/issues/21535 Miscellaneous bugfixes, code cleanup, etc. Smaller batches this time. changes: - spellcheck: "Renames 'gibber' to 'autobutcher'." - code_imp: "Cleans up a lot of old autobutcher code." - code_imp: "Simplifies and unifies a lot of circuit board naming code." - code_imp: "Updates various code comments to DMDocs format." - balance: "Slightly increased damage of beating someone with a ladder." - bugfix: "Fixes foreign speech displaying the translated versions in langchat for non-fluent listeners." - bugfix: "Fixes whispered speech langchat; whispers are now correctly italicized." - bugfix: "Fixes shouted speech langchat; shouts are now correctly biggified." - bugfix: "Adds missing Omni Gas Mixer, Gas Meter options from RFD-P." - bugfix: "Adds missing circuit boards for bioballistic delivery system, lysis-isolation centrifuge, and autobutcher to allow for construction and deconstruction." - bugfix: "Fixes empty algae chips bag having description set for its name." - bugfix: "Adds fallback_specific_heat values to several reagents that were missing them." - bugfix: "Fixes antimateriel projectiles being erroneously damage-capped when hitting walls." - bugfix: "Fixes laser beam effects not using the base colors of their beam VFX." - qol: "Added helpful feedback hint to move closer when someone speaks aloud within 4 tiles while you're in vacuum (as features go, this one felt more like a bug to experience)." - qol: "Updated various examine hints." --------- Signed-off-by: Batrachophreno <Batrochophreno@gmail.com>
24 lines
805 B
Plaintext
24 lines
805 B
Plaintext
/obj/item/circuitboard/holodeckcontrol
|
|
name = T_BOARD("holodeck control console")
|
|
build_path = /obj/machinery/computer/holodeck_control
|
|
origin_tech = list(TECH_DATA = 2, TECH_BLUESPACE = 2)
|
|
var/last_to_emag
|
|
var/linkedholodeck_area
|
|
var/list/supported_programs
|
|
var/list/restricted_programs
|
|
|
|
/obj/item/circuitboard/holodeckcontrol/construct(var/obj/machinery/computer/holodeck_control/HC)
|
|
if (..(HC))
|
|
if(linkedholodeck_area)
|
|
HC.linkedholodeck = locate(linkedholodeck_area)
|
|
if(last_to_emag)
|
|
HC.last_to_emag = last_to_emag
|
|
HC.emagged = 1
|
|
HC.safety_disabled = 1
|
|
|
|
/obj/item/circuitboard/holodeckcontrol/deconstruct(var/obj/machinery/computer/holodeck_control/HC)
|
|
if (..(HC))
|
|
linkedholodeck_area = HC.linkedholodeck_area
|
|
last_to_emag = HC.last_to_emag
|
|
HC.emergencyShutdown()
|