Files
Paradise/code/modules/mob/living/basic/friendly/basic_pet.dm
PollardTheDragon 3b0a9c4381 Converts a whole lot of friendly mobs to basic mob AI (#29815)
* Butterflies, Cockroaches, Slothes, Snakes, Penguins, and Bunny Basic Mobs

* Lizards too

* Oops

* Lizard emote keybind

* Updatepaths

* Apply suggestions from code review

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>

* Moved lizard emote to basic_emotes.dm, simplified hide action

* New linters

* Merge conflict resolution

---------

Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2025-08-06 01:17:13 +00:00

18 lines
637 B
Plaintext

/mob/living/basic/pet
icon = 'icons/mob/pets.dmi'
mob_size = MOB_SIZE_SMALL
mob_biotypes = MOB_ORGANIC | MOB_BEAST
blood_volume = BLOOD_VOLUME_NORMAL
speed = 0 // same speed as a person.
hud_type = /datum/hud/corgi
/mob/living/basic/pet/item_interaction(mob/living/user, obj/item/O, list/modifiers)
if(!istype(O, /obj/item/newspaper))
return ..()
var/obj/item/newspaper/paper = O
if(stat != CONSCIOUS || !paper.rolled)
return ..()
user.visible_message("<span class='notice'>[user] baps [name] on the nose with the rolled up [O].</span>")
INVOKE_ASYNC(src, PROC_REF(spin), 7 DECISECONDS, 1)
return ITEM_INTERACT_COMPLETE