diff --git a/common/modifiers/00_province_modifiers.txt b/common/modifiers/00_province_modifiers.txt index 2faaf2626..96a82144e 100644 --- a/common/modifiers/00_province_modifiers.txt +++ b/common/modifiers/00_province_modifiers.txt @@ -207,7 +207,7 @@ winter_mild_modifier = { supply_loss_winter = -2 provisions_use_mult = 0.1 prosperity_growth_factor = -0.1 - monthly_county_control_decline_add = -0.1 + control_baseline_add = miniscule_control_baseline_loss county_fertility_growth_mult = -0.1 agricultural_tax_mult = -0.1 } @@ -216,7 +216,7 @@ winter_normal_modifier = { supply_loss_winter = -5 provisions_use_mult = 0.2 prosperity_growth_factor = -0.15 - monthly_county_control_decline_add = -0.15 + control_baseline_add = minor_control_baseline_loss county_fertility_growth_mult = -0.15 agricultural_tax_mult = -0.15 movement_speed = -0.5 @@ -228,7 +228,7 @@ winter_harsh_modifier = { defender_winter_advantage = 5 hard_casualty_winter = 0.2 prosperity_growth_factor = -0.2 - monthly_county_control_decline_add = -0.2 + control_baseline_add = medium_control_baseline_loss county_fertility_growth_mult = -0.2 agricultural_tax_mult = -0.2 movement_speed = -1 diff --git a/common/terrain_types/00_terrains.txt b/common/terrain_types/00_terrains.txt index eaa7c6a03..c9f1f0aac 100644 --- a/common/terrain_types/00_terrains.txt +++ b/common/terrain_types/00_terrains.txt @@ -4,6 +4,9 @@ @provisions_cost_high = 100 @provisions_cost_extreme = 150 + +#If tweaking trade good output numbers keep in mind buildings may also need tweaking. + plains = { color = hsv { 0.1 0.5 0.8 } travel_danger_color = hsv { 0.1 0.5 0.8 } @@ -15,6 +18,12 @@ plains = { supply_limit_mult = 0 travel_danger = 10 county_fertility_growth_add = plains_county_fertility_value + control_baseline_add = 5 + trade_good_grain_production_mult = 0.25 + trade_good_flax_production_mult = 0.25 + trade_good_grain_buy_price_mult = terrain_buy_price_mult + trade_good_flax_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_3 } audio_parameter = 1.0 @@ -27,7 +36,7 @@ sea = { provision_cost = @provisions_cost_high province_modifier = { - travel_danger = 75 + travel_danger = 50 } } @@ -39,7 +48,7 @@ coastal_sea = { provision_cost = @provisions_cost_medium province_modifier = { - travel_danger = 50 + travel_danger = 35 } } @@ -49,13 +58,20 @@ farmlands = { county_fertility = 40 province_modifier = { + monthly_agricultural_tax = 0.05 supply_limit_mult = 0.5 county_fertility_growth_add = farmlands_county_fertility_value - monthly_county_control_decline_factor = -0.15 + control_baseline_add = 10 + food_supply_add = 20 + trade_category_cereals_production_mult = 0.5 + trade_good_flax_production_mult = 0.5 + trade_category_cereals_buy_price_mult = terrain_buy_price_mult + trade_good_flax_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_4 } county_capital_modifier = { - development_growth_factor = 0.2 + prosperity_growth_factor = 0.2 } audio_parameter = 1.0 @@ -69,14 +85,21 @@ hills = { county_fertility = 20 province_modifier = { + monthly_mining_tax = 0.02 supply_limit_mult = -0.1 travel_danger = hills_danger_value county_fertility_growth_add = hills_county_fertility_value - monthly_county_control_decline_factor = 0.15 + control_baseline_add = minor_control_baseline_loss fort_level = 1 + trade_good_wine_production_mult = 0.1 + trade_category_stone_production_mult = 0.25 + trade_good_wine_buy_price_mult = -0.005 + trade_category_stone_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_2 } + county_capital_modifier = { - development_growth_factor = -0.1 + prosperity_growth_factor = -0.1 } defender_combat_effects = { @@ -99,15 +122,23 @@ mountains = { county_fertility = 15 province_modifier = { + monthly_mining_tax = 0.02 supply_limit_mult = -0.5 travel_danger = mountains_danger_value county_fertility_growth_add = mountains_county_fertility_value - monthly_county_control_decline_factor = 0.2 + control_baseline_add = medium_control_baseline_loss fort_level = 2 + trade_category_cereals_production_mult = -0.25 + trade_category_stone_production_mult = 0.5 + trade_good_wool_production_mult = 0.25 + trade_category_cereals_sell_price_mult = terrain_sell_price_mult + trade_category_stone_buy_price_mult = -0.005 + trade_good_wool_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_1 } county_capital_modifier = { - development_growth_factor = -0.25 + prosperity_growth_factor = -0.25 } defender_combat_effects = { @@ -133,11 +164,19 @@ desert = { supply_limit_mult = -0.3 travel_danger = desert_danger_value county_fertility_growth_add = desert_county_fertility_value - monthly_county_control_decline_factor = 0.1 + control_baseline_add = minor_control_baseline_loss + trade_category_cereals_production_mult = -0.5 + trade_category_salt_production_mult = 0.25 + trade_category_carpentry_supplies_production_mult = -0.5 + trade_category_incense_production_mult = 0.25 + trade_category_cereals_sell_price_mult = terrain_sell_price_mult + trade_category_salt_buy_price_mult = terrain_buy_price_mult + trade_category_carpentry_supplies_sell_price_mult = terrain_sell_price_mult + trade_category_incense_buy_price_mult = terrain_buy_price_mult } county_capital_modifier = { - development_growth_factor = -0.5 + prosperity_growth_factor = -0.5 } movement_speed = 0.7 @@ -156,12 +195,17 @@ desert_mountains = { supply_limit_mult = -0.6 travel_danger = desert_mountains_danger_value county_fertility_growth_add = desert_mountains_county_fertility_value - monthly_county_control_decline_factor = 0.2 + control_baseline_add = medium_control_baseline_loss fort_level = 2 + trade_category_cereals_production_mult = -0.25 + trade_category_cereals_sell_price_mult = terrain_sell_price_mult + trade_good_wool_production_mult = 0.25 + trade_good_wool_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_1 } county_capital_modifier = { - development_growth_factor = -0.5 + prosperity_growth_factor = -0.5 } defender_combat_effects = { @@ -191,10 +235,17 @@ oasis = { supply_limit_mult = 0.1 travel_danger = 10 county_fertility_growth_add = oasis_county_fertility_value + control_baseline_add = 5 + food_supply_add = 10 + trade_good_fruit_production_mult = 0.5 + trade_category_carpentry_supplies_production_mult = -0.25 + trade_good_fruit_buy_price_mult = -0.005 + trade_category_carpentry_supplies_sell_price_mult = terrain_sell_price_mult + province_size_baseline_add = province_size_tier_3 } county_capital_modifier = { - development_growth_factor = 0.1 + prosperity_growth_factor = 0.1 } movement_speed = 1 @@ -210,15 +261,25 @@ jungle = { county_fertility = 10 province_modifier = { + monthly_woodland_tax = 0.02 supply_limit_mult = -0.25 travel_danger = jungle_danger_value county_fertility_growth_add = jungle_county_fertility_value - monthly_county_control_decline_factor = 0.2 + control_baseline_add = medium_control_baseline_loss fort_level = 1 + trade_good_grain_production_mult = -0.5 + trade_category_beasts_of_burden_production_mult = -0.25 + trade_category_carpentry_supplies_production_mult = 0.5 + trade_good_spices_production_mult = 0.25 + woodland_tax_mult = 0.1 + trade_good_grain_sell_price_mult = 0.005 + trade_category_carpentry_supplies_buy_price_mult = -0.005 + trade_good_spices_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_1 } county_capital_modifier = { - development_growth_factor = -0.4 + prosperity_growth_factor = -0.4 } defender_combat_effects = { @@ -244,7 +305,16 @@ forest = { supply_limit_mult = -0.1 travel_danger = forest_danger_value county_fertility_growth_add = forest_county_fertility_value - monthly_county_control_decline_factor = 0.15 + control_baseline_add = minor_control_baseline_loss + monthly_woodland_tax = 0.05 + woodland_tax_mult = 0.1 + trade_category_carpentry_supplies_production_mult = 0.5 + trade_good_furs_production_mult = 0.25 + trade_good_honey_production_mult = 0.25 + trade_category_carpentry_supplies_buy_price_mult = -0.005 + trade_good_furs_buy_price_mult = terrain_buy_price_mult + trade_good_honey_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_1 } defender_combat_effects = { @@ -269,14 +339,21 @@ taiga = { county_fertility = 15 province_modifier = { + monthly_woodland_tax = 0.02 supply_limit_mult = -0.2 travel_danger = taiga_danger_value county_fertility_growth_add = taiga_county_fertility_value - monthly_county_control_decline_factor = 0.2 + control_baseline_add = medium_control_baseline_loss + trade_category_cereals_production_mult = -0.5 + trade_category_carpentry_supplies_production_mult = 0.5 + trade_good_furs_production_mult = 0.5 + trade_category_cereals_sell_price_mult = terrain_sell_price_mult + trade_category_carpentry_supplies_buy_price_mult = -0.005 + trade_good_furs_buy_price_mult = -0.005 } county_capital_modifier = { - development_growth_factor = -0.05 + prosperity_growth_factor = -0.05 } defender_combat_effects = { @@ -299,15 +376,27 @@ wetlands = { county_fertility = 20 province_modifier = { + monthly_woodland_tax = 0.03 supply_limit_mult = -0.25 travel_danger = wetlands_danger_value county_fertility_growth_add = wetlands_county_fertility_value - monthly_county_control_decline_factor = 0.2 + control_baseline_add = medium_control_baseline_loss fort_level = 1 + trade_good_salt_production_mult = 0.1 + trade_good_fish_production_mult = 0.25 + trade_good_grain_production_mult = -0.25 + trade_good_millet_production_mult = -0.25 + trade_good_rice_production_mult = 0.25 + trade_category_salt_buy_price_mult = -0.005 + trade_good_fish_buy_price_mult = terrain_buy_price_mult + trade_good_grain_sell_price_mult = terrain_sell_price_mult + trade_good_millet_sell_price_mult = terrain_sell_price_mult + trade_good_rice_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_2 } county_capital_modifier = { - development_growth_factor = -0.25 + prosperity_growth_factor = -0.25 } attacker_modifier = { @@ -343,11 +432,16 @@ steppe = { supply_limit_mult = 0 travel_danger = steppe_danger_value county_fertility_growth_add = steppe_county_fertility_value - monthly_county_control_decline_factor = 0.1 + control_baseline_add = minor_control_baseline_loss + trade_category_beasts_of_burden_production_mult = 0.5 + trade_good_wool_production_mult = 0.25 + trade_good_grain_production_mult = -0.25 + trade_good_horses_buy_price_mult = -0.005 + trade_good_wool_buy_price_mult = terrain_buy_price_mult + trade_good_grain_sell_price_mult = terrain_sell_price_mult } - county_capital_modifier = { - development_growth_factor = -0.2 + prosperity_growth_factor = -0.5 } audio_parameter = 5.0 @@ -361,14 +455,21 @@ floodplains = { county_fertility = 30 province_modifier = { + monthly_agricultural_tax = 0.03 supply_limit_mult = 0.35 travel_danger = floodplains_danger_value county_fertility_growth_add = floodplains_county_fertility_value + control_baseline_add = miniscule_control_baseline_loss fort_level = 1 + trade_category_cereals_production_mult = 0.25 + trade_good_cotton_production_mult = 0.25 + trade_category_cereals_buy_price_mult = terrain_buy_price_mult + trade_good_cotton_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_4 } county_capital_modifier = { - development_growth_factor = 0.2 + prosperity_growth_factor = 0.2 } combat_width = 0.75 @@ -387,10 +488,15 @@ drylands = { supply_limit_mult = 0 travel_danger = drylands_danger_value county_fertility_growth_add = drylands_county_fertility_value + trade_good_millet_production_mult = 0.25 + trade_good_cotton_production_mult = 0.25 + trade_good_millet_buy_price_mult = terrain_buy_price_mult + trade_good_cotton_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_2 } county_capital_modifier = { - development_growth_factor = -0.05 + prosperity_growth_factor = -0.05 } audio_parameter = 1.0 @@ -407,10 +513,20 @@ tells = { supply_limit_mult = -0.1 travel_danger = tells_danger_value county_fertility_growth_add = hills_county_fertility_value - monthly_county_control_decline_factor = 0.015 + control_baseline_add = minor_control_baseline_loss fort_level = 1 holding_build_gold_cost = 0.1 holding_build_speed = 0.1 + trade_category_stone_production_mult = 0.25 + trade_category_stone_buy_price_mult = terrain_buy_price_mult + trade_category_base_metals_production_mult = 0.25 + trade_category_base_metals_buy_price_mult = terrain_buy_price_mult + trade_category_precious_metals_production_mult = 0.25 + trade_category_precious_metals_buy_price_mult = terrain_buy_price_mult + trade_category_cereals_production_mult = -0.25 + trade_good_wool_production_mult = 0.25 + trade_category_cereals_sell_price_mult = terrain_sell_price_mult + trade_good_wool_buy_price_mult = terrain_buy_price_mult } county_capital_modifier = { @@ -435,12 +551,25 @@ terraced_hills = { provision_cost = @provisions_cost_light province_modifier = { + monthly_agricultural_tax = 0.02 supply_limit_mult = 0.1 fort_level = 1 + control_baseline_add = miniscule_control_baseline_loss + trade_good_sugar_production_mult = 2 + trade_good_cotton_production_mult = 2 + trade_good_flax_production_mult = 2 + trade_good_tea_production_mult = 0.1 + trade_good_rice_production_mult = 0.5 + food_supply_add = 10 + trade_good_tea_buy_price_mult = -0.005 + trade_good_cotton_buy_price_mult = terrain_buy_price_mult + trade_good_rice_buy_price_mult = terrain_buy_price_mult + trade_good_sugar_buy_price_mult = terrain_buy_price_mult + province_size_baseline_add = province_size_tier_3 } county_capital_modifier = { - development_growth_factor = 0.1 + prosperity_growth_factor = 0.1 } defender_combat_effects = { diff --git a/common/terrain_types/_terrains.info b/common/terrain_types/_terrains.info index c325cc128..487fa7deb 100644 --- a/common/terrain_types/_terrains.info +++ b/common/terrain_types/_terrains.info @@ -1,22 +1,22 @@ key = { - movement_speed = 1 # Speed on this type of terrain + movement_speed = 1 # Speed on this type of terrain. Defaults to 1 attacker_modifier = {} # Modifiers for the attackers in a combat. See note on allowed modifiers below. defender_modifier = {} # Modifiers for the defender in a combat. See note on allowed modifiers below. attacker_combat_effects = {} # Combat effect for the attackers. Look for common/combat_effects/_combat_effects.info for more information on how script this one. - defender_combat_effects = {} # Combat effect for the attackers. Look for common/combat_effects/_combat_effects.info for more information on how script this one. + defender_combat_effects = {} # Combat effect for the defenders. Look for common/combat_effects/_combat_effects.info for more information on how script this one. color = { r g b } # Terrain color for the terrain type map mode - combat_width = 1 # Multiplier on the combat width + combat_width = 1 # Multiplier on the combat width. Defaults to 1 audio_parameter = 0 # Used to check the audio to play province_modifier = {} # Modifier applied to the province. See note on allowed modifiers below. county_capital_modifier = {} # Modifier applied to the province if it is the county capital. See note on allowed modifiers below. travel_danger_score = 0 # The amount of danger this terrain provides when travelling over it. - travel_danger_color = 0 # Terrain color for the travel planner map mode if the danger score is higher than the player's safety. + travel_danger_color = { r g b } # Terrain color for the travel planner map mode if the danger score is higher than the player's safety. provision_cost = 0 # The amount of provison cost for this terrain type when moving your domicile county_fertility = 0 # The amount of Fertility contributed by this terrain type. Used to calculate Base County Fertility for relevant counties entity = "forest_birds_01" # Environmental graphical asset shown in this terrain. Allowed Modifiers -================= +################# Modifiers referenced by a terrain object can be only generic (hardcoded) modifiers, or modifiers generated from the following databases: - schemes @@ -27,15 +27,15 @@ Modifiers referenced by a terrain object can be only generic (hardcoded) modifie Other generated modifiers are _not_ allowed, such as those from other terrains, men_at_arms_types, cultures, or governments. Generated Modifiers -=================== +################### Each terrain type adds this modifiers automatically: KEY + _attrition_mult = 0 # Multiplier applied to attition of the terrain terrain type KEY + _cancel_negative_supply = yes # Discards supply penalties from the terrain type KEY + _advantage = 0 # Advantage during the combat -KEY + _development_growth = 0.2 # Development growth if capital of a county is this terrain -KEY + _development_growth_factor = 0.2 # Development growth factor if capital of a county is this terrain +KEY + _prosperity_growth = 0.2 # Prosperity growth if capital of a county is this terrain +KEY + _prosperity_growth_factor = 0.2 # Prosperity growth factor if capital of a county is this terrain KEY + _construction_gold_cost = 0.2 KEY + _holding_construction_gold_cost = 0.2 KEY + _construction_piety_cost = 0.2 @@ -49,4 +49,9 @@ KEY + _levy_size = 0.2 KEY + _min_combat_roll = 0.2 KEY + _max_combat_roll = 0.2 KEY + _travel_danger = 0.2 -KEY + _provision_use_mult = 0.2 +KEY + _provisions_use_mult = 0.2 +KEY + _barter_goods_mult = 0.2 +KEY + _fertility_growth_add = 0.2 +KEY + _fertility_growth_mult = 0.2 +KEY + _fertility_decline_add = 0.2 +KEY + _fertility_decline_mult = 0.2