mirror of
https://gitgud.io/Ed86/rjw-whoring.git
synced 2024-08-15 00:03:25 +00:00
25 lines
689 B
C#
25 lines
689 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System;
|
|
using Verse;
|
|
using RimWorld;
|
|
using RimWorld.Planet;
|
|
using rjw;
|
|
|
|
namespace rjwwhoring.MainTab
|
|
{
|
|
public class MainTabWindow_Brothel : MainTabWindow_PawnTable
|
|
{
|
|
private static PawnTableDef pawnTableDef;
|
|
|
|
protected override PawnTableDef PawnTableDef => pawnTableDef ?? (pawnTableDef = DefDatabase<PawnTableDef>.GetNamed("RJW_Brothel"));
|
|
|
|
protected override IEnumerable<Pawn> Pawns => Find.CurrentMap.mapPawns.AllPawns.Where(p => xxx.is_human(p) && (p.IsColonist || p.IsPrisonerOfColony));
|
|
|
|
public override void PostOpen()
|
|
{
|
|
base.PostOpen();
|
|
Find.World.renderer.wantedMode = WorldRenderMode.None;
|
|
}
|
|
}
|
|
}
|