cleanup + example start

This commit is contained in:
kepler155c@gmail.com
2019-11-17 18:21:48 -07:00
parent 64ec8c82d3
commit 922c391bf2
16 changed files with 95 additions and 49 deletions

View File

@@ -8,7 +8,7 @@ if not peripheral.find('speaker') then
error('No speaker attached')
end
local rawSounds = Util.readLines('packages/games/etc/sounds.txt') or error('Unable to read sounds file')
local rawSounds = Util.readLines('packages/common/etc/sounds.txt') or error('Unable to read sounds file')
local sounds = { }
for _, s in pairs(rawSounds) do
table.insert(sounds, { name = s })