diff --git a/common/defines/00_defines.txt b/common/defines/00_defines.txt index bc875f661..b6531c36f 100644 --- a/common/defines/00_defines.txt +++ b/common/defines/00_defines.txt @@ -235,7 +235,6 @@ NCharacter = { MAX_RELATIONS_TO_SHOW_SHORT = 2 MARRIAGE_TIER_DIFF_PRESTIGE_MULT = 100 - MERCHANT_MARRIAGE_TIER_DIFF_PRESTIGE_MULT = 50 # Replaces MARRIAGE_TIER_DIFF_PRESTIGE_MULT when the character gaining the prestige is a Merchant # Multiplied with distance FOCUS_CHILD_MIN_AGE = 6 @@ -541,13 +540,6 @@ NCharacterOpinion = { ACTIVE_ACCLAIMED_KNIGHT = 15 # Opinion bonus for making someone the Acclaimed Knight of an active Accolade } -NLaw = { - VOTING_SESSION_LENGTH = 90 # Voting session length in days - LAW_PROPOSAL_THRESHOLD = 1 # How high should ai_will_do be for them to want to propose a law? - LAW_PROPOSAL_COOLDOWN = 1095 # How many days should pass before another proposal can be made after a session ends? - LAW_PROPOSER_PERSONAL_COOLDOWN = 2190 # How many days should pass before an AI character can propose another law, from the day of their last proposal? -} - NCharacterInteraction = { CHARACTER_INTERACTION_EXPIRATION_DAYS = 60 # non-answered interactions expire after this time RECENT_TITLE_FILTER_MONTHS = 12 # if the checkbox is selected only titles adquired during the defines months are shown @@ -578,7 +570,6 @@ NGovernment = { "meritocratic_government" "steppe_admin_government" "ecclesiastical_government" - "merchant_government" } } @@ -769,7 +760,6 @@ NScheme = { PERSONAL_SCHEME_MAX_SUCCESS_CHANCE = 95 # The absolute max success chance a personal scheme can have POLITICAL_SCHEME_MAX_SUCCESS_CHANCE = 95 # The absolute max success chance a political scheme can have CONTRACT_SCHEME_MAX_SUCCESS_CHANCE = 100 # The absolute max success chance a contract scheme can have - TRADE_SCHEME_MAX_SUCCESS_CHANCE = 95 # The absolute max success chance a trade scheme can have SCHEME_MAX_OPPORTUNITIES = 20 # The maximum number of saved opportunities a schmeme can have SCHEME_PHASE_DURATION_MINIMUM = 10 # The minimum amount of days per scheme speed @@ -803,7 +793,7 @@ NPowerfulVassal = { } NFaith = { - MAX_VIRTUES_SINS = 7 # Virtues and sins come from core and approved tenets. Only this many are kept, highest weight first, and traits in the same trait group count as one + MAX_VIRTUES_SINS = 7 # Virtues and sins are taken from core and approved tenets. only keep this number, giving priority to higher weights BASE_FERVOR = 50.0 # Default fervor MAX_FERVOR = 100.0 # Max amount of fervor @@ -865,11 +855,11 @@ NReligion = { -30 } - HOSTILITY_POPULAR_OPINION_EFFECTS = { # The opinion effects of each hostility level on counties. Modified by fervor of the county's faith divided by 100 + HOSTILITY_COUNTY_OPINION_EFFECTS = { # The opinion effects of each hostility level on counties. Modified by fervor of the county's faith divided by 100 0 - -10 - -20 + -15 -30 + -45 } HOSTILITY_COMBAT_MOD_MULT = { # Multiplier to how big of an effect tolerance_advantage_mod has. The higher it is, the greater the effect @@ -966,14 +956,6 @@ NTitle = { DRIFT_PROGRESS_LIMIT = 1200 DRIFT_ADJACENT_ACROSS_WATER_DISTANCE = 2 REVOKE_LAWS_COST_SCALE = { 0 0 0.1 0.25 0.5 1 2 } - LAW_CHANGE_DREAD_THRESHOLD = 2 - LAW_CHANGE_APPROVAL_THRESHOLD = 20 # How high does approval of a law need to be for a voting member to approve of it? - LAW_CHANGE_DISAPPROVAL_THRESHOLD = -20 # How low does approval of a law need to be for a voting member to disapprove of it? - LAW_CHANGE_VOTING_THRESHOLD = 0.6 # What % of voting members need to approve to pass law changes if not defined by laws? - LAW_PLAYER_APPROVAL = 100 # What "approval" should players be assigned when viewing laws? Used for sorting voting members by approval. - DECISION_APPROVAL_THRESHOLD = 0 # How High does approval of a decision need to be for a voting member to approve of it? - DECISION_VOTING_THRESHOLD = 0.6 # What % of voting members need to approve to pass decisions if not defined by laws? - DYNAMIC_TITLE_MAP_COLOR_S_V = { 0.8 1.0 } # What is the Saturation and Value of dynamic title map colors? (via HSV color - Hue is fully randomized) CREATE_TITLE_PIETY_LEVEL = { 0 0 0 2 3 5 5 } # not a global requirement, it is used only for government with rule considers_piety_for_title_creation CREATE_TITLE_PIETY_COST = { 0 0 0 500 2500 5000 10000 } @@ -984,12 +966,6 @@ NTitle = { # (Note that values below the primary title tier don't make much sense to configure) AI_RULER_DESIRED_KINGDOM_TITLES_DEFAULT = { -1 -1 -1 -1 -1 -1 3 } # First 4 values not used AI_RULER_DESIRED_EMPIRE_TITLES_DEFAULT = { -1 -1 -1 -1 -1 -1 1 } # First 5 values not used - - # If a title has succession laws with a term length, the first term ends on a random day between now and a full term - # This value is the soonest that day can be, as a fraction of a full term. At 0.5 a term ends no sooner than half a term from now - # This stops republic players being voted out of office too soon into the game - MIN_INITIAL_TERM_LENGTH_FRACTION = 0.3 - DEFAULT_TERM_LENGTH = 0 # Default term length in months, if no length is set by laws, 0 is life } NSiege = { @@ -1074,14 +1050,15 @@ NImprisonment = { } NCounty = { - PROSPERITY_SPREAD_NEIGHBOUR_FACTOR = 0.1 - PROSPERITY_SPREAD_USES_HIGHEST_NEIGHBOUR = yes # "yes" means only the difference from the highest dev neighbor will be used. "no" means that all higher-dev neighbors will be used - LEVELS_PROSPERITY = { 100 200 300 400 500 600 700 800 900 } - LEVEL_DROP_MAX_RETAINED_PROGRESS_PROSPERITY = 0.5 - DEFAULT_COUNTY_PROSPERITY = 0 + DEVELOPMENT_SPREAD_NEIGHBOUR_FACTOR = 0.1 + DEVELOPMENT_SPREAD_USES_HIGHEST_NEIGHBOUR = yes # "yes" means only the difference from the highest dev neighbor will be used. "no" means that all higher-dev neighbors will be used + LEVELS_DEVELOPMENT = { 100 200 300 400 500 600 700 800 900 } + LEVEL_DROP_MAX_RETAINED_PROGRESS_DEVELOPMENT = 0.5 + DEFAULT_COUNTY_CONTROL = 100 + DEFAULT_COUNTY_DEVELOPMENT = 0 # What penalty to give when at zero culture acceptance. Scales down to 0 at 100% acceptance. So -10 would be -10 at 0%, -5 at 50%, 0 at 100% - POPULAR_OPINION_ZERO_ACCEPTANCE = -15 - COUNTY_CONTROL_LOSS_ON_HOSTILE_OWNER_CHANGE = 20 # County control is reduced by this amount when the county changes hands due to conquest + COUNTY_OPINION_ZERO_ACCEPTANCE = -15 + COUNTY_CONTROL_LOSS_ON_HOSTILE_OWNER_CHANGE = 75 # County control is reduced by this amount when the county changes hands due to conquest ABSOLUTE_COUNTRY_CONTROL = 110 CULTURAL_ACCEPTANCE_AUTO_GRANT_COUNTY_SCRIPT_VALUE = "auto_grant_county_cultural_acceptance_impact" COUNTY_FERTILITY_GROWTH_HERDER = 0 # For clearer tooltips, moved to holdings @@ -1093,26 +1070,13 @@ NCounty = { COUNTY_FERTILITY_MONTHLY_CHANGE_LEVELS = { -20 -0.01 0.01 20 } COUNTY_FERTILITY_NON_NOMAD_HOLDING_MALUS = -0.75 # Negative mult malus applied to the amount of Herd gained from the county fertility in a county that does not have a Nomad or Herder Holding HERD_GAIN_FROM_COUNTY_MULTIPLIER = 0.5 # Direct multiplier on the base Herd gained from County ( Base Gain = CountyFertility * HERD_GAIN_FROM_COUNTY_MULTIPLIER ) - COUNTY_CONTROL_DEFAULT_BASELINE = 35 # Baseline before any modifiers; control trends toward this - DEFAULT_COUNTY_CONTROL = 25 - COUNTY_CONTROL_BASE_MONTHLY_CHANGE = 0.1 # Absolute base convergence rate per month - COUNTY_CONTROL_MIN_MONTHLY_CHANGE = 0.05 # Minimum convergence rate per month - COUNTY_CONTROL_LEVEL_CUTOFFS = { 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 } - POPULAR_OPINION_BASE_MONTHLY_CHANGE = 0.5 # Absolute value, applied as negative if growth is negative - POPULAR_OPINION_MIN_MONTHLY_CHANGE = 0.1 # Same as above, minimum value for monthly opinion change - POPULAR_OPINION_MAX = 100 - POPULAR_OPINION_MIN = -100 - POPULAR_OPINION_THRESHOLDS = { -100 -75 -50 -25 0 25 50 75 100 } - POPULAR_OPINION_STARTING_LEVEL = 4 # Default level, middle index of thresholds above, starting from 0 } NProvince = { BASE_SUPPLY_LIMIT = 2000 # The unmodified base supply limit of a province - BARONY_BUILDING_SLOTS = 1 # Base number of building slots for districts in non-capital baronies - COUNTY_BUILDING_SLOTS = 1 # Base number of building slots for districts in county capital - BARONY_DISTRICT_SLOTS = 1 # Base number of regular district slots for non-capital baronies - COUNTY_DISTRICT_SLOTS = 1 # Base number of regular district slots for county capitals - SUPPLY_PER_PROSPERITY = 150 # Each level of prosperity adds this much to the supply limit + BARONY_BUILDING_SLOTS = 2 + COUNTY_BUILDING_SLOTS = 3 + SUPPLY_PER_DEVELOPMENT = 150 # Each development adds this much sto the supply limit ACROSS_WATER_PROVINCE_MAX_DISTANCE = 2 # Maximum number of (traversable) water provinces between provinces to be considered "connected across water" WINTER_LEVEL_THRESHOLD_MILD = 0.2 # Determines when the mild winter level takes effect, should be a value between 0.0 .. 1.0 WINTER_LEVEL_THRESHOLD_NORMAL = 0.5 # Determines when the normal winter level takes effect, which ranges between WINTER_LEVEL_THRESHOLD_MILD .. 1.0 @@ -1126,14 +1090,6 @@ NProvince = { WINTER_SEVERITY_RANDOM_MAX = 1.0 # Sets the upper bound of the random value that is used when determining the next winter severity RAZE_HOLDING_COOLDOWN_YEARS = 5 # Sets the cooldown perid in years for nomads razing holdings that they completely control MAX_BUILDINGS = 7 # Maximum number of building slots that a province can have - DEFAULT_PROVINCE_SIZE = 1 # Size level used when history omits province_size, and the level the raw DEFAULT_PROVINCE_SIZE_BASELINE maps to - DEFAULT_PROVINCE_SIZE_BASELINE = 150 # Default baseline value a province's raw size trends toward in absence of modifiers - MAX_PROVINCE_SIZE_LEVEL = 10 # Highest named size level (matches province_size_level_0..province_size_level_10) - MAX_PROVINCE_SIZE_VALUE = 1000 # Upper bound on the raw CFixedPoint province size value - PROVINCE_SIZE_LEVEL_STEP = 100 # Value per level - history `province_size = X` resolves to value X * PROVINCE_SIZE_LEVEL_STEP - PROVINCE_SIZE_BASE_MONTHLY_CHANGE = 0.2 # Absolute base convergence rate per month toward the baseline - PROVINCE_SIZE_MIN_MONTHLY_CHANGE = 0.1 # Minimum absolute monthly change once the province is not already at its baseline - PROVINCE_SIZE_LEVEL_CUTOFFS = { 0 100 200 300 400 500 600 700 800 900 1000 } # Cutoffs mapping raw size value to level } NText = { @@ -1153,7 +1109,6 @@ NDynasty = { LEVELS_PRESTIGE_GRAPHICAL_STEP = 2 PRESTIGE_ZERO_LEVEL = 0 MARRIAGE_PRESTIGE = { -100 0 100 200 300 400 500 600 700 800 900 } - MERCHANT_MARRIAGE_PRESTIGE = { 100 200 300 400 500 600 700 800 900 1000 1100 } # Replaces MARRIAGE_PRESTIGE for merchants. Must have at least one more entry than LEVELS_PRESTIGE BIRTH_PRESTIGE = { 0 100 200 300 400 500 600 700 800 900 1000 } MAX_LONG_REIGN = { 5 10 15 20 25 30 35 40 45 50 55 } HEAD_MONTHLY_PRESTIGE_GAIN_PER_TITLE_TIER = { 0 0.01 0.02 0.03 0.04 0.05 0.06 } @@ -1205,7 +1160,10 @@ NDomain = { ABOVE_LIMIT_MAX_HERD_INCOME_PENALTY = 1 # How much herd income from domain can be reduced at most HOLDING_GRACE_PERIOD = 365 # How many days do newly gained holdings not count towards the domain size for the purposes of penalties (but also not produce any levies) STEWARDSHIP_SKILL_FOR_DOMAIN_LIMIT_INCREASE = 200 # domain limit += floor( / STEWARDSHIP_SKILL_FOR_DOMAIN_LIMIT_INCREASE ) - TAX_AT_MAX_COUNTY_PROSPERITY = 0.25 # Tax bonus at 100 county prosperity, scaling down evenly to 0% at 0 prosperity + LEVIES_AT_ZERO_COUNTY_CONTROL = 0.5 # How many % levies do you get at 0 county control? Interpolated between this value and 100% when between 0 and 100 + TAX_AT_ZERO_COUNTY_CONTROL = 0.0 # How much % tax do you get at 0 county control? Interpolated between this value and 100% when between 0 and 100 + LEVIES_AT_MAX_COUNTY_DEVELOPMENT = 0.5 # How many % levies bonus do you get at 100 county development? Interpolated between this value and 0% when between 0 and 100 + TAX_AT_MAX_COUNTY_DEVELOPMENT = 0.5 # How much % tax bonus do you get at 100 county development? Interpolated between this value and 0% when between 0 and 100 HOLDING_MIN_GARRISON_COUNT = 25 # The minimal amount of garrisons a holding should have if it should have garrisons ABOVE_LIMIT_BARTER_GOODS_INCOME_PENALTY = 0.2 # How much Barter Goods are reduced per holding over the limit ABOVE_LIMIT_MAX_BARTER_GOODS_INCOME_PENALTY = 1 # How much Barter Goods can be reduced at most @@ -1267,9 +1225,9 @@ NCulture = { INNOVATION_PROGRESS_GAIN_FROM_BONUS_FASCINATION = 1.5 # Additional progress rate if the innovation is current fascination AND was selected as bonus_fascination_innovation # If the random roll succeeds, the innovation will progress by: - # base + from prosperity + from eras ahead + # base + from development + from eras ahead INNOVATION_PROGRESS_GAIN_BASE = 0.3 - INNOVATION_PROGRESS_GAIN_PER_AVERAGE_PROSPERITY_LEVEL = 0.02 + INNOVATION_PROGRESS_GAIN_PER_AVERAGE_DEVELOPMENT_LEVEL = 0.02 INNOVATION_PROGRESS_GAIN_PER_ERA_AHEAD = 0.2 INNOVATION_PROGRESS_DIVIDE_FACTOR_IF_ERA_BEHIND = 5 # the overall progress is divided by this number to achieve a way slower progress for future innovations. 10 would divide the total progress by 10, and this is further divided by the number of eras the culture is behind - so the progress may end up being divided by 30 at most. Set to 0 to disable this behavior. INNOVATION_PROGRESS_MIN_MULTIPLIER_IF_ERA_BEHIND = 0.01 # the division from the define above may not go lower than this. Ranges between 0 and 1. @@ -1334,8 +1292,6 @@ NMercenary = { REINFORCEMENT_FACTOR = 3.0 # How much faster do mercenary regiments reinforce than regular regiments COUNTY_REMOVAL_FACTOR = 1.2 # When removing mercenaries from shrinking cultures, first multiply culture size with this - - MERCENARY_BASE_LIMIT = 1 # Baseline for how many mercenary companies a character can hire at the same time } NHolyOrder = { @@ -1435,7 +1391,7 @@ NSubjectContract = { NGUI = { REALM_VIEW_NUM_HEIRS = 5 - REALM_VIEW_CONTROL_THRESHOLD = 20 + REALM_VIEW_CONTROL_THRESHOLD = 35 CHARACTER_LIST_TEXT_SEARCH_MIN_LENGTH = 2 # min text string length to start matching CHARACTER_LIST_MATCH_CUTOFF = 25 # lowest match score for text filter CHARACTER_LIST_MATCH_COUNT = 15 # text filter options limit @@ -1454,9 +1410,6 @@ NGUI = { DYNASTY_TREE_MAX_SIZE = 200 # Limit initial number of character in single dynasty tree PRISONER_MASS_ACTION_REASONS = 5 # maximum number of reasons why a mass prisoner action cannot be done that we want to show in tooltips DECISION_LIST_UPDATE_TIME = 0.25 # Time between decision list window updates, in seconds - DEFAULT_WINDOW_UPDATE_TIME = 0.05 # Default time between periodic window updates, in seconds - DEFAULT_DISTRICT_BACKGROUND_PATH = "gfx/interface/illustrations/event_scenes/gdp_artisans_street_western.dds" # Fallback background for use in the holding view - DISTRICT_TYPES_ICONS_PATH = "gfx/interface/icons/district_types_icons" # Icons for the different district slot types } NSuggestions = { @@ -1600,9 +1553,6 @@ NGraphics = { 0.14 # 20 fps 0.18 # 15 fps, 10 fps if higher } - # TODO_LIANA add proper comments for those defines - ROUTE_GENERATION_NAV_MESH_DENSITY = 0.375 - ARROW_CONTROL_POINT_OFFSET_VALUE = 0.25 } NRulerDesigner = { @@ -1733,10 +1683,9 @@ NTravel = { MAX_SELECTABLE_TRAVEL_OPTIONS = 2 - COUNTY_CONTROL_DANGER_MAX = 30 # Actual county control will be subtracted from this number to determine travel danger. Can make travel safer. - COUNTY_CONTROL_DANGER_MULTIPLIER = 0.6 # Multiplier for each point of county control below COUNTY_CONTROL_DANGER_MAX - POPULAR_OPINION_DANGER_MULTIPLIER = 0.25 # Multiplier for each point of county opinion above/below 0, -10 opinion -> 2 danger, 10 opinion -> -2 danger - PROVINCE_OWNER_OPINION_DANGER_MULTIPLIER = 0.25 # Travel danger per point of the province owner's opinion, low opinion makes travel more dangerous + COUNTY_CONTROL_DANGER_MULTIPLIER = 0.6 # Multiplier for each point of county control below 100 + COUNTY_OPINION_DANGER_MULTIPLIER = 0.5 # Multiplier for each point of county opinion above/below 0, -10 opinion -> 5 danger, 10 opinion -> -5 danger + PROVINCE_OWNER_OPINION_DANGER_MULTIPLIER = 0.5 # Multiplier for each point of province owner opinion abive/below 0, -10 opinion -> 5 danger, 10 opinion -> -5 danger TRAVEL_DANGER_MINIMUM = 1 # The minimum chance of danger happening in any province @@ -1884,14 +1833,6 @@ NDomicile = { NEARBY_HIREABLE_RULERS = 500 # Allowed distance domicile owners can be hired from TEMPERAMENT_THRESHOLD_LOW = -30 # Follower opinion of domicile owner is less than or equal to x, resulting in a negative domicile effect TEMPERAMENT_THRESHOLD_HIGH = 60 # Follower opinion of domicile owner is greater than or equal to x, resulting in a positive domicile effect - BACKGROUND_LAYER_DEPTH = 0 # Default depth index for background layers in domicile assets - FOREGROUND_LAYER_DEPTH = 999 # Default depth index for foreground layers in domicile assets - BUILDING_LAYER_DEPTH_DEFAULT = 50 # Default depth index for building slots in domicile assets - - # These are the total values and should scale accordingly - MERCHANT_ACUMEN_LEVEL_2_THRESHOLD = 1000 # Acumen needed before company_size law level 2 is unlocked - MERCHANT_ACUMEN_LEVEL_3_THRESHOLD = 5000 # Acumen needed before company_size law level 3 is unlocked - MERCHANT_ACUMEN_LEVEL_4_THRESHOLD = 17000 # Acumen needed before company_size law level 4 is unlocked } NTaskContract = { @@ -1926,17 +1867,6 @@ NAdministrative = { RECENT_APPOINTMENT_COOLDOWN = 1825 # Ruler must hold previous appointment this many days (five years) before considering another appointment MERIT_POOL_CANDIDATE_SCORE_POTENTIAL_HINT = 0.5 # Percentage of total gainable spots in candidate list to be considered an opportunity when looking just at candidate score (interface only) - - # Governor efficiency is the sum of the skill bonuses, the non de jure penalty and governor_efficiency_add - # This is multiplied by (1 + governor_efficiency_mult) and then held between the limits below - GOVERNOR_EFFICIENCY_PER_DIPLOMACY = 0.015 - GOVERNOR_EFFICIENCY_PER_MARTIAL = 0.015 - GOVERNOR_EFFICIENCY_PER_STEWARDSHIP = 0.015 - GOVERNOR_EFFICIENCY_PER_INTRIGUE = 0.015 - GOVERNOR_EFFICIENCY_PER_LEARNING = 0.015 - GOVERNOR_EFFICIENCY_NON_DE_JURE = -0.2 # Added for governors whose realm has a county outside the de jure primary title of their top liege - GOVERNOR_EFFICIENCY_MIN = 0.5 - GOVERNOR_EFFICIENCY_MAX = 1.5 } NCouncilTasks = { @@ -1955,8 +1885,6 @@ NConfederation = { COHESION_FROM_MEMBER_HOUSE_RELATION_MULT = 0.10 # Applied to the accumulated cohesion contribution of the relations for other member houses COHESION_SOFT_CAP_TAX = 0.5 # Cohesion tax for any gained monthly gained cohesion over the soft cap - - CONFEDERATION_ASPIRATION_COOLDOWN_DAYS = 1800 # Cooldown days before changes to confederation goals } NKurultai = { @@ -1998,82 +1926,3 @@ NTreasuryBudgeting = { BASE_RATE_CHANGE_OPINION_LEVELS = { -0.8 -0.2 -0.05 0.05 0.2 0.8 10000000.0 } # Percentage budget base rate change levels (selected if smaller) BASE_RATE_CHANGE_OPINION_MODIFIERS = { "reduction_large" "reduction_medium" "reduction_small" "" "increase_small" "increase_medium" "increase_large" } # What opinion modifier name to look for (defined `this_name` in `treasury_budget__` } - -NTrade = { - # Value for initializing every ruler's Competitiveness; must be >= 0.0 - BASE_COMPETITIVENESS = 10.0 - # Maximum total route length in province hops over land, sea and navigable rivers, summed between consecutive market stops - BASE_MAX_TRADE_ROUTE_LENGTH = 10 - BASE_MAX_TRADE_ROUTES = 1 - BASE_MAX_COMMISSION_ROUTES = 1 - # Distribution routes an owner may hold, by primary title tier - # Used instead of BASE_MAX_TRADE_ROUTES for distribution route owners, and max_trade_routes stacks on top - MAX_DISTRIBUTION_ROUTES_PER_TIER = { 0 0 0 1 2 3 4 } - BASE_MAX_TRADE_MARKETS_ON_ROUTE = 3 - # Distribution routes are a fixed pair, not modifier-scaled. - MAX_TRADE_MARKETS_ON_DISTRIBUTION_ROUTE = 2 - BASE_MAX_TRADE_GOODS_ON_ROUTE = 1 - # Upper limit on Trade Good Types a Profit route can carry, applied after all max_trade_goods_on_route modifiers - MAX_TRADE_GOODS_ON_ROUTE_CAP = 6 - BASE_TRADE_CAPACITY = 35 - - TRADER_APTITUDE_LEVEL_BREAKPOINTS = { 5 8 13 21 } # Values against which an agent's skill is compared to determine aptitude level - DEFAULT_TRADE_TASK_ANIMATION = "idle" # Portrait animation used by trade tasks that do not define one - - # Buy Price = (Base Price + any buy_price_add modifiers) * Prosperity Mult * mult modifiers * BUY_PRICE_SCALAR - # Sell Price = (Base Price + any sell_price_add modifiers) * Prosperity Mult * mult modifiers * SELL_PRICE_SCALAR - BUY_PRICE_SCALAR = 0.95 # Scales the overall buy price of trade goods in a market; must be >= 0.0 - SELL_PRICE_SCALAR = 1.0 # Scales the overall sell price of trade goods in a market; must be >= 0.0 - - # Market prosperity is the average prosperity of the market duchy's counties, from 0 to 100 - # At the baseline prosperity has no effect. Each point above or below it changes the price by that side's multiplier - # Multipliers are fractions, so 0.01 is 1% per point. Negative multipliers flip the direction - # The prosperity effect stops at -100%, so it can bring a price down to 0 but never below - BUY_PRICE_PROSPERITY_BASELINE = 50.0 # Prosperity level at which the buy price is unaffected; 0.0 <= x <= 100.0 - BUY_PRICE_PROSPERITY_ABOVE_BASELINE_MULT = 0.0 # Buy price change per prosperity point above the baseline; positive = more expensive in prosperous markets - BUY_PRICE_PROSPERITY_BELOW_BASELINE_MULT = 0.003 # Buy price change per prosperity point below the baseline; positive = cheaper in poor markets - SELL_PRICE_PROSPERITY_BASELINE = 0.0 # Prosperity level at which the sell price is unaffected; 0.0 <= x <= 100.0 - SELL_PRICE_PROSPERITY_ABOVE_BASELINE_MULT = 0.005 # Sell price change per point above the baseline, positive means goods fetch more in prosperous markets - SELL_PRICE_PROSPERITY_BELOW_BASELINE_MULT = 0.0 # Sell price change per prosperity point below the baseline; positive = goods sell for less in poor markets - - MAX_RECOMMENDED_GOODS = 5 - RECOMMENDED_GOODS_TO_SHOW_ON_MAP = 2 - TOP_GOODS_BY_SURPLUS_COUNT = 3 # Number of goods listed in the trade market tooltip's "Known for" line, ranked by surplus descending - GOODS_TO_SHOW_ON_MAP_ICON = 4 # Goods shown per row on the distribution trade market map icon; the rest are counted in a "more" tooltip - NEEDS_TO_SHOW_IN_HOLDING_TOOLTIP = 8 # Unmet needs listed in the holding view's market needs tooltip; the rest go behind its "and X more" row - - BASE_TRADE_POST_LIMIT = 2 # Base number of trade posts a character's merchant company (title) can have before getting penalized for it. - - TRADE_CATEGORY_BASE_MONTHLY_XP_GAIN = 15 # How much XP to get per month as a base - TRADE_CATEGORY_BASE_MONTHLY_XP_DECLINE = 15 # Monthly XP lost if the category has XP stored but no active route trading that category - TRADE_CATEGORY_XP_LEVEL_THRESHOLD = 150 # How much XP is needed to level your trade category xp track - if this is 100 and xp is 230 - you're level 2 - - TRADE_ROUTE_VALUE_CHANGE_NOTIFICATION_THRESHOLD = 0.05 # Minimum absolute monthly change in a player route's gold income before a feed notification fires - TRADE_ROUTE_INCOME_CAUSE_MIN_SHARE_OF_CHANGE = 0.01 # Share of a route's monthly income change one factor must cover before the notification names it. 0 names every factor, 1 only a factor covering the whole change - - CHANGE_TOLL_LEVEL_COOLDOWN = 36 # How long should the cooldown be to change the toll levels in a market? Number is in months. - DEFAULT_TOLL_EXCEPTION_DURATION = 10 # How long should a toll exception be valid if no duration is specified? Number is in years. - DEFAULT_TOLL_LEVEL = 3 # Starting toll level, must be a valid index in the toll level database or we use 0 - - MIN_DISTRIBUTION_ROUTE_TIER = "duchy" # Minimum tier required to be able to use Distribution routes - - MAX_COMMISSION_IDLE_TIME = 3 # How many months can a commission route remain idle before being automatically destroyed? - - MIN_MERCHANT_MARRIAGE_CANDIDATES = 3 # How many other marriage recipient characters should a merchant try to find in their traded markets? -} - -NRoad = { - # Road tiers are values [0,5], Default is 0, historical roads start at 1. - MAX_ROAD_TIER = 5 - ROAD_TIER_TRADE_THRESHOLD = { 20 50 80 100 200 0 } # If there is this amount of active trade routes, it will skip regular construction time - ROAD_TIER_CONSTRUCTION_TIME_MONTHS = { - 60 # 1 - 5 years - 240 # 2 - 20 years - 480 # 3 - 40 years - 720 # 4 - 60 years - 960 # 5 - 80 years - 0 - } # Construction time in months for each road tier - ROAD_TIER_DECAY_TIME_MONTHS = 48 # Months without a trade route before a road drops a tier -} -