log ------ (.E.) Damascus Integration Process ------------------------------------------------------
if I_EventCounter Damascus_turns_in_our_realm < 560
if I_EventCounter FL_weak_on_the_throne == 0 ; natural integration process but not with a Usurper (thus not during a civil war either)
inc_event_counter Damascus_turns_in_our_realm 1
end_if
if I_EventCounter FL_is_crowned_ruler == 1 ; if the owner's faction FL has the crown
inc_event_counter Damascus_turns_in_our_realm 1 ; integration is faster
end_if
if I_EventCounter FL_policy_thinks_of_his_people == 1 ; if FL pursues a conducive policy
inc_event_counter Damascus_turns_in_our_realm 1 ; integration is faster
end_if
if I_EventCounter faction_turn_zengid > 0 ; core province of this faction
and I_EventCounter FL_weak_on_the_throne == 0
and I_EventCounter Damascus_turns_in_our_realm < 200
set_event_counter Damascus_turns_in_our_realm 200 ; no integration is needed
end_if
if I_EventCounter faction_turn_egypt > 0 ; core province of this faction
and I_EventCounter FL_weak_on_the_throne == 0
and I_EventCounter Damascus_turns_in_our_realm < 200
set_event_counter Damascus_turns_in_our_realm 200 ; no integration is needed
end_if
end_if