diff options
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 | ||