Create and Fuck your AI Cum Slut –70% OFF
x

Mod StripClubWars 2 - Mod

left1000

Active Member
Jr. Uploader
Sep 13, 2020
657
292
219
Is there an easy way to edit the king tut mod to go from a maximum of 20 alternate image sets when cheating to change an npc's images to say 40?


EDIT: I cannot find the 20. IT must exist inside the T?



Code:
function &cheat_char_choices(MC, T) {
  var $title, $c_ans, $is_emp, $not_story, $shared_job, $can_heal, $allow_pick_image, $is_eternal, $log;
  var $info, $info2, $info3, $info4, $degree, $major;
  var $is_romantic, $is_poly, $is_loyal;
  var $is_hourly, $curr_sal;
  obj %c, %mc_c, %cj, %rel;
  cont @EMP[];


set $c_ans = decision MC, T {



    choiceif "e", $allow_pick_image & $not_story, 1, "cheat.main.opt.e"



  elsif ($c_ans == "e") {
    &cheat_change_appearance(MC, T);


function &cheat_change_appearance(MC, T) {
  var $ans, $curr, $sel, $count, $opt_cnt, $i, $j, $pose_id;
  cont $pose_split[];
  char X;
  cont $img_names[];






  $img_names = &all_images_for_char(T, true);
  $count = &size($img_names);
  if($count == 0) {
    $ans = decision T {
      title "pick_img.t"
      body "cheat.appearance.phys.no_choices"
      choice "ok", 1, "toobad"
    }
    return;
  }


The above all the relevent code I can find, somehow somewhere $count is being capped out at 20? For almost all my character types I have like 3-8 choices but for all my white females I had 20 choices, and I have 505 valid image sets, likely most are basic white females because that's what was easiest for all the image pack makers to make..... so uh where is the 20 so I can edit it to 40?



EDIT: Nevermind I found


Code:
  $opt_cnt = $count;
  if($opt_cnt > 20) {
      $opt_cnt = 20;  # max 20 choices
  }

So I edited that 20 to 60, and I'll see if I crash I guess?
 
Last edited:

left1000

Active Member
Jr. Uploader
Sep 13, 2020
657
292
219
I assume the king tut npc imageset changer cheat respects not only
reqphys of gender/race/age
but it also probably respects the otpphys of bodytypes....
but does it also respect the hair and eye color of imgphys? That might explain why some npcs have so few choices for me despite me having 505 imagesets? Some npcs have rare eye/hair colors?

Or does the kingtut change appearence function ignore eye and hair color and 505 is just barely enough to cover reqphys+otpphys?
 

left1000

Active Member
Jr. Uploader
Sep 13, 2020
657
292
219
Is there anyway to make it so the add three attractive people to the game can add college educated people? There's way too many sources of non-college degree npcs and way too few for college degree holding npcs I feel....