mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] Dragon Plushie Upport (#11700)
Co-authored-by: MeepleMuncher <76881946+MeepleMuncher@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
880254bb7c
commit
9e91e9017e
@@ -24,60 +24,10 @@
|
||||
icon_state = "greenfox"
|
||||
pokephrase = "Weh!"
|
||||
|
||||
/obj/item/toy/plushie/dragon
|
||||
name = "dragon plushie"
|
||||
desc = "A soft plushie in the shape of a dragon. How ferocious!"
|
||||
icon = 'icons/obj/toy_ch.dmi'
|
||||
icon_state = "reddragon"
|
||||
var/cooldown = FALSE
|
||||
|
||||
/obj/item/toy/plushie/dragon/Initialize(mapload)
|
||||
. = ..()
|
||||
if (pokephrase != "Rawr~!")
|
||||
pokephrase = pick("ROAR!", "RAWR!", "GAWR!", "GRR!", "GROAR!", "GRAH!", "Weh!", "Merp!")
|
||||
|
||||
/obj/item/toy/plushie/dragon/attack_self(mob/user)
|
||||
if(!cooldown)
|
||||
switch(pokephrase)
|
||||
if("Weh!")
|
||||
playsound(user, 'sound/voice/weh.ogg', 20, 0)
|
||||
if("Merp!")
|
||||
playsound(user, 'sound/voice/merp.ogg', 20, 0)
|
||||
else
|
||||
playsound(user, 'sound/voice/roarbark.ogg', 20, 0)
|
||||
cooldown = TRUE
|
||||
addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 5 SECONDS, TIMER_DELETE_ME)
|
||||
return ..()
|
||||
|
||||
/obj/item/toy/plushie/dragon/green
|
||||
name = "green dragon plushie"
|
||||
icon_state = "greendragon"
|
||||
|
||||
/obj/item/toy/plushie/dragon/purple
|
||||
name = "purple dragon plushie"
|
||||
icon_state = "purpledragon"
|
||||
|
||||
/obj/item/toy/plushie/dragon/white_east
|
||||
name = "white eastern dragon plushie"
|
||||
icon_state = "whiteeasterndragon"
|
||||
|
||||
/obj/item/toy/plushie/dragon/red_east
|
||||
name = "red eastern dragon plushie"
|
||||
icon_state = "redeasterndragon"
|
||||
|
||||
/obj/item/toy/plushie/dragon/green_east
|
||||
name = "green eastern dragon plushie"
|
||||
icon_state = "greeneasterndragon"
|
||||
|
||||
/obj/item/toy/plushie/dragon/gold_east
|
||||
name = "golden eastern dragon plushie"
|
||||
desc = "A soft plushie of a shiny golden dragon. Made of Real* gold!"
|
||||
icon_state = "goldeasterndragon"
|
||||
pokephrase = "Rawr~!"
|
||||
|
||||
/obj/item/toy/plushie/dragon/customizable
|
||||
name = "custom dragon plushie"
|
||||
icon_state = "blankdurg"
|
||||
icon = 'icons/obj/toy_ch.dmi'
|
||||
|
||||
var/base = "blankdurg"
|
||||
var/underbelly = "blankdurg2"
|
||||
|
||||
@@ -1194,3 +1194,54 @@
|
||||
H.put_in_inactive_hand(I)
|
||||
next_use = (world.time + 30 SECONDS)
|
||||
H.visible_message(span_notice("\The [H] pulls an acorn from \the [src]!"))
|
||||
|
||||
/obj/item/toy/plushie/dragon
|
||||
name = "dragon plushie"
|
||||
desc = "A soft plushie in the shape of a dragon. How ferocious!"
|
||||
icon = 'icons/obj/toy.dmi'
|
||||
icon_state = "reddragon"
|
||||
var/cooldown = FALSE
|
||||
|
||||
/obj/item/toy/plushie/dragon/Initialize(mapload)
|
||||
. = ..()
|
||||
if (pokephrase != "Rawr~!")
|
||||
pokephrase = pick("ROAR!", "RAWR!", "GAWR!", "GRR!", "GROAR!", "GRAH!", "Weh!", "Merp!")
|
||||
|
||||
/obj/item/toy/plushie/dragon/attack_self(mob/user)
|
||||
if(!cooldown)
|
||||
switch(pokephrase)
|
||||
if("Weh!")
|
||||
playsound(user, 'sound/voice/weh.ogg', 20, 0)
|
||||
if("Merp!")
|
||||
playsound(user, 'sound/voice/merp.ogg', 20, 0)
|
||||
else
|
||||
playsound(user, 'sound/voice/roarbark.ogg', 20, 0)
|
||||
cooldown = TRUE
|
||||
addtimer(VARSET_CALLBACK(src, cooldown, FALSE), 5 SECONDS, TIMER_DELETE_ME)
|
||||
return ..()
|
||||
|
||||
/obj/item/toy/plushie/dragon/green
|
||||
name = "green dragon plushie"
|
||||
icon_state = "greendragon"
|
||||
|
||||
/obj/item/toy/plushie/dragon/purple
|
||||
name = "purple dragon plushie"
|
||||
icon_state = "purpledragon"
|
||||
|
||||
/obj/item/toy/plushie/dragon/white_east
|
||||
name = "white eastern dragon plushie"
|
||||
icon_state = "whiteeasterndragon"
|
||||
|
||||
/obj/item/toy/plushie/dragon/red_east
|
||||
name = "red eastern dragon plushie"
|
||||
icon_state = "redeasterndragon"
|
||||
|
||||
/obj/item/toy/plushie/dragon/green_east
|
||||
name = "green eastern dragon plushie"
|
||||
icon_state = "greeneasterndragon"
|
||||
|
||||
/obj/item/toy/plushie/dragon/gold_east
|
||||
name = "golden eastern dragon plushie"
|
||||
desc = "A soft plushie of a shiny golden dragon. Made of Real* gold!"
|
||||
icon_state = "goldeasterndragon"
|
||||
pokephrase = "Rawr~!"
|
||||
|
||||
@@ -789,16 +789,16 @@
|
||||
/obj/item/toy/plushie/teshari/y_yw,
|
||||
//YawnWider Add End
|
||||
//CHOMPStation Add Start
|
||||
/obj/item/toy/plushie/dragon,
|
||||
/obj/item/toy/plushie/dragon/green,
|
||||
/obj/item/toy/plushie/dragon/purple,
|
||||
/obj/item/toy/plushie/dragon/white_east,
|
||||
/obj/item/toy/plushie/dragon/red_east,
|
||||
/obj/item/toy/plushie/dragon/green_east,
|
||||
/obj/item/toy/plushie/dragon/gold_east,
|
||||
/obj/item/toy/plushie/teppi,
|
||||
/obj/item/toy/plushie/teppi/alt)
|
||||
/obj/item/toy/plushie/teppi/alt,
|
||||
//CHOMPStation Add End
|
||||
pick(list(/obj/item/toy/plushie/dragon,
|
||||
/obj/item/toy/plushie/dragon/green,
|
||||
/obj/item/toy/plushie/dragon/purple,
|
||||
/obj/item/toy/plushie/dragon/red_east,
|
||||
/obj/item/toy/plushie/dragon/green_east,
|
||||
/obj/item/toy/plushie/dragon/white_east,
|
||||
/obj/item/toy/plushie/dragon/gold_east)))
|
||||
|
||||
/obj/random/plushielarge
|
||||
name = "random large plushie"
|
||||
|
||||
Reference in New Issue
Block a user