Created
September 21, 2021 10:59
-
-
Save tyleretters/5517abd1c9518b0bc09772077183b0ec to your computer and use it in GitHub Desktop.
arcologies dev.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- place in /home/we/dust/code/arcologoes/lib/ | |
dev = {} | |
function dev:scene(i) | |
if i == 1 then | |
page:select(1) | |
-- menu:select_item(2) | |
-- params:set("clock_source", 2) | |
-- counters:toggle_playback() | |
elseif i == 2 then | |
keeper:select_cell(9, 3) | |
kc():open_port("n") | |
kc():open_port("e") | |
kc():open_port("s") | |
kc():open_port("w") | |
keeper:select_cell(9, 8) | |
kc():open_port("n") | |
kc():open_port("e") | |
kc():open_port("s") | |
kc():open_port("w") | |
kc():change("TOPIARY") | |
-- keeper:select_cell(8, 4) | |
-- kc():open_port("e") | |
-- keeper:select_cell(4, 4) | |
-- kc():change("AUTON") | |
-- kc():set_target("NOTE COUNT") | |
-- kc():open_port("s") | |
-- kc():set_output(2) | |
-- kc():open_port("w") | |
page:select(2) | |
menu:select_item(1) | |
counters:toggle_playback() | |
elseif i == 3 then | |
fn.seed_cells() | |
counters:toggle_playback() | |
keeper:select_cell(1, 1) | |
kc():open_port("e") | |
kc():open_port("w") | |
keeper:deselect_cell() | |
keeper:select_cell(4, 1) | |
kc():set_metabolism(1) | |
kc():change("SOLARIUM") | |
kc():open_port("e") | |
kc():open_port("w") | |
page:select(3) | |
elseif i == 4 then | |
params:set("seed_cell_count", 15) | |
fn.seed_cells() | |
page:select(1) | |
-- page:select(4) | |
-- counters:toggle_playback() | |
else | |
print('else block') | |
end | |
end | |
function tp(t) | |
tabutil.print(t) | |
end | |
function kc() | |
return keeper.selected_cell | |
end | |
return dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment