diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-08-20 07:17:27 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-08-20 07:17:27 -0400 |
commit | 7d318768d3fa0db6b80914d41e3d5fdf5f62ae38 (patch) | |
tree | e2e88aeb2e8bcb4b32911f1e24e0ff381449fd94 /TheLooker.asl | |
parent | 060b8b27ed16943339ab241413d5f4f1073dee0e (diff) | |
download | autosplitters-7d318768d3fa0db6b80914d41e3d5fdf5f62ae38.tar.gz autosplitters-7d318768d3fa0db6b80914d41e3d5fdf5f62ae38.tar.bz2 autosplitters-7d318768d3fa0db6b80914d41e3d5fdf5f62ae38.zip |
[The Looker] You can now customise which achievements it splits on
Diffstat (limited to 'TheLooker.asl')
-rw-r--r-- | TheLooker.asl | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/TheLooker.asl b/TheLooker.asl index aad9d7f..7fc61e3 100644 --- a/TheLooker.asl +++ b/TheLooker.asl | |||
@@ -35,7 +35,16 @@ startup { | |||
35 | vars.unlockAchievement.offset = 0x96D700; | 35 | vars.unlockAchievement.offset = 0x96D700; |
36 | 36 | ||
37 | // If this isn't checked, then it will only split on The Obelisk. | 37 | // If this isn't checked, then it will only split on The Obelisk. |
38 | settings.Add("allachs", false, "Split on every achievement"); | 38 | settings.Add("ACH_AMMO", false, "Split on Reloaded"); |
39 | settings.Add("ACH_HORROR_BOO", false, "Split on BOO!!!"); | ||
40 | settings.Add("ACH_SHOOTING_GALLERY", false, "Split on On Rails"); | ||
41 | settings.Add("ACH_TELESCOPE", false, "Split on Dahh!"); | ||
42 | settings.Add("ACH_RECORDERS", false, "Split on Investigator"); | ||
43 | settings.Add("ACH_SNAKE", false, "Split on SNeK"); | ||
44 | settings.Add("ACH_LABYRINTH_BOOK", false, "Split on Student"); | ||
45 | settings.Add("ACH_LAST_PUZZLE", true, "Split on The Obelisk"); | ||
46 | settings.Add("ACH_DRAW_ON_WIRE", false, "Split on Outside the Box"); | ||
47 | settings.Add("ACH_CINEMATIC", false, "Split on Success"); | ||
39 | } | 48 | } |
40 | 49 | ||
41 | init { | 50 | init { |
@@ -163,7 +172,7 @@ split { | |||
163 | game.ReadString((IntPtr)(vars.lastAchievement.Current + 0x14), ReadStringType.UTF16, 40, out result); | 172 | game.ReadString((IntPtr)(vars.lastAchievement.Current + 0x14), ReadStringType.UTF16, 40, out result); |
164 | vars.Log(result); | 173 | vars.Log(result); |
165 | 174 | ||
166 | return (settings["allachs"] || result == "ACH_LAST_PUZZLE"); | 175 | return settings[result]; |
167 | } | 176 | } |
168 | } | 177 | } |
169 | 178 | ||