mini spawner + arcade rotation

This commit is contained in:
David Winters
2021-04-28 11:58:37 -04:00
parent acc0243d4f
commit 47b19df21b
3 changed files with 59 additions and 1 deletions
+36
View File
@@ -0,0 +1,36 @@
/obj/machinery/computer/arcade
list/prizes = list( /obj/item/weapon/storage/box/snappops = 2,
/obj/item/toy/blink = 2,
/obj/item/clothing/under/syndicate/tacticool = 2,
/obj/item/toy/sword = 2,
/obj/item/weapon/gun/projectile/revolver/capgun = 2,
/obj/item/toy/crossbow = 2,
/obj/item/clothing/suit/syndicatefake = 2,
/obj/item/weapon/storage/fancy/crayons = 2,
/obj/item/toy/spinningtoy = 2,
/obj/random/mech_toy = 1,
/obj/item/weapon/reagent_containers/spray/waterflower = 1,
/obj/random/action_figure = 1,
/obj/random/plushie = 1,
/obj/item/toy/cultsword = 1,
/obj/item/toy/bouquet/fake = 1,
/obj/item/clothing/accessory/badge/sheriff = 2,
/obj/item/clothing/head/cowboy_hat/small = 2,
/obj/item/toy/stickhorse = 2,
/obj/item/toy/rock = 2,
/obj/item/toy/cat_toy = 2,
/obj/item/toy/cat_toy/rod = 2,
/obj/item/toy/flash = 2,
/obj/item/toy/redbutton = 2,
/obj/item/toy/gnome = 2,
/obj/item/toy/AI = 2,
/obj/item/clothing/gloves/ring/buzzer/toy = 2,
/obj/item/weapon/storage/box/handcuffs/fake = 2,
/obj/item/toy/nuke = 2,
/obj/item/toy/minigibber = 2,
/obj/item/toy/toy_xeno = 2,
/obj/item/toy/russian_revolver = 1,
/obj/item/toy/russian_revolver/trick_revolver = 1,
/obj/item/toy/chainsaw = 1,
/obj/random/miniature = 1
)
+22 -1
View File
@@ -129,6 +129,7 @@
* Toy xeno
* Fake gun * 2
* Toy chainsaw
* Random tabletop miniature spawner
*/
/obj/item/toy/plushie/ipc
@@ -141,6 +142,9 @@
/obj/item/weapon/reagent_containers/food/snacks/slice/bread
var/toasted = FALSE
/obj/item/weapon/reagent_containers/food/snacks/tastybread
var/toasted = FALSE
/obj/item/weapon/reagent_containers/food/snacks/slice/bread/afterattack(atom/A, mob/user as mob, proximity)
if(istype(A, /obj/item/toy/plushie/ipc) && !toasted)
toasted = TRUE
@@ -149,6 +153,14 @@
to_chat(user, "<span class='notice'> You insert bread into the toaster. </span>")
playsound(loc, 'sound/machines/ding.ogg', 50, 1)
/obj/item/weapon/reagent_containers/food/snacks/tastybread/afterattack(atom/A, mob/user as mob, proximity)
if(istype(A, /obj/item/toy/plushie/ipc) && !toasted)
toasted = TRUE
icon = 'icons/obj/toy_vr.dmi'
icon_state = "toast"
to_chat(user, "<span class='notice'> You insert bread into the toaster. </span>")
playsound(loc, 'sound/machines/ding.ogg', 50, 1)
/obj/item/toy/plushie/ipc/attackby(obj/item/I as obj, mob/living/user as mob)
if(istype(I, /obj/item/weapon/material/kitchen/utensil))
to_chat(user, "<span class='notice'> You insert the [I] into the toaster. </span>")
@@ -655,4 +667,13 @@
return ..()
/obj/item/toy/chainsaw/proc/cooldownreset()
cooldown = 0
cooldown = 0
/obj/random/miniature
name = "Random miniature"
desc = "This is a random miniature."
icon = 'icons/obj/toy.dmi'
icon_state = "aliencharacter"
/obj/random/mech_toy/item_to_spawn()
return pick(typesof(/obj/item/toy/character))
+1
View File
@@ -877,6 +877,7 @@
#include "code\game\machinery\computer\ai_core.dm"
#include "code\game\machinery\computer\aifixer.dm"
#include "code\game\machinery\computer\arcade.dm"
#include "code\game\machinery\computer\arcade_vr.dm"
#include "code\game\machinery\computer\atmos_alert.dm"
#include "code\game\machinery\computer\atmos_control.dm"
#include "code\game\machinery\computer\camera.dm"