mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 20:54:35 +01:00
[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:
committed by
GitHub
parent
3f125bf100
commit
4cefc154b2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user