monitor_event CharacterTurnEnd FactionIsLocal
and not IsFactionLeader
and Trait Disobedient >= 1
and Trait Reconciled_to_his_King = 0
and Trait Thrown_in_Dungeon = 0
and FactionLeaderTrait Seat_of_Power > 0
and EndedInSettlement
and SettlementBuildingExists >= dungeon
historic_event dungeon_prepare
set_event_counter dungeon_prepare 1
end_monitor
monitor_event CharacterSelected CharacterIsLocal
and not IsFactionLeader
and Trait Disobedient >= 1
and Trait Reconciled_to_his_King = 0
and Trait Thrown_in_Dungeon = 0
and FactionLeaderTrait Seat_of_Power > 0
and EndedInSettlement
and I_EventCounter dungeon_prepare = 1
historic_event dungeon true
set_event_counter dungeon_prepare 0
set_counter dungeon_decided 1
end_monitor
monitor_conditions I_EventCounter dungeon_accepted = 1
and I_CompareCounter dungeon_decided = 1
e_select_character, console_command give_trait this Thrown_in_Dungeon 1
inc_counter gov_points -1
set_counter dungeon_decided 0
end_monitor
monitor_conditions I_EventCounter dungeon_declined = 1
and I_CompareCounter dungeon_decided = 1
e_select_character, console_command give_trait this Reconciled_to_his_King 1, console_command add_money -3000
set_counter dungeon_decided 0
end_monitor