diff --git a/common/artifacts/908_wc_artifacts_relic.txt b/common/artifacts/908_wc_artifacts_relic.txt index 8aceb85e45..bdacd7746d 100644 --- a/common/artifacts/908_wc_artifacts_relic.txt +++ b/common/artifacts/908_wc_artifacts_relic.txt @@ -70,6 +70,67 @@ chalice_of_trollbanes = { picture = "GFX_inv_misc_trophy_argent" slot = relic } +gem_of_health_3 = { + quality = 4 + flags = { misc uncommon } + + active = { + is_adult = yes + + has_7_8_magic_class_or_higher_trigger = yes + + is_magic_class_trigger = yes + } + + health = 1.2 + + monthly_character_prestige = 0.8 + + picture = "GFX_gem_of_health" + slot = relic +} +gem_of_wisdom_3 = { + quality = 4 + flags = { misc uncommon } + + active = { + is_adult = yes + + has_7_8_magic_class_or_higher_trigger = yes + + is_magic_class_trigger = yes + } + + learning = 3 + diplomacy = 3 + vassal_opinion = 7 + + monthly_character_prestige = 0.8 + + picture = "GFX_gem_of_wisdom" + slot = relic +} +gem_of_power_3 = { + quality = 4 + flags = { misc uncommon } + + active = { + is_adult = yes + + has_7_8_magic_class_or_higher_trigger = yes + + is_magic_class_trigger = yes + } + + martial = 4 + health = 0.2 + combat_rating = 20 + + monthly_character_prestige = 0.8 + + picture = "GFX_gem_of_power" + slot = relic +} # Rare dark_crystal = { @@ -126,6 +187,67 @@ orb_of_kiljaeden = { picture = "GFX_orb_of_kiljaeden" slot = relic } +gem_of_health_2 = { + quality = 3 + flags = { misc uncommon } + + active = { + is_adult = yes + + has_5_6_magic_class_or_higher_trigger = yes + + is_magic_class_trigger = yes + } + + health = 0.9 + + monthly_character_prestige = 0.6 + + picture = "GFX_gem_of_health" + slot = relic +} +gem_of_wisdom_2 = { + quality = 3 + flags = { misc uncommon } + + active = { + is_adult = yes + + has_5_6_magic_class_or_higher_trigger = yes + + is_magic_class_trigger = yes + } + + learning = 2 + diplomacy = 2 + vassal_opinion = 5 + + monthly_character_prestige = 0.6 + + picture = "GFX_gem_of_wisdom" + slot = relic +} +gem_of_power_2 = { + quality = 3 + flags = { misc uncommon } + + active = { + is_adult = yes + + has_5_6_magic_class_or_higher_trigger = yes + + is_magic_class_trigger = yes + } + + martial = 3 + health = 0.15 + combat_rating = 15 + + monthly_character_prestige = 0.6 + + picture = "GFX_gem_of_power" + slot = relic +} # Uncommon pipe_of_insight = { @@ -148,4 +270,65 @@ pipe_of_insight = { picture = "GFX_pipe_of_insight" slot = relic +} +gem_of_health_1 = { + quality = 2 + flags = { misc uncommon } + + active = { + is_adult = yes + + has_3_4_magic_class_or_higher_trigger = yes + + is_magic_class_trigger = yes + } + + health = 0.6 + + monthly_character_prestige = 0.4 + + picture = "GFX_gem_of_health" + slot = relic +} +gem_of_wisdom_1 = { + quality = 2 + flags = { misc gem uncommon } + + active = { + is_adult = yes + + has_3_4_magic_class_or_higher_trigger = yes + + is_magic_class_trigger = yes + } + + learning = 1 + diplomacy = 1 + vassal_opinion = 3 + + monthly_character_prestige = 0.4 + + picture = "GFX_gem_of_wisdom" + slot = relic +} +gem_of_power_1 = { + quality = 2 + flags = { misc uncommon } + + active = { + is_adult = yes + + has_3_4_magic_class_or_higher_trigger = yes + + is_magic_class_trigger = yes + } + + martial = 2 + health = 0.1 + combat_rating = 10 + + monthly_character_prestige = 0.4 + + picture = "GFX_gem_of_power" + slot = relic } \ No newline at end of file diff --git a/common/event_modifiers/00_event_modifiers.txt b/common/event_modifiers/00_event_modifiers.txt index 5d97058d1b..b6883be8a7 100644 --- a/common/event_modifiers/00_event_modifiers.txt +++ b/common/event_modifiers/00_event_modifiers.txt @@ -5790,6 +5790,9 @@ employ_a_smith_cd = { icon = 1 } +employ_a_jeweler_cd = { + icon = 1 +} writing_a_book = { icon = 2 } diff --git a/common/scripted_triggers/00_scripted_triggers.txt b/common/scripted_triggers/00_scripted_triggers.txt index 7a06815452..22b5227603 100644 --- a/common/scripted_triggers/00_scripted_triggers.txt +++ b/common/scripted_triggers/00_scripted_triggers.txt @@ -5285,6 +5285,18 @@ have_duplicate_smith_artifacts_flag_expensive_optionC_trigger = { } } +have_gem_artifact_trigger = { + has_artifact = gem_of_wisdom_3 + has_artifact = gem_of_wisdom_2 + has_artifact = gem_of_wisdom_1 + has_artifact = gem_of_health_3 + has_artifact = gem_of_health_2 + has_artifact = gem_of_health_1 + has_artifact = gem_of_power_3 + has_artifact = gem_of_power_2 + has_artifact = gem_of_power_1 +} + # Warcraft can_be_asked_to_leave_court_trigger = { NOR = { diff --git a/decisions/mnm_society_decisions.txt b/decisions/mnm_society_decisions.txt index 296dd0506d..16e0734531 100644 --- a/decisions/mnm_society_decisions.txt +++ b/decisions/mnm_society_decisions.txt @@ -3049,4 +3049,90 @@ decisions = { } } } + employ_a_jeweler = { + only_playable = yes + ai_check_interval = 60 + potential = { + # Warcraft + is_untouchable_trigger = no + can_rule_peacefully_trigger = yes + + NOT = { government = order_government } + OR = { + has_dlc = "Mystics" + has_dlc = "Jade Dragon" + } + OR = { + mercenary = no + ai = no + } + age = 16 + is_incapable = no + OR = { + ai = no + higher_tier_than = COUNT + } + is_landed = yes + is_lowborn = no + is_mage_class_trigger = yes + + # Block player from action if they have already gotten all of the artifacts which they can obtain from this action + NAND = { + have_gem_artifacts_trigger = yes + } + } + allow = { + hidden_trigger = { + OR = { + ai = no + wealth = 500 + } + } + is_inaccessible_trigger = no + + custom_tooltip = { + text = employ_a_jeweler_cooldown_tt + hidden_trigger = { + NOT = { + has_character_modifier = employ_a_jeweler_cd + } + } + } + } + effect = { + custom_tooltip = { + text = employ_a_jeweler_tt + hidden_effect = { + character_event = { id = WCCLS.9130 } + add_character_modifier = { + name = employ_a_jeweler_cd + hidden = yes + years = 5 + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + has_3_4_magic_class_or_higher_trigger = yes + modifier = { + factor = 1.5 + trait = sorcerer + } + modifier = { + factor = 2 + trait = ambitious + } + modifier = { + factor = 0.1 + trait = content + } + modifier = { + factor = 0 + have_gem_artifact_trigger = yes + } + } } diff --git a/events/wc_class_events.txt b/events/wc_class_events.txt index e5b0a08b30..1bc1a63539 100644 --- a/events/wc_class_events.txt +++ b/events/wc_class_events.txt @@ -772,6 +772,685 @@ narrative_event = { } } +# Employ a jeweler +character_event = { + id = WCCLS.9310 + desc = EVT_DESC_WCCLS_9310 + picture = GFX_evt_treasure_chamber + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + + trigger = { + OR = { + has_dlc = "Mystics" + has_dlc = "Jade Dragon" + } + } + + option = { # Health + name = EVT_OPTA_WCCLS_9310 + custom_tooltip = { + text = employ_a_jeweler_diamond_search_tt + hidden_effect = { + set_character_flag = jeweler + } + } + } + option = { # Wisdom + name = EVT_OPTB_WCCLS_9310 + trigger = { + job_steward = { always = yes } + } + custom_tooltip = { + text = employ_a_jeweler_emerald_search_tt + hidden_effect = { + set_character_flag = jeweler + } + } + } + option = { # Power + name = EVT_OPTC_WCCLS_9310 + trigger = { + job_marshal = { always = yes } + } + custom_tooltip = { + text = employ_a_jeweler_ruby_search_tt + hidden_effect = { + set_character_flag = jeweler + } + } + } + option = { # Abort + name = EVT_OPTD_WCCLS_9310 + custom_tooltip = { + text = employ_jeweler_cd_reset_tt + hidden_effect = { + remove_character_modifier = employ_a_jeweler_cd + } + } + ai_chance = { + factor = 0 + have_gem_artifact_trigger = yes + } + } +} + +# Jeweler steals item and decides who to give it to +character_event = { + id = WCCLS.9131 + is_triggered_only = yes + hide_window = yes + + trigger = { + OR = { + has_dlc = "Mystics" + has_dlc = "Jade Dragon" + } + } + + immediate = { + if = { + limit = { NOT = { event_target:jeweler_employer = { is_alive = yes } } } + liege = { save_event_target_as = jeweler_employer } + } + trigger_switch = { + on_trigger = has_character_flag + expensive_jewels = { + if = { + limit = { + FROM = { + OR = { + religion_group = christian + religion_group = jewish_group + } + } + } + add_artifact = crown_of_majesty + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = emerald_scepter + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = sword_of_heroes + new_artifact = { set_artifact_flag = stolen_by_smith } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + religion_group = muslim + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + } + add_artifact = dagger_of_glory + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = ruby_bracelets + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + religion_group = indian_group + religion = bon + religion = bon_reformed + } + } + } + add_artifact = dagger_of_glory + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = celestial_necklace + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + religion_group = zoroastrian_group + religion = zun_pagan + religion = zun_pagan_reformed + } + } + } + add_artifact = circlet_of_the_heavens + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = staff_of_majesty + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + # Warcraft + religion_group = vrykul_religion_group + # religion = norse_pagan + # religion = norse_pagan_reformed + } + } + } + add_artifact = crown_of_crows + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = sword_of_heroes + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else = { + add_artifact = heros_crown + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = axe_of_the_ancestors + new_artifact = { set_artifact_flag = stolen_by_smith } + } + } + good_jewels = { + if = { + limit = { + FROM = { + OR = { + religion_group = christian + religion_group = jewish_group + } + } + } + add_artifact = crown_of_pearls + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = ruby_scepter + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = golden_sword + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + religion_group = muslim + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + } + add_artifact = bejeweled_dagger + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = golden_bracelets + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + religion_group = indian_group + religion = bon + religion = bon_reformed + } + } + } + add_artifact = bejeweled_dagger + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = necklace_of_radiance + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + religion_group = zoroastrian_group + religion = zun_pagan + religion = zun_pagan_reformed + } + } + } + add_artifact = circlet_of_the_heavens + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = golden_staff + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + # Warcraft + religion_group = vrykul_religion_group + # religion = norse_pagan + # religion = norse_pagan_reformed + } + } + } + add_artifact = crown_of_the_sea + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = golden_sword + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else = { + add_artifact = amber_crown + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = obsidian_axe + new_artifact = { set_artifact_flag = stolen_by_smith } + } + } + cheap_jewels = { + if = { + limit = { + FROM = { + OR = { + religion_group = christian + religion_group = jewish_group + } + } + } + add_artifact = the_lily_crown + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = noble_scepter + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = engraved_sword + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + religion_group = muslim + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + } + add_artifact = engraved_dagger + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = silver_bracelets + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + religion_group = indian_group + religion = bon + religion = bon_reformed + } + } + } + add_artifact = engraved_dagger + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = collar_of_pearls + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + religion_group = zoroastrian_group + religion = zun_pagan + religion = zun_pagan_reformed + } + } + } + add_artifact = circlet_of_twilight + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = silver_staff + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else_if = { + limit = { + FROM = { + OR = { + # Warcraft + religion_group = vrykul_religion_group + # religion = norse_pagan + # religion = norse_pagan_reformed + } + } + } + add_artifact = iron_crown + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = engraved_sword + new_artifact = { set_artifact_flag = stolen_by_smith } + } + else = { + add_artifact = engraved_crown + new_artifact = { set_artifact_flag = stolen_by_smith } + add_artifact = ceremonial_axe + new_artifact = { set_artifact_flag = stolen_by_smith } + } + } + amazing_weapons = { + trigger_switch = { + on_trigger = has_character_flag + weapon_sword = { + random_list = { + 1 = { add_artifact = sword_tier_4_heartseeker } + 1 = { add_artifact = sword_tier_4_vengeance } + 1 = { add_artifact = sword_tier_4_fury } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + weapon_scimitar = { + random_list = { + 1 = { add_artifact = scimitar_tier_4_golden } + 1 = { add_artifact = scimitar_tier_4_fortune } + 1 = { add_artifact = scimitar_tier_4_conquest } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + weapon_lance = { + random_list = { + 1 = { add_artifact = lance_tier_4_impaler } + 1 = { add_artifact = lance_tier_4_trident } + 1 = { add_artifact = lance_tier_4_piercer } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + weapon_axe = { + random_list = { + 1 = { add_artifact = axe_tier_4_cleaver } + 1 = { add_artifact = axe_tier_4_ravager } + 1 = { add_artifact = axe_tier_4_marauder } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + weapon_mace = { + random_list = { + 1 = { add_artifact = mace_tier_4_foe_hammer } + 1 = { add_artifact = mace_tier_4_bone_breaker } + 1 = { add_artifact = mace_tier_4_shatterer } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + weapon_bow = { + random_list = { + 1 = { add_artifact = bow_tier_4_silent_wind } + 1 = { add_artifact = bow_tier_4_lightning } + 1 = { add_artifact = bow_tier_4_eagle } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + armor_set = { + random_list = { + 1 = { add_artifact = armor_tier_4_guardian } + 1 = { add_artifact = armor_tier_4_champion } + 1 = { add_artifact = armor_tier_4_warden } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + } + } + expensive_weapons = { + trigger_switch = { + on_trigger = has_character_flag + weapon_sword = { + random_list = { + 1 = { add_artifact = sword_tier_3_heartseeker } + 1 = { add_artifact = sword_tier_3_vengeance } + 1 = { add_artifact = sword_tier_3_fury } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + weapon_scimitar = { + random_list = { + 1 = { add_artifact = scimitar_tier_3_golden } + 1 = { add_artifact = scimitar_tier_3_fortune } + 1 = { add_artifact = scimitar_tier_3_conquest } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + weapon_lance = { + random_list = { + 1 = { add_artifact = lance_tier_3_impaler } + 1 = { add_artifact = lance_tier_3_trident } + 1 = { add_artifact = lance_tier_3_piercer } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + weapon_axe = { + random_list = { + 1 = { add_artifact = axe_tier_3_cleaver } + 1 = { add_artifact = axe_tier_3_ravager } + 1 = { add_artifact = axe_tier_3_marauder } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + weapon_mace = { + random_list = { + 1 = { add_artifact = mace_tier_3_foe_hammer } + 1 = { add_artifact = mace_tier_3_bone_breaker } + 1 = { add_artifact = mace_tier_3_shatterer } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + weapon_bow = { + random_list = { + 1 = { add_artifact = bow_tier_3_silent_wind } + 1 = { add_artifact = bow_tier_3_lightning } + 1 = { add_artifact = bow_tier_3_eagle } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + armor_set = { + random_list = { + 1 = { add_artifact = armor_tier_3_guardian } + 1 = { add_artifact = armor_tier_3_champion } + 1 = { add_artifact = armor_tier_3_warden } + } + new_artifact = { set_artifact_flag = stolen_by_smith } + } + } + } + good_weapons = { + trigger_switch = { + on_trigger = has_character_flag + weapon_sword = { add_artifact = sword_tier_2_new new_artifact = { set_artifact_flag = stolen_by_smith } } + weapon_scimitar = { add_artifact = scimitar_tier_2_new new_artifact = { set_artifact_flag = stolen_by_smith } } + weapon_lance = { add_artifact = lance_tier_2_new new_artifact = { set_artifact_flag = stolen_by_smith } } + weapon_axe = { add_artifact = axe_tier_2_new new_artifact = { set_artifact_flag = stolen_by_smith } } + weapon_mace = { add_artifact = mace_tier_2_new new_artifact = { set_artifact_flag = stolen_by_smith } } + weapon_bow = { add_artifact = bow_tier_2_new new_artifact = { set_artifact_flag = stolen_by_smith } } + armor_set = { add_artifact = armor_tier_2 new_artifact = { set_artifact_flag = stolen_by_smith } } + } + } + cheap_weapons = { + trigger_switch = { + on_trigger = has_character_flag + weapon_sword = { add_artifact = sword_tier_1_new new_artifact = { set_artifact_flag = stolen_by_smith } } + weapon_scimitar = { add_artifact = scimitar_tier_1_new new_artifact = { set_artifact_flag = stolen_by_smith } } + weapon_lance = { add_artifact = lance_tier_1_new new_artifact = { set_artifact_flag = stolen_by_smith } } + weapon_axe = { add_artifact = axe_tier_1_new new_artifact = { set_artifact_flag = stolen_by_smith } } + weapon_mace = { add_artifact = mace_tier_1_new new_artifact = { set_artifact_flag = stolen_by_smith } } + weapon_bow = { add_artifact = bow_tier_1_new new_artifact = { set_artifact_flag = stolen_by_smith } } + armor_set = { add_artifact = armor_tier_1 new_artifact = { set_artifact_flag = stolen_by_smith } } + } + } + } + #Give to landed rivals first, then nearby rulers who dislike the employer, else keep for self and run away. + if = { + limit = { + event_target:smith_employer = { + any_rival = { + is_landed = yes + is_within_diplo_range = ROOT + } + } + } + event_target:smith_employer = { + random_rival = { + limit = { + is_landed = yes + is_within_diplo_range = ROOT + } + save_event_target_as = smith_steal_target + } + } + } + else_if = { + limit = { + event_target:smith_employer = { + any_neighbor_independent_ruler = { + is_landed = yes + NOT = { + opinion = { + who = PREV + value = -30 + } + } + } + } + } + event_target:smith_employer = { + any_neighbor_independent_ruler = { + limit = { + is_landed = yes + NOT = { + opinion = { + who = PREV + value = -30 + } + } + } + save_event_target_as = smith_steal_target + } + } + } + else_if = { + limit = { + event_target:smith_employer = { + any_neighbor_independent_ruler = { + is_landed = yes + NOT = { + opinion = { + who = PREV + value = 0 + } + } + } + } + } + event_target:smith_employer = { + any_neighbor_independent_ruler = { + limit = { + is_landed = yes + NOT = { + opinion = { + who = PREV + value = 0 + } + } + } + save_event_target_as = smith_steal_target + } + } + } + else = { save_event_target_as = smith_steal_target } + any_artifact = { + limit = { has_artifact_flag = stolen_by_smith } + set_original_owner = event_target:smith_employer + transfer_artifact = { + to = event_target:smith_steal_target + from = ROOT + } + } + if = { + limit = { + event_target:smith_steal_target = { is_landed = yes } + is_landed = no + } + move_character = event_target:smith_steal_target + opinion = { + who = event_target:smith_steal_target + modifier = opinion_grateful + years = 10 + } + reverse_opinion = { + who = event_target:smith_steal_target + modifier = opinion_grateful + years = 10 + } + } + else = { banish = yes } + event_target:smith_employer = { character_event = { id = MNM.9132 } } + #clear_event_target = smith_employer + clr_character_flag = amazing_weapons + clr_character_flag = expensive_weapons + clr_character_flag = good_weapons + clr_character_flag = cheap_weapons + clr_character_flag = amazing_jewels + clr_character_flag = expensive_jewels + clr_character_flag = good_jewels + clr_character_flag = cheap_jewels + } +} + +# Jeweler stole item and fled +character_event = { + id = MNM.9132 + desc = EVT_DESC_MNM_9132 + picture = GFX_evt_merchant_caravan + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + + trigger = { + OR = { + has_dlc = "Mystics" + has_dlc = "Jade Dragon" + } + } + + option = { + name = EVT_OPTA_MNM_9132 + event_target:smith_steal_target = { + show_scope_change = no + any_artifact = { + limit = { has_artifact_flag = stolen_by_smith } + clr_artifact_flag = stolen_by_smith + } + reverse_opinion = { + who = ROOT + modifier = opinion_thief + years = 10 + } + } + FROM = { + show_scope_change = no + reverse_opinion = { + who = ROOT + modifier = opinion_thief + years = 10 + } + hidden_effect = { remove_nickname = yes } + } + } + + option = { + name = EVT_OPTB_MNM_9132 + tooltip_info = intrigue + custom_tooltip = { text = EVT_OPTB_MNM_9132_TT} + trigger = { + intrigue = 15 + } + hidden_effect = { + event_target:smith_steal_target = { + any_artifact = { + show_scope_change = no + limit = { has_artifact_flag = stolen_by_smith } + transfer_artifact = { + from = event_target:smith_steal_target + to = ROOT + } + clr_artifact_flag = stolen_by_smith + } + } + } + + FROM = { + show_scope_change = no + death = { + death_reason = death_execution + killer = ROOT + } + } + + } +} + + ######################### # Hunter ######################### diff --git a/gfx/interface/decision_icons/decision_icon_employ_a_jeweler.dds b/gfx/interface/decision_icons/decision_icon_employ_a_jeweler.dds new file mode 100644 index 0000000000..8eebb012ff Binary files /dev/null and b/gfx/interface/decision_icons/decision_icon_employ_a_jeweler.dds differ diff --git a/gfx/interface/inventory/artifacts/gem_of_health.dds b/gfx/interface/inventory/artifacts/gem_of_health.dds new file mode 100644 index 0000000000..6239747482 Binary files /dev/null and b/gfx/interface/inventory/artifacts/gem_of_health.dds differ diff --git a/gfx/interface/inventory/artifacts/gem_of_health_small.dds b/gfx/interface/inventory/artifacts/gem_of_health_small.dds new file mode 100644 index 0000000000..1cd4a9ba1f Binary files /dev/null and b/gfx/interface/inventory/artifacts/gem_of_health_small.dds differ diff --git a/gfx/interface/inventory/artifacts/gem_of_power.dds b/gfx/interface/inventory/artifacts/gem_of_power.dds new file mode 100644 index 0000000000..12a827ac38 Binary files /dev/null and b/gfx/interface/inventory/artifacts/gem_of_power.dds differ diff --git a/gfx/interface/inventory/artifacts/gem_of_power_small.dds b/gfx/interface/inventory/artifacts/gem_of_power_small.dds new file mode 100644 index 0000000000..2a0da91ed7 Binary files /dev/null and b/gfx/interface/inventory/artifacts/gem_of_power_small.dds differ diff --git a/gfx/interface/inventory/artifacts/gem_of_wisdom.dds b/gfx/interface/inventory/artifacts/gem_of_wisdom.dds new file mode 100644 index 0000000000..d2ce9912f2 Binary files /dev/null and b/gfx/interface/inventory/artifacts/gem_of_wisdom.dds differ diff --git a/gfx/interface/inventory/artifacts/gem_of_wisdom_small.dds b/gfx/interface/inventory/artifacts/gem_of_wisdom_small.dds new file mode 100644 index 0000000000..9b088b08a7 Binary files /dev/null and b/gfx/interface/inventory/artifacts/gem_of_wisdom_small.dds differ diff --git a/interface/wc_decision_icons.gfx b/interface/wc_decision_icons.gfx index a3d560a95c..439bf45095 100644 --- a/interface/wc_decision_icons.gfx +++ b/interface/wc_decision_icons.gfx @@ -360,4 +360,8 @@ spriteTypes = { name = "GFX_song_of_swarm" texturefile = "gfx\\interface\\decision_icons\\song_of_swarm.tga" } + spriteType = { + name = "GFX_employ_a_jeweler" + texturefile = "gfx\\interface\\decision_icons\\decision_icon_employ_a_jeweler.dds" + } } \ No newline at end of file diff --git a/interface/wc_treasury.gfx b/interface/wc_treasury.gfx index 993e89ac9c..d9cf434190 100644 --- a/interface/wc_treasury.gfx +++ b/interface/wc_treasury.gfx @@ -631,6 +631,30 @@ spriteTypes = { name = "GFX_lights_vengeance_small" texturefile = "gfx\\interface\\inventory\\artifacts\\lights_vengeance_small.dds" } + spriteType = { + name = "GFX_gem_of_health" + texturefile = "gfx\\interface\\inventory\\artifacts\\gem_of_health.dds" + } + spriteType = { + name = "GFX_gem_of_health_small" + texturefile = "gfx\\interface\\inventory\\artifacts\\gem_of_health_small.dds" + } + spriteType = { + name = "GFX_gem_of_power" + texturefile = "gfx\\interface\\inventory\\artifacts\\gem_of_power.dds" + } + spriteType = { + name = "GFX_gem_of_power_small" + texturefile = "gfx\\interface\\inventory\\artifacts\\gem_of_power_small.dds" + } + spriteType = { + name = "GFX_gem_of_wisdom" + texturefile = "gfx\\interface\\inventory\\artifacts\\gem_of_wisdom.dds" + } + spriteType = { + name = "GFX_gem_of_wisdom_small" + texturefile = "gfx\\interface\\inventory\\artifacts\\gem_of_wisdom_small.dds" + } #Old God books spriteType = { name = "GFX_old_god_book_green" diff --git a/localisation/00_wc_artifact_localisation.csv b/localisation/00_wc_artifact_localisation.csv index d3152a0759..e52000daf9 100644 --- a/localisation/00_wc_artifact_localisation.csv +++ b/localisation/00_wc_artifact_localisation.csv @@ -76,6 +76,12 @@ chalice_of_trollbanes;Ignaeus' Chalice;;Ignaeus Kelch;;;;;;;;;;;x chalice_of_trollbanes_desc;Now a cherished relic of the Trollbanes', which, according to legend, Ignaeus Trollbane drank from when he feasted with the great king Thoradin himself after the defeat of the Amani Empire.;;Nun eine gehegte Reliquie der Trollbanes, aus der Ignaeus Trollbane laut Legende trank, als er nach der Niederlage des Amani-Reiches mit dem großen König Thoradin selbst speiste.;;;;;;;;;;;x frost_wyrm_skull_shield;Frost Wyrm Skull Shield;;Frostwyrm-Schädelschild;;;;;;;;;;;x frost_wyrm_skull_shield_desc;This unique shield was carved from the flattened crown of a white dragon's skull. The bone has been hardened and enhanced with an intricate steel framework interlaced with unidentifiable runes from an unknown maker. Handles were added, turning the skull into a powerful shield.;;Dieser einzigartige Schild wurde aus dem Schädel eines weißen Drachens geschnitzt. Der Knochen wurde gehärtet und mit einem komplizierten Stahlgerüst veredelt, das mit unidentifizierbaren Runen verwoben ist.;;;;;;;;;;;x +gem_of_health_III;Flawless Gem of Health;;Makelloser Edelstein der Gesundheit;;;;;;;;;;;x +gem_of_health_III_desc;This talisman, made from a flawless diamond and a couple amethysts set in a platinum fitting, was crafted by a masterful magically gifted jeweler.;;Dieser Talisman, gefertigt aus einem makellosen Diamanten und ein paar Amethysten, eingefasst in einen Platinbeschlag, wurde von einem meisterhaften, magisch begabten Juwelier gefertigt.;;;;;;;;;;;x +gem_of_power_III;Flawless Gem of Power;;Makelloser Edelstein der Macht;;;;;;;;;;;x +gem_of_power_III_desc;This talisman, made from a flawless ruby and a couple amethysts set in a platinum fitting, was crafted by a masterful magically gifted jeweler.;;Dieser Talisman, gefertigt aus einem makellosen Rubin und ein paar Amethysten, eingefasst in einen Platinbeschlag, wurde von einem meisterhaften, magisch begabten Juwelier gefertigt.;;;;;;;;;;;x +gem_of_wisdom_III;Flawless Gem of Wisdom;;Makelloser Edelstein der Weisheit;;;;;;;;;;;x +gem_of_wisdom_III_desc;This talisman, made from a flawless emerald and a couple amethysts set in a platinum fitting, was crafted by a masterful magically gifted jeweler.;;Dieser Talisman, gefertigt aus einem makellosen Smaragd und ein paar Amethysten, eingefasst in einen Platinbeschlag, wurde von einem meisterhaften, magisch begabten Juwelier gefertigt.;;;;;;;;;;;x hammer_of_the_lightbringer;Hammer of the Lightbringer;;Hammer des Lichtbringers;;;;;;;;;;;x hammer_of_the_lightbringer_desc;This two-handed hammer has been wielded by the Lightbringer since he was named one of the first paladins. The diamond hammer with mahogany handle is decorated with a gold emblem of the silver hand.;;Diesen zweihändigen Hammer schwingt der Lichtbringer, seit er zu einem der ersten Paladine ernannt wurde. Den diamantenen Hammer mit Mahagonigriff ziert ein in Gold eingelassenes Emblem der Silberhand.;;;;;;;;;;;x ironfoe;Ironfoe;;Ironfoe;;;;;;;;;;;x @@ -114,6 +120,12 @@ flute_of_accuracy;Flute of Accuracy;;Fl flute_of_accuracy_desc;A wooden flute set in gold. It is unclear whether the flutes of accuracy were named in honour of the elven ranger Alleria or whether she was involved in her invention.;;Eine in Gold gefasste hölzerne Flöte. Es ist unklar, ob die Flöten der Genauigkeit zu Ehren der elfischen Waldläuferin Alleria benannt wurden oder ob sie an ihrer Erfindung beteiligt war.;;;;;;;;;;;x crown_of_trollbanes;Crown of Stromgarde;Couronne de Stromgarde;Krone von Stromgarde;;;;;;;;;;;x crown_of_trollbanes_desc;The Crown of Stromgarde, a family relic of the Trollbane dynasty to which the first king of Stromgarde was crowned, after the descendants of the great king Thoradin abdicated the throne under the pressure of the aristocracy of the collapsing empire.;;Die Krone von Stromgarde, eine Familienreliquie der Trollbane-Dynastie, mit der der erste König von Stromgarde gekrönt wurde, nachdem die Nachkommen des großen Königs Thoradin auf den Thron verzichtet hatten.;;;;;;;;;;;x +gem_of_health_II;Gem of Health;;Edelstein der Gesundheit;;;;;;;;;;;x +gem_of_health_II_desc;This talisman, made from a diamond and a couple amethysts set in a platinum fitting, was crafted by a masterful magically gifted jeweler.;;Dieser Talisman, gefertigt aus einem Diamanten und ein paar Amethysten, eingefasst in einen Platinbeschlag, wurde von einem meisterhaften, magisch begabten Juwelier gefertigt.;;;;;;;;;;;x +gem_of_power_II;Gem of Power;;Edelstein der Macht;;;;;;;;;;;x +gem_of_power_II_desc;This talisman, made from a ruby and a couple amethysts set in a platinum fitting, was crafted by a masterful magically gifted jeweler.;;Dieser Talisman, gefertigt aus einem Rubin und ein paar Amethysten, eingefasst in einen Platinbeschlag, wurde von einem meisterhaften, magisch begabten Juwelier gefertigt.;;;;;;;;;;;x +gem_of_wisdom_II;Gem of Wisdom;;Edelstein der Weisheit;;;;;;;;;;;x +gem_of_wisdom_II_desc;This talisman, made from a emerald and a couple amethysts set in a platinum fitting, was crafted by a masterful magically gifted jeweler.;;Dieser Talisman, gefertigt aus einem Smaragd und ein paar Amethysten, eingefasst in einen Platinbeschlag, wurde von einem meisterhaften, magisch begabten Juwelier gefertigt.;;;;;;;;;;;x great_royal_sword;Great Royal Sword;;Großes königliches Schwert;;;;;;;;;;;x great_royal_sword_desc;This sword, the so called "blade of Stormwind", is a massive two-handed runeblade, wielded by Anduin Lothar until his death. It bears the lion of Stormwind near its guard.;;Dieses Schwert, die so genannte „Klinge von Stormwind“, ist eine massive zweihändige Runenklinge, die von Anduin Lothar bis zu seinem Tod geführt wurde. Es trägt den Löwen von Stormwind in der Nähe seiner Parierstange.;;;;;;;;;;;x legion_doomhorn;Legion Doomhorn;;Schreckenshorn der Legion;;;;;;;;;;;x @@ -171,6 +183,12 @@ libram_of_reckoning_02;Libram of Reckoning;;Foliant der Abrechnung;;;;;;;;;;;x libram_of_reckoning_02_desc;This libram is a symbol of reckoning before the ideals of the holy light. Its owner proves to be a strong fighter for the light.;;Dieser Foliant ist ein Symbol der Abrechnung vor den Idealen des heiligen Lichts. Sein Besitzer erweist sich als starker Kämpfer für das Licht.;;;;;;;;;;;x libram_of_righteousness_02;Libram of Righteousness;;Foliant der Rechtschaffenheit;;;;;;;;;;;x libram_of_righteousness_02_desc;This libram is a symbol of righteousness before the ideals of the holy light. Its owner proves to be a faithful student and righteous fighter for the light.;;Dieser Foliant ist ein Symbol der Rechtschaffenheit vor den Idealen des heiligen Lichts. Sein Besitzer erweist sich als treuer Schüler und rechtschaffener Kämpfer für das Licht.;;;;;;;;;;;x +gem_of_health_I;Crude Gem of Health;;Grober Edelstein der Gesundheit;;;;;;;;;;;x +gem_of_health_I_desc;This talisman, made from a crude diamond and a couple amethysts set in a platinum fitting, was crafted by a masterful magically gifted jeweler.;;Dieser Talisman, gefertigt aus einem ungeschliffenen Diamanten und ein paar Amethysten, eingefasst in einen Platinbeschlag, wurde von einem meisterhaften, magisch begabten Juwelier gefertigt.;;;;;;;;;;;x +gem_of_power_I;Crude Gem of Power;;Grober Edelstein der Macht;;;;;;;;;;;x +gem_of_power_I_desc;This talisman, made from a crude ruby and a couple amethysts set in a platinum fitting, was crafted by a masterful magically gifted jeweler.;;Dieser Talisman, gefertigt aus einem ungeschliffenen Rubin und ein paar Amethysten, eingefasst in einen Platinbeschlag, wurde von einem meisterhaften, magisch begabten Juwelier gefertigt.;;;;;;;;;;;x +gem_of_wisdom_I;Crude Gem of Wisdom;;Grober Edelstein der Weisheit;;;;;;;;;;;x +gem_of_wisdom_I_desc;This talisman, made from a crude emerald and a couple amethysts set in a platinum fitting, was crafted by a masterful magically gifted jeweler.;;Dieser Talisman, gefertigt aus einem ungeschliffenen Smaragd und ein paar Amethysten, eingefasst in einen Platinbeschlag, wurde von einem meisterhaften, magisch begabten Juwelier gefertigt.;;;;;;;;;;;x runeblade_blood_2;Impressive Blood Runeblade;;Beeindruckende Runenklinge des Bluts;;;;;;;;;;;x runeblade_blood_2_desc;An impressive blood runeblade.;;Eine beeindruckende Runenklinge des Bluts.;;;;;;;;;;;x runeblade_frost_2;Impressive Frost Runeblade;;Beeindruckende Runenklinge des Frosts;;;;;;;;;;;x diff --git a/localisation/00_zuwc_united_localisation.csv b/localisation/00_zuwc_united_localisation.csv index aa0c4f2959..1f73dc08cb 100644 --- a/localisation/00_zuwc_united_localisation.csv +++ b/localisation/00_zuwc_united_localisation.csv @@ -2926,9 +2926,10 @@ RULE_SCOURGE_SPAWN_RANDOM;Random;;Zuf RULE_SCOURGE_SPAWN_RANDOM_DESC;The Scourge may not appear in some games since Ner'zhul dies on Draenor.;;Die Geißel taucht möglicherweise in einigen Spielen nicht auf, weil Ner'zhul auf Draenor stirbt.;;;;;;;;;;;x RULE_SCOURGE_SPAWN_ALWAYS;Always;;Immer;;;;;;;;;;;x RULE_SCOURGE_SPAWN_ALWAYS_DESC;The Scourge always appear on Azeroth after the destruction of Draenor (if the Scourge is enabled).;;Die Geißel erscheint immer auf Azeroth nach der Zerstörung von Draenor (wenn die Geißel aktiviert ist).;;;;;;;;;;;x -;;;;;;;;;;;;;;x -;;;;;;;;;;;;;;x -;;;;;;;;;;;;;;x +employ_a_jeweler;Employ a Jeweler;;Einen Juwelenschleifer suchen;;;;;;;;;;;x +employ_a_jeweler_desc;Send out word that you are looking for a Jeweler to cut a gem for you.;;Verbreitet, dass Ihr nach einem Juwelenschleifer sucht.;;;;;;;;;;;x +employ_a_jeweler_tt;Decide what type of gem you wish to be cut.\nThe §Yfull cost§! of the item you commission will be dependent on its §Ytype§! and §Ytier§!.;;Entscheidet, einen Juwelenschleifer einzustellen.\nDie §Yvollständigen Kosten§! des Gegenstands, den Ihr in Auftrag gebt, hängt von der §YArt§! und §YStufe§! ab.;;;;;;;;;;;x +employ_a_jeweler_cooldown_tt;Has NOT attempted to employ a jeweler in the past 5 years[Root.GetJewelerCD];;Hat NICHT versucht, in den letzten 5 Jahren einen Juwelenschleifer einzustellen[Root.GetJewelerCD];;;;;;;;;;;x ;;;;;;;;;;;;;;x ;;;;;;;;;;;;;;x ;;;;;;;;;;;;;;x diff --git a/localisation/customizable_localisation/wc_customizable_localisation_cooldowns.txt b/localisation/customizable_localisation/wc_customizable_localisation_cooldowns.txt index a396c9e56b..ee96870292 100644 --- a/localisation/customizable_localisation/wc_customizable_localisation_cooldowns.txt +++ b/localisation/customizable_localisation/wc_customizable_localisation_cooldowns.txt @@ -5,4 +5,14 @@ defined_text = { trigger = { has_character_modifier = wrote_whispers_cooldown_modifier } localisation_key = twilights_hammer_cult_wrote_whispers_cd_modifier_tooltip } +} +defined_text = { + name = GetJewelerCD + + text = { + trigger = { + has_character_modifier = employ_a_jeweler_cd + } + localisation_key = string_jeweler_cd + } } \ No newline at end of file