Moderator: Game Admins
//STOMACH DRAIN
if(iscarbon(M) && owner.stat != DEAD && digest_mode == "Drain" && M.stat != DEAD))
if(air_master.current_cycle%3==1)
if(!(M.status_flags & GODMODE))
if(M.nutrition > 90)
owner.nutrition += 10 // I took it from the womb code because I'm SOOOO clever... Edit the values and the code to your heart's content. -Daisy
M.nutrition -= 10
else if (M.nutrition <= 90)
if (M.weakened == 0) // If they were weakened before and they're that hungry, both of you are probably not going to notice a difference.
owner << "<span class='notice'>You feel [M]'s struggles dying down as their body is drained almost completely to the point of exaustion.</span>" //Pred's message.
M << "<span class='notice'>Your body feels too weak to offer any significant resistance inside of [owner]'s stomach.</span>" //Prey's message.
M.Weaken(10)
else
M.Weaken(10) // Knocked down, but still able to talk and emote clearly.Keeps resetting to 10 until free.
if (M.weight > 70.05) // Turn fat into nutrition!
M.weight -= 0.05
owner.nutrition += 1 // I have no idea how much 1 unit of weight is worth in terms of nutrition
else if (M.weight < 70)
M.weight = 70 // Prevent it from accidentally going lower
// @Override
/datum/belly/womb/toggle_digestion()
digest_mode = input("Womb Mode") in list("Hold", "Heal", "Nurture", "Transform (Male)", "Transform (Female)", "Transform (Keep Gender)", "Transform (Change Species)", "Digest", "Transform (Change Species) (EGG)", "Transform (Keep Gender) (EGG)", "Transform (Male) (EGG)", "Transform (Female) (EGG)")
switch (digest_mode)
if("Heal")
owner << "<span class='notice'>You will now heal people you've unbirthed.</span>"
if("Nurture")
owner << "<span class='notice'>You will now share nutrients with people you've unbirthed.</span>"
if("Digest")
owner << "<span class='notice'>You will now digest people you've unbirthed.</span>"
if("Hold")
owner << "<span class='notice'>You will now harmlessly hold people you've unbirthed.</span>"
if("Transform (Male)")
owner << "<span class='notice'>You will now transform people you've unbirthed into your son.</span>"
if("Transform (Female)")
owner << "<span class='notice'>You will now transform people you've unbirthed into your daughter.</span>"
if("Transform (Keep Gender)")
owner << "<span class='notice'>You will now transform people you've unbirthed, but they will keep their gender.</span>"
if("Transform (Change Species)")
owner << "<span class='notice'>You will now transform people you've unbirthed to look similar to your species.</span>"
if("Transform (Change Species) (EGG)")
owner << "<span class='notice'>You will now transform people you've unbirthed to look similar to your species, and surround them with an egg.</span>"
if("Transform (Keep Gender) (EGG)")
owner << "<span class='notice'>You will now transform people you've unbirthed to look similar to you and surround them with an egg, but they will keep their gender.</span>"
if("Transform (Male) (EGG)")
owner << "<span class='notice'>You will now transform people you've unbirthed into your son, and will surround them with an egg.</span>"
if("Transform (Female) (EGG)")
owner << "<span class='notice'>You will now transform people you've unbirthed into your daughter.</span>"
// @Override
/datum/belly/womb/process_Life()
for(var/mob/living/M in internal_contents)
//WOMB HEAL
if(iscarbon(M) && owner.stat != DEAD && digest_mode == DM_HEAL && M.stat != DEAD)
if(air_master.current_cycle%3==1)
if(!(M.status_flags & GODMODE))
if(owner.nutrition > 90)
M.adjustBruteLoss(-5)
M.adjustFireLoss(-5)
owner.nutrition -= 2
if(M.nutrition <= 400)
M.nutrition += 1
//WOMB NURTURE
if(iscarbon(M) && owner.stat != DEAD && digest_mode == "Nurture" && M.stat != DEAD)
if(air_master.current_cycle%3==1)
if(!(M.status_flags & GODMODE))
if(owner.nutrition > (M.nutrition + 10)) // If the holder has 10 more nutrients than the holdee, then it begins transfering nutrients.
M.nutrition += 4
owner.nutrition -= 4
Users browsing this forum: No registered users and 1 guest