884fb45516
* Fixes compile issues with vore code * Update voreconstants.dm * Update resize_vr.dm * Update tgstation.dme * Update parrot.dm * Update pet.dm * Update fox.dm * Update mouse.dm * Update farm_animals.dm * Update dog.dm * Update cat.dm * Update monkey.dm * Update alien.dm * Update vore_vr.dm * Update vorepanel_vr.dm * Update bellymodes_vr.dm * Update belly_vr.dm * Update living_vr.dm * Update voreconstants.dm * Update fox.dm
68 lines
2.0 KiB
Plaintext
68 lines
2.0 KiB
Plaintext
//Foxxy
|
|
/mob/living/simple_animal/pet/fox
|
|
name = "fox"
|
|
desc = "It's a fox."
|
|
icon = 'icons/mob/pets.dmi'
|
|
icon_state = "fox"
|
|
icon_living = "fox"
|
|
icon_dead = "fox_dead"
|
|
speak = list("Ack-Ack","Ack-Ack-Ack-Ackawoooo","Geckers","Awoo","Tchoff")
|
|
speak_emote = list("geckers", "barks")
|
|
emote_hear = list("howls.","barks.")
|
|
emote_see = list("shakes its head.", "shivers.")
|
|
speak_chance = 1
|
|
turns_per_move = 5
|
|
see_in_dark = 6
|
|
butcher_results = list(/obj/item/weapon/reagent_containers/food/snacks/meat/slab = 3)
|
|
response_help = "pets"
|
|
response_disarm = "gently pushes aside"
|
|
response_harm = "kicks"
|
|
gold_core_spawnable = 2
|
|
devourable = TRUE
|
|
var/mob/living/simple_animal/mouse/movement_target
|
|
var/turns_since_scan = 0
|
|
|
|
/mob/living/simple_animal/pet/fox/Life()
|
|
//MICE!
|
|
if((src.loc) && isturf(src.loc))
|
|
if(!stat && !resting && !buckled)
|
|
for(var/mob/living/simple_animal/mouse/M in view(1,src))
|
|
if(!M.stat && Adjacent(M))
|
|
emote("me", 1, "splats \the [M]!")
|
|
M.splat()
|
|
movement_target = null
|
|
stop_automated_movement = 0
|
|
break
|
|
for(var/obj/item/toy/cattoy/T in view(1,src))
|
|
if (T.cooldown < (world.time - 400))
|
|
emote("me", 1, "bats \the [T] around with its paw!")
|
|
T.cooldown = world.time
|
|
|
|
..()
|
|
|
|
if(!stat && !resting && !buckled)
|
|
turns_since_scan++
|
|
if(turns_since_scan > 5)
|
|
walk_to(src,0)
|
|
turns_since_scan = 0
|
|
if((movement_target) && !(isturf(movement_target.loc) || ishuman(movement_target.loc) ))
|
|
movement_target = null
|
|
stop_automated_movement = 0
|
|
if( !movement_target || !(movement_target.loc in oview(src, 3)) )
|
|
movement_target = null
|
|
stop_automated_movement = 0
|
|
for(var/mob/living/simple_animal/mouse/snack in oview(src,3))
|
|
if(isturf(snack.loc) && !snack.stat)
|
|
movement_target = snack
|
|
break
|
|
if(movement_target)
|
|
stop_automated_movement = 1
|
|
walk_to(src,movement_target,0,3)
|
|
|
|
//Captain fox
|
|
/mob/living/simple_animal/pet/fox/Renault
|
|
name = "Renault"
|
|
desc = "Renault, the Captain's trustworthy fox."
|
|
gender = FEMALE
|
|
gold_core_spawnable = 0
|