﻿physician_terrible_revoke_effect = {
	court_position_type:$POS$ = {save_temporary_scope_as = court_position_type }
	if = {
		limit = {
			physician_terrible_trigger_interaction_valid = { POS = $POS$ }
		}
		scope:actor = {
			custom_tooltip = {
				text = physician_terrible_revoke_effect_tt
				revoke_court_position = {
					court_position = $POS$
					recipient = scope:secondary_recipient
				}
			}				
			hidden_effect = {
				send_interface_toast = {
					type = event_toast_effect_neutral
					title = physician_terrible_revoke_toast
					left_icon = scope:actor
					right_icon = scope:secondary_recipient
					custom_tooltip = {
						text = physician_terrible_revoke_toast_tt
					}
				}
			}
		}
		scope:secondary_recipient = {
			custom_tooltip = {
				text = physician_terrible_revoke_recipient_effect_text
			}			
		}
	}
}

physician_terrible_populate_effect = {
	scope:actor = {
		every_court_position_holder = {
			type = $POS$
			limit = {
				exists = this
				aptitude:$POS$ <= 1
			}
			add_to_list = characters
		}			
	}
}