Compare commits
4 Commits
023d4f2ba5
...
31db780661
Author | SHA1 | Date |
---|---|---|
Usagirei | 31db780661 | |
c0ffeeeeeeee | b5947db5ac | |
Gargule | 328ea7ae4d | |
Reisen Usagi | 8888f76708 |
|
@ -504,14 +504,29 @@ namespace Rimworld_Animations {
|
||||||
|
|
||||||
public bool LoopNeverending()
|
public bool LoopNeverending()
|
||||||
{
|
{
|
||||||
if(pawn?.jobs?.curDriver != null &&
|
return IsNeverEndingSex(pawn) || IsNeverEndingSexPartner(pawn);
|
||||||
(pawn.jobs.curDriver is JobDriver_Sex) && (pawn.jobs.curDriver as JobDriver_Sex).neverendingsex ||
|
}
|
||||||
(pawn.jobs.curDriver is JobDriver_SexBaseReciever) && (pawn.jobs.curDriver as JobDriver_Sex).Partner?.jobs?.curDriver != null && ((pawn.jobs.curDriver as JobDriver_Sex).Partner.jobs.curDriver as JobDriver_Sex).neverendingsex)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
public static bool IsNeverEndingSex(Pawn pawn)
|
||||||
|
{
|
||||||
|
bool hasDriver = pawn?.jobs?.curDriver != null;
|
||||||
|
if (!hasDriver)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
return (pawn.jobs.curDriver is JobDriver_Sex jds) && jds.neverendingsex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool IsNeverEndingSexPartner(Pawn pawn)
|
||||||
|
{
|
||||||
|
bool hasDriver = pawn?.jobs?.curDriver != null;
|
||||||
|
if (!hasDriver)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
var partner = (pawn.jobs.curDriver is JobDriver_SexBaseReciever jds) ? jds.Partner : null;
|
||||||
|
if (partner == null)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
return IsNeverEndingSex(partner);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ResetOnLoop()
|
public void ResetOnLoop()
|
||||||
|
|
|
@ -25,6 +25,7 @@ namespace Rimworld_Animations {
|
||||||
participants =
|
participants =
|
||||||
participants.OrderBy(p =>
|
participants.OrderBy(p =>
|
||||||
p.jobs.curDriver is rjw.JobDriver_Sex
|
p.jobs.curDriver is rjw.JobDriver_Sex
|
||||||
|
&& !(p.jobs.curDriver as rjw.JobDriver_Sex).Sexprops.isRevese /*Gargulefix!!!*/
|
||||||
&& !(p.jobs.curDriver as rjw.JobDriver_Sex).Sexprops.isReceiver)
|
&& !(p.jobs.curDriver as rjw.JobDriver_Sex).Sexprops.isReceiver)
|
||||||
.OrderBy(p => rjw.xxx.can_fuck(p))
|
.OrderBy(p => rjw.xxx.can_fuck(p))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
Loading…
Reference in New Issue