From b6ead2058cdc450175a5f0e49ca62a4c3aa9c134 Mon Sep 17 00:00:00 2001 From: private-tristan <54422837+private-tristan@users.noreply.github.com> Date: Thu, 23 Jan 2025 05:29:04 -0500 Subject: [PATCH] Biomass Analyzer is faster (#8156) # About the pull request Reduces the time taken to process an acidic heart from 3 seconds to 2 Reduces the time taken to print an item from 3 seconds to 1 # Explain why it's good for the game printing QoL... Spamming the print button for 30 seconds to print 10 ceramic plates isn't very fun, at least this cuts it down to 10 seconds. # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: qol: Biomass printer is now significantly quicker at processing acidic hearts and printing items. /:cl: --- .../reagents/chemistry_machinery/xenomorph_analyzer.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/reagents/chemistry_machinery/xenomorph_analyzer.dm b/code/modules/reagents/chemistry_machinery/xenomorph_analyzer.dm index 3ba09227f63d..1cf65aaa04ee 100644 --- a/code/modules/reagents/chemistry_machinery/xenomorph_analyzer.dm +++ b/code/modules/reagents/chemistry_machinery/xenomorph_analyzer.dm @@ -117,7 +117,7 @@ if("process_organ") if(!busy) busy = TRUE - addtimer(CALLBACK(src, PROC_REF(process_organ), organ.research_value), 3 SECONDS) + addtimer(CALLBACK(src, PROC_REF(process_organ), organ.research_value), 2 SECONDS) flick("xeno_analyzer_on_moving", src) playsound(loc, 'sound/machines/blender.ogg', 25, TRUE) QDEL_NULL(organ) @@ -173,7 +173,7 @@ busy = TRUE biomass_points -= clamp(upgrade.value_upgrade + upgrade.change_purchase * technology_purchased[datum_upgrades], upgrade.minimum_price, upgrade.maximum_price) technology_purchased[datum_upgrades] += 1 - addtimer(CALLBACK(src, PROC_REF(print_upgrade), produce_path), 3 SECONDS) + addtimer(CALLBACK(src, PROC_REF(print_upgrade), produce_path), 1 SECONDS) /obj/structure/machinery/xenoanalyzer/proc/print_upgrade(produce_path) busy = FALSE