File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 33## v3.5 (Upcoming)
44
55### Legacy Compat v1.4
6- - Added more fixups for previously unreported issues in Reign of Giants.
6+ - Added more fixups for previously unreported issues in Loot Randomizer and Reign of Giants.
77
88### Willow2 Mod Menu v3.4
99- Fixed that some keybinds would not be displayed properly if there were two separate grouped/nested
Original file line number Diff line number Diff line change @@ -188,5 +188,30 @@ def find_spec( # noqa: D102
188188 ),
189189 )
190190
191+ # Loot randomizer needs a few fixes
192+ case (
193+ # Here's the downside of using a single folder name, these cases just look weird.
194+ ("Mod" , "Mods.LootRandomizer.Mod.missions" )
195+ # Newer versions split the files
196+ | ("Mod" , "Mods.LootRandomizer.Mod.bl2.locations" )
197+ ):
198+ return spec_with_replacements (
199+ fullname ,
200+ path ,
201+ target ,
202+ # It called these functions with a bad arg type in two places. This is
203+ # essentially undefined behaviour, so now gives an exception. Luckily, in this
204+ # case the functions actually validated their arg, so this just became a no-op.
205+ # Remove the two bad calls.
206+ (rb"get_missiontracker\(\)\.(Unr|R)egisterMissionDirector\(giver\)" , b"pass" ),
207+ # There's some code to hide Face McShooty's body on re-accepting the quest. I
208+ # think this broke due to the removal of CallPostEdit. Swapping it to use the
209+ # setter functions makes it work again.
210+ (
211+ rb"pawn.bHidden = True([\r\n]+ +)pawn.CollisionType = 1" ,
212+ rb"pawn.SetHidden(True)\1pawn.SetCollisionType(1)" ,
213+ ),
214+ )
215+
191216 case _, _:
192217 return None
You can’t perform that action at this time.
0 commit comments