Darktide-Mod-Framework/vmf/scripts/mods
FireSiku 4cbdba8951 Code refactor based on UnShame's advice
local functions will now use `mod` instead of `self` to be more clear about intent.

_registry now holds hook_data and nothing else, as a registry should. This will make it easier to implement the hook debugging utilities planned later on.

_registry.hooks and _registry.origs have been renamed to _hooks and _origs.

mod:enable_all_hooks and mod:disable_all_hooks are now both calling the internal toggle_all_hooks_for_mod function to be consistent with the rest of the API.
2018-06-27 16:11:51 -04:00
..
vmf Code refactor based on UnShame's advice 2018-06-27 16:11:51 -04:00