> For the complete documentation index, see [llms.txt](https://wiki.redmodding.org/scripting-cyberpunk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.redmodding.org/scripting-cyberpunk/cyber-engine-tweaks/cet-functions/events/ontweak.md).

# onTweak

This event gets triggered even before [onInit](/scripting-cyberpunk/cyber-engine-tweaks/cet-functions/events/oninit.md), and can be useful for making changes to the TweakDB, as some values can only be changes very early during the loading process.
