Forum Discussion
MR_TURBODRIVER
7 years agoSeasoned Veteran
Try changing it to something like this instead to avoid problems with the function signature inconsistency.
If you're looking to override the arguments, try treating the "tooltip" argument not as a keyword argument. Or you can just change the values in the args variable.
@injector.inject_to(sims.household_utilities.utilities_manager.HouseholdUtilitiesManager, 'shut_off_utility')
def InterceptOffSwitch(original, self, *args, **kwargs):
original(self, *args, **kwargs)
utility = args
reason = args
If you're looking to override the arguments, try treating the "tooltip" argument not as a keyword argument. Or you can just change the values in the args variable.
About The Sims 4 Mods & Custom Content
Find tips, tutorials and troubleshooting for mods and custom content, and The Sims 4 patch files here.16,182 PostsLatest Activity: 12 minutes ago
Recent Discussions
- 35 minutes ago
- 36 minutes ago
- 39 minutes ago
- 43 minutes ago