mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Ports musical instruments from /tg/
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
var/list/atoms_cache = output_atoms
|
||||
var/sound/S = sound(soundfile)
|
||||
if(direct)
|
||||
S.channel = open_sound_channel()
|
||||
S.channel = SSsounds.random_available_channel()
|
||||
S.volume = volume
|
||||
for(var/i in 1 to atoms_cache.len)
|
||||
var/atom/thing = atoms_cache[i]
|
||||
|
||||
39
code/datums/supplypacks/musical.dm
Normal file
39
code/datums/supplypacks/musical.dm
Normal file
@@ -0,0 +1,39 @@
|
||||
/datum/supply_pack/musical/strings
|
||||
contains = list(
|
||||
/obj/item/instrument/violin,
|
||||
/obj/item/instrument/banjo,
|
||||
/obj/item/instrument/guitar,
|
||||
/obj/item/instrument/eguitar,
|
||||
)
|
||||
name = "string instruments"
|
||||
cost = 50
|
||||
containertype = /obj/structure/closet/crate
|
||||
containername = "string instrument crate"
|
||||
|
||||
/datum/supply_pack/musical/wind
|
||||
contains = list(
|
||||
/obj/item/instrument/accordion,
|
||||
/obj/item/instrument/trumpet,
|
||||
/obj/item/instrument/saxophone,
|
||||
/obj/item/instrument/trombone,
|
||||
/obj/item/instrument/recorder,
|
||||
/obj/item/instrument/harmonica,
|
||||
/obj/item/instrument/bikehorn,
|
||||
)
|
||||
name = "wind instruments"
|
||||
cost = 50
|
||||
containertype = /obj/structure/closet/crate
|
||||
containername = "wind instrument crate"
|
||||
|
||||
/datum/supply_pack/musical/keys
|
||||
contains = list(
|
||||
/obj/item/instrument/piano_synth,
|
||||
/obj/item/instrument/glockenspiel, // cough
|
||||
/obj/item/instrument/musicalmoth
|
||||
)
|
||||
name = "keyed instruments"
|
||||
cost = 50
|
||||
containertype = /obj/structure/closet/crate
|
||||
containername = "keyed instruments crate"
|
||||
|
||||
// /obj/item/instrument/piano_synth/headphones
|
||||
Reference in New Issue
Block a user