The XML Injector for The Sims 4 is a mod library to allow mods that would normally require a script for simple changes to instead use a custom snippet. The library provides the scripting, and the modder can release their mod without having to concern themselves with writing, compiling and maintaining a script. Currently the XML Injector snippet handles adding interactions to game objects in a variety
of ways with a simple XML definition.
Xml Injector v4: categories duplicates check
Added duplicates checking when injecting to picker_dialog categories, to account for some strange edge cases where adding to one category adds to another (ex: adding to gifts categories for computer adds to gifts categories for phone). This does not directly address that behavior, which is not something I was able to find the cause for, but instead checks for duplicates to ensure you won’t get duplicates if, for example, you inject to both phone and computer for gifts.
Version number is still 4, but you’ll want the version with “categories duplicates check” in the name for most up-to-date behavior for that injection.