public static bool Process(ref TouristAI touristAI, uint citizenId, ref Citizen citizen) { if (!citizen.Arrested && !citizen.Sick && !citizen.Collapsed && !citizen.Dead && !citizen.AtHome() && !citizen.AtWork() && citizen.Exists()) { CitizenActivityMonitor.LogActivity(citizenId, CitizenActivityMonitor.Activity.Unknown); if (citizen.IsAtABuilding()) { return(ProcessInBuilding(ref touristAI, citizenId, ref citizen)); } else if (citizen.IsMoving()) { return(ProcessMoving(ref touristAI, citizenId, ref citizen)); } return(true); } return(false); }