Skip to content

Commit

Permalink
India bandaid (#352)
Browse files Browse the repository at this point in the history
* Create india_values.txt

* Slight scaling on liberty desire from prestige from the diplo action

* eic_reinvestment_failure modifier commented out

* Reformatted all files to common sense

---------

Co-authored-by: Danarca <[email protected]>
  • Loading branch information
Danarca and Danarca authored Dec 29, 2024
1 parent e12cc9d commit 109632d
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 6 deletions.
13 changes: 7 additions & 6 deletions common/history/countries/bic - british east india company.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@
name = east_indies_revolt_var
value = 0
}

add_modifier = {
name = eic_reinvestment_failure
months = 600 # 50 Years
is_decaying = yes
}

# Uncomment here when we fix India, particularly their Extraction Economy. Ideally this should only be applied once they hop off of it, but that's a bit too complex for the time we have right now.
# add_modifier = {
# name = eic_reinvestment_failure
# months = 600 # 50 Years
# is_decaying = yes
# }

add_journal_entry = {
type = je_consolidate_colonial_rule
Expand Down
114 changes: 114 additions & 0 deletions common/script_values/india_values.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
free_cotton_producing_arable_land = {
value = 0
every_scope_state = {
limit = {
can_construct_building = building_cotton_plantation
}
add = this.free_arable_land
}
}

free_opium_producing_arable_land = {
value = 0
every_scope_state = {
limit = {
can_construct_building = building_opium_plantation
}
add = this.free_arable_land
}
}

free_tea_producing_arable_land = {
value = 0
every_scope_state = {
limit = {
can_construct_building = building_tea_plantation
}
add = this.free_arable_land
}
}

free_dye_producing_arable_land = {
value = 0
every_scope_state = {
limit = {
can_construct_building = building_dye_plantation
}
add = this.free_arable_land
}
}

free_tobacco_producing_arable_land = {
value = 0
every_scope_state = {
limit = {
can_construct_building = building_tobacco_plantation
}
add = this.free_arable_land
}
}

variable_princely_state_liberty_desire_change = {
scope:target_country ?= {
add = {
add = prestige
desc = DOCTRINE_OF_LAPSE_PRESTIGE
}
if = {
limit = {
ruler ?= {
is_female = yes
}
}
multiply = {
add = 0.5
desc = DOCTRINE_OF_LAPSE_NO_MALE_RULER
}
}
if = {
limit = {
ruler ?= {
is_female = no
}
AND = {
ruler = {
age >= define:NCharacters|OLD_AGE
}
OR = {
NOT = { exists = heir }
heir ?= {
is_female = yes
}
}
}
}
multiply = {
add = 0.5
desc = DOCTRINE_OF_LAPSE_OLD_WITH_NO_MALE_HEIR
}
}
divide = {
add = {
add = radical_population_fraction
multiply = 5 # e.g. if the country has 20 Prestige and up to 20% Radicals, the LD gain is 20; if it's 25% Radicals, the LD gain is 16; if it's 50% Radicals, the LD gain is 8
min = 1
}
desc = DOCTRINE_OF_LAPSE_RADICALS
}
}
multiply = 0.75
round = yes
min = 1
max = annex_subject_max_liberty_desire_change
}

basic_princely_state_relations_change = 10

uneasy_raj_stability_critical_lower_bound = 0
uneasy_raj_stability_critical_upper_bound = 75
uneasy_raj_stability_low_lower_bound = 75
uneasy_raj_stability_low_upper_bound = 150
uneasy_raj_stability_medium_lower_bound = 150
uneasy_raj_stability_medium_upper_bound = 225
uneasy_raj_stability_high_lower_bound = 225
uneasy_raj_stability_high_upper_bound = 300

0 comments on commit 109632d

Please sign in to comment.