The Fixes Preventer
This mod allows you to configure The Fixes mod and prevent certain fixes from ever loading up.
It works with The Fixes version 7 and higher, and should be used to solve any compatibility issues.
The mod adds an options menu which allows you to choose which fixes you want to disable.
For modders
Spoiler!
The preventive functionality in The Fixes can be used by other mods, even without The Fixes Preventer.If one of the fixes conflicts with your mod then you can disable it by adding this to your mod:
TheFixesPreventer = TheFixesPreventer or {}
TheFixesPreventer.achi_prison_rules = true
That will disable the fix named 'achi_prison_rules', which adds the mission requirement for the 'Prison Rules, Bitch' achievement. The fix is in the file named 'achievementstweakdata.lua'.
Note, that the code above must be loaded before The Fixes loads up its 'achievementstweakdata.lua', it won't work otherwise. You can achieve that in multiple ways:
1. Hook the piece of code to achievementstweakdata. If your mod has a file that's already hooked to it then this is the easiest and obvious one. This will only work if your mod's priority is higher than -10, which is the priority of The Fixes. The default priority is 0, so if you haven't changed it then it should be all good.
2. Hook the code to anything that loads up before achievementstweakdata. If you already have a file that loads up before achievementstweakdata then simply add the code into it.
3. If you don't want to bother at all then simply hook the code to "core/lib/system/coresystem". That file is always the first one to be loaded.
Make sure to inform the users of your mod that if they use The Fixes then certain things will be disabled.
Downloads9,394
Views50,970
Publish Date5 years ago
Last Updated3 months ago by
Version22.1 (TF30.16)
Members
DomOwner
Comments