Last Push - Everything is working, just needs testing!

This commit is contained in:
Rykka
2020-07-16 19:52:20 -04:00
parent 9f935ff59d
commit 3974d7e87f
32 changed files with 221 additions and 183 deletions

View File

@@ -71,10 +71,12 @@
if(open)
open = FALSE
loss = (active_power_usage / resistance)*0.5
cooking = TRUE
else
open = TRUE
loss = (active_power_usage / resistance)*4
//When the oven door is opened, heat is lost MUCH faster
//When the oven door is opened, heat is lost MUCH faster and you stop cooking (because the door is open)
cooking = FALSE
playsound(src, 'sound/machines/hatch_open.ogg', 20, 1)
update_icon()