From 5a3329e688ce561dee38e1abecfc65c5e48001e7 Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Wed, 7 Aug 2019 15:14:21 +0200 Subject: [PATCH] [WIP] Feed_Self_To for mob ai Enables mobs to acces the list of bellies making forcefeeding possible even if you have more than 1 belly Current state "should work" + "needs testing" When the mob attempts to have you eat it it will currently simply look for a stomach of the name "stomach" or "belly" then it will execute it if it finds those --- code/modules/vore/eating/living_vr.dm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/code/modules/vore/eating/living_vr.dm b/code/modules/vore/eating/living_vr.dm index 8d1717b320..e5b62d033e 100644 --- a/code/modules/vore/eating/living_vr.dm +++ b/code/modules/vore/eating/living_vr.dm @@ -385,7 +385,15 @@ return perform_the_nom(user, prey, pred, belly) /mob/living/proc/feed_self_to_grabbed(var/mob/living/user, var/mob/living/pred) - var/belly = input("Choose Belly") in pred.vore_organs + //CHOMPEDIT: PROTO TYPE; BELLY SELECTOR + var/plsvoreme = 0 + if (!user.client) + for(var/obj/belly/guttoviolate in pred.vore_organs) + if(guttoviolate.name == "stomach" || guttoviolate.name == "belly" && !plsvoreme) + plsvoreme = 1 + var/belly = guttoviolate + //CHOMPEDIT: END + else var/belly = input("Choose Belly") in pred.vore_organs return perform_the_nom(user, user, pred, belly) /mob/living/proc/feed_grabbed_to_other(var/mob/living/user, var/mob/living/prey, var/mob/living/pred)