using RimWorld;
using Verse;

namespace Hospitality
{
    public class ThinkNode_InGuestArea : ThinkNode_Conditional
    {
        protected override bool Satisfied(Pawn pawn)
        {
            var area = pawn.GetGuestArea();
            if (area == null) return true;

            return area[pawn.PositionHeld];
        }
    }
}