Skip to content

Commit

Permalink
Add: plushie bubblegum toy (#3187)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ksaikok46 authored Jul 21, 2023
1 parent 5c95bba commit 09b36b8
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
23 changes: 23 additions & 0 deletions code/game/objects/items/toys.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1407,6 +1407,29 @@

add_fingerprint(M)

/obj/item/toy/plushie/bubblegumplushie
name = "bubblegum plushie"
desc = "In what passes for a heirarchy among slaughter demon plushies, this one is king."
icon_state = "plushie_bubblegum"
item_state = "plushie_bubblegum"
attack_verb = list("attacks", "strikes")
var/cooldown = FALSE
var/bubblestep = 'sound/effects/meteorimpact.ogg'
var/bubbleattack = 'sound/misc/demon_attack1.ogg'

/obj/item/toy/plushie/bubblegumplushie/attack(mob/M as mob, mob/user as mob)
playsound(loc, pick(bubblestep, bubbleattack), 40, 1)
return ..()

/obj/item/toy/plushie/bubblegumplushie/attack_self(mob/user)
if(cooldown)
return ..()

playsound(src, bubblestep, 40, 1)
visible_message("<span class='danger'>Bubblegum stomps...</span>")
cooldown = TRUE
addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 3 SECONDS)

/*
* Foam Armblade
*/
Expand Down
5 changes: 5 additions & 0 deletions code/modules/client/preference/loadout/loadout_general.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@
display_name = "Nian plushie"
path = /obj/item/toy/plushie/nianplushie

/datum/gear/bubblegumplushie
display_name = "Bubblegum plushie"
path = /obj/item/toy/plushie/bubblegumplushie
cost = 1

/datum/gear/sechud
display_name = "a classic security HUD"
path = /obj/item/clothing/glasses/hud/security
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.
Binary file modified icons/obj/toy.dmi
Binary file not shown.

0 comments on commit 09b36b8

Please sign in to comment.