a
This commit is contained in:
parent
12ffbdc45d
commit
13ddce15ae
15 changed files with 8967 additions and 61 deletions
|
@ -1,4 +1,5 @@
|
|||
noteblock = peripheral.wrap("right")
|
||||
sfx = require("sfx")
|
||||
speaker = peripheral.wrap("left")
|
||||
instruments = {
|
||||
"harp",
|
||||
|
@ -42,6 +43,13 @@ while true do
|
|||
--os.reboot()
|
||||
end
|
||||
end
|
||||
parallel.waitForAll(sound,sound,sound,sound,sound)
|
||||
while true do
|
||||
sound()
|
||||
if math.random(100) > 97 then
|
||||
sfx.success()
|
||||
sleep(random(1,4))
|
||||
end
|
||||
end
|
||||
--parallel.waitForAll(sound,sound,sound,sound,sound)
|
||||
peripheral.call("top","turnOn")
|
||||
-- os.reboot()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue