[Add] Added a few more ambient tracks.
This commit is contained in:
parent
6e5a6f85ee
commit
b5e34f6ef3
@ -40,7 +40,15 @@ function choose(str)
|
|||||||
music.play()
|
music.play()
|
||||||
|
|
||||||
elseif str == "ambient" then
|
elseif str == "ambient" then
|
||||||
ambient = { "peace1", "mission", "peace2", "peace4", "peace6" }
|
sys = space.getSystem()
|
||||||
|
factions = sys:faction()
|
||||||
|
|
||||||
|
if factions["Collective"] then
|
||||||
|
ambient = { "collective1" }
|
||||||
|
else
|
||||||
|
ambient = { "ambient1", "ambient2", "mission",
|
||||||
|
"peace1", "peace2", "peace4", "peace6" }
|
||||||
|
end
|
||||||
music.load(ambient[rnd.int(1, #ambient)])
|
music.load(ambient[rnd.int(1, #ambient)])
|
||||||
music.play()
|
music.play()
|
||||||
|
|
||||||
|
BIN
snd/music/ambient1.ogg
Normal file
BIN
snd/music/ambient1.ogg
Normal file
Binary file not shown.
BIN
snd/music/ambient2.ogg
Normal file
BIN
snd/music/ambient2.ogg
Normal file
Binary file not shown.
BIN
snd/music/collective1.ogg
Normal file
BIN
snd/music/collective1.ogg
Normal file
Binary file not shown.
BIN
snd/music/landing_sinister.ogg
Normal file
BIN
snd/music/landing_sinister.ogg
Normal file
Binary file not shown.
BIN
snd/music/tension.ogg
Normal file
BIN
snd/music/tension.ogg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user