Mirror of 1.4.23 from Lovers Lab

This commit is contained in:
ghostclinic3YTB 2023-04-03 21:48:56 -04:00
parent b501ddfb0f
commit e47a1fc4f0
730 changed files with 646 additions and 182 deletions

View file

@ -17,6 +17,7 @@ namespace SizedApparel
public string raceName = null;
public bool overrideDef = false;
public bool asHuman = false;
public bool allowRaceNamedApparel = true;
public float drawMinAge = -1; //pawn's Biological age. -1 to ignore.
public AlienRaceSetting(string raceName)
@ -33,6 +34,7 @@ namespace SizedApparel
Scribe_Values.Look(ref raceName, "raceName", null);
Scribe_Values.Look(ref overrideDef, "overrideDef", false);
Scribe_Values.Look(ref asHuman, "asHuman", false);
Scribe_Values.Look(ref allowRaceNamedApparel, "allowRaceNamedApparel", true);
Scribe_Values.Look(ref drawMinAge, "drawMinAge", -1);
}
@ -561,6 +563,7 @@ namespace SizedApparel
}
if(raceName != "Human")
Race_ListingStandard.CheckboxLabeled("If Unsupported, As Human race", ref raceSetting.asHuman, "This Race will use Human race if it doesn't have own textures. useful for race that Unsupported but simillar to human");
Race_ListingStandard.CheckboxLabeled("Allow Race Named Apparel", ref raceSetting.allowRaceNamedApparel, "This Race Can use separated texture from common race. even same BodyType name. \n Default: True");
Race_ListingStandard.Label((raceSetting.drawMinAge <= 100 ? "" : "[overdrive]") + "SA BodyPart Draw Min Age: " + raceSetting.drawMinAge.ToString(), -1, "Lower than this age will not use Sized Apparel. Useful for BnC. -1 for disable");
raceSetting.drawMinAge = Mathf.Round(Race_ListingStandard.Slider(raceSetting.drawMinAge, raceSetting.drawMinAge <= 100 ? -1: 100, raceSetting.drawMinAge >= 100 ? 1000 : 100));
Race_ListingStandard.Gap();