From 2e8dabcf7b6d82d134c5395fe51704f850c2a86e Mon Sep 17 00:00:00 2001 From: Geeves Date: Fri, 16 Dec 2022 13:12:16 +0200 Subject: [PATCH] Unapologetic Xenobio Buffs (#15282) --- code/modules/mob/living/carbon/slime/life.dm | 6 +++--- html/changelogs/geeves-unapologetic_xenobio_buffs.yml | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 html/changelogs/geeves-unapologetic_xenobio_buffs.yml diff --git a/code/modules/mob/living/carbon/slime/life.dm b/code/modules/mob/living/carbon/slime/life.dm index 0016960aba5..b46c8260255 100644 --- a/code/modules/mob/living/carbon/slime/life.dm +++ b/code/modules/mob/living/carbon/slime/life.dm @@ -561,15 +561,15 @@ /mob/living/carbon/slime/proc/will_hunt(var/hunger) // Check for being stopped from feeding and chasing if(hunger == 2 || rabid || attacked) return TRUE - if(nutrition > get_max_nutrition() * 0.8) + if(nutrition > get_grow_nutrition()) return FALSE if(leader) return FALSE if(holding_still) return FALSE - if(hunger == 1 || prob(25)) + if(hunger == 1 || prob(35)) return TRUE return FALSE /mob/living/carbon/slime/slip() //Can't slip something without legs. - return FALSE \ No newline at end of file + return FALSE diff --git a/html/changelogs/geeves-unapologetic_xenobio_buffs.yml b/html/changelogs/geeves-unapologetic_xenobio_buffs.yml new file mode 100644 index 00000000000..36bfc11f962 --- /dev/null +++ b/html/changelogs/geeves-unapologetic_xenobio_buffs.yml @@ -0,0 +1,7 @@ +author: Geeves + +delete-after: True + +changes: + - tweak: "Slimes will now consider hunting when they're under the grow threshold, instead of when they're at 80% of their maximum nutrition, so they should hunt more often." + - tweak: "Raised the slime random hunt chance to 35%, up from 25%."