Thanks for that, and sorry for my poorly crafted question! I wrote it before going to bed so my brain wasn't working properly enough to explain my real issue. I think I should be able to do what I want, mainly through the business.ren file, assuming it's one that is referenced daily, and not one that is only called on game creation. My main issue is working out the programming syntax for accessing and referencing the sluttiness floor of a specific character. I'm thinking of something along the lines of:
get sluttiness_floor.police_chief
if person == police_chief:
if person.sluttiness_floor < 20
return police_chief_uniform_wardrobe
if person.sluttiness_floor >= 20 && person.sluttiness_floor < 40
return police_chief_slutty_uniform_wardrobe
or something along those lines. I'm not in a place to reference the code itself at the moment, so I know I didn't phrase it at all correctly. But again, I think if I can work out the correct syntax for "get sluttiness_floor.police_chief" & "if person.sluttiness_floor" then I might be able to get it to work. I'm just not sure what the correct syntax would actually be. Or if business.ren is the correct spot to modify it.
Minimum/Maximum sluttiness scores are tied specifically to clothing and generated for an entire outfit whether it be over wear, underwear, or full sets. These scores take into account a person's sluttiness score, but those min/max values aren't generated for an individual character.
Min/max sluttiness scores are generated in 3 locations: "random_generation_functions_ren.py", "wardrobe_builder_ren.py", and "Wardrobe_ren.py". This is where the game determines valid outfits for a given character based on their specific sluttiness score. The only exclusion is outfit overrides which I still have yet to find where the code that handles that is located.
I'm not sure if this will work, but you can't add/modify the following code to "christine_definition_ren.py":
Code:
slutty_cop_outfit = police_chief_wardrobe.get_outfit_with_name("<name of outfit>")
if person.sluttiness > 20:
police_chief_uniform_wardrobe.add_outfit(slutty_cop_outfit)
police_chief_uniform_wardrobe.remove_outfit(cop_outfit)
else:
police_chief_uniform_wardrobe.add_outfit(cop_outfit)
police_chief_uniform_wardrobe.remove_outfit(slutty_cop_outfit)
You should also copy the xml code correlating to the desired uniform into the "Cop_Wardrobe.xml" so that the proper conversion is done from xml to python. Otherwise you may end up triggering several errors and breaking save games.
Will this work on an existing save? I'm not sure. Will it work on new saves? Most likely, but then again there could be code that governs outfit overrides somewhere else that I just didn't see.
Vren built a custom codebase to execute his vision of a customizable, procedurally generated (in terms of people) world that is honestly revolutionary in VN space. Add to that the various additions and improvements from Tristim/Starbuck and what you're left with is more akin to a game engine than an actual VN.