Skip to content

Commit

Permalink
Merge pull request #86 from Helliaca/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Helliaca authored Sep 3, 2023
2 parents 913ba5a + 0d68b76 commit f5420f7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
2 changes: 2 additions & 0 deletions common/ideas/angmar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ ideas = {
always = yes
}

removal_cost = -1

picture = generic_goods_red_bonus

modifier = {
Expand Down
12 changes: 10 additions & 2 deletions common/scripted_effects/ring_scripted_effects_common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ ring_fellowship_begin_move_to_next_state = {
set_variable = { global.fs_days_left_in_state = 65 }
}

# Slow fellowship down by 50% in Mordor territory
if = {
limit = {
var:global.fs_currentstate = {
Expand All @@ -262,6 +263,7 @@ ring_fellowship_begin_move_to_next_state = {
}
}
multiply_variable = { global.fs_days_left_in_state = 1.5 }
round_variable = global.fs_days_left_in_state
}
}

Expand All @@ -276,9 +278,15 @@ ring_daily_update = {
limit = { check_variable = { global.fs_days_left_in_state > 0 } }
subtract_from_variable = { global.fs_days_left_in_state = 1 }

# When the timer runs out, move fellowship to the enxt state
# When the timer runs out, move fellowship to the next state
if = {
limit = { check_variable = { global.fs_days_left_in_state = 0 } }
limit = {
check_variable = {
var = global.fs_days_left_in_state
value = 0
compare = less_than_or_equals
}
}

# This event moves the fellowship to the enxt state
#log = "FS_STEP"
Expand Down
5 changes: 4 additions & 1 deletion events/Angmar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,10 @@ country_event = {
}
}
}

diplomatic_relation = {
country = ANG
relation = non_aggression_pact
}
}

option = {
Expand Down
1 change: 1 addition & 0 deletions localisation/english/angmar/angmar_ideas_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ANG_civil_unrest_2:0 "Civil Unrest"
ANG_legacy_of_danthild:0 "Legacy of Danthild"
ANG_strengthen_bonds:0 "Strengthen bonds"
ANG_investment:0 "Foreign investment"
generic_investment_in_angmar:0 "Foreign investment"
ANG_enslave_the_uruk_hai:0 "Enslave the Uruk-hai"
ANG_orthanc_payment:0 "Gondor Orthanc payment"

Expand Down

0 comments on commit f5420f7

Please sign in to comment.