Merge pull request #8836 from Citadel-Station-13/kevinz000-patch-55
nanite metabolic synthesis now drains you until you're starving
This commit is contained in:
@@ -190,13 +190,13 @@
|
|||||||
if(!iscarbon(host_mob))
|
if(!iscarbon(host_mob))
|
||||||
return FALSE
|
return FALSE
|
||||||
var/mob/living/carbon/C = host_mob
|
var/mob/living/carbon/C = host_mob
|
||||||
if(C.nutrition <= NUTRITION_LEVEL_WELL_FED)
|
if(C.nutrition <= NUTRITION_LEVEL_STARVING)
|
||||||
return FALSE
|
return FALSE
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/datum/nanite_program/metabolic_synthesis/active_effect()
|
/datum/nanite_program/metabolic_synthesis/active_effect()
|
||||||
host_mob.nutrition -= 0.5
|
host_mob.nutrition -= 0.5
|
||||||
nanites.adjust_nanites(0.5)
|
nanites.adjust_nanites(src, 0.5)
|
||||||
|
|
||||||
/datum/nanite_program/triggered/access
|
/datum/nanite_program/triggered/access
|
||||||
name = "Subdermal ID"
|
name = "Subdermal ID"
|
||||||
|
|||||||
Reference in New Issue
Block a user