Merge pull request #13749 from Heroman3003/pakkun

Adds pakkuns
This commit is contained in:
Casey
2022-09-18 05:38:05 -04:00
committed by GitHub
4 changed files with 83 additions and 5 deletions
@@ -0,0 +1,63 @@
/datum/category_item/catalogue/fauna/pakkun
name = "Wildlife - Pakkun"
desc = "Classification: Mordens Lacerta\
<br><br>\
Their diet is primarily pescatarian, but they known to consume other species and even their own - this activity doesn't appear to be malicious \
or even borne out of hunger, but more of a form of playfighting among packmates."
value = CATALOGUER_REWARD_TRIVIAL
/mob/living/simple_mob/vore/pakkun
name = "pakkun"
desc = "A small, blue, bipedal reptile. Its head and jaws are rather large in proportion to its body."
tt_desc = "Mordens Lacerta"
catalogue_data = list(/datum/category_item/catalogue/fauna/pakkun)
icon_dead = "pakkun-dead"
icon_living = "pakkun"
icon_state = "pakkun"
icon = 'icons/mob/vore.dmi'
faction = "pakkun"
movement_cooldown = 6
can_be_drop_pred = 1 //They can tongue vore.
meat_amount = 5
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat
vore_active = 1
vore_icons = SA_ICON_LIVING
harm_intent_damage = 3
melee_damage_lower = 3
melee_damage_upper = 5
base_attack_cooldown = 5 SECONDS
projectiletype = /obj/item/projectile/beam/appendage
projectilesound = 'sound/effects/slime_squish.ogg'
ai_holder_type = /datum/ai_holder/simple_mob/ranged/pakkun
/datum/ai_holder/simple_mob/ranged/pakkun
pointblank = TRUE
/datum/ai_holder/simple_mob/ranged/pakkun/list_targets()
var/list/our_targets = ..()
for(var/list_target in our_targets)
if(!isliving(list_target))
our_targets -= list_target
continue
var/mob/living/L = list_target
if(!(L.can_be_drop_prey && L.throw_vore && L.allowmobvore))
our_targets -= list_target
continue
return our_targets
/datum/ai_holder/simple_mob/ranged/pakkun/can_attack(atom/movable/the_target, var/vision_required = TRUE)
.=..()
if(isliving(the_target))
var/mob/living/L = the_target
if(!(L.can_be_drop_prey && L.throw_vore && L.allowmobvore))
return FALSE
else
return FALSE
Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 KiB

After

Width:  |  Height:  |  Size: 311 KiB

+19 -5
View File
@@ -2,6 +2,10 @@
"a" = (
/turf/unsimulated/wall/planetary/virgo3c,
/area/submap/groundbase/wilderness/east)
"b" = (
/mob/living/simple_mob/vore/pakkun,
/turf/simulated/floor/outdoors/grass/forest/virgo3c,
/area/submap/groundbase/wilderness/east/unexplored)
"c" = (
/turf/simulated/mineral/cave/virgo3c,
/area/submap/groundbase/wilderness/east)
@@ -11,6 +15,16 @@
},
/turf/simulated/floor/water/virgo3c,
/area/submap/groundbase/wilderness/east)
"e" = (
/mob/living/simple_mob/vore/pakkun,
/turf/simulated/floor/outdoors/grass/virgo3c,
/area/submap/groundbase/wilderness/east/unexplored)
"f" = (
/mob/living/simple_mob/vore/pakkun,
/turf/simulated/floor/water/virgo3c{
outdoors = 0
},
/area/submap/groundbase/wilderness/east)
"l" = (
/turf/simulated/floor/outdoors/grass/forest/virgo3c,
/area/submap/groundbase/wilderness/east/unexplored)
@@ -3332,7 +3346,7 @@ r
r
r
Q
Q
f
Q
Q
U
@@ -3444,7 +3458,7 @@ Z
Z
V
V
F
e
F
F
F
@@ -13456,7 +13470,7 @@ r
F
F
F
l
b
l
l
l
@@ -13665,7 +13679,7 @@ Z
V
V
F
F
e
F
F
l
@@ -13704,7 +13718,7 @@ r
Q
Q
Q
Q
f
Q
Q
Q
+1
View File
@@ -3159,6 +3159,7 @@
#include "code\modules\mob\living\simple_mob\subtypes\vore\mimic.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\oregrub.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\otie.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\pakkun.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\panther.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\rabbit.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\rat.dm"