mirror of
https://gitgud.io/c0ffeeeeeeee/rjw-events.git
synced 2024-08-14 23:57:42 +00:00
further miscellaneous improvements
This commit is contained in:
parent
eb7fe3bfae
commit
c8b96b4b5c
8 changed files with 15 additions and 13 deletions
|
@ -15,9 +15,9 @@ namespace RJW_Events
|
|||
public static void Postfix(LordToil_Party toil)
|
||||
{
|
||||
List<Pawn> ownedPawns = toil.lord.ownedPawns;
|
||||
foreach(Pawn p in ownedPawns)
|
||||
for (int i = 0; i < ownedPawns.Count; i++)
|
||||
{
|
||||
p.Drawer.renderer.graphics.ResolveApparelGraphics();
|
||||
ownedPawns[i].Drawer.renderer.graphics.ResolveApparelGraphics();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,9 @@ namespace RJW_Events
|
|||
{
|
||||
public static bool Prefix(PawnGraphicSet __instance)
|
||||
{
|
||||
if(LordUtility.GetLord(__instance.pawn)?.LordJob != null && LordUtility.GetLord(__instance.pawn).LordJob is LordJob_Joinable_Orgy)
|
||||
if(LordUtility.GetLord(__instance.pawn)?.LordJob != null &&
|
||||
LordUtility.GetLord(__instance.pawn).LordJob is LordJob_Joinable_Orgy &&
|
||||
!(LordUtility.GetLord(__instance.pawn).LordJob as LordJob_Joinable_Orgy).IsGatheringAboutToEnd())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue