diff --git a/common/on_action/NEOW_game_start.txt b/common/on_action/NEOW_game_start.txt index 44ab78cfd..0a843bd15 100644 --- a/common/on_action/NEOW_game_start.txt +++ b/common/on_action/NEOW_game_start.txt @@ -2,4 +2,16 @@ events = { historical_artifacts.999 } + on_actions = { + NEOW_on_game_start + } +} + +NEOW_on_game_start = { + effect = { + ### Fire Starting Events + debug_log = "NEOW_on_game_start fired" + + fire_starting_events = yes + } } \ No newline at end of file diff --git a/common/scripted_effects/NEOW_starting_event_effects.txt b/common/scripted_effects/NEOW_starting_event_effects.txt new file mode 100644 index 000000000..f805b79b9 --- /dev/null +++ b/common/scripted_effects/NEOW_starting_event_effects.txt @@ -0,0 +1,14 @@ +fire_starting_events = { + + character:zapadoslavia0013 ?= { + if = { + limit = { + is_alive = yes + } + trigger_event = { + id = NEOW_start.0001 + days = 1 + } + } + } +} \ No newline at end of file diff --git a/events/NEOW_starting_events.txt b/events/NEOW_starting_events.txt new file mode 100644 index 000000000..0cdf09130 --- /dev/null +++ b/events/NEOW_starting_events.txt @@ -0,0 +1,138 @@ +namespace = NEOW_start + +NEOW_start.0001 = { #Starting Event for Marek Masaryk + type = character_event + title = NEOW_start.0001.title + desc = NEOW_start.0001.desc + theme = rival_relation + + immediate = { + play_music_cue = mx_cue_rivalry + } + + right_portrait = { + character = root + animation = war_over_loss + } + + left_portrait = { + character = character:zapadoslavia0012 + animation = ecstasy + } + + lower_left_portrait = { + character = character:zapadoslavia0014 + } + + option = { + name = NEOW_start.0001.a + send_interface_toast = { + title = NEOW_start.gave_up + left_icon = root + add_gold = 100 + add_prestige = 150 + } + ai_chance = { + base = 10 + } + } + + option = { + name = NEOW_start.0001.b + send_interface_toast = { + title = NEOW_start.wants_to_fight + left_icon = root + create_maa_regiment = { + type = NEOW_militia + check_can_recruit = no + size = 1 + } + add_gold = 50 + add_prestige = 300 + } + trigger_event = { + id = NEOW_start.0002 + days = 7 + } + ai_chance = { + base = 60 + } + } + + option = { + name = NEOW_start.0001.c + send_interface_toast = { + title = ; + left_icon = root + create_maa_regiment = { + type = NEOW_militia + check_can_recruit = no + size = 1 + } + add_gold = 50 + add_unpressed_claim = title:k_bohemia + } + trigger_event = { + id = NEOW_start.0002 + days = 7 + } + ai_chance = { + base = 30 + } + } +} + +NEOW_start.0002 = { #Starting Event for Marek Masaryk + type = character_event + title = NEOW_start.0002.title + desc = NEOW_start.0002.desc + theme = recovery + + immediate = { + play_music_cue = mx_cue_positive + } + + right_portrait = { + character = root + animation = thinking + } + + left_portrait = { + character = character:zapadoslavia0110 + animation = inspect_weapon + } + + option = { + name = NEOW_start.0002.a + send_interface_toast = { + title = NEOW_start.tom + left_icon = root + add_courtier = character:zapadoslavia0110 + add_opinion = { + target = character:zapadoslavia0110 + modifier = pleased_opinion + opinion = 50 + } + character:zapadoslavia0110 = { + set_relation_rival = { + target = character:zapadoslavia0012 + } + } + add_gold = 25 + domicile ?= { + change_provisions = major_provisions_gain + } + add_prestige = 150 + create_maa_regiment = { + type = NEOW_militia + check_can_recruit = no + size = 1 + } + create_maa_regiment = { + type = light_footmen + check_can_recruit = no + size = 1 + } + } + } +} \ No newline at end of file diff --git a/history/characters/NEOW_e_zapadoslavia.txt b/history/characters/NEOW_e_zapadoslavia.txt index 4414b3113..70831b2df 100644 --- a/history/characters/NEOW_e_zapadoslavia.txt +++ b/history/characters/NEOW_e_zapadoslavia.txt @@ -253,7 +253,6 @@ zapadoslavia0010 = { #Count of Liberec - Bohemian Church 2524.1.1 = { effect = { if = { - limit = { has_mpo_dlc_trigger = no } vassal_contract_set_obligation_level = { type = religious_rights level = 1 @@ -272,9 +271,6 @@ zapadoslavia0010 = { #Count of Liberec - Bohemian Church check_can_recruit = no size = 4 } - tributary_contract_set_obligation_level = { type = default_tributary_taxes level = 1 } - tributary_contract_set_obligation_level = { type = suzerain_war_participation_guarantee level = 1 } - #tributary_contract_set_obligation_level = { type = tributary_war_participation_obligation level = 1 } # Doesnt want to work sadly } 2600.1.1 = { death = yes @@ -300,7 +296,7 @@ zapadoslavia0011 = { #Count of České Budějovice } } -zapadoslavia0012 = { #Count of Hradec and Liberec +zapadoslavia0012 = { #Count of Hradec and Pardubice name = "Libor" dynasty = masaryk_dynasty religion = "osvicenist" @@ -309,6 +305,8 @@ zapadoslavia0012 = { #Count of Hradec and Liberec trait = deceitful trait = arbitrary trait = paranoid + father = zapadoslavia0109 + mother = zapadoslavia0108 sexuality = heterosexual 2509.8.12 = { birth = yes @@ -319,6 +317,7 @@ zapadoslavia0012 = { #Count of Hradec and Liberec 2554.1.1={ set_relation_friend = character:zapadoslavia0015 vassal_contract_set_obligation_level = { type = feudal_government_levies level = 1 } + add_courtier = character:zapadoslavia0110 } 2590.1.1 = { death = yes @@ -346,16 +345,6 @@ zapadoslavia0013 = { #First Son of Count Libor - exiled 2554.1.1 = { set_relation_nemesis = character:zapadoslavia0012 add_character_flag = do_not_generate_starting_family - create_maa_regiment = { - type = NEOW_militia - check_can_recruit = no - size = 1 - } - create_maa_regiment = { - type = light_footmen - check_can_recruit = no - size = 1 - } } 2600.1.1 = { death = yes @@ -2296,11 +2285,11 @@ zapadoslavia0105 = { #Czech King Dalibor II's sister, married to Ex-Archduke of } } -zapadoslavia0106 = { #Duchess of Trencin who has converted to osvicenism. +zapadoslavia0106 = { #Duchess of Trencin who has converted to osvicenist. name = "Zuzana" dynasty = holub_dynasty - religion = "roman_catholic" - culture = czech + religion = "osvicenist" + culture = NEOW_slovak trait = education_learning_2 trait = trusting trait = cynical @@ -2315,6 +2304,75 @@ zapadoslavia0106 = { #Duchess of Trencin who has converted to osvicenism. } } +zapadoslavia0108 = { #Sister of King Karel VI + name = "Karla" + female = yes + dynasty = karlovec_dynasty + religion = "roman_catholic" + culture = czech + trait = education_stewardship_3 + trait = trusting + trait = generous + trait = lustful + trait = administrator + father = zapadoslavia0089 + sexuality = heterosexual + 2452.11.25 = { + birth = yes + } + 2517.1.6 = { + death = yes + } +} + +zapadoslavia0109 = { #Father of Count Libor + name = "Libor" + dynasty = karlovec_dynasty + religion = "roman_catholic" + culture = czech + trait = education_diplomacy_4 + trait = deceitful + trait = temperate + trait = brave + trait = diplomat + trait = family_first + trait = physique_good_1 + sexuality = heterosexual + 2458.4.15 = { + birth = yes + } + 2480.9.4 = { + add_spouse = zapadoslavia0108 + } + 2531.6.7 = { + death = yes + } +} + +zapadoslavia0110 = { #Loyal Friend of Marek Masaryk, the Exiled Prince + name = "Tomáš" + dynasty = none + religion = "osvicenist" + culture = czech + trait = education_martial_2 + trait = trusting + trait = honest + trait = humble + trait = loyal + trait = intellect_good_2 + trait = cautious_leader + trait = organizer + 2534.11.17 = { + birth = yes + } + 2550.1.1 = { + set_relation_best_friend = character:zapadoslavia0013 + } + 2600.1.1 = { + death = yes + } +} + #################################################### HUNGARY ################################# diff --git a/history/titles/k_bohemia.txt b/history/titles/k_bohemia.txt index 3a5f9bc4d..6a125ff57 100644 --- a/history/titles/k_bohemia.txt +++ b/history/titles/k_bohemia.txt @@ -127,20 +127,28 @@ c_zatec = { } d_severovychodni_cechy = { - 2531.6.7 = { + 2500.8.6 = { holder = zapadoslavia0012 #Libor Masaryk liege = k_bohemia } + 2531.6.7 = { + holder = zapadoslavia0012 #Libor Masaryk (Jr.) + liege = k_bohemia + } } c_hradec = { 2500.1.1 = { change_development_level = 7 } - 2531.6.7 = { + 2500.8.6 = { holder = zapadoslavia0012 #Libor Masaryk liege = k_bohemia } + 2531.6.7 = { + holder = zapadoslavia0012 #Libor Masaryk (Jr.) + liege = k_bohemia + } } c_litomerice = { @@ -151,14 +159,19 @@ c_litomerice = { holder = zapadoslavia0010 #Jindrich Z Melnika liege = k_bohemia } + } c_caslav = { 2500.1.1 = { change_development_level = 8 } - 2531.6.7 = { + 2500.8.6 = { holder = zapadoslavia0012 #Libor Masaryk + liege = k_bohemia + } + 2531.6.7 = { + holder = zapadoslavia0012 #Libor Masaryk (Jr.) } } diff --git a/localization/english/replace/event_localization/starting_events_l_english.yml b/localization/english/replace/event_localization/starting_events_l_english.yml new file mode 100644 index 000000000..6c357fd5d --- /dev/null +++ b/localization/english/replace/event_localization/starting_events_l_english.yml @@ -0,0 +1,14 @@ +l_english: + NEOW_start.0001.title:0 "Family Business" + NEOW_start.0001.desc:0 "It was only a week ago that my father, [ROOT.Char.GetFather.GetName], exiled me. The day my little brother, Tomáš, was born, I wasn't even allowed to see him. I always knew my step-mother hated me, but I thought it would improve over time, but now I see that I was delusional. \n\nIt all boiled over the day before I was exiled. My father told me that he would leave all of his inheritance to my stupid brother. He wasn't just in love with Adéla, he was her servant! The day after this argument, guards stormed my room and threw me out of the castle. The only thing I remember is my father yelling at me and calling me useless and weak. \n\nI was lost. I didn't know what to do. However, I picked myself up and left the city of Hradec. I built a camp outside the city walls, still not knowing what to do with my life. I found myself with nothing but clothes in a crisis that was spreading all over the kingdom, but I remembered that my father has a weak claim on the throne, which could mean I could have a claim too. \n\nAfter a few days, some furious peasants found me, being angry with my father's decision and offering to join me. I finally heard some good news for the first time in months. Now, the decision is on me. What should I do with my life?" + NEOW_start.0001.a:0 "Maybe my father was right..." + NEOW_start.0001.b:0 "I should fight for what is rightfully mine!" + NEOW_start.0001.c:0 "The kingdom is in a crisis, and they need a change of dynasty." + NEOW_start.gave_up:0 "You gave up all claims and left your home." + NEOW_start.wants_to_fight:0 "You decided to fight for your home." + NEOW_start.dreams_big:0 "You decided to fix the crisis in Czechia." + + NEOW_start.0002.title:0 "An Unexpected Visitor" + NEOW_start.0002.desc:0 "Another week has passed, and I am still no closer to my goal. The camp was growing but slowly, but one day one of my guards rushed to me, warning of a small army approaching. Was my father trying to destroy my life more? Hasn't he done enough? However, when the army arrives, they stop and their leader slowly makes his way to me. \n\nThe second I saw his face, all of my worries fell off of me. It was my best friend, Tomáš. I have known him since I was 4, and he hadn't come to destroy me. He came to help me! He came with a small army that were willing to fight against my father. He also brought some food and money, so we would survive longer. He brought the hope we all needed." + NEOW_start.0002.a:0 "I am glad to see you!" + NEOW_start.tom:0 "Tomáš brings recources and men." \ No newline at end of file