Implement Bay's SSmachinery and power usage updates, further unclogging the toilet (#13910)

This commit is contained in:
Wildkins
2022-05-16 18:50:16 +02:00
committed by GitHub
parent a18d6598e3
commit a4461a17af
296 changed files with 1662 additions and 1778 deletions
+3 -3
View File
@@ -26,10 +26,10 @@
tech_rate = 0
for(var/obj/item/stock_parts/scanning_module/SM in component_parts)
tech_rate += SM.rating / 2
idle_power_usage = initial(idle_power_usage) * tech_rate // lots of power
change_power_consumption(initial(idle_power_usage) * tech_rate, POWER_USE_IDLE)
update_icon()
/obj/machinery/r_n_d/tech_processor/machinery_process()
/obj/machinery/r_n_d/tech_processor/process()
heat_delay--
if(!heat_delay)
produce_heat()
@@ -82,4 +82,4 @@
else
icon_state = initial(icon_state)
if(panel_open)
add_overlay("[initial(icon_state)]_open")
add_overlay("[initial(icon_state)]_open")