mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-21 20:27:42 +01:00
Portable music player, remote jukebox speaker
This commit is contained in:
@@ -325,10 +325,13 @@ var/list/runechat_image_cache = list()
|
||||
if(5)
|
||||
return rgb(c,m,x)
|
||||
|
||||
/atom/proc/runechat_message(message, range = world.view, italics, list/classes = list(), audible = TRUE)
|
||||
var/list/hear = get_mobs_and_objs_in_view_fast(get_turf(src), range, remote_ghosts = FALSE)
|
||||
|
||||
var/list/hearing_mobs = hear["mobs"]
|
||||
/atom/proc/runechat_message(message, range = world.view, italics, list/classes = list(), audible = TRUE, list/specific_viewers)
|
||||
var/hearing_mobs
|
||||
if(islist(specific_viewers))
|
||||
hearing_mobs = specific_viewers.Copy()
|
||||
else
|
||||
var/list/hear = get_mobs_and_objs_in_view_fast(get_turf(src), range, remote_ghosts = FALSE)
|
||||
hearing_mobs = hear["mobs"]
|
||||
|
||||
for(var/mob in hearing_mobs)
|
||||
var/mob/M = mob
|
||||
|
||||
@@ -110,4 +110,21 @@
|
||||
access = list(access_explorer,
|
||||
access_eva,
|
||||
access_pilot)
|
||||
one_access = TRUE
|
||||
one_access = TRUE
|
||||
|
||||
/datum/supply_pack/misc/music_players
|
||||
name = "music players (3)"
|
||||
contains = list(
|
||||
/obj/item/device/walkpod = 3
|
||||
)
|
||||
cost = 150
|
||||
containername = "portable music players crate"
|
||||
|
||||
/datum/supply_pack/misc/juke_remotes
|
||||
name = "jukebox remote speakers (2)"
|
||||
contains = list(
|
||||
/obj/item/device/juke_remote = 2
|
||||
)
|
||||
cost = 300
|
||||
containername = "cordless jukebox speakers crate"
|
||||
|
||||
Reference in New Issue
Block a user