mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Merge branch 'master' of https://github.com/ParadiseSS13/Paradise into lavaland_megafauna
# Conflicts: # code/modules/mob/living/carbon/human/species/station.dm # icons/mob/screen_alert.dmi
This commit is contained in:
@@ -678,7 +678,7 @@
|
||||
to_chat(H, "<span class='warning'>The APC power currents surge erratically, damaging your chassis!</span>")
|
||||
H.adjustFireLoss(10,0)
|
||||
else if(src.cell && src.cell.charge > 0)
|
||||
if(H.nutrition < 450)
|
||||
if(H.nutrition < NUTRITION_LEVEL_WELL_FED)
|
||||
if(src.cell.charge >= 500)
|
||||
H.nutrition += 50
|
||||
src.cell.charge -= 500
|
||||
@@ -689,8 +689,8 @@
|
||||
to_chat(user, "<span class='notice'>You slot your fingers into the APC interface and siphon off some of the stored charge for your own use.</span>")
|
||||
if(src.cell.charge < 0)
|
||||
src.cell.charge = 0
|
||||
if(H.nutrition > 500)
|
||||
H.nutrition = 500
|
||||
if(H.nutrition > NUTRITION_LEVEL_WELL_FED + 50)
|
||||
H.nutrition = NUTRITION_LEVEL_WELL_FED + 50
|
||||
src.charging = 1
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You are already fully charged.</span>")
|
||||
|
||||
Reference in New Issue
Block a user