Converts other borg vore gains to use nutrition var (#6725)

This commit is contained in:
Verkister
2023-08-06 01:36:01 +03:00
committed by GitHub
parent 56a29e2cb8
commit 03aff0224c
5 changed files with 22 additions and 18 deletions

View File

@@ -84,7 +84,7 @@
/mob/living/silicon/robot/use_power()
if(cell && cell.charge < cell.maxcharge)
if(nutrition >= 20)
nutrition -= 20
cell.charge += 200
if(nutrition >= 20 * CYBORG_POWER_USAGE_MULTIPLIER)
nutrition -= 20 * CYBORG_POWER_USAGE_MULTIPLIER
cell.charge += 200 * CYBORG_POWER_USAGE_MULTIPLIER
..()