From 2fb84ef88e865028be56ac44da63718440e94604 Mon Sep 17 00:00:00 2001 From: Tractor Mann <69653259+Noot-Toot@users.noreply.github.com> Date: Sun, 24 Sep 2023 13:33:30 -0700 Subject: [PATCH] add jukebox beacons adds jukebox beacons because ook requested them in a bounty thread. --- .../structures/crates_lockers/closets/secure/bar.dm | 1 + monkestation/code/game/objects/items/choice_beacon.dm | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/code/game/objects/structures/crates_lockers/closets/secure/bar.dm b/code/game/objects/structures/crates_lockers/closets/secure/bar.dm index 9276089283ca..8aa23966eb08 100644 --- a/code/game/objects/structures/crates_lockers/closets/secure/bar.dm +++ b/code/game/objects/structures/crates_lockers/closets/secure/bar.dm @@ -18,3 +18,4 @@ new /obj/item/roulette_wheel_beacon(src) new /obj/item/storage/fancy/candle_box(src) new /obj/item/storage/fancy/candle_box(src) + new /obj/item/choice_beacon/jukebox(src) //this line is a monkestation edit! diff --git a/monkestation/code/game/objects/items/choice_beacon.dm b/monkestation/code/game/objects/items/choice_beacon.dm index bc97dab0ce48..11f6d4d38ac0 100644 --- a/monkestation/code/game/objects/items/choice_beacon.dm +++ b/monkestation/code/game/objects/items/choice_beacon.dm @@ -71,3 +71,13 @@ return to_chat(user, span_notice("[uses] use[uses > 1 ? "s" : ""] remain[uses > 1 ? "" : "s"] on [src].")) + +/obj/item/choice_beacon/jukebox //this is probably a terrible way to do this, but its the first that worked. + name = "jukebox beacon" + desc = "Deploys a jukebox! Also comes wrenched down to the floor for you on delivery! How convenient!" +/obj/item/choice_beacon/jukebox/interact(mob/user) + to_chat(user, span_hear("You hear a crackle before a message plays through [src]: \"Thank you for picking Dave's Instant Jukebox Shipping! This beacon will now self destruct.\"")) + new /obj/machinery/media/jukebox(get_turf(user)) + playsound(src, 'sound/weapons/emitter2.ogg', 50, extrarange = SILENCED_SOUND_EXTRARANGE) + do_sparks(3, source = src) + qdel(src)