mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
genital context
This commit is contained in:
parent
feb7e8a557
commit
ee776cff38
2 changed files with 47 additions and 7 deletions
Binary file not shown.
|
@ -19,9 +19,11 @@ namespace Rimworld_Animations {
|
||||||
//aggressors last
|
//aggressors last
|
||||||
participants = participants.OrderBy(p => p.jobs.curDriver is rjw.JobDriver_SexBaseInitiator).ToList();
|
participants = participants.OrderBy(p => p.jobs.curDriver is rjw.JobDriver_SexBaseInitiator).ToList();
|
||||||
|
|
||||||
//pawns that can fuck first
|
//pawns that can fuck last
|
||||||
participants = participants.OrderBy(p => rjw.xxx.can_fuck(p)).ToList();
|
participants = participants.OrderBy(p => rjw.xxx.can_fuck(p)).ToList();
|
||||||
|
|
||||||
|
participants = participants.OrderByDescending(p => rjw.GenderHelper.GetSex(p) == rjw.GenderHelper.Sex.futa).ToList();
|
||||||
|
|
||||||
|
|
||||||
List<Pawn> localParticipants = new List<Pawn>(participants);
|
List<Pawn> localParticipants = new List<Pawn>(participants);
|
||||||
|
|
||||||
|
@ -72,8 +74,9 @@ namespace Rimworld_Animations {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//genitals checking
|
||||||
if(x.actors[i].requiredGenitals != null && x.actors[i].requiredGenitals.Contains("Vagina")) {
|
if(x.actors[i].requiredGenitals != null) {
|
||||||
|
if (x.actors[i].requiredGenitals.Contains("Vagina")) {
|
||||||
|
|
||||||
if (!rjw.Genital_Helper.has_vagina(localParticipants[i])) {
|
if (!rjw.Genital_Helper.has_vagina(localParticipants[i])) {
|
||||||
Log.Message(x.defName.ToStringSafe() + " not selected -- " + localParticipants[i].def.defName.ToStringSafe() + " " + localParticipants[i].Name.ToStringSafe() + " doesn't have vagina");
|
Log.Message(x.defName.ToStringSafe() + " not selected -- " + localParticipants[i].def.defName.ToStringSafe() + " " + localParticipants[i].Name.ToStringSafe() + " doesn't have vagina");
|
||||||
|
@ -82,6 +85,43 @@ namespace Rimworld_Animations {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (x.actors[i].requiredGenitals.Contains("Penis")) {
|
||||||
|
|
||||||
|
if (!(rjw.Genital_Helper.has_multipenis(localParticipants[i]) || rjw.Genital_Helper.has_penis_infertile(localParticipants[i]) || rjw.Genital_Helper.has_penis_fertile(localParticipants[i]))) {
|
||||||
|
Log.Message(x.defName.ToStringSafe() + " not selected -- " + localParticipants[i].def.defName.ToStringSafe() + " " + localParticipants[i].Name.ToStringSafe() + " doesn't have penis");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if (x.actors[i].requiredGenitals.Contains("Mouth")) {
|
||||||
|
|
||||||
|
if (!rjw.Genital_Helper.has_mouth(localParticipants[i])) {
|
||||||
|
Log.Message(x.defName.ToStringSafe() + " not selected -- " + localParticipants[i].def.defName.ToStringSafe() + " " + localParticipants[i].Name.ToStringSafe() + " doesn't have mouth");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if (x.actors[i].requiredGenitals.Contains("Anus")) {
|
||||||
|
|
||||||
|
if (!rjw.Genital_Helper.has_anus(localParticipants[i])) {
|
||||||
|
Log.Message(x.defName.ToStringSafe() + " not selected -- " + localParticipants[i].def.defName.ToStringSafe() + " " + localParticipants[i].Name.ToStringSafe() + " doesn't have anus");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if(x.actors[i].requiredGenitals.Contains("Breasts")) {
|
||||||
|
if (!rjw.Genital_Helper.can_do_breastjob(localParticipants[i])) {
|
||||||
|
Log.Message(x.defName.ToStringSafe() + " not selected -- " + localParticipants[i].def.defName.ToStringSafe() + " " + localParticipants[i].Name.ToStringSafe() + " doesn't have breasts");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//TESTING ANIMATIONS ONLY REMEMBER TO COMMENT OUT BEFORE PUSH
|
//TESTING ANIMATIONS ONLY REMEMBER TO COMMENT OUT BEFORE PUSH
|
||||||
/*
|
/*
|
||||||
if (x.defName != "Missionary")
|
if (x.defName != "Missionary")
|
||||||
|
|
Loading…
Reference in a new issue