I'll definitely include easy to use functions to make this whole process a lot easier, cause I recognize this code looks really messy, but tldr, if you're a Sims 2 modder with TS2Hook you can inject new interactions also with custom check trees, without replacing any resources. Can even check if the user has testingcheats and is shift clicking to add new debug interactions.
I know that a lot of people like to use Monique's hacked computer, with this we could for example now add all of those interactions into all of the game's computers retroactively without replacing any resources, even custom ones, with no extra effort or setup.
Checking if TS2Hook is installed is also very easy:

This is a global variable that goes unused in the vanilla game, so it will always be 0. TS2Hook forces it to 1, so you can simply do something different if TS2Hook is not installed rather than having to make 2 versions of the same mod, for example.


Lazy Duchess
2023-08-22 16:57:30 +0000 UTCSim State Dude
2023-08-21 18:05:54 +0000 UTCJoe Bay
2023-07-30 05:18:41 +0000 UTCAnime_Boom
2023-07-23 04:19:35 +0000 UTC