mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-31 20:53:34 +00:00
* 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>
18 lines
637 B
Plaintext
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
|