diff --git a/code/game/machinery/computer/arcade.dm b/code/game/machinery/computer/arcade.dm index 7f1f9bdb3ed..bb0ce98a9b5 100644 --- a/code/game/machinery/computer/arcade.dm +++ b/code/game/machinery/computer/arcade.dm @@ -29,7 +29,8 @@ /obj/item/toy/minimeteor = 2, /obj/item/toy/carpplushie = 2, /obj/item/toy/foamblade = 2, - /obj/item/toy/redbutton = 2 + /obj/item/toy/redbutton = 2, + /obj/item/clothing/mask/pig = 2 ) /obj/machinery/computer/arcade/New() diff --git a/code/modules/clothing/masks/miscellaneous.dm b/code/modules/clothing/masks/miscellaneous.dm index 479b461b02a..e76a480d358 100644 --- a/code/modules/clothing/masks/miscellaneous.dm +++ b/code/modules/clothing/masks/miscellaneous.dm @@ -49,6 +49,17 @@ flags = BLOCKHAIR flags_inv = HIDEFACE w_class = 2 + action_button_name = "Toggle Voice Box" + var/voicechange = 0 + +/obj/item/clothing/mask/pig/attack_self(mob/user) + voicechange = !voicechange + user << "You turn the voice box [voicechange ? "on" : "off"]!" + +/obj/item/clothing/mask/pig/speechModification(message) + if(voicechange) + message = pick("Oink!","Squeeeeeeee!","Oink Oink!") + return message /obj/item/clothing/mask/horsehead name = "horse head mask"