Update apc.dm (#17252)

This commit is contained in:
Jamie D
2023-01-04 01:29:28 +00:00
committed by GitHub
parent 41d8137d52
commit f93456162c

View File

@@ -1324,9 +1324,9 @@
lighting = autoset(lighting, 2) lighting = autoset(lighting, 2)
environ = autoset(environ, 1) environ = autoset(environ, 1)
area.poweralert(0, src) area.poweralert(0, src)
else if(cell.percent() < 30 && longtermpower < 0) // <30%, turn off equipment else if(cell.percent() < 40 && longtermpower < 0) // <40%, turn off Lighting
equipment = autoset(equipment, 2) equipment = autoset(equipment, 1)
lighting = autoset(lighting, 1) lighting = autoset(lighting, 2)
environ = autoset(environ, 1) environ = autoset(environ, 1)
area.poweralert(0, src) area.poweralert(0, src)
else // otherwise all can be on else // otherwise all can be on