Adds a seagull

This commit is contained in:
Heroman
2023-08-16 06:32:35 +10:00
parent 36b26c5c2a
commit e5d24e2f1a
7 changed files with 67 additions and 1 deletions
+1
View File
@@ -753,6 +753,7 @@ var/global/list/xenobio_gold_mobs_safe = list(
/mob/living/simple_mob/vore/bee,
/mob/living/simple_mob/vore/fennec,
/mob/living/simple_mob/vore/fennix,
/mob/living/simple_mob/vore/seagull,
/mob/living/simple_mob/vore/hippo,
/mob/living/simple_mob/vore/horse,
/mob/living/simple_mob/vore/jelly,
@@ -43,6 +43,7 @@
var/vore_fullness = 0 // How "full" the belly is (controls icons)
var/vore_icons = 0 // Bitfield for which fields we have vore icons for.
var/vore_eyes = FALSE // For mobs with fullness specific eye overlays.
var/belly_size_multiplier = 1
var/life_disabled = 0 // For performance reasons
var/mount_offset_x = 5 // Horizontal riding offset.
@@ -73,6 +74,7 @@
for(var/mob/living/M in B)
new_fullness += M.size_multiplier
new_fullness = new_fullness / size_multiplier //Divided by pred's size so a macro mob won't get macro belly from a regular prey.
new_fullness = new_fullness * belly_size_multiplier // Some mobs are small even at 100% size. Let's account for that.
new_fullness = round(new_fullness, 1) // Because intervals of 0.25 are going to make sprite artists cry.
vore_fullness = min(vore_capacity, new_fullness)
@@ -77,8 +77,9 @@
. = ..()
if(!.)
return
if(vore_fullness == 0 && movement_cooldown == 50)
if(vore_fullness == 0 && movement_cooldown == 10)
movement_cooldown = initial(movement_cooldown)
/mob/living/simple_mob/vore/alienanimals/dustjumper/perform_the_nom(mob/living/user, mob/living/prey, mob/living/pred, obj/belly/belly, delay)
. = ..()
movement_cooldown = 10
@@ -0,0 +1,60 @@
/datum/category_item/catalogue/fauna/seagull // TODO: write actual lore if ever needed
name = "Wildlife - Seagull"
desc = "Classification: Larus brachyrhynchus\
<br><br>\
Gulls, or colloquially seagulls, are seabirds of the family Laridae in the suborder Lari. \
They are most closely related to the terns and skimmers and only distantly related to auks, and even more distantly to waders."
value = CATALOGUER_REWARD_TRIVIAL
/mob/living/simple_mob/vore/seagull
name = "seagull"
desc = "The most dangerous and hostile scavenger of seashores. Beware!"
tt_desc = "Larus brachyrhynchus"
catalogue_data = list(/datum/category_item/catalogue/fauna/seagull)
icon_state = "seagull"
icon_living = "seagull"
icon_dead = "seagull_dead"
icon_rest = "seagull"
icon = 'icons/mob/vore.dmi'
faction = "seagull"
maxHealth = 25
health = 25
response_help = "pats"
response_disarm = "gently pushes aside"
response_harm = "hits"
meat_amount = 2
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat/chicken
harm_intent_damage = 3
melee_damage_lower = 4
melee_damage_upper = 6
attacktext = list("pecked", "pinched", "wingslapped")
say_list_type = /datum/say_list/seagull
ai_holder_type = /datum/ai_holder/simple_mob/passive
vore_active = 1
vore_capacity = 5
vore_bump_chance = 25
vore_bump_emote = "greedily dives at"
vore_pounce_chance = 70
vore_default_mode = DM_HOLD
vore_icons = SA_ICON_LIVING
belly_size_multiplier = 2.5
/datum/say_list/seagull
speak = list("Ha-Ha-Ha!","Huoh-Huoh-Huoh!","Keow?")
emote_hear = list("screams!","chirps.")
emote_see = list("pecks at the ground","looks around hungrily")
/mob/living/simple_mob/vore/seagull/update_icon()
. = ..()
if(vore_fullness >= 2)
movement_cooldown = 10
else if(movement_cooldown == 10)
movement_cooldown = initial(movement_cooldown)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 KiB

After

Width:  |  Height:  |  Size: 332 KiB

+1
View File
@@ -85,6 +85,7 @@
//guard = 40 //They'll stay within this range (not defining this disables them staying nearby and they will wander the map (and through step teleports))
mobs_to_pick_from = list(
/mob/living/simple_mob/vore/fennec = 300,
/mob/living/simple_mob/vore/seagull = 200,
/mob/living/simple_mob/animal/passive/snake/python = 100
)
+1
View File
@@ -3241,6 +3241,7 @@
#include "code\modules\mob\living\simple_mob\subtypes\vore\rabbit.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\rat.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\redpanda.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\seagull.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\sect_drone.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\sect_queen.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\sheep.dm"