-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial commit * Added picture * Update wc_thorium_decisions.txt * Piety and prestige requirement * Localized decision * Update wc_decisions_l_english.yml * implemented cost and cooldown * added gold cost * 20 years cooldown * Update wc_thorium_decisions.txt * TB Modifiers * on_actions * shortened * Update wc_thorium_decisions.txt * Dark Pluralism requirement * PH event * Add template * made a trigger * Update wc_thorium_effects.txt * Update wc_thorium_events.txt * Update wc_thorium_events.txt * PH localization * craftsmen modifier * tweaked modifier a bit * Made a scripted effect * Update wc_thorium_effects.txt * Slight loc tweak * Update wc_thorium_events.txt * Update wc_thorium_on_actions.txt * else_ifs * else_if block * fixed modifier regulation * Loc * Localization * Craftsman stats and education trait * theme and animation * proper comment * condensed on_actions * Event localization thanks shatterstar Co-authored-by: Edmund <[email protected]> * fixed error spam * Update wc_thorium_decisions.txt * loc fixed * Update common/decisions/wc_thorium_decisions.txt Co-authored-by: Robin <[email protected]> * changed icon --------- Co-authored-by: Edmund <[email protected]> Co-authored-by: Robin <[email protected]>
- Loading branch information
1 parent
8cf7500
commit 847d0ab
Showing
11 changed files
with
304 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Thorium Brotherhood decisions | ||
thorium_invite_craftsmen_decision = { | ||
ai_check_interval = 24 | ||
picture = "gfx/interface/illustrations/decisions/wc_dark_iron_dwarf.dds" | ||
desc = thorium_invite_craftsmen_decision_desc | ||
selection_tooltip = thorium_invite_craftsmen_decision.tt | ||
|
||
cost = { | ||
gold = 1000 | ||
prestige = 500 | ||
piety = 250 | ||
} | ||
|
||
cooldown = { days = 7200 } | ||
|
||
is_shown = { | ||
is_ruler = yes | ||
any_held_title = { # Must be in Khaz Modan region | ||
tier = tier_county | ||
OR = { | ||
title_province = { geographical_region = world_eastern_kingdoms_khaz_modan } | ||
title_province = { geographical_region = world_eastern_kingdoms_azeroth } | ||
} | ||
} | ||
# Is not follower of fire cults or evil religions | ||
NOT = { faith = { has_doctrine = doctrine_pluralism_dark } } | ||
# Is not holder of Thorium bases of operation | ||
NOR = { | ||
has_title = title:c_drognur | ||
has_title = title:c_chiselgrip | ||
} | ||
} | ||
|
||
is_valid = { | ||
piety_level >= 2 | ||
prestige_level >= 2 | ||
|
||
thorium_no_dark_pluralism_trigger = yes | ||
} | ||
|
||
is_valid_showing_failures_only = { | ||
is_imprisoned = no | ||
is_capable_adult = yes | ||
is_at_war = no | ||
} | ||
|
||
effect = { | ||
show_as_tooltip = { | ||
custom_tooltip = thorium_invite_craftsmen_decision_effect.tt | ||
} | ||
hidden_effect = { | ||
capital_county = { save_scope_as = capital_county } | ||
trigger_event = thorium_brotherhood.1 | ||
} | ||
} | ||
|
||
ai_will_do = { | ||
base = 100 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#### Yearly check to see if event should fire for Chiselgrip or Thorium Point owners | ||
yearly_global_pulse = { | ||
on_actions = { thorium_base_check } | ||
} | ||
|
||
thorium_base_check = { | ||
effect = { | ||
set_thorium_base_effect = yes | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
common/scripted_character_templates/wc_thorium_templates.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Thorium Brotherhood | ||
thorium_craftsman_character_template = { | ||
age = { 30 90 } | ||
gender_female_chance = root_faith_dominant_gender_adjusted_female_chance | ||
dynasty = none | ||
culture = culture:dark_iron | ||
faith = faith:khazism | ||
martial = 8 | ||
stewardship = 8 | ||
diplomacy = 6 | ||
trait = creature_dwarf | ||
random_traits_list = { | ||
education_stewardship_3 = { weight = { base = 15 } } | ||
education_stewardship_4 = { weight = { base = 15 } } | ||
education_martial_3 = { weight = { base = 15 } } | ||
education_martial_4 = { weight = { base = 15 } } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
add_thorium_craftsmen_modifier = { | ||
scope:capital_county = { | ||
add_county_modifier = { | ||
modifier = wc_thorium_craftsmen_modifier | ||
years = 10 | ||
} | ||
} | ||
} | ||
|
||
set_thorium_base_effect = { | ||
if = { | ||
limit = { | ||
title:c_drognur.holder.faith = { | ||
NOT = { has_doctrine = doctrine_pluralism_dark } | ||
} | ||
} | ||
title:c_drognur = { | ||
add_county_modifier = { | ||
modifier = wc_thorium_base_modifier | ||
} | ||
} | ||
} | ||
else_if = { | ||
limit = { | ||
AND = { | ||
title:c_drognur.holder.faith = { | ||
has_doctrine = doctrine_pluralism_dark | ||
} | ||
title:c_drognur = { | ||
has_county_modifier = wc_thorium_base_modifier | ||
} | ||
} | ||
} | ||
title:c_drognur = { remove_county_modifier = wc_thorium_base_modifier } | ||
} | ||
|
||
if = { | ||
limit = { | ||
title:c_chiselgrip.holder.faith = { | ||
NOT = { has_doctrine = doctrine_pluralism_dark } | ||
} | ||
} | ||
title:c_chiselgrip = { | ||
add_county_modifier = { | ||
modifier = wc_thorium_base_modifier | ||
} | ||
} | ||
} | ||
else_if = { | ||
limit = { | ||
AND = { | ||
title:c_chiselgrip.holder.faith = { | ||
has_doctrine = doctrine_pluralism_dark | ||
} | ||
title:c_chiselgrip = { | ||
has_county_modifier = wc_thorium_base_modifier | ||
} | ||
} | ||
} | ||
title:c_chiselgrip = { remove_county_modifier = wc_thorium_base_modifier } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
thorium_no_dark_pluralism_trigger = { | ||
# Holder of Thorium bases of operation must not be either pawn of Ragnaros or follower of evil cults | ||
custom_tooltip = { | ||
text = thorium_no_dark_pluralism_trigger.tt | ||
OR = { | ||
title:c_drognur.holder.faith = { # Thorium Point | ||
NOT = { has_doctrine = doctrine_pluralism_dark } | ||
} | ||
title:c_chiselgrip.holder.faith = { | ||
NOT = { has_doctrine = doctrine_pluralism_dark } | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
namespace = thorium_brotherhood | ||
|
||
# Choose a specialization | ||
thorium_brotherhood.1 = { | ||
type = character_event | ||
title = thorium_brotherhood.1.t | ||
desc = thorium_brotherhood.1.desc | ||
theme = realm | ||
left_portrait = { | ||
character = scope:craftsman | ||
animation = personality_honorable | ||
} | ||
|
||
immediate = { | ||
create_character = { | ||
save_scope_as = craftsman | ||
location = root.capital_province | ||
template = thorium_craftsman_character_template | ||
dynasty = none | ||
} | ||
hidden_effect = { | ||
add_visiting_courtier = scope:craftsman | ||
} | ||
add_thorium_craftsmen_modifier = yes | ||
} | ||
|
||
# A weapon | ||
option = { | ||
name = thorium_brotherhood.1.a | ||
|
||
stress_impact = { paranoid = minor_stress_impact_gain } | ||
|
||
add_courtier = scope:craftsman | ||
scope:craftsman = { create_inspiration = weapon_inspiration } | ||
|
||
ai_chance = { | ||
base = 200 | ||
# Stress | ||
modifier = { | ||
add = { value = 0 subtract = minor_stress_impact_gain } | ||
has_trait = paranoid | ||
} | ||
|
||
# Opinion | ||
opinion_modifier = { | ||
opinion_target = scope:craftsman | ||
multiplier = 1 | ||
} | ||
} | ||
} | ||
# An armor | ||
option = { | ||
name = thorium_brotherhood.1.b | ||
|
||
stress_impact = { paranoid = minor_stress_impact_gain } | ||
|
||
add_courtier = scope:craftsman | ||
scope:craftsman = { create_inspiration = armor_inspiration } | ||
|
||
ai_chance = { | ||
base = 200 | ||
# Stress | ||
modifier = { | ||
add = { value = 0 subtract = minor_stress_impact_gain } | ||
has_trait = paranoid | ||
} | ||
|
||
# Opinion | ||
opinion_modifier = { | ||
opinion_target = scope:craftsman | ||
multiplier = 1 | ||
} | ||
} | ||
} | ||
# A metalsmith | ||
option = { | ||
name = thorium_brotherhood.1.c | ||
|
||
stress_impact = { paranoid = minor_stress_impact_gain } | ||
|
||
add_courtier = scope:craftsman | ||
scope:craftsman = { create_inspiration = smith_inspiration } | ||
|
||
ai_chance = { | ||
base = 200 | ||
# Stress | ||
modifier = { | ||
add = { value = 0 subtract = minor_stress_impact_gain } | ||
has_trait = paranoid | ||
} | ||
|
||
# Opinion | ||
opinion_modifier = { | ||
opinion_target = scope:craftsman | ||
multiplier = 1 | ||
} | ||
} | ||
} | ||
} |
Binary file not shown.
6 changes: 6 additions & 0 deletions
6
localization/english/event_localization/wc_thorium_brotherhood_l_english.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
l_english: | ||
thorium_brotherhood.1.t:0 "The Inspiration Globe" | ||
thorium_brotherhood.1.desc:0 "The descent to the castle workshop is one I do not make often. The air is hot and stuffy, and I find myself sweating in a way most unbecoming of a [ROOT.Char.GetTitleAsNameNoTooltip]. Still, it is a duty I must perform myself to show our esteemed guest of the Thorium Brotherhood the utmost hospitality.\n\nUpon inspecting the forge and other facilities and finding them to be adequate, [craftsman.GetName] places his pack on the worktable and addresses me.\n\n\"[ROOT.Char.GetTitledFirstName], it is time for you to make a choice.\"As [craftsman.GetSheHe] speaks, [craftsman.GetFirstName] produces a softly glowing, transparent orb from [craftsman.GetHerHis] pack. \"I present to yo the Orb of Inspiration, an heirloom passed down through generations of Thorium Brothers. Its functionality and purpose are quite intuitive. Simply place your hand on the front of the orb and imagine an item you would like me to create for you. Then the image of that item will appear in my own mind along with the best possible method of creating it.\"\n\nI have never heard of such magic before, but in the end it does make sense to ease communication between craftsman and client. With little more than a moment's hesitation, I place my hand on the orb and think about..." | ||
thorium_brotherhood.1.a:0 "...a weapon." | ||
thorium_brotherhood.1.b:0 "...a suit of armor." | ||
thorium_brotherhood.1.c:0 "...an elegant trinket." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters