@@ -166,6 +166,7 @@ narrative_event = {
166166 }
167167 create_character = {
168168 name = Senua # The first Vee
169+ dna = qqovluyitrm
169170 female = yes
170171 age = 18
171172 culture = pictish
@@ -662,7 +663,7 @@ narrative_event = {
662663 }
663664}
664665
665- # ACS.00010 - Player is notified about the twins
666+ # ACS.00010 - Player is notified about Khalga
666667narrative_event = {
667668 id = ACS.00010
668669 title = ACS_00009_TITLE
@@ -672,7 +673,7 @@ narrative_event = {
672673
673674 option = {
674675 name = OK
675- narrative_event = { id = ACS.00011 days = 15}
676+ narrative_event = { id = ACS.00011 days = 15 }
676677 }
677678}
678679
@@ -730,22 +731,6 @@ character_event = {
730731 move_character = event_target:target_holding_owner
731732 religion = event_target:target_holding_owner
732733 culture = event_target:target_holding_owner
733- # Convert court chaplain to the Ishtar religion to prevent burning at stake very soon in the game
734- if = {
735- limit = {
736- society_member_of = pentaghast_society
737- }
738- location = {
739- holder_scope = {
740- random_courtier = {
741- limit = {
742- has_job_title = job_spiritual
743- }
744-
745- }
746- }
747- }
748- }
749734 # Special events for khalga migration
750735 if = {
751736 limit = {
@@ -873,7 +858,6 @@ character_event = {
873858 id = ACS.00017
874859 hide_window = yes
875860 is_triggered_only = yes
876-
877861 has_character_flag = is_khalga
878862
879863 immediate = {
@@ -933,9 +917,7 @@ character_event = {
933917 }
934918 # Khalga takes the essence, so kill the mother
935919 mother = {
936- death = {
937- death_reason = death_childbirth
938- }
920+ death = { death_reason = death_childbirth }
939921 }
940922 }
941923 }
@@ -949,7 +931,7 @@ character_event = {
949931 has_character_flag = is_khalga
950932
951933 immediate = {
952- character_event = { id = ACS.00021 days = 3 random = 5 }
934+ character_event = { id = ACS.00021 days = 3 }
953935 }
954936}
955937
@@ -976,23 +958,48 @@ character_event = {
976958 has_character_flag = is_vee
977959
978960 immediate = {
961+ # Check if Vee has enough maidens - Recruit maidens between the vassal's daughters
979962 ROOT = {
980963 if = {
981964 limit = {
982- any_courtier = {
983- has_minor_title = title_maid_of_honor
984- count < 8
965+ liege = {
966+ any_courtier = {
967+ has_minor_title = title_maid_of_honor
968+ count < 7
969+ }
985970 }
986971 }
987- create_character = {
988- culture = ROOT
989- religion = ROOT
990- female = yes
991- }
992- new_character = {
993- give_minor_title = title_maid_of_honor
972+ liege = {
973+ save_event_target_as = vee_liege
974+ any_vassal = {
975+ limit = {
976+ num_of_children >= 1
977+ any_child = {
978+ is_female = yes
979+ is_married = no
980+ is_adult = no
981+ is_inaccessible_or_incapable_trigger = no
982+ }
983+ }
984+ random_child = {
985+ limit = {
986+ is_female = yes
987+ is_married = no
988+ is_adult = no
989+ is_inaccessible_or_incapable_trigger = no
990+ }
991+ save_event_target_as = maiden_child
992+ move_character = event_target:vee_liege
993+ give_minor_title = title_maid_of_honor
994+ opinion = {
995+ modifier = opinion_loyal_servant
996+ who = ROOT
997+ }
998+ }
999+ }
1000+ character_event = { id = ACS.00035 }
1001+ # TO-DO : Child parents receives notification
9941002 }
995- liege = { character_event = { id = ACS.00035 } }
9961003 }
9971004 }
9981005
@@ -1234,38 +1241,6 @@ character_event = {
12341241 }
12351242 }
12361243 }
1237- random_courtier = {
1238- limit = {
1239- has_character_flag = is_vee
1240- liege = { ai = yes }
1241- }
1242- remove_trait = prevent_marriage
1243- add_spouse = ROOT
1244- }
1245- # Spawn maidens of honor for Vee
1246- hidden_tooltip = {
1247- set_variable = { which = s_courtiers value = 8 }
1248- while = {
1249- limit = {
1250- check_variable = {
1251- which = s_courtiers
1252- value = 1
1253- }
1254- }
1255- subtract_variable = {
1256- which = s_courtiers
1257- value = 1
1258- }
1259- create_character = {
1260- culture = ROOT
1261- religion = ROOT
1262- female = yes
1263- }
1264- new_character = {
1265- give_minor_title = title_maid_of_honor
1266- }
1267- }
1268- }
12691244 }
12701245}
12711246
0 commit comments