This is mostly related to the Labeau mod, but no one answered on that thread
https://f95zone.to/threads/wife-trainer-files-client-mod-convict-labeau-0-1-stan-g.177037/
Basically I´m not sure how to get the drug dialogue option to show up.
Also, is there any way to make the cheats work with the mod added wifes?
Well, the renpy console works with any character.
If you are referring to KingTuT or my Cheatomatic mods, then no, not unless we add them. And if we did, then that mod would have to be required by everyone to use the mod, otherwise a lot of errors of potentially unknown entities would appear (try to move or change a character that does not exist because the player does not have the mod). An alternative would be to create a separate standalone cheat mod for the character, but I would only do that if I actually used the character myself.
For the KingTuT mod, maybe Tristim could just point to the character and has standard cheat stuff for the character, but you would not get anything like tags, since there is no way to just get a list of tags for a character. But I do not even think the KingTuT mods lets you change individual variables.
For my cheat mod, for instance, I scan through the characters actual code and note down each tag and each state, I also do the same for variables. The character file actually have a fairly easy way to get the name of all the variables, but for my mod, I have had to go through all the code and find out if each variable is week related, if it has a limit and if it does what the upper and lower limits are. If if it a variable that has a set number of options, I go through the code to get what these options are. It is a very slow and laborious process. And no, it can not be automated, well the coding I put into my mod is templated (as in semi-automated), once I have the tags and variables in lists and note the type of variable and the possible values. But I still have to manually gather all those. And it is not as simple as simply adding the new variables / tags each update, because sometimes old variables / tags are removed, or they type / usage has changed (with a rewrite of the character's story).
IF you know the characters shorthand and the desired variable, it is as easy as typing character_shorthand.variable = value;
EG. becky_sue.language = 4
EG. lauren.want_spanking = True <-------- Yes there are boolean variables on some characters, though on newer content most boolean variables are handled through tags.
Adding tags can be done like this shorthand.add_tag('TAGNAME')
EG elsa.add_tag('done_handjob'),
Removing tag elsa.rem_tag('TAGNAME')
EG elsa.rem_tag('done_handjob')