Initial commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
#Values which are used for very specific niche effects such as "disinherit" or "abdicate"
|
||||
#Also all values which are defined in the defines that may be useful for triggers
|
||||
DISINHERIT_PRESTIGE_HIT = -25
|
||||
ABDICATE_PRESTIGE_HIT = -50
|
||||
ABDICATE_GOVERNMENT_POWER_HIT = -20
|
||||
REMOVE_CONSORT_PRESTIGE_HIT = -30
|
||||
|
||||
MONTHS_BEFORE_OVERLORD_CAN_JOIN_CIVIL_WAR = 6 # before this time overlord are not allowed to join (or be asked to join) a subject's civil war
|
||||
|
||||
#Values from common/defines/00_defines.txt
|
||||
HIGH_WAR_EXHAUSTION = 10
|
||||
|
||||
#Horde Civil War values. Make sure to checkout the Horde Unity script values from default_values to keep it consistent
|
||||
HORDE_CIVIL_WAR_END_STABILITY = 25
|
||||
HORDE_CIVIL_WAR_END_HORDE_UNITY = 90
|
||||
HORDE_CIVIL_WAR_PRE_END_STABILITY = 15 #"(HORDE_CIVIL_WAR_END_STABILITY - stability_mild_bonus)"
|
||||
HORDE_CIVIL_WAR_PRE_END_HORDE_UNITY = 70 #"(HORDE_CIVIL_WAR_END_HORDE_UNITY - horde_unity_extreme_bonus)"
|
||||
|
||||
INTERNATIONAL_ORGANIZATION_SAME_AGENDA_COOLDOWN_YEARS = 2 #Amount of years it takes until the same agenda can appear in an IO parliament
|
||||
|
||||
AI_MIN_YEARS_SCRIPTED_COUNTRY_INTERACTION_COOLDOWN = 2
|
||||
|
||||
#PU Law Levels
|
||||
UNION_SAME_INHERITANCE_LEVEL = 2
|
||||
UNION_SAME_LAWS_LEVEL = 5
|
||||
MIN_YEARS_IN_ORGANIZATION_REQUIRED = 5
|
||||
MIN_JUNIOR_PARTNER_OPINION_FOR_ACTIONS = 150
|
||||
|
||||
#Subject Values
|
||||
MIN_SUBJECT_LOYALTY_FOR_ACTION = 50
|
||||
MAX_SUBJECT_LIBERTY_DESIRE_FOR_ACTION = 50
|
||||
LIBERTY_DESIRE_AUTONOMY_GRANTED_VALUE = -10
|
||||
LIBERTY_DESIRE_AUTONOMY_REVOKED_VALUE = 25
|
||||
MIN_DAYS_AS_SUBJECT_FOR_ENFORCEMENT = 3650
|
||||
|
||||
#Red Turban Rebelllions Defines
|
||||
RTR_IS_LOYAL_VALUE = 50
|
||||
RTR_IS_NEUTRAL_VALUE = 0
|
||||
|
||||
#Black Death Defines
|
||||
BLACK_DEATH_ACTION_GRACE_MONTHS = 12 # months free of the original outbreak before paid situation actions are auto-removed
|
||||
|
||||
#Generic IO values
|
||||
MIN_AVERAGE_OPINION_TO_JOIN_IO = 100
|
||||
|
||||
#Scripted Peace Treaty costs
|
||||
STEAL_MAP_TREATY_COST_MULTIPLIER = 0.5
|
||||
@@ -0,0 +1,368 @@
|
||||
# ================= TAWN_HOLL (6 уровней замены) =================
|
||||
town_holl_1_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
town_holl_2_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
town_holl_3_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
town_holl_4_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
town_holl_5_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
town_holl_6_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
|
||||
# ================= TRADE_CENTR (6 уровней замены) =================
|
||||
trade_centr_1_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
trade_centr_2_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
trade_centr_3_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
trade_centr_4_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
trade_centr_5_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
trade_centr_6_max_level = { add = { desc = "BUILDING_LEVEL_BASE" value = 1 } }
|
||||
|
||||
# ================= INFRASTRUCTURE (Оригинальная схема: стак по dev/pop) =================
|
||||
infrastructure_max_level = {
|
||||
add = { desc = "BUILDING_LEVEL_BASE" value = 1 }
|
||||
add = { desc = "BUILDING_LEVEL_DEVELOPMENT" value = development multiply = 0.1 }
|
||||
add = { desc = "BUILDING_LEVEL_POPULATION" value = population multiply = 0.05 }
|
||||
if = {
|
||||
limit = { location_rank ?= location_rank:city }
|
||||
add = { desc = "BUILDING_LEVEL_IS_CITY" value = 1 }
|
||||
if = { limit = { is_capital = yes } add = { desc = "is_capital" value = 1 } }
|
||||
}
|
||||
}
|
||||
|
||||
Proximity_house_max_level = {
|
||||
if = {
|
||||
limit = {
|
||||
current_age_or_later = { age = age_1_traditions }
|
||||
}
|
||||
add = {
|
||||
desc = "age_1_traditions"
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
current_age_or_later = { age = age_2_renaissance }
|
||||
}
|
||||
add = {
|
||||
desc = "age_2_renaissance"
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
current_age_or_later = { age = age_3_discovery }
|
||||
}
|
||||
add = {
|
||||
desc = "age_3_discovery"
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
current_age_or_later = { age = age_4_reformation }
|
||||
}
|
||||
add = {
|
||||
desc = "age_4_reformation"
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
current_age_or_later = { age = age_5_absolutism }
|
||||
}
|
||||
add = {
|
||||
desc = "age_5_absolutism"
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
current_age_or_later = { age = age_6_revolutions }
|
||||
}
|
||||
add = {
|
||||
desc = "age_6_revolutions"
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# ================= CAPITOL (3 уровня, только в столице) =================
|
||||
|
||||
capitol_max_level = {
|
||||
add = { desc = "BUILDING_LEVEL_BASE" value = 1 }
|
||||
|
||||
# Герцогства получают +1 уровень (итого 2)
|
||||
if = {
|
||||
limit = {
|
||||
owner = {
|
||||
OR = {
|
||||
country_rank = country_rank:rank_duchy
|
||||
country_rank = country_rank:rank_kingdom
|
||||
country_rank = country_rank:rank_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
add = { desc = "country_rank:rank_duchy" value = 1 }
|
||||
}
|
||||
|
||||
# Королевства И Империи получают +1 уровень
|
||||
if = {
|
||||
limit = {
|
||||
owner = {
|
||||
OR = {
|
||||
country_rank = country_rank:rank_kingdom
|
||||
country_rank = country_rank:rank_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
add = { desc = "country_rank:rank_kingdom" value = 1 }
|
||||
}
|
||||
|
||||
# Королевства и Империи с достаточным населением получают +1 уровень
|
||||
if = {
|
||||
limit = {
|
||||
owner = {
|
||||
OR = {
|
||||
country_rank = country_rank:rank_kingdom
|
||||
country_rank = country_rank:rank_empire
|
||||
}
|
||||
OR = {
|
||||
total_population > 15000
|
||||
total_true_faith_population > 7500
|
||||
total_accepted_culture_population > 5000
|
||||
}
|
||||
}
|
||||
}
|
||||
add = { desc = "BUILDING_LEVEL_POPULATION_BONUS" value = 1 }
|
||||
}
|
||||
|
||||
# Только Империи получают +1 уровень
|
||||
if = {
|
||||
limit = {
|
||||
owner = { country_rank = country_rank:rank_empire }
|
||||
}
|
||||
add = { desc = "country_rank:rank_empire" value = 1 }
|
||||
}
|
||||
|
||||
# Только Империи с достаточным населением получают +1 уровень
|
||||
if = {
|
||||
limit = {
|
||||
owner = {
|
||||
country_rank = country_rank:rank_empire
|
||||
OR = {
|
||||
total_population > 20000
|
||||
total_true_faith_population > 10000
|
||||
total_accepted_culture_population > 7500
|
||||
}
|
||||
}
|
||||
}
|
||||
add = { desc = "BUILDING_LEVEL_POPULATION_BONUS" value = 1 }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
guild_max_level = {
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_DEVELOPMENT"
|
||||
value = development
|
||||
multiply = 0.1
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_POPULATION"
|
||||
value = population
|
||||
multiply = 0.05
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
location_rank ?= location_rank:city
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_IS_CITY"
|
||||
value = 1.0
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
location_rank ?= location_rank:megalopolis
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_IS_MEGAPOLIS"
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = { market_access < 0.75 }
|
||||
multiply = {
|
||||
desc = "BUILDING_LEVEL_LOW_MARKET_ACCESS_PENALTY"
|
||||
value = market_access
|
||||
add = 0.25
|
||||
}
|
||||
}
|
||||
min = 1
|
||||
}
|
||||
|
||||
workshop_max_level = {
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_DEVELOPMENT"
|
||||
value = development
|
||||
multiply = 0.15
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_POPULATION"
|
||||
value = population
|
||||
multiply = 0.075
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
location_rank = location_rank:city
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_IS_CITY"
|
||||
value = 2.5
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
location_rank ?= location_rank:megalopolis
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_IS_MEGAPOLIS"
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { market_access < 0.75 }
|
||||
multiply = {
|
||||
desc = "BUILDING_LEVEL_LOW_MARKET_ACCESS_PENALTY"
|
||||
value = market_access
|
||||
add = 0.25
|
||||
}
|
||||
}
|
||||
min = 1
|
||||
}
|
||||
|
||||
|
||||
manufactory_max_level = {
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_DEVELOPMENT"
|
||||
value = development
|
||||
multiply = 0.20
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_POPULATION"
|
||||
value = population
|
||||
multiply = 0.1
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
location_rank = location_rank:city
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_IS_CITY"
|
||||
value = 5
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
location_rank ?= location_rank:megalopolis
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_IS_MEGAPOLIS"
|
||||
value = 10
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { market_access < 0.75 }
|
||||
multiply = {
|
||||
desc = "BUILDING_LEVEL_LOW_MARKET_ACCESS_PENALTY"
|
||||
value = market_access
|
||||
add = 0.25
|
||||
}
|
||||
}
|
||||
min = 1
|
||||
|
||||
}
|
||||
|
||||
mills_max_level = {
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_DEVELOPMENT"
|
||||
value = development
|
||||
multiply = 0.30
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_POPULATION"
|
||||
value = population
|
||||
multiply = 0.15
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
location_rank = location_rank:city
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_IS_CITY"
|
||||
value = 10
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
location_rank ?= location_rank:megalopolis
|
||||
}
|
||||
add = {
|
||||
desc = "BUILDING_LEVEL_IS_MEGAPOLIS"
|
||||
value = 25
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { market_access < 0.75 }
|
||||
multiply = {
|
||||
desc = "BUILDING_LEVEL_LOW_MARKET_ACCESS_PENALTY"
|
||||
value = market_access
|
||||
add = 0.25
|
||||
}
|
||||
}
|
||||
min = 1
|
||||
|
||||
}
|
||||
|
||||
|
||||
# ================= CAPITOL TIER 2 / 3 (unlocked by later ages) =================
|
||||
capitol_2_max_level = {
|
||||
add = { desc = "BUILDING_LEVEL_BASE" value = 1 }
|
||||
if = {
|
||||
limit = { owner = { country_rank = country_rank:rank_kingdom } }
|
||||
add = { desc = "country_rank:rank_kingdom" value = 1 }
|
||||
limit = {
|
||||
owner = {
|
||||
country_rank = country_rank:rank_empire
|
||||
OR = {
|
||||
total_population > 50000
|
||||
total_true_faith_population > 10000
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { owner = { country_rank = country_rank:rank_empire } }
|
||||
add = { desc = "country_rank:rank_empire" value = 1 }
|
||||
}
|
||||
}
|
||||
|
||||
capitol_3_max_level = {
|
||||
add = { desc = "BUILDING_LEVEL_BASE" value = 1 }
|
||||
if = {
|
||||
limit = { owner = { country_rank = country_rank:rank_empire } }
|
||||
add = { desc = "country_rank:rank_empire" value = 1 }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
owner = {
|
||||
country_rank = country_rank:rank_empire
|
||||
OR = {
|
||||
total_population > 75000
|
||||
total_true_faith_population > 30000
|
||||
}
|
||||
}
|
||||
}
|
||||
add = { desc = "BUILDING_LEVEL_POPULATION_BONUS" value = 1 }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user