mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
Implement Bay's SSmachinery and power usage updates, further unclogging the toilet (#13910)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user