Skip to content

Commit

Permalink
qol: Plushie qol add sprites and mechanics (#5628)
Browse files Browse the repository at this point in the history
* Plushie qol

* Update code/game/objects/items/toys.dm

Co-authored-by: Zwei <[email protected]>

* Rewrite with COOLDOWN_DECLARE

---------

Co-authored-by: Zwei <[email protected]>
  • Loading branch information
PiotrTheTchaikowsky and Gottfrei authored Aug 2, 2024
1 parent 6898588 commit 1da32ef
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions code/game/objects/items/toys.dm
Original file line number Diff line number Diff line change
Expand Up @@ -784,15 +784,33 @@

/obj/item/toy/plushie/kotrazumist
name = "Razumist Cat"
desc = "Cat with wanrning cone on it. Wonder what do itself so smart ?"
desc = "Cat with warning cone on it. Wonder what do itself so smart?"
icon = 'icons/obj/toy.dmi'
icon_state = "razymist_cat"
COOLDOWN_DECLARE(cooldown)

/obj/item/toy/plushie/kotrazumist/attack_self(mob/user)
. = ..()
if(. || !COOLDOWN_FINISHED(src, cooldown))
return .
var/razumisttext = pick("I know everything about everything, please ask me something!", "I'm feeling extra wise today!", "Mrow!", "Purr!")
user.visible_message(span_notice(razumisttext))
COOLDOWN_START(src, cooldown, 3 SECONDS)

/obj/item/toy/plushie/kotwithfunnyhat
name = "Rice Cat"
desc = "White cat plushie with straw hat for hard work on rice field !"
desc = "White cat plushie with straw hat for hard work on rice field!"
icon = 'icons/obj/toy.dmi'
icon_state = "ricehat_cat"
COOLDOWN_DECLARE(cooldown)

/obj/item/toy/plushie/kotwithfunnyhat/attack_self(mob/user)
. = ..()
if(. || !COOLDOWN_FINISHED(src, cooldown))
return .
var/ricetext = pick("Welcome to the rice fields!", "Where is my rice!", "Mrow!", "Purr!")
user.visible_message(span_notice(ricetext))
COOLDOWN_START(src, cooldown, 3 SECONDS)

/obj/item/toy/plushie/voxplushie
name = "vox plushie"
Expand Down
Binary file modified icons/mob/inhands/items_lefthand.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/items_righthand.dmi
Binary file not shown.

0 comments on commit 1da32ef

Please sign in to comment.