Skip to content
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

India bandaid #352

Merged
merged 4 commits into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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