Tweaks borg nutrition recharge and gives roaches mouse nutrition. (#6753)

This commit is contained in:
Verkister
2023-08-10 15:29:46 +03:00
committed by GitHub
parent c5ebff392f
commit b08adc8a27
2 changed files with 4 additions and 3 deletions

View File

@@ -13,6 +13,7 @@
maxHealth = 1 maxHealth = 1
health = 1 health = 1
nutrition = 20 //CHOMPEdit
movement_cooldown = -1 movement_cooldown = -1

View File

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