mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 10:03:50 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user