-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Goblin Loan Decision #1040
Closed
Closed
Goblin Loan Decision #1040
Changes from 5 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
b1a6519
Add files via upload
PIKSKING 3b05ad7
Add files via upload
PIKSKING eedbfa7
Update goblin_money_l_english.yml
MoonyMeanie 6309f13
Merge pull request #1044 from Warcraft-GoA-Development-Team/MoonyMean…
PIKSKING 2e9b508
Merge branch 'master' into Goblinloan-patch-1
Gaben1025 a94af40
Add files via upload
PIKSKING ad874a2
Merge branch 'master' into Goblinloan-patch-1
Gaben1025 1f981bc
Fixed syntax/copied the holy order code
Gaben1025 2e7e892
Add files via upload
PIKSKING 587d530
Merge branch 'master' into Goblinloan-patch-1
Gaben1025 ddb9767
Updated tags/typos
Gaben1025 0f78f82
Loc fixed
Gaben1025 f8c7e9c
Some flags fixes
ElMariuso 76cbd82
Add files via upload
PIKSKING 35ebed0
Merge branch 'master' into Goblinloan-patch-1
Gaben1025 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,79 @@ | ||
get_a_loan_from_the_goblins_decision = { | ||
title = get_a_loan_from_the_goblins_title # override title, default: "<key>"; supports dynamic descriptions like in events (first_valid, ...); scope: character | ||
picture = "gfx/interface/illustrations/decisions/goblo.dds" | ||
ai_goal = no | ||
ai_check_interval = 0 | ||
selection_tooltip = goblin_money_tooltip | ||
desc = goblin_money_decision_desc | ||
confirm_text = goblin_money_decision_confirm | ||
|
||
is_shown = { | ||
|
||
highest_held_title_tier > tier_barony | ||
NOT = { | ||
highest_held_title_tier > tier_barony | ||
has_trait = owes_money | ||
has_character_flag = borrowedmoney | ||
has_religion = religion:evil_religion | ||
has_government = tribal_government | ||
|
||
} | ||
} | ||
|
||
|
||
cost = { | ||
prestige = 100 | ||
} | ||
|
||
effect = { | ||
add_gold = 500 | ||
# trigger_event=gb.1 | ||
add_character_flag = { flag = loanperiod years = 4 } | ||
add_character_flag = { flag = borrowedmoney } | ||
} | ||
|
||
ai_potential = { | ||
always = no | ||
} | ||
ai_will_do = { | ||
base = 0 | ||
} | ||
|
||
} | ||
|
||
pay_money_decision = { | ||
title = pay_goblins_back_title # override title, default: "<key>"; supports dynamic descriptions like in events (first_valid, ...); scope: character | ||
picture = "gfx/interface/illustrations/decisions/payback.dds" | ||
ai_goal = no | ||
ai_check_interval = 7 | ||
selection_tooltip = pay_goblins_back_tooltip | ||
desc = pay_goblins_back_desc | ||
confirm_text = pay_goblins_back_confirm | ||
|
||
is_shown = { | ||
OR = { | ||
has_trait = owes_goblins_money | ||
has_character_flag = borrowedmoney | ||
} | ||
} | ||
|
||
|
||
cost = { | ||
gold = 575 | ||
} | ||
|
||
effect = { | ||
remove_character_flag = loanperiod | ||
remove_character_flag = borrowedmoney | ||
remove_trait = owes_goblins_money | ||
add_prestige = 40 | ||
} | ||
|
||
ai_potential = { | ||
always = no | ||
} | ||
ai_will_do = { | ||
base = 0 | ||
} | ||
|
||
} |
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,15 @@ | ||
quarterly_playable_pulse = { | ||
effect = { | ||
if = { | ||
limit = { | ||
NOT = { | ||
has_character_flag = loanperiod | ||
} | ||
has_character_flag = borrowedmoney | ||
} | ||
trigger_event = { | ||
id = gb.1 | ||
} | ||
} | ||
} | ||
} |
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,23 @@ | ||
owes_goblins_money = { | ||
index = 300 | ||
personality = no | ||
compatibility = { | ||
|
||
} | ||
|
||
stewardship = -2 | ||
diplomacy = -1 | ||
stress_gain_mult = 0.4 | ||
general_opinion = - 5 | ||
desc = { | ||
first_valid = { | ||
triggered_desc = { | ||
trigger = { | ||
NOT = { exists = this } | ||
} | ||
desc = trait_owes_goblins_money_desc | ||
} | ||
desc = trait_owes_goblins_money_character_desc | ||
} | ||
} | ||
} |
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,46 @@ | ||
namespace = gb | ||
|
||
gb.1 = { | ||
type = character_event | ||
title = gb.1.t | ||
desc = gb.1.t.desc | ||
theme = realm | ||
left_portrait = { | ||
character = root | ||
animation = personality_rational | ||
} | ||
trigger = { | ||
root = { | ||
is_ai = no | ||
} | ||
} | ||
|
||
immediate = { | ||
} | ||
|
||
# Pay back the loan | ||
# option = { | ||
# name = gb.1.a | ||
# remove_character_flag = loanperiod | ||
# remove_character_flag = borrowedmoney | ||
# pay_short_term_gold = { | ||
# gold = 575 | ||
# } | ||
# ai_chance = { | ||
# base = 0 | ||
# } | ||
# } | ||
|
||
# Defaulted on the loan | ||
option = { | ||
name = gb.1.b | ||
add_trait = owes_goblins_money | ||
remove_character_flag = loanperiod | ||
remove_character_flag = borrowedmoney | ||
add_prestige = -200 | ||
popular_opinion = -10 | ||
ai_chance = { | ||
base = 0 | ||
} | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,15 @@ | ||
l_english: | ||
get_a_loan_from_the_goblins_title:0 "Request Loan from a Cartel" | ||
get_a_loan_from_the_goblins_tooltip:0 "Request a Loan through your contact representing the nearest Goblin Cartel." | ||
get_a_loan_from_the_goblins_decision_desc:0 "One can only hope that this won't be too complicated of a process, but the Goblin Cartels aren't exactly known for making matters too easy for folks who want them to throw money out of their pockets. But, the machinations that have been carefully planned for the future of these lands certainly deserve some external investement. The future... it can only belong to those who are strong enough to stride boldly towards it, and if this isn't a bold stride, what is? The Goblins will likely see this as a new age of some sort of a dubious partnership, and hope that when comes time, we are forced to remember their gestures of goodwill." | ||
get_a_loan_from_the_goblins_decision_confirm:0 "It's a simple loan, nothing more." | ||
pay_goblins_back_title:0 "Repay Loan from Cartel" | ||
pay_goblins_back_tooltip:0 "Repay the loan you had taken from the nearest Goblin Cartel." | ||
pay_goblins_back_decision_desc:0 "It is high time these lands were eased of their burdens, and what greater burden is there on any land to be financially dependent on external forces that seek to scrounge off it? Indeed the time has come, and the wealth that the Goblins had provided in the past shall now be returned in plenty." | ||
pay_goblins_back_decision_confirm:0 "It was but a tool for greater future success." | ||
gb.1.t:0 "Trade Cartel" | ||
gb.1.t.desc:0 "I remain terrified yet excited all the same for this opportunity, great [root.GetLadyLord]! Cast me away at your leisure, and we'll both see what these Cartels have in store." | ||
gb.1.a:0 "The only Goblins that can instruct legitimate business are from the [gb_1.GetName]." | ||
gb.1.b:0 "The [gb_2.GetName] represent the perfect middle ground as far as wealth accumulation goes." | ||
trait_owes_goblins_money:0 "Indebted to Cartels" | ||
trait_owes_goblis_money_character_desc:0 "[ROOT.GetCharacter.GetFirstNameNoTooltip] is known to owe significant sums of money to Goblin Trade Cartels, and in the long term risks the integrity of their image alongside potentially even that of their nation." |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are causing a contradiction, this is why it does not show up at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done,test again before release if its possible