mirror of
https://gitgud.io/amevarashi/rjw-sexperience-ideology.git
synced 2024-08-15 00:43:19 +00:00
initial 1.5
This commit is contained in:
parent
e19b6d8ff3
commit
2f7a1c0883
48 changed files with 6295 additions and 18 deletions
|
@ -2,6 +2,7 @@
|
|||
using rjw;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Verse;
|
||||
using Verse.AI;
|
||||
|
||||
|
@ -35,7 +36,7 @@ namespace RJWSexperience.Ideology
|
|||
{
|
||||
if (duty != null)
|
||||
{
|
||||
List<Pawn> pawns = pawn.Map.mapPawns.AllPawnsSpawned.FindAll(x => x.mindState?.duty?.def == duty.def);
|
||||
IEnumerable<Pawn> pawns = pawn.Map.mapPawns.AllPawnsSpawned.Where(x => x.mindState?.duty?.def == duty.def);
|
||||
return pawns.RandomElementByWeightWithDefault(x => SexAppraiser.would_fuck(pawn, x), 0.1f);
|
||||
}
|
||||
|
||||
|
@ -190,7 +191,14 @@ namespace RJWSexperience.Ideology
|
|||
get_loved.AddFinishAction(delegate
|
||||
{
|
||||
if (xxx.is_human(pawn))
|
||||
pawn.Drawer.renderer.graphics.ResolveApparelGraphics();
|
||||
{
|
||||
CompRJW comp = CompRJW.Comp(pawn);
|
||||
if (comp != null)
|
||||
{
|
||||
comp.drawNude = false;
|
||||
pawn.Drawer.renderer.SetAllGraphicsDirty();
|
||||
}
|
||||
}
|
||||
});
|
||||
get_loved.socialMode = RandomSocialMode.Off;
|
||||
return get_loved;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue