Removes an unneeded proc (#26997)

* Removes an unneeded proc

* yeea

* Update code/modules/mob/mob_misc_procs.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Contrabang
2024-10-08 12:51:30 -04:00
committed by GitHub
parent 1eaae15237
commit 6faa31a307
7 changed files with 63 additions and 86 deletions
@@ -1504,14 +1504,11 @@
/datum/reagent/consumable/ethanol/fernet/on_mob_life(mob/living/M)
var/update_flags = STATUS_UPDATE_NONE
if(!M.nutrition)
switch(rand(1, 3))
if(1)
to_chat(M, "<span class='warning'>You feel hungry...</span>")
if(2)
update_flags |= M.adjustToxLoss(1, FALSE)
to_chat(M, "<span class='warning'>Your stomach grumbles painfully!</span>")
else
pass()
if(prob(66.66))
to_chat(M, "<span class='warning'>You feel hungry...</span>")
else if(prob(50))
update_flags |= M.adjustToxLoss(1, FALSE)
to_chat(M, "<span class='warning'>Your stomach grumbles painfully!</span>")
else
if(prob(60))
M.adjust_nutrition(-remove_nutrition)
@@ -924,14 +924,11 @@
/datum/reagent/lipolicide/on_mob_life(mob/living/M)
var/update_flags = STATUS_UPDATE_NONE
if(!M.nutrition)
switch(rand(1,3))
if(1)
to_chat(M, "<span class='warning'>You feel hungry...</span>")
if(2)
update_flags |= M.adjustToxLoss(1, FALSE)
to_chat(M, "<span class='warning'>Your stomach grumbles painfully!</span>")
else
pass()
if(prob(66.66))
to_chat(M, "<span class='warning'>You feel hungry...</span>")
else if(prob(50))
update_flags |= M.adjustToxLoss(1, FALSE)
to_chat(M, "<span class='warning'>Your stomach grumbles painfully!</span>")
else
if(prob(60))
var/fat_to_burn = max(round(M.nutrition / 100, 1), 5)