Event
The Mamlūk Administration's Dynastic Scribes

A close-knit and tightly professional caste of bureaucrats, our scribes and cabinet members are the cogs that maintain the balance of our great Flavor Rank and its administrative apparatus. The men selected to serve in it are some of our best and brightest! Truly, each of them is well-versed in a range of topics such as political theory, the Qur'ān, science, arts, and even prose and poetry.
The offices occupied by these wise individuals are vital for our prosperity. From the dawādār, master of the inkwell, who at times serves as chief secretary, to the kātib al-sirr, Target Character99's private advisor and the sāḥib diwān al-inshā', head of the chancery.
ChanceryBuildingtrigger
EgyptCountrydynamic historical event.tag
NobilityEstateoption 1, option 2, option 3
MamlūkTraitoption 1, option 2, option 3Definitionin_game/events/DHE/flavor_MAM.txt:1502
1503hide_portraits = yes
1504type = country_event
1505title = flavor_mam.29.title The Mamlūk Administration's Dynastic Scribes
1506desc = flavor_mam.29.desc A close-knit and tightly professional caste of bureaucrats, our scribes and cabinet members are the cogs that maintain the balance of our great Flavor Rank and its administrative apparatus. The men selected to serve in it are some of our best and brightest! Truly, each of them is well-versed in a range of topics such as political theory, the Qur'ān, science, arts, and even prose and poetry.
The offices occupied by these wise individuals are vital for our prosperity. From the dawādār, master of the inkwell, who at times serves as chief secretary, to the kātib al-sirr, Target Character99's private advisor and the sāḥib diwān al-inshā', head of the chancery.
The offices occupied by these wise individuals are vital for our prosperity. From the dawādār, master of the inkwell, who at times serves as chief secretary, to the kātib al-sirr, Target Character99's private advisor and the sāḥib diwān al-inshā', head of the chancery.
1507outcome = neutral
1508fire_only_once = yes
1509dynamic_historical_event = {
}
1516illustration_tags = {
151710 = interior
151810 = regular
}
1521trigger = {
1522at_war = no
1523is_during_bankruptcy = no
1524any_cabinet_character = {
1525count > 2
}
}
1532immediate = {
1533ruler_or_regent ?= {
1533save_scope_as = target_character99
}
1534ordered_cabinet_character = {
1535order_by = total_abilities
1536max = 1
1537check_range_bounds = no
1538save_scope_as = target_character1
}
1540ordered_cabinet_character = {
1541order_by = total_abilities
1542limit = {
1543this != scope:target_character1
}
1545max = 1
1546check_range_bounds = no
1547save_scope_as = target_character2
}
1549ordered_cabinet_character = {
1550order_by = total_abilities
1551limit = {
1552this != scope:target_character1
1553this != scope:target_character2
}
1555max = 1
1556check_range_bounds = no
1557save_scope_as = target_character3
}
1559set_variable = {
1561value = {
1562add = scope:target_character1.adm
1563add = scope:target_character2.adm
1564add = scope:target_character3.adm
1565divide = 10
}
}
1568set_variable = {
1570value = {
1571add = scope:target_character1.dip
1572add = scope:target_character2.dip
1573add = scope:target_character3.dip
1574divide = 10
}
}
1577set_variable = {
1579value = {
1580add = scope:target_character1.mil
1581add = scope:target_character2.mil
1582add = scope:target_character3.mil
1583divide = 10
}
}
1586ordered_cabinet_character = {
1587order_by = adm
1588position = 1
1589check_range_bounds = no
1590save_scope_as = target_character4
}
1592ordered_cabinet_character = {
1593order_by = dip
1594limit = {
1595this != scope:target_character4
}
1597position = 1
1598check_range_bounds = no
1599save_scope_as = target_character5
}
1601ordered_cabinet_character = {
1602order_by = mil
1603limit = {
1604this != scope:target_character4
1605this != scope:target_character5
}
1607position = 1
1608check_range_bounds = no
1609save_scope_as = target_character6
}
}
}
1726after = {
}