monitor_event GeneralCaptureSettlement SettlementName Ascalon
log --- Ascalon AFTER CAPTURE NAME CHANGE -----------------------------------------------------------
if I_EventCounter faction_turn_orthodox == 1
change_settlement_name Ascalon Ascalon ; Byzantines used Latin maybe
if I_EventCounter is_the_player == 1
and I_CompareCounter current_name_Ascalon > 0
historic_event SETTLEMENT_NAME_CHANGE
end_if
set_counter current_name_Ascalon 0
end_if
if I_EventCounter faction_turn_catholic == 1
change_settlement_name Ascalon Ascalon ; Latin
if I_EventCounter is_the_player == 1
and I_CompareCounter current_name_Ascalon > 0
historic_event SETTLEMENT_NAME_CHANGE
end_if
set_counter current_name_Ascalon 0
end_if
if I_EventCounter faction_turn_islam == 1
change_settlement_name Ascalon Asqalan ; Muslims
if I_EventCounter is_the_player == 1
and I_CompareCounter current_name_Ascalon < 1
historic_event SETTLEMENT_NAME_CHANGE
end_if
set_counter current_name_Ascalon 1
end_if