﻿# Scripted GUI which allows us to control visibility of regula council UIs
# based on properties of the player character.
regula_council_gui = {
	scope = character
	is_shown = {
		has_regula_council = yes
	}
}

# Scripted GUI which allows us to toggle contubernalis supervisor mode.
regula_toggle_contubernalis_supervisor_mode = {
	scope = character

	is_shown = {
		any_normal_councillor = {
			has_council_position = councillor_contubernalis_supervisor
		}
	}

	effect = {
		regula_contubernalis_supervisor_toggle_mode_effect = yes
	}
}

# Scripted GUI which controls icon shown for contubernalis supervisor mode.
regula_toggle_contubernalis_supervisor_mode_strict_icon = {
	scope = character

	is_shown = {
		regula_contubernalis_supervisor_in_strict_mode_trigger = yes
	}
}
