tweaks for orgy

This commit is contained in:
c0ffee12 2021-07-27 23:10:59 -07:00
parent d57843182c
commit 4c8fa63c50
6 changed files with 50 additions and 6 deletions

View file

@ -28,7 +28,8 @@ namespace RJW_Events
if(ModLister.IdeologyInstalled)
{
var ideo = Faction.OfPlayer.ideos.PrimaryIdeo;
if (!ideo.HasPrecept(DefDatabase<PreceptDef>.GetNamed("Lovin_FreeApproved", true)))
if (!ideo.HasPrecept(DefDatabase<PreceptDef>.GetNamed("Lovin_FreeApproved", true)) &&
!ideo.HasPrecept(DefDatabase<PreceptDef>.GetNamed("Lovin_Free", true)))
{
return false;
}