diff --git a/common/buildings/wc_special_buildings.txt b/common/buildings/wc_special_buildings.txt index 2411956257..dffb43945a 100644 --- a/common/buildings/wc_special_buildings.txt +++ b/common/buildings/wc_special_buildings.txt @@ -667,4 +667,4 @@ zuldazar_01 = { type = special flag = travel_point_of_interest_martial -} \ No newline at end of file +} diff --git a/common/buildings/wc_vine_quilboar_buildings.txt b/common/buildings/wc_vine_quilboar_buildings.txt new file mode 100644 index 0000000000..2e08df38d6 --- /dev/null +++ b/common/buildings/wc_vine_quilboar_buildings.txt @@ -0,0 +1,54 @@ +#Quilboar vined thorns +quilboar_thorns_01 = { + type_icon = "icon_structure_corpse_of_agamaggan.dds" + + character_modifier = { + same_faith_opinion = 2 + + } + province_modifier = { + stationed_caster_damage_mult = 0.05 + stationed_caster_siege_value_add = 1 + stationed_skirmishers_toughness_mult = 0.05 + travel_danger = -5 + } + + next_building = quilboar_thorns_02 +} + +quilboar_thorns_02 = { + type_icon = "icon_structure_corpse_of_agamaggan.dds" + + character_modifier = { + same_faith_opinion = 2 + monthly_piety_gain_mult = 0.05 + + } + province_modifier = { + stationed_caster_damage_mult = 0.1 + stationed_caster_siege_value_add = 1 + stationed_skirmishers_toughness_mult = 0.1 + travel_danger = -10 + } + + next_building = quilboar_thorns_03 + cost_gold = 200 +} + +quilboar_thorns_03 = { + type_icon = "icon_structure_corpse_of_agamaggan.dds" + + character_modifier = { + same_faith_opinion = 4 + levy_reinforcement_rate_same_faith = 1.25 + monthly_piety_gain_mult = 0.1 + + } + province_modifier = { + stationed_caster_damage_mult = 0.15 + stationed_caster_siege_value_add = 2 + stationed_skirmishers_toughness_mult = 0.15 + travel_danger = -15 + } + cost_gold = 250 +} \ No newline at end of file diff --git a/common/decisions/wc_cen_kal_decisions.txt b/common/decisions/wc_cen_kal_decisions.txt index 6f733f03e3..6a5f40d281 100644 --- a/common/decisions/wc_cen_kal_decisions.txt +++ b/common/decisions/wc_cen_kal_decisions.txt @@ -24,6 +24,35 @@ } } +blood_shards_gather_operation = { + ai_check_interval = 12 + picture = "gfx/interface/illustrations/decisions/quilboar_gatherers.dds" + desc = blood_shards_gather_operation_desc + title = blood_shards_gather_operation_name + selection_tooltip = blood_shards_gather_operation_tt + confirm_text = blood_shards_gather_operation_confirm + major = yes + + cooldown = { years = 2 } + + is_shown = { + is_landed = yes + faith = faith:agamaggan_worship + NOT = { root.primary_title = { is_mercenary_company = yes } } + } + + is_valid = { + custom_tooltip = { + text = blood_shards_gather_operation_req_tt + NOT = { has_character_flag = has_working_bloodstone_foragers } + } + } + + cost = { gold = 75 piety = 50 } + + effect = { trigger_event = cen_kal.1050 } +} + change_agamaggan_blessing = { ai_check_interval = 12 picture = "gfx/interface/illustrations/decisions/quilboar_band.dds" @@ -37,11 +66,82 @@ change_agamaggan_blessing = { is_shown = { is_landed = yes - has_character_flag = has_working_bloodstone_foragers faith = faith:agamaggan_worship + NOT = { root.primary_title = { is_mercenary_company = yes } } + } + + is_valid = { + custom_tooltip = { + text = change_agamaggan_blessing_req_tt + var:blood_shard_count >= 4 + } } cost = { piety = 25 } effect = { trigger_event = cen_kal.1052 } +} + +create_thorns_quilboar = { + ai_check_interval = 12 + picture = "gfx/interface/illustrations/decisions/quilboar_vines.dds" + desc = create_thorns_quilboar_desc + title = create_thorns_quilboar_name + selection_tooltip = create_thorns_quilboar_tt + confirm_text = create_thorns_quilboar_confirm + major = yes + + cooldown = { years = 2 } + + is_shown = { + is_landed = yes + exists = capital_province + faith = faith:agamaggan_worship + NOR = { + root.primary_title = { is_mercenary_company = yes } + government_has_flag = government_is_theocracy + } + } + + is_valid = { + highest_held_title_tier >= tier_duchy + custom_tooltip = { + text = create_thorns_quilboar_req_tt + var:blood_shard_count >= 12 + } + } + + effect = { + custom_tooltip = create_thorns_quilboar_tt + random_sub_realm_county = { + limit = { + OR = { + holder = root + holder = { is_vassal_or_below_of = root } + } + title_province = { + NOR = { + has_building = quilboar_thorns_01 + has_building = quilboar_thorns_02 + has_building = quilboar_thorns_03 + } + } + } + title_province = { save_scope_as = thorn_location } + } + #Found one + if = { limit = { exists = scope:thorn_location } + set_variable = { + name = thorn_location + value = scope:thorn_location + } + trigger_event = cen_kal.1055 + } + #No Avalible provinces + if = { limit = { NOT = { exists = scope:thorn_location } } trigger_event = cen_kal.1056 } + } + + cost = { piety = 50 } + + ai_will_do = { base = 100 } } \ No newline at end of file diff --git a/common/modifiers/wc_event_modifiers.txt b/common/modifiers/wc_event_modifiers.txt index 2179fed7f8..56c991a5f8 100644 --- a/common/modifiers/wc_event_modifiers.txt +++ b/common/modifiers/wc_event_modifiers.txt @@ -153,3 +153,8 @@ wc_exploded_depot = { levy_size = 0.5 levy_reinforcement_rate = 0.5 } + +#Quilboar Blood shards +wc_quilboar_bloodshards = { + icon = rock_positive +} diff --git a/common/on_action/wc_central_kal_events_on_actions.txt b/common/on_action/wc_central_kal_events_on_actions.txt index 133d6bb1ce..4a2bad16ec 100644 --- a/common/on_action/wc_central_kal_events_on_actions.txt +++ b/common/on_action/wc_central_kal_events_on_actions.txt @@ -12,10 +12,14 @@ wc_earth_faith_on_character_faith_change = { } } +on_game_start_after_lobby = { on_actions = { quilboar_add_blood_shards_trait_all_chars } } + +on_birth_child = { on_actions = { quilboar_add_blood_shards_trait } } + #Central Kalimdor Random Event Triggers yearly_playable_pulse = { on_actions = { - wc_tauren_yearly_playable_pulse + wc_cen_kal_yearly_playable_pulse goblin_depot_operation_events } } @@ -23,6 +27,7 @@ yearly_playable_pulse = { on_death = { on_actions = { quilboar_pass_flag_blood_shards + quilboar_pass_modifier_blood_shards } } @@ -32,15 +37,16 @@ quarterly_playable_pulse = { } } -wc_tauren_yearly_playable_pulse = { +wc_cen_kal_yearly_playable_pulse = { on_actions = { delay = { days = { 1 90 } } - central_kal_events.1 #Central Kalimdor Events + central_kal_events.1 #Central Kalimdor Random Events delay = { months = { 4 8 } } earth_mother_events.1 #Earth Mother Specific Events } events = { - cen_kal.1051 #Yearly cost of quilboar blood stones event + cen_kal.1051 #Yearly cost of quilboar blood stones search + cen_kal.1059 #Yearly cost of quilboar blood stones ritual } } @@ -52,7 +58,7 @@ central_kal_events.1 = { 5 = cen_kal.1001 5 = cen_kal.1010 5 = cen_kal.1025 - 15 = cen_kal.1050 + 5 = cen_kal.1053 } } earth_mother_events.1 = { @@ -96,16 +102,59 @@ quilboar_pass_flag_blood_shards = { } } +quilboar_pass_modifier_blood_shards = { + effect = { + if = { + limit = { has_character_modifier = wc_quilboar_bloodshards } + player_heir ?= { + set_variable = { + name = blood_shard_count + value = root.var:blood_shard_count + } + add_character_modifier = wc_quilboar_bloodshards + } + } + } +} + quilboar_faith_change_blood_shards = { effect = { + if = { limit = { has_character_modifier = wc_quilboar_aga_str } remove_character_modifier = wc_quilboar_aga_str } + if = { limit = { has_character_modifier = wc_quilboar_aga_agl } remove_character_modifier = wc_quilboar_aga_agl } + if = { limit = { has_character_modifier = wc_quilboar_aga_wis } remove_character_modifier = wc_quilboar_aga_wis } + if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr } + if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh } + remove_character_flag = has_working_bloodstone_foragers + remove_character_flag = has_active_quilboar_ritual + remove_character_modifier = wc_quilboar_bloodshards if = { - limit = { has_character_flag = has_working_bloodstone_foragers } - if = { limit = { has_character_modifier = wc_quilboar_aga_str } remove_character_modifier = wc_quilboar_aga_str } - if = { limit = { has_character_modifier = wc_quilboar_aga_agl } remove_character_modifier = wc_quilboar_aga_agl } - if = { limit = { has_character_modifier = wc_quilboar_aga_wis } remove_character_modifier = wc_quilboar_aga_wis } - if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr } - if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh } - remove_character_flag = has_working_bloodstone_foragers + limit = { faith = faith:agamaggan_worship } + if = { limit = { NOT = { exists = var:blood_shard_count } } set_variable = { name = blood_shard_count value = 0 } } + if = { limit = { is_ai = no } add_character_modifier = wc_quilboar_bloodshards } + } + } +} + +quilboar_add_blood_shards_trait = { + effect = { + if = { + limit = { faith = faith:agamaggan_worship } + if = { limit = { NOT = { exists = var:blood_shard_count } } set_variable = { name = blood_shard_count value = 0 } } + if = { limit = { is_ai = no } add_character_modifier = wc_quilboar_bloodshards } + } + } +} + +quilboar_add_blood_shards_trait_all_chars = { + effect = { + faith:agamaggan_worship = { + every_faith_ruler = { + set_variable = { + name = blood_shard_count + value = 0 + } + if = { limit = { is_ai = no } add_character_modifier = wc_quilboar_bloodshards } + } } } } diff --git a/common/traits/wc_general_traits.txt b/common/traits/wc_general_traits.txt index 8f06f1d63d..c2487e3a10 100644 --- a/common/traits/wc_general_traits.txt +++ b/common/traits/wc_general_traits.txt @@ -192,5 +192,4 @@ wc_tauren_EM_NEG_hawk = { level = 5 shown_in_ruler_designer = no icon = "witch.dds" -} - +} \ No newline at end of file diff --git a/events/wc_events/wc_central_kalimdor_events.txt b/events/wc_events/wc_central_kalimdor_events.txt index f173f518c1..ba09b279ad 100644 --- a/events/wc_events/wc_central_kalimdor_events.txt +++ b/events/wc_events/wc_central_kalimdor_events.txt @@ -2765,6 +2765,45 @@ cen_kal.1025 = { cooldown = { years = 10 } + trigger = { + capital_province ?= { + OR = { + geographical_region = world_kalimdor_central_barrens + geographical_region = world_kalimdor_central_dustwallow + geographical_region = world_kalimdor_central_mulgore + geographical_region = world_kalimdor_south_thousand_needles + geographical_region = world_kalimdor_central_durotar + } + } + OR = { + is_available_adult = yes + is_available_ai_adult = yes + } + } + option = { name = cen_kal.1025.a add_prestige = 10 } +} +############################################################ +#Wandering Goblin Merchant +cen_kal.1053 = { + type = character_event + title = cen_kal.1053.name + desc = cen_kal.1053.desc + theme = stewardship + override_background = drylands + + left_portrait = { + character = ROOT + } + right_portrait = { + character = scope:goblin_merchant + animation = steward + } + lower_right_portrait = { + character = scope:ogre_bodyguard + } + + cooldown = { years = 6 } + trigger = { capital_province ?= { OR = { @@ -2775,6 +2814,7 @@ cen_kal.1025 = { geographical_region = world_kalimdor_south_feralas geographical_region = world_kalimdor_central_desolace geographical_region = world_kalimdor_south_thousand_needles + geographical_region = world_kalimdor_central_durotar } } OR = { @@ -2782,20 +2822,247 @@ cen_kal.1025 = { is_available_ai_adult = yes } } - option = { name = cen_kal.1025.a add_prestige = 10 } + + immediate = { + create_character = { + location = root.location + trigger_race_giving_no_gene_effect = yes + trait=creature_goblin + culture=culture:blackwater + faith=faith:cult_of_wealth + dynasty=none + stewardship = { 14 22 } + age = { 25 35 } + gender = male + save_scope_as = goblin_merchant + } + create_character = { + location = root.location + trigger_race_giving_no_gene_effect = yes + trait=creature_ogre + culture=culture:ogre + faith=faith:gorgog_worship + dynasty=none + martial = { 14 22 } + age = { 25 35 } + gender = male + save_scope_as = ogre_bodyguard + } + random_character_artifact = { + limit = { + #artifact_durability <= define:NInventory|ARTIFACT_LOW_DURABILITY + OR = { + artifact_slot_type = primary_armament + artifact_slot_type = armor + artifact_slot_type = helmet + artifact_slot_type = regalia + } + } + save_scope_as = artifact_need_repairs + } + } + #Buy item + option = { + name = cen_kal.1053.a + remove_short_term_gold = 120 + custom_tooltip = cen_kal.1053.a.tt + hidden_effect = { + random_list = { + 10 = { + create_artifact_weapon_effect = { + OWNER = root + CREATOR = root + SET_WEAPON_TYPE = flag:no + } + } + 10 = { + create_artifact_armor_effect = { + OWNER = root + CREATOR = root + SET_ARMOR_TYPE = flag:no + } + } + 25 = { + create_artifact_regalia_effect = { + OWNER = root + SMITH = root + } + } + 25 = { + create_artifact_brooch_effect = { + OWNER = root + SMITH = root + } + } + 25 = { + create_artifact_book_effect = { + OWNER = root + CREATOR = root + SET_SUBJECT = flag:no + SET_TOPIC = flag:no + } + } + } + scope:newly_created_artifact = { + set_artifact_description = artifact_cultural_gift_desc + } + } + } + #Repair gear + option = { + name = cen_kal.1053.b + trigger = { exists = scope:artifact_need_repairs } + if = { limit = { has_trait = diligent } add_stress = -20 } + remove_short_term_gold = 20 + scope:artifact_need_repairs = { + add_durability = { + value = artifact_durability + multiply = 7 + max = 60 + } + } + } + #Steal everything + option = { + name = cen_kal.1053.c + duel = { + skills = { prowess } + target = scope:ogre_bodyguard + 50 = { # success + compare_modifier = { + value = scope:duel_value + multiplier = 3.5 + min = -49 + } + modifier = { + add = { + if = { + limit = { + has_lifestyle = martial_lifestyle + } + add = 10 + } + } + } + modifier = { + add = { + if = { + limit = { + martial > 10 + martial < 20 + } + add = 15 + } + } + } + modifier = { + add = { + if = { + limit = { + martial >= 20 + } + add = 20 + } + } + } + #WIN + add_dread = 5 + custom_tooltip = cen_kal.1053.a.tt + hidden_effect = { + random_list = { + 10 = { + create_artifact_weapon_effect = { + OWNER = root + CREATOR = root + SET_WEAPON_TYPE = flag:no + } + } + 10 = { + create_artifact_armor_effect = { + OWNER = root + CREATOR = root + SET_ARMOR_TYPE = flag:no + } + } + 25 = { + create_artifact_regalia_effect = { + OWNER = root + SMITH = root + } + } + 25 = { + create_artifact_brooch_effect = { + OWNER = root + SMITH = root + } + } + 25 = { + create_artifact_book_effect = { + OWNER = root + CREATOR = root + SET_SUBJECT = flag:no + SET_TOPIC = flag:no + } + } + } + scope:newly_created_artifact = { + set_artifact_description = artifact_cultural_gift_desc + } + scope:ogre_bodyguard = { + override_death_killer_effect = { + death_reason = death_battle + killer = root + } + } + } + } + 75 = { #Wounded + compare_modifier = { + value = scope:duel_value + multiplier = -3.5 + min = -49 + } + modifier = { + add = { + if = { + limit = { + scope:ogre_bodyguard.martial > 10 + scope:ogre_bodyguard.martial < 20 + } + add = 35 + } + } + } + modifier = { + add = { + if = { + limit = { + scope:ogre_bodyguard.martial >= 20 + } + add = 50 + } + } + } + add_prestige = -300 + add_trait = wounded_1 + } + } + } + option = { name = cen_kal.1053.d } #Leave } + +#Grow Vines Quilboar - Buildins +#quilboar causes belili thorns #Rework ck3 vanilla events #Kodo Migration/Kodo Graveyard event desolace #white kodo is harbinger of doom for centaurs -#goblin zepplins -#QUillboar honor guard, bloodstones +#QUillboar honor guard #Flayers' Point #Zone events Feralas, Desolace, Barrens, Mulgore #zulfarrak hydra summouning ritual -#Quillboar Even a small water source is a vast hoard of wealth to them. They have great feasts when even the slightest rain comes to the Barrens. #Quillboar shaman seed and grow new roots for them to live in. -#Quilboar Blood Shards #Quilboar embrace undead #Companion events #Orc find original clan, forsaken find original past -#druids of the fang - wailing caverns \ No newline at end of file +#druids of the fang - wailing caverns +#thorn crown, variant of blacksmith vanilla \ No newline at end of file diff --git a/events/wc_events/wc_faith_events.txt b/events/wc_events/wc_faith_events.txt index 031245aeb1..1205ac0263 100644 --- a/events/wc_events/wc_faith_events.txt +++ b/events/wc_events/wc_faith_events.txt @@ -478,8 +478,6 @@ cen_kal.1050 = { theme = dread override_background = drylands - cooldown = { years = 3 } - left_portrait = { character = ROOT } @@ -489,10 +487,8 @@ cen_kal.1050 = { trigger = { NOR = { - has_character_flag = has_working_bloodstone_foragers root.primary_title = { is_mercenary_company = yes } government_has_flag = government_is_theocracy - exists = root.liege } faith = faith:agamaggan_worship is_landed = yes @@ -520,17 +516,8 @@ cen_kal.1050 = { custom_tooltip = cen_kal.1030.a.tt add_character_flag = has_working_bloodstone_foragers - remove_short_term_gold = 75 - if = { limit = { has_trait = zealous } add_stress = -25 } - if = { limit = { has_trait = cynical } add_stress = 25 } - every_courtier = { - limit = { faith = faith:agamaggan_worship } - add_opinion = { - modifier = pious_opinion - opinion = 10 - target = root - } - } + if = { limit = { has_trait = zealous } add_stress = -20 } + if = { limit = { has_trait = cynical } add_stress = 10 } ai_chance = { base = 50 @@ -550,16 +537,11 @@ cen_kal.1050 = { } option = { name = cen_kal.1030.b - if = { limit = { has_trait = zealous } add_stress = 25 } - if = { limit = { has_trait = cynical } add_stress = -25 } - every_courtier = { - limit = { faith = faith:agamaggan_worship } - add_opinion = { - modifier = impious_opinion - opinion = -5 - target = root - } - } + if = { limit = { has_trait = zealous } add_stress = 20 } + if = { limit = { has_trait = cynical } add_stress = -10 } + add_gold = 75 + add_piety = 50 + ai_chance = { base = 40 modifier = { @@ -577,11 +559,11 @@ cen_kal.1050 = { } } } -#Yearly payment +#Yearly payment Foragers cen_kal.1051 = { type = character_event title = cen_kal.1030.name - desc = cen_kal.1031.desc + desc = cen_kal.1031b.desc theme = dread override_background = drylands @@ -620,8 +602,13 @@ cen_kal.1051 = { option = { name = cen_kal.1031.a - remove_short_term_gold = 25 + change_variable = { + name = blood_shard_count + add = { value = {2 4} floor = yes } + } + trigger = { gold >= 25 } + custom_tooltip = cen_kal.1031.a.tt ai_chance = { base = 50 modifier = { @@ -640,13 +627,12 @@ cen_kal.1051 = { } option = { name = cen_kal.1031.b - - if = { limit = { has_character_modifier = wc_quilboar_aga_str } remove_character_modifier = wc_quilboar_aga_str } - if = { limit = { has_character_modifier = wc_quilboar_aga_agl } remove_character_modifier = wc_quilboar_aga_agl } - if = { limit = { has_character_modifier = wc_quilboar_aga_wis } remove_character_modifier = wc_quilboar_aga_wis } - if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr } - if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh } remove_character_flag = has_working_bloodstone_foragers + change_variable = { + name = blood_shard_count + add = { value = {2 4} floor = yes } + } + custom_tooltip = cen_kal.1031.b.tt ai_chance = { base = 40 modifier = { @@ -664,12 +650,12 @@ cen_kal.1051 = { } } } -#Change ritual +#Call ritual cen_kal.1052 = { type = character_event - title = cen_kal.1030.name + title = cen_kal.1052.name desc = cen_kal.1032.desc - theme = dread + theme = faith override_background = bp1_bonfire left_portrait = { @@ -679,16 +665,6 @@ cen_kal.1052 = { character = scope:druid } - trigger = { - NOR = { - root.primary_title = { is_mercenary_company = yes } - government_has_flag = government_is_theocracy - } - has_character_flag = has_working_bloodstone_foragers - faith = faith:agamaggan_worship - is_landed = yes - } - immediate = { if = { limit = { exists = cp:councillor_court_chaplain } @@ -713,6 +689,9 @@ cen_kal.1052 = { if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr } if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh } add_character_modifier = { modifier = wc_quilboar_aga_str } + add_character_flag = has_active_quilboar_ritual + custom_tooltip = cen_kal.1032.a.tt + change_variable = { name = blood_shard_count add = -4 } } option = { name = cen_kal.1032.b @@ -722,6 +701,9 @@ cen_kal.1052 = { if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr } if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh } add_character_modifier = { modifier = wc_quilboar_aga_agl } + add_character_flag = has_active_quilboar_ritual + custom_tooltip = cen_kal.1032.a.tt + change_variable = { name = blood_shard_count add = -4 } } option = { name = cen_kal.1032.c @@ -731,6 +713,9 @@ cen_kal.1052 = { if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr } if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh } add_character_modifier = { modifier = wc_quilboar_aga_wis } + add_character_flag = has_active_quilboar_ritual + custom_tooltip = cen_kal.1032.a.tt + change_variable = { name = blood_shard_count add = -4 } } option = { name = cen_kal.1032.d @@ -740,6 +725,9 @@ cen_kal.1052 = { if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr } if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh } add_character_modifier = { modifier = wc_quilboar_aga_spr } + add_character_flag = has_active_quilboar_ritual + custom_tooltip = cen_kal.1032.a.tt + change_variable = { name = blood_shard_count add = -4 } } option = { name = cen_kal.1032.e @@ -749,8 +737,261 @@ cen_kal.1052 = { if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr } if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh } add_character_modifier = { modifier = wc_quilboar_aga_rzh } + add_character_flag = has_active_quilboar_ritual + custom_tooltip = cen_kal.1032.a.tt + change_variable = { name = blood_shard_count add = -4 } + } +} +#Yearly payment ritual +cen_kal.1059 = { + type = character_event + title = cen_kal.1052.name + desc = cen_kal.1031.desc + theme = dread + override_background = drylands + + left_portrait = { + character = ROOT + } + right_portrait = { + character = scope:druid + } + + trigger = { + NOR = { + root.primary_title = { is_mercenary_company = yes } + government_has_flag = government_is_theocracy + } + faith = faith:agamaggan_worship + is_landed = yes + has_character_flag = has_active_quilboar_ritual + } + + immediate = { + if = { + limit = { exists = cp:councillor_court_chaplain } + cp:councillor_court_chaplain = { + save_scope_as = druid + } + } + if = { + limit = { NOT = { exists = scope:druid } } + random_courtier = { + limit = { is_available_adult = yes } + save_scope_as = druid + } + } + } + + option = { + name = cen_kal.1031.a + change_variable = { name = blood_shard_count add = -2 } + trigger = { var:blood_shard_count >= 2 } + custom_tooltip = cen_kal.1032.a.tt + ai_chance = { + base = 50 + modifier = { + add = 65 + has_trait = zealous + } + modifier = { + add = -30 + has_trait = cynical + } + modifier = { + add = -30 + debt_level >= 0 + } + } + } + option = { + name = cen_kal.1031.b + if = { limit = { has_character_modifier = wc_quilboar_aga_str } remove_character_modifier = wc_quilboar_aga_str } + if = { limit = { has_character_modifier = wc_quilboar_aga_agl } remove_character_modifier = wc_quilboar_aga_agl } + if = { limit = { has_character_modifier = wc_quilboar_aga_wis } remove_character_modifier = wc_quilboar_aga_wis } + if = { limit = { has_character_modifier = wc_quilboar_aga_spr } remove_character_modifier = wc_quilboar_aga_spr } + if = { limit = { has_character_modifier = wc_quilboar_aga_rzh } remove_character_modifier = wc_quilboar_aga_rzh } + remove_character_flag = has_active_quilboar_ritual + ai_chance = { + base = 40 + modifier = { + add = -40 + has_trait = zealous + } + modifier = { + add = 30 + has_trait = cynical + } + modifier = { + add = 15 + debt_level >= 0 + } + } } } + ############################################################ +#Grow Vines Quilboar +cen_kal.1055 = { + type = character_event + title = cen_kal.1055.name + desc = cen_kal.1055.desc + theme = faith + override_background = wilderness + + left_portrait = { + character = ROOT + animation = ecstasy + } + + right_portrait = { + character = scope:druid + } + + immediate = { + if = { + limit = { exists = cp:councillor_court_chaplain } + cp:councillor_court_chaplain = { + save_scope_as = druid + } + } + if = { + limit = { NOT = { exists = scope:druid } } + random_courtier = { + limit = { is_available_adult = yes } + save_scope_as = druid + } + } + } + + #Found one + option = { + name = cen_kal.1055.a + custom_tooltip = cen_kal.1055.a.tt + trigger = { exists = scope:thorn_location } + trigger_event = { id = cen_kal.1058 days = { 8 14 } } + ai_chance = { + base = 40 + modifier = { + add = 40 + has_trait = zealous + } + } + } + #Change your mind + option = { + name = cen_kal.1055.b + ai_chance = { base = 10 } + } +} + +#No available counties +cen_kal.1056 = { + type = character_event + title = cen_kal.1055.name + desc = cen_kal.1056.desc + theme = faith + override_background = wilderness + + left_portrait = { + character = ROOT + animation = ecstasy + } + + right_portrait = { + character = scope:druid + } + + immediate = { + if = { + limit = { exists = cp:councillor_court_chaplain } + cp:councillor_court_chaplain = { + save_scope_as = druid + } + } + if = { + limit = { NOT = { exists = scope:druid } } + random_courtier = { + limit = { is_available_adult = yes } + save_scope_as = druid + } + } + } + option = { + name = cen_kal.1056.a + add_piety = 50 + } +} + +#Vine ritual +cen_kal.1058 = { + type = character_event + title = cen_kal.1055.name + desc = cen_kal.1058.desc + theme = faith + override_background = bp1_bonfire + + left_portrait = { + character = ROOT + animation = ecstasy + } + + right_portrait = { + character = scope:druid + } + + immediate = { + if = { + limit = { exists = cp:councillor_court_chaplain } + cp:councillor_court_chaplain = { + save_scope_as = druid + } + } + if = { + limit = { NOT = { exists = scope:druid } } + random_courtier = { + limit = { is_available_adult = yes } + save_scope_as = druid + } + } + } + option = { + name = cen_kal.1058.a + change_variable = { name = blood_shard_count add = -12 } + trigger = { var:blood_shard_count >= 12 } + custom_tooltip = cen_kal.1058.a.tt + scope:thorn_location = { + add_province_modifier = extra_building_slot + add_building = quilboar_thorns_01 + } + if = { limit = { has_trait = zealous } add_stress = -25 } + if = { limit = { has_trait = cynical } add_stress = 25 } + every_courtier = { + limit = { faith = faith:agamaggan_worship } + add_opinion = { + modifier = pious_opinion + opinion = 10 + target = root + } + } + ai_chance = { base = 100 } + } + + option = { + name = cen_kal.1058.b + if = { limit = { has_trait = zealous } add_stress = 25 } + if = { limit = { has_trait = cynical } add_stress = -25 } + every_courtier = { + limit = { faith = faith:agamaggan_worship } + add_opinion = { + modifier = impious_opinion + opinion = -5 + target = root + } + } + ai_chance = { base = 10 } + } +} + #Heritage Armor/Totem creation #Death earth mother spirit to heir diff --git a/gfx/interface/illustrations/decisions/quilboar_gatherers.dds b/gfx/interface/illustrations/decisions/quilboar_gatherers.dds new file mode 100644 index 0000000000..9cd1d4f076 Binary files /dev/null and b/gfx/interface/illustrations/decisions/quilboar_gatherers.dds differ diff --git a/gfx/interface/illustrations/decisions/quilboar_vines.dds b/gfx/interface/illustrations/decisions/quilboar_vines.dds new file mode 100644 index 0000000000..2c7bc32ce5 Binary files /dev/null and b/gfx/interface/illustrations/decisions/quilboar_vines.dds differ diff --git a/localization/english/event_localization/wc_central_kalimdor_events_l_english.yml b/localization/english/event_localization/wc_central_kalimdor_events_l_english.yml index ffdc0dff70..d6173978d5 100644 --- a/localization/english/event_localization/wc_central_kalimdor_events_l_english.yml +++ b/localization/english/event_localization/wc_central_kalimdor_events_l_english.yml @@ -173,14 +173,25 @@ cen_kal.1025.a:"A great warrior without a doubt..." #Quilboar Bloodshard foragers cen_kal.1030.name:"The Blood Shards Of Agamaggan" -cen_kal.1030.desc:"You have always been fascinated by the power of the blood shards, the crimson crystals scattered across the Barrens. They are said to be the remnants of Agamaggan. His blood infused the land with his essence, giving rise to the Quilboar. One of your druids - [SCOPE.sC('druid').GetName] has been studying the blood shards for a long time, they believe that the shards can be used to perform powerful rituals that can aid our realm.\n\n"[ROOT.Char.GetTitleAsNameNoTooltip], I have a request for you. You know of the blood shards, yes? The gifts of Agamaggan to his children? They are more than just symbols of our heritage. They are sources of great power. Power that we can use to our advantage. \n\nI have been studying them for many moons, and I have learned much about their secrets. They can be used to enhance our warriors, our crops, our defenses, and more. But we need more of them. More than we have now. \n\nI ask you to send a group of brave quilboar to scour the Barrens for more blood shards. They will bring back more blood shards for me to work with, and for you to benefit from. \n\nWill you grant me this favor, [ROOT.Char.GetTitleAsNameNoTooltip]? Will you let me unleash the full potential of the blood shards? Will you honor the legacy of Agamaggan? "" +cen_kal.1030.desc:"You have always been fascinated by the power of the blood shards, the crimson crystals scattered across the Barrens. They are said to be the remnants of Agamaggan. His blood infused the land with his essence, giving rise to the Quilboar. Your head thornweaver - [SCOPE.sC('druid').GetName] has been studying the blood shards for a long time, and believe that the shards can be used to perform powerful rituals that can aid our realm.\n\n"[ROOT.Char.GetTitleAsNameNoTooltip], I have a request for you. You know of the blood shards, yes? They are more than just symbols of our heritage. They are sources of great power. Power that we can use to our advantage. \n\nI have been studying them for many moons, and I have learned much about their secrets. But we need more of them. More than we have now. " cen_kal.1030.a:"Agamaggan lives on!" -cen_kal.1030.a.tt:"Every year you will be able to pick a ritual blessing for your geomancers to cast on your realm, at the cost of an extensive foraging operation that you will need to fund." +cen_kal.1030.a.tt:"An extensive foraging operation will be performed to scour the Barrens for blood shards, you will be able to use these blood shards to call forth thorns of Agamaggan and perform powerful rituals to aid your realm." cen_kal.1030.b:"We can't finance this right now, [SCOPE.sC('druid').GetFirstNameNoTooltip]..." -cen_kal.1031.desc:"The blood shard operation has been a success so far, your head geomancer - [SCOPE.sC('druid').GetFirstName] has been able to use the blood shards of Agamaggan to perform powerful rituals that have blessed your realm with considerable power. However, the project came at a cost of considerable money, and now they are asking for more. They come to you with a report of their progress and a plea for more funding.\n\n"[ROOT.Char.GetTitleAsNameNoTooltip], I have much to tell you. The blood shards are working wonders for us. They are enhancing our battleboars, our defenses, and more. They are honoring the legacy of Agamaggan. But they are also running low. We need more blood shards to sustain the rituals. The Barrens are vast and dangerous, and the expedition needs more gold and supplies. " +cen_kal.1031.desc:"The blood shard operation has been a success so far, your head geomancer - [SCOPE.sC('druid').GetFirstName] has been able to use the blood shards of Agamaggan to perform powerful rituals that have blessed your realm with considerable power. However, the project came at a cost of a considerable amount of blood shards, and now they are asking for more. They come to you with a report of their progress and a plea for more funding.\n\n"[ROOT.Char.GetTitleAsNameNoTooltip], I have much to tell you. The blood shards are working wonders for us. They are enhancing our battleboars, our defenses, and more. They are honoring the legacy of Agamaggan. But they are also running low. We need more blood shards to sustain the rituals. " +cen_kal.1031b.desc:""The blood shard operation has been a success so far, your head geomancer - [SCOPE.sC('druid').GetFirstName] has ordered a band of your soldiers to scour the Barrens and as expected, they have returned with some blood shards. However, the project came at a cost of a considerable amount of gold, and now they are asking for more. They come to you with a report of their progress and a plea for more funding.\n\n"I ask you to invest more in my project, [ROOT.Char.GetTitleAsNameNoTooltip]. It is worth it, I assure you. The blood shards can do wonders for us. They can make us stronger, richer, healthier, and more powerful. They can help us achieve our destiny as the chosen of Agamaggan. "" cen_kal.1031.a:"The blessings of Agamaggan warrant any price..." cen_kal.1031.b:"We can no longer sustain this, Agamaggan forgive me..." +cen_kal.1031.a.tt:"Receive between 2 and 4 blood shards" +cen_kal.1031.b.tt:"Receive between 2 and 4 blood shards, and end the blood shards gathering operation" + +blood_shards_gather_operation_desc:"Call forth an extensive foraging operation to scour the Barrens for blood shards, you will be able to use these blood shards to call forth thorns of Agamaggan and perform powerful rituals to aid your realm. Every year you will recieve between 2 and 4 blood shards at the expense of a yearly funding cost of 25 gold." +blood_shards_gather_operation_name:"Initiate Blood Shards Gathering" +blood_shards_gather_operation_tt:"Call forth an extensive foraging operation for blood shards, you will be able to use these blood shards to call forth thorns of Agamaggan and perform powerful rituals to aid your realm." +blood_shards_gather_operation_confirm:"Summon Your Head Thornweaver" +blood_shards_gather_operation_req_tt:"You do not have a blood shards foraging operation in progress" + +cen_kal.1052.name:"Agamaggan's Blessing" cen_kal.1032.desc:"You enter the ritual campfire, where the feast is being held in honor of Agamaggan. You see different elder geomancers gathered around the fire, each holding a blood shard in their hands. They are chanting and dancing, invoking the power of the boar god and his essence. You catch sight of [SCOPE.sC('druid').GetFirstName], the head of your geomancers, standing near the fire, waiting for you.\n\n"[ROOT.Char.GetTitleAsNameNoTooltip], welcome to Agamaggan's feast, we have been waiting for you. I am glad you could join us for this sacred occasion. "\n\nYou must decide which ritual you want to perform, and how to allocate the blood shards among them. What would you like to achieve with the blood shards of Agamaggan?" cen_kal.1032.a:"Ritual of Agamaggan's Strength" @@ -188,8 +199,40 @@ cen_kal.1032.b:"Ritual of Agamaggan's Agility" cen_kal.1032.c:"Ritual of Agamaggan's Wisdom" cen_kal.1032.d:"Ritual of Rising Spirit" cen_kal.1032.e:"Ritual of Razorhide" - -change_agamaggan_blessing_desc:"Join with your geomancers in a ritual feast to Agamaggan, the collected blood shards will be used to perform one of five rituals, with each ritual offering its own blessings to your realm. You can only perform one ritual at a time, and due to the labour needed to gather the blood shards, you cannot change the ritual for some time after performing it." -change_agamaggan_blessing_name:"Join Agamaggan's Blood Shards Ritual" -change_agamaggan_blessing_tt:"Join with your geomancers in a ritual feast to Agamaggan, the collected blood shards will be used to perform one of five rituals, with each ritual offering its own blessings to your realm." -change_agamaggan_blessing_confirm:"Join the ritual feast" +cen_kal.1032.a.tt:"This will cost you 4 blood shards now and 2 more every year, or whenever you decide to change the chosen ritual" + +change_agamaggan_blessing_desc:"Order your thornweavers to prepare a ritual feast to Agamaggan, the collected blood shards will be used to perform one of five rituals, with each ritual offering its own blessings to your realm. You can only perform one ritual at a time. The ritual will have an intial cost of 4 blood shards and 2 more every year to sustain the ritual." +change_agamaggan_blessing_name:"Perform Blood Shards Ritual" +change_agamaggan_blessing_tt:"Order your thornweavers to prepare a ritual feast to Agamaggan, the collected blood shards will be used to perform one of five rituals, with each ritual offering its own blessings to your realm." +change_agamaggan_blessing_confirm:"Commence the ritual feast" +change_agamaggan_blessing_req_tt:"Requires 4 blood shards (You currently have [GetPlayer.MakeScope.Var('blood_shard_count').GetValue])" + +#Wandering goblin merchant +cen_kal.1053.name:"The Wagon From Ratchet" +cen_kal.1053.desc:"As I am traveling across [ROOT.Char.GetCurrentLocation.GetName], I stop at an unusual sight. A wagon covered with colorful banners and signs is parked on the side of the road. Next to it, a goblin is shouting something unintelligible to an ogre. The goblin eventually notices me and frantically motions me towards him.\n\n"Hey, how ya doing friend! Came out here to get me some new supplies to sell but damn [SCOPE.sC('ogre_bodyguard').GetFirstName] over here is getting hungry. Say, it looks like your coinpurse is weighing you down a bit, friend. I got wares if you’re willing to part with your coin."\n\nI look around and realize that there is nobody else here- save for the large ogre protecting the treasure…" +cen_kal.1053.a:"This one doesn't look bad actually..." +cen_kal.1053.a.tt:"Get a random item relevant to your culture" +cen_kal.1053.b:"I need to have an item repaired..." +cen_kal.1053.c:"I'll be taking this, for free..." +cen_kal.1053.d:"I see nothing of interest..." + +#Cosntruct Thorns +cen_kal.1055.name:"The Thornweavers Of Agamaggan" +cen_kal.1055.desc:"You have summoned your head thornweaver - [SCOPE.sC('druid').GetName], a respected and skilled elder of your tribe. The thornweaver believes that the county of [ROOT.Var('thorn_location').Province.GetBaronyNameExplicitly] is worthy of being blessed by the holy thorn covered veins of Agamaggan.\n\nThey explains that the county has a rich and fertile soil, where the blood of the boar god has seeped into the ground. By using some of your collected blood shards, a group of elder thornweavers can perform a ritual to call forth the thorn covered veins from the depths of the earth. These veins will create a network of sacred and powerful places for the quilboar, where they can worship, heal, and grow.\n\nThe thorns will act as natural fortifications, making it harder for your enemies to invade your lands and will also act as symbols of your faith's power, inspiring fear and awe in your foes and allies alike." +cen_kal.1055.a:"Prepare the ritual, Thornweavers..." +cen_kal.1055.a.tt:"Your thornweavers will prepare a ritual to call forth large thorn covered vines in the county of [thorn_location.GetName]." +cen_kal.1055.b:"Perhaps it's best to wait..." + +cen_kal.1056.desc:"You have summoned your head thornweaver - [SCOPE.sC('druid').GetName], a respected and skilled elder of your tribe. They have a serious and urgent matter to discuss with you. You have heard rumors of a county that is rich in the blood of Agamaggan and suitable for the thorn calling ritual. You ask your head thornweaver to confirm these rumors, and to investigate the county for you. They agree, and after some time, they have returned with bad news. The county that you mentioned is not worthy of being blessed by the holy thorn covered veins and hold no trace of the Agamaggan’s blood in the soil.\n\nThey apologize for disappointing you, and ask you to forgive them for their failure. They say that they have wasted your time and resources, and that they have let you down as your head thornweaver. Before leaving, [SCOPE.sC('druid').GetName] suggests that perhaps it is time to expand our realm to find new lands that might be more fitting for the ritual." +cen_kal.1056.a:"We have to grow further to recieve Agamaggan's blessing..." + +cen_kal.1058.desc:"You arrive at the ritual site in [ROOT.Var('thorn_location').Province.GetBaronyNameExplicitly], where the thornweavers are preparing to call forth the thorns of Agamaggan. You see different elder thornweavers gathered around a large pit, each holding a blood shard in their hands. They are chanting and swaying, invoking the power of the boar god and his blood. You spot [SCOPE.sC('druid').GetFirstName], the head of your thornweavers, standing near the pit, waiting for you.\n\n“[ROOT.Char.GetTitleAsNameNoTooltip], welcome to Agamaggan’s ritual, we have been waiting for you. I am glad you could join us for this sacred occasion. ”\n\nAfter the completion of the ritual, you will be able to expand the thorns further into stronger fortifications if you desire. "What do you wish, [ROOT.Char.GetTitleAsNameNoTooltip]? Shall we call forth the great thorns of Agamaggan? "" +cen_kal.1058.a:"Agamaggan blesses us with his power!" +cen_kal.1058.b:"Perhaps we should stop this..." +cen_kal.1058.a.tt:"You will use up a total of 12 blood shards" + +create_thorns_quilboar_desc:"I will order my thornweavers to prepare a grand ritual to call forth large thorn covered vines in my realm. The thorns will forever scar the land and be a symbol of the glory of Agamaggan." +create_thorns_quilboar_name:"Invoke The Vines of Agamaggan" +create_thorns_quilboar_tt:"Order your thornweavers to prepare a ritual to call forth large thorn covered vines in a suitable county" +create_thorns_quilboar_confirm:"Call the Elder Thornweaver" +create_thorns_quilboar_req_tt:"Requires 12 blood shards (You currently have [GetPlayer.MakeScope.Var('blood_shard_count').GetValue])" \ No newline at end of file diff --git a/localization/english/modifiers/wc_modifiers_l_english.yml b/localization/english/modifiers/wc_modifiers_l_english.yml index b0769d63e4..a7d808d0c7 100644 --- a/localization/english/modifiers/wc_modifiers_l_english.yml +++ b/localization/english/modifiers/wc_modifiers_l_english.yml @@ -171,5 +171,8 @@ wc_quilboar_aga_rzh:0 "Razorhide" wc_quilboar_aga_rzh_desc:0 "All those who enter battle have need of protection. Their bones must be strong. Their skin tough. My tribe knows this as well, and to add to the natural protection our quills and hide give us, we often call upon Agamaggan to protect us from harm before we go to war." - + #Quilboar Bloodshards + wc_quilboar_bloodshards:"Blood Shards" + wc_quilboar_bloodshards_desc:1 "Blood Shards are said to have been formed by the blood falling from the quilboar's patron demigod, Agamaggan. They can be collected and used to perform powerful rituals, some that influence your realm positively, others even capable of calling forth great thorned vines in your provinces.\n\nThis character currently possess [GetPlayer.MakeScope.Var('blood_shard_count').GetValue] blood shards." + \ No newline at end of file diff --git a/localization/english/wc_buildings_l_english.yml b/localization/english/wc_buildings_l_english.yml index 2a81253349..42ae0a4a20 100644 --- a/localization/english/wc_buildings_l_english.yml +++ b/localization/english/wc_buildings_l_english.yml @@ -214,3 +214,15 @@ building_titan_forge_07_desc:1 "$building_type_titan_forge_01_desc$" building_titan_forge_08:1 "World Soul Forge" building_titan_forge_08_desc:1 "With the help of World Soul, it's much more efficient to forge new Titanforged." + + #Quilboar Vines + building_type_quilboar_thorns_01:0 "The Thorns of Agamaggan" + + building_quilboar_thorns_01:0 "Thorn Bastion" + building_quilboar_thorns_01_desc:1 "This county has been blessed by the holy thorn covered veins of Agamaggan, the great boar god who died in battle against the Burning Legion. The thorn covered veins are sacred and powerful places for the quilboar, where they can worship, heal, and grow." + + building_quilboar_thorns_02:0 "Thorn Stronghold" + building_quilboar_thorns_02_desc:1 "This county has been blessed by the holy thorn covered veins of Agamaggan, the great boar god who died in battle against the Burning Legion. The thorn stronghold is a formidable and impressive structure for the quilboar, where they can store their resources and plan their strategies." + + building_quilboar_thorns_03:0 "Thorn labyrinth" + building_quilboar_thorns_03_desc:1 "This county has been reshaped to a thorn labyrinth of Agamaggan, the great boar god who died in battle against the Burning Legion. The thorn labyrinth is a massive and intricate network of thorny walls, towers, and tunnels that cover the entire county. It is a formidable and impenetrable fortress for the quilboar, where they can defend themselves from any invasion or attack." diff --git a/localization/english/wc_traits_l_english.yml b/localization/english/wc_traits_l_english.yml index 4d2845bcfd..587c054c71 100644 --- a/localization/english/wc_traits_l_english.yml +++ b/localization/english/wc_traits_l_english.yml @@ -578,3 +578,4 @@ trait_wc_tauren_EM_NEG_hawk:0 "Hawk's Blindness" trait_wc_tauren_EM_NEG_hawk_desc:0 "You have been punished by the spirit of the Hawk, for turning your back on the Earth Mother." + \ No newline at end of file