decisions = {
	fill_brothel = {
		potential = {
			any_demesne_title = {
				has_building = ca_brothel
			}
			NOT = { has_character_flag = find_prostitute }
			OR = {
				ai = no
				NOT = {
					prostitute = {
						has_opinion_modifier = { modifier = opinion_my_pimp who = ROOT }
						count = 4
					}
				}
			}
		}
		allow = {
			is_alive = yes
			wealth = 100
		}
		effect = {
			set_character_flag = find_prostitute
			character_event = { id = fill_brothel_events.1 }
		}
		revoke_allowed = {
			always = no
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				prostitute = {
					has_opinion_modifier = { modifier = opinion_my_pimp who = ROOT }
					count = 4
				}
			}
		}
	}
}