From b5c84a68189e12d820969c76cbdadc911ebd44f8 Mon Sep 17 00:00:00 2001 From: DZD Date: Wed, 8 Apr 2015 18:15:14 -0400 Subject: [PATCH] RIP meta - Adds bite sounds and attack verbs to the toy carp plush. - Adds in a foam armblade, obtainable from vending machines, in_hand looks like a changeling armblade, but the item icon does not. - Toy flash, makes the flash noise, always outputs the successful flash noise to the screen, but does not actually do anything outside of that. --- code/game/machinery/computer/arcade.dm | 4 ++- code/game/objects/items/toys.dm | 46 +++++++++++++++++++++++--- 2 files changed, 45 insertions(+), 5 deletions(-) diff --git a/code/game/machinery/computer/arcade.dm b/code/game/machinery/computer/arcade.dm index 7831bfc8f87..eeea46d400b 100644 --- a/code/game/machinery/computer/arcade.dm +++ b/code/game/machinery/computer/arcade.dm @@ -39,7 +39,9 @@ /obj/item/weapon/id_decal/prisoner = 2, /obj/item/weapon/id_decal/centcom = 2, /obj/item/weapon/id_decal/emag = 2, - /obj/item/weapon/spellbook/oneuse/fake_gib = 2 + /obj/item/weapon/spellbook/oneuse/fake_gib = 2, + /obj/item/toy/foamblade = 2, + /obj/item/toy/flash = 2 ) /obj/machinery/computer/arcade/power_change() diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 71107a04342..10300d0c402 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -11,14 +11,12 @@ * Crayons * Snap pops * Water flower -<<<<<<< HEAD * Toy Nuke - * Card Deck -- Ported from /TG/ -======= + * Card Deck * Therapy dolls * Toddler doll * Inflatable duck ->>>>>>> 5d2bba3... Adds paths for therapy dolls + * Foam armblade */ @@ -1189,8 +1187,48 @@ obj/item/toy/cards/deck/syndicate/black desc = "An adorable stuffed toy that resembles a space carp." icon = 'icons/obj/toy.dmi' icon_state = "carpplushie" + attack_verb = list("bit", "ate", "fin slapped") + var/bitesound = 'sound/weapons/bite.ogg' w_class = 2.0 +/obj/item/toy/carpplushie/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob) + playsound(loc, bitesound, 20, 1) // Play bite sound in local area + return ..() + +/obj/item/toy/carpplushie/attack_self(mob/user as mob) + playsound(src.loc, bitesound, 20, 1) + return ..() + +/* + * Foam Armblade + */ + + /obj/item/toy/foamblade + name = "foam armblade" + desc = "it says \"Sternside Changs #1 fan\" on it. " + icon = 'icons/obj/toy.dmi' + icon_state = "foamblade" + item_state = "arm_blade" + icon_override = 'icons/mob/in-hand/changeling.dmi' + attack_verb = list("pricked", "absorbed", "gored") + w_class = 2 + +/* + * Toy/fake flash + */ +/obj/item/toy/flash + name = "toy flash" + desc = "FOR THE REVOLU- Oh wait, that's just a toy." + icon = 'icons/obj/device.dmi' + icon_state = "flash" + item_state = "flashbang" + w_class = 1 + +/obj/item/toy/flash/attack(mob/living/M, mob/user) + playsound(src.loc, 'sound/weapons/flash.ogg', 100, 1) + flick("[initial(icon_state)]2", src) + + /* * Toy big red button */