Adds the hakhma (#7321)

This commit is contained in:
Alberyk
2019-11-08 20:25:53 +01:00
committed by Werner
parent 32c35f065f
commit 52468c4516
8 changed files with 46 additions and 3 deletions
@@ -10,6 +10,7 @@
emote_see = list("whistles")
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat/adhomai
meat_amount = 2
hunger_enabled = FALSE
var/eggsleft = 0
/mob/living/simple_animal/ice_tunneler/attackby(var/obj/item/O as obj, var/mob/user as mob)
@@ -52,7 +53,6 @@
speak_chance = 1
turns_per_move = 5
see_in_dark = 6
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat/adhomai
meat_amount = 30
response_help = "pets"
response_disarm = "gently pushes aside"
@@ -0,0 +1,26 @@
/mob/living/simple_animal/hakhma
name = "hakhma"
desc = "An oversized insect breed by Scarab colony ships, known for their milk."
icon_state = "hakhma"
icon_living = "hakhma"
icon_dead = "hakhma_dead"
icon_rest = "hakhma_rest"
speak_emote = list("chitters")
emote_hear = list("chitters")
emote_see = list("shakes its head")
speak_chance = 1
turns_per_move = 5
meat_amount = 35
response_help = "pets"
response_disarm = "gently pushes aside"
response_harm = "kicks"
attacktext = "kicked"
health = 250
maxHealth = 250
autoseek_food = FALSE
beg_for_food = FALSE
mob_size = 15
has_udder = TRUE
milk_type = "beetle_milk"
@@ -205,6 +205,11 @@
to_chat(user, "<span class='warning'>\The [blocked] is in the way!</span>")
return
if(isanimal(target))
var/mob/living/simple_animal/C = target
if(C.has_udder)
return
other_feed_message_start(user, target)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)