about summary refs log tree commit diff stats
path: root/Lingo 2.asl
diff options
context:
space:
mode:
Diffstat (limited to 'Lingo 2.asl')
-rw-r--r--Lingo 2.asl40
1 files changed, 40 insertions, 0 deletions
diff --git a/Lingo 2.asl b/Lingo 2.asl index 6616ac8..2b8be1a 100644 --- a/Lingo 2.asl +++ b/Lingo 2.asl
@@ -175,6 +175,11 @@ split
175 } 175 }
176 } 176 }
177 177
178 if (vars.currentMap.Current == "credits")
179 {
180 should_split = false;
181 }
182
178 if (should_split) 183 if (should_split)
179 { 184 {
180 vars.log("Split on map change: " + vars.currentMap.Current); 185 vars.log("Split on map change: " + vars.currentMap.Current);
@@ -192,6 +197,41 @@ split
192 197
193 vars.collectedKeys.Add(vars.latestKeyKey); 198 vars.collectedKeys.Add(vars.latestKeyKey);
194 } 199 }
200 else if (vars.latestCollectible.Current != vars.latestCollectible.Old)
201 {
202 if (vars.latestCollectible.Current.EndsWith("Painting"))
203 {
204 if (settings["paintings"])
205 {
206 should_split = true;
207 vars.log("Split on unlocked painting: " + vars.latestCollectible.Current);
208 }
209 }
210 else if (vars.latestCollectible.Current.StartsWith("grave_"))
211 {
212 if (settings["graves"])
213 {
214 should_split = true;
215 vars.log("Split on completed gravestone: " + vars.latestCollectible.Current);
216 }
217 }
218 else if (vars.latestCollectible.Current.EndsWith("_mastery"))
219 {
220 if (settings["masteries"])
221 {
222 should_split = true;
223 vars.log("Split on collected mastery: " + vars.latestCollectible.Current);
224 }
225 }
226 else if (vars.latestCollectible.Current.EndsWith("_ending"))
227 {
228 if (settings["ends"])
229 {
230 should_split = true;
231 vars.log("Split on ending: " + vars.latestCollectible.Current);
232 }
233 }
234 }
195 235
196 return should_split; 236 return should_split;
197} 237}