Some new swoopie features

Swoopie's now got proper idle emotes instead of corrupt hound ones.
Also AI controlled Swoopie mob will now attempt to pick up and consume mice and trash items off the floor.
This commit is contained in:
Verkister
2023-01-01 16:12:29 +02:00
parent 79629be447
commit 1f7a04e45e

View File

@@ -15,10 +15,11 @@
vore_icon_bellies = list("stomach", "neck1", "neck2", "neck3", "neck4")
vore_icons = 0
vore_pounce_chance = 100
vore_pounce_maxhealth = 125
vore_pounce_maxhealth = 200
has_hands = TRUE
adminbus_trash = TRUE //You know what, sure whatever. It's not like anyone's gonna be taking this bird on unga trips to be their gamer backpack, which kinda was the main reason for the trash eater restrictions in the first place anyway.
faction = "neutral"
say_list_type = /datum/say_list/swoopie
/mob/living/simple_mob/vore/aggressive/corrupthound/swoopie/init_vore()
if(!voremob_loaded)
@@ -121,6 +122,21 @@
for(var/obj/O in T)
if(O.clean_blood())
adjust_nutrition(1)
if(has_AI())
if(is_type_in_list(O, edible_trash) && !O.anchored)
put_in_active_hand(O)
break
if(has_AI())
var/obj/item/I = get_active_hand()
if(istype(I))
if(!voremob_loaded)
voremob_loaded = TRUE
init_vore()
eat_trash()
drop_item()
for(var/mob/living/simple_mob/animal/passive/mouse/M in T)
perform_the_nom(src,M,src,src.vore_selected,1)
break
if(istype(T, /turf/simulated))
var/turf/simulated/S = T
if(T.clean_blood())
@@ -128,3 +144,10 @@
if(S.dirt > 50)
S.dirt = 0
adjust_nutrition(1)
/datum/say_list/swoopie
speak = list("Scanning for debris...", "Scanning for dirt...", "Scanning for pests...", "Squawk!")
emote_hear = list("squawks!", "whirrs idly.", "revs up its vacuum.")
emote_see = list("twitches.", "sways.", "stretches its neck.", "stomps idly.")
say_maybe_target = list("Pest detected?")
say_got_target = list("PEST DETECTED!")