[MIRROR] Allows to limit liquid generation on low nutri / power (#12324)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-01-25 04:04:00 +01:00
committed by GitHub
co-authored by Kashargul vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com>
parent 3f125bf100
commit 4cefc154b2
19 changed files with 73 additions and 716 deletions
+1 -1
View File
@@ -102,7 +102,7 @@
/obj/item/cell/proc/percent() // return % charge of cell
var/charge_percent = 0
if(maxcharge > 0)
charge_percent = 100.0*charge/maxcharge
charge_percent = 100.0 * charge / maxcharge
return charge_percent
/obj/item/cell/proc/fully_charged()