Skip to content

Commit

Permalink
add jukebox beacons
Browse files Browse the repository at this point in the history
adds jukebox beacons because ook requested them in a bounty thread.
  • Loading branch information
Noot-Toot committed Sep 24, 2023
1 parent 0df75c4 commit 2fb84ef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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!
10 changes: 10 additions & 0 deletions monkestation/code/game/objects/items/choice_beacon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 2fb84ef

Please sign in to comment.