|
Post by scipiogarling on May 10, 2023 12:51:23 GMT -5
I've created a new custom career (male "companion", that is, escorts/gigolos at various levels of classiness) that I want to confine to non-occult males.
Using Mod Constructor, I have made one and have no trouble confining it by age, but the built-in function for adding other conditions does nothing (like many of MC's broken features).
I have tried to add these limits as a whitelist (must be male, must be not-occult) and as a blacklist (must not be female, must not be <the various occults>); neither works. As a result, I have really neat career ... except that Lilith Vatore can sign up to be a gigolo, which is definitely not my goal.
It SEEMS like it should be simple... but obviously not simple ENOUGH for me. I would appreciate someone who can help or advise me how to make these restrictions work; I'm happy to provide the file.
|
|
|
Post by scipiogarling on Jun 16, 2023 6:32:52 GMT -5
Nothing? I guess it must be impossible or no one has ever tried it, then.
|
|
|
Post by mauvemorn on Jun 16, 2023 7:03:26 GMT -5
Hi. It most likely is possible, we just don't have regulars that are competent in coding to answer the question. Im not sure if this is from ts4, but i do remember aliens having a special career (being a test subject or something like this), so you could check that Edit: my bad, this was in ts3
It is best to seek help with coding related questions on discord, in the communities of notable modders specifically. That is where everybody knowledgeable on this subject hangs out generally
|
|
|
Post by scipiogarling on Aug 6, 2023 9:48:27 GMT -5
I figured it out by copying and altering code from elsewhere and the restrictions are now working. The code looks like this:
This code requires the Sim applicant to have the "No Occult" hidden trait and blocks them if they have either the "Female" or "Female Frame" hidden traits. For other trait-based blocking of eligibility, you would simply replace the trait codes used here with the codes for the trait you want to require/block.
|
|