diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-01-27 19:47:45 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-01-27 19:47:45 -0500 |
commit | 3c4ba9806f4f29b5596a1ce689cb6cd55ea9f6a0 (patch) | |
tree | 1c6b9f54d273279ced13b68fee8c803320a22bd6 /Lingo.asl | |
parent | 848e8f3af6e83dfd5dcbaa4c2c2f9f3626976975 (diff) | |
download | autosplitters-3c4ba9806f4f29b5596a1ce689cb6cd55ea9f6a0.tar.gz autosplitters-3c4ba9806f4f29b5596a1ce689cb6cd55ea9f6a0.tar.bz2 autosplitters-3c4ba9806f4f29b5596a1ce689cb6cd55ea9f6a0.zip |
[Lingo] Added options for splitting on achieves/tower oranges
Diffstat (limited to 'Lingo.asl')
-rw-r--r-- | Lingo.asl | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/Lingo.asl b/Lingo.asl index 2916ad9..e918857 100644 --- a/Lingo.asl +++ b/Lingo.asl | |||
@@ -1,6 +1,6 @@ | |||
1 | // Autosplitter script for Lingo, by hatkirby. | 1 | // Autosplitter script for Lingo, by hatkirby. |
2 | // | 2 | // |
3 | // Requires a version released January 10th, 2023 or later. | 3 | // Requires a version released January 27th, 2023 or later. |
4 | // | 4 | // |
5 | // Massive thanks to the game developer, Brenton, for working with me to | 5 | // Massive thanks to the game developer, Brenton, for working with me to |
6 | // make this possible. | 6 | // make this possible. |
@@ -18,11 +18,48 @@ startup | |||
18 | settings.Add("unchallenged", false, "Split on The Unchallenged"); | 18 | settings.Add("unchallenged", false, "Split on The Unchallenged"); |
19 | settings.Add("master", false, "Split on The Master"); | 19 | settings.Add("master", false, "Split on The Master"); |
20 | settings.Add("pilgrimage", false, "Split on Pilgrimage"); | 20 | settings.Add("pilgrimage", false, "Split on Pilgrimage"); |
21 | settings.Add("levelOneThePanels",false,"Split on LL1 achievement panels (besides End and Master)"); | ||
22 | settings.Add("levelOneOranges",false,"Split on orange panels that open up the LL1 tower"); | ||
21 | settings.Add("showLastPanel",false, "Override first text component with the name of the most recently solved panel"); | 23 | settings.Add("showLastPanel",false, "Override first text component with the name of the most recently solved panel"); |
22 | 24 | ||
23 | vars.prevPanel = ""; | 25 | vars.prevPanel = ""; |
24 | 26 | ||
25 | vars.log("Autosplitter loaded"); | 27 | vars.log("Autosplitter loaded"); |
28 | |||
29 | vars.levelOneThePanels = new List<String>{ | ||
30 | "Panel_seeker_seeker", | ||
31 | "Panel_traveled_traveled", | ||
32 | "Panel_illuminated_initiated", | ||
33 | "Panel_intelligent_wise", | ||
34 | "Panel_tenacious_tenacious", | ||
35 | "Panel_disagreeable_agreeable", | ||
36 | "Panel_colorful_colorful", | ||
37 | "Panel_observant_observant", | ||
38 | "Panel_perceptive_perceptive", | ||
39 | "Panel_deterred_undeterred", | ||
40 | "Panel_emboldened_bold", | ||
41 | "Panel_steady_steady", | ||
42 | "Panel_bearer_bearer", | ||
43 | "Panel_optimistic_optimistic", | ||
44 | "Panel_discerning_scramble", | ||
45 | "Panel_wondrous_wondrous", | ||
46 | "Panel_fearless_fearless", | ||
47 | "Panel_challenged_unchallenged", | ||
48 | "Panel_grandfathered_red", | ||
49 | "Panel_ecstatic_ecstatic", | ||
50 | "Panel_artistic_artistic", | ||
51 | "Panel_scientific_scientific", | ||
52 | "Panel_incomparable_incomparable" | ||
53 | }; | ||
54 | |||
55 | vars.levelOneOranges = new List<String>{ | ||
56 | "Panel_dads_ale_dead_1", | ||
57 | "Panel_art_art_eat_2", | ||
58 | "Panel_deer_wren_rats_3", | ||
59 | "Panel_learns_unsew_unrest_4", | ||
60 | "Panel_drawl_runs_enter_5", | ||
61 | "Panel_reads_rust_lawns_6" | ||
62 | }; | ||
26 | } | 63 | } |
27 | 64 | ||
28 | init | 65 | init |
@@ -106,6 +143,12 @@ split | |||
106 | } else if (settings["pilgrimage"] && vars.panel.Current == "Panel_pilgrim") { | 143 | } else if (settings["pilgrimage"] && vars.panel.Current == "Panel_pilgrim") { |
107 | action = "SPLIT"; | 144 | action = "SPLIT"; |
108 | vars.log("Split on Pilgrimage"); | 145 | vars.log("Split on Pilgrimage"); |
146 | } else if (settings["levelOneThePanels"] && vars.levelOneThePanels.Contains(vars.panel.Current)) { | ||
147 | action = "SPLIT"; | ||
148 | vars.log("Split on LL1 THE panel"); | ||
149 | } else if (settings["levelOneOranges"] && vars.levelOneOranges.Contains(vars.panel.Current)) { | ||
150 | action = "SPLIT"; | ||
151 | vars.log("Split on LL1 tower orange"); | ||
109 | } | 152 | } |
110 | 153 | ||
111 | vars.prevPanel = vars.panel.Current; | 154 | vars.prevPanel = vars.panel.Current; |