###################
# Building Values #
###################

# Beware, this file is full of MATH!

###################
# Values to edit! #
###################

# These values control things like how building modifiers scale.
# You shouldn't have to change more than a few numbers to affect every single building in the game!

#######
# Tax #
#######

# Base
@poor_tax_base = 0.25
@normal_tax_base = 0.35
@good_tax_base = 0.5
@excellent_tax_base = 0.7

@copper_mine_tax_base = 2
@silver_mine_tax_base = 3
@special_mine_tax_base = 5

# We have four 'tax classes', each one has a better scale than the others.
@poor_tax_scale_addition_per_tier = 0.15
@normal_tax_scale_addition_per_tier = 0.2
@good_tax_scale_addition_per_tier = 0.3
@excellent_tax_scale_addition_per_tier = 0.45

@copper_mine_tax_scale_addition_per_tier = 1.5
@silver_mine_tax_scale_addition_per_tier = 2
@special_mine_tax_scale_addition_per_tier = 3

########
# Levy #
########

# Base
@poor_levy_base = 50
@small_levy_base = 75
@normal_levy_base = 100
@good_levy_base = 125
@excellent_levy_base = 150

# Scaling Increase
@poor_levy_scale_addition_per_tier = 25
@small_levy_scale_addition_per_tier = 50
@normal_levy_scale_addition_per_tier = 75
@good_levy_scale_addition_per_tier = 100
@excellent_levy_scale_addition_per_tier = 125

################
# Supply Limit #
################

# Base
@poor_supply_limit_base = 50
@small_supply_limit_base = 100
@normal_supply_limit_base = 200
@good_supply_limit_base = 300
@excellent_supply_limit_base = 400

# Scaling Increase
@poor_supply_limit_scale_addition_per_tier = 50
@small_supply_limit_scale_addition_per_tier = 100
@normal_supply_limit_scale_addition_per_tier = 200
@good_supply_limit_scale_addition_per_tier = 300
@excellent_supply_limit_scale_addition_per_tier = 400

###################
# MaA Maintenance #
###################

# Base
@normal_maa_maintenance_base = -0.008
@good_maa_maintenance_base = -0.016

# Scaling Increase
@normal_maa_maintenance_addition_per_tier = -0.008
@good_maa_maintenance_addition_per_tier = -0.016

###########################
# Development Growth Flat #
###########################

# Base
@normal_development_growth_base = 0.02
@good_development_growth_base = 0.04

# Scaling Increase
@normal_development_growth_addition_per_tier = 0.02
@good_development_growth_addition_per_tier = 0.04

########################
# Development Growth % #
########################

# Base
@normal_development_growth_factor_base = 0.04
@good_development_growth_factor_base = 0.06

# Scaling Increase
@normal_development_growth_factor_addition_per_tier = 0.04
@good_development_growth_factor_addition_per_tier = 0.06

############
# Tax Mult #
############

# Base
@low_tax_mult_base = 0.02
@normal_tax_mult_base = 0.04
@good_tax_mult_base = 0.06

# Scaling Increase
@low_tax_mult_addition_per_tier = 0.02
@normal_tax_mult_addition_per_tier = 0.04
@good_tax_mult_addition_per_tier = 0.06

###############
# MaA Bonuses #
###############

# Base Damage Mult
@low_damage_mult_base = 0.10
@normal_damage_mult_base = 0.15
@high_damage_mult_base = 0.20
@very_high_damage_mult_base = 0.30

# Scaling Increase Damage Mult
@low_damage_mult_addition_per_tier = 0.025
@normal_damage_mult_addition_per_tier = 0.05
@high_damage_mult_addition_per_tier = 0.10
@very_high_damage_mult_addition_per_tier = 0.15


# Base Toughness Mult
@low_toughness_mult_base = 0.10
@normal_toughness_mult_base = 0.15
@high_toughness_mult_base = 0.20
@very_high_toughness_mult_base = 0.30

# Scaling Increase Toughness Mult
@low_toughness_mult_addition_per_tier = 0.025
@normal_toughness_mult_addition_per_tier = 0.05
@high_toughness_mult_addition_per_tier = 0.10
@very_high_toughness_mult_addition_per_tier = 0.15


# Base Screen Mult
@low_screen_mult_base = 0.10
@normal_screen_mult_base = 0.15
@high_screen_mult_base = 0.20
@very_high_screen_mult_base = 0.30

# Scaling Increase Toughness Mult
@low_screen_mult_addition_per_tier = 0.025
@normal_screen_mult_addition_per_tier = 0.05
@high_screen_mult_addition_per_tier = 0.10
@very_high_screen_mult_addition_per_tier = 0.15


# Base Pursuit Mult
@low_pursuit_mult_base = 0.10
@normal_pursuit_mult_base = 0.15
@high_pursuit_mult_base = 0.20
@very_high_pursuit_mult_base = 0.30

# Scaling Increase Pursuit Mult
@low_pursuit_mult_addition_per_tier = 0.025
@normal_pursuit_mult_addition_per_tier = 0.05
@high_pursuit_mult_addition_per_tier = 0.10
@very_high_pursuit_mult_addition_per_tier = 0.15


# Base Siege Value Mult 
@low_siege_value_mult_base = 0.05
@normal_siege_value_mult_base = 0.10
@high_siege_value_mult_base = 0.15
@very_high_siege_value_mult_base = 0.20

# Scaling Increase Siege Mult
@low_siege_value_mult_addition_per_tier = 0.025
@normal_siege_value_mult_addition_per_tier = 0.05
@high_siege_value_mult_addition_per_tier = 0.075
@very_high_siege_value_mult_addition_per_tier = 0.10

##################
# Movement Speed #
##################

# Base Movement Speed Value
@normal_movement_speed_base = 0.01
@high_movement_speed_base = 0.02

# Scaling Increase Movement Speed
@normal_movement_speed_addition_per_tier = 0.01
@high_movement_speed_addition_per_tier = 0.02

########################
# Knight Effectiveness #
########################

# Base Knight Effectiveness Value
@normal_knight_effectiveness_mult_base = 0.01
@high_knight_effectiveness_mult_base = 0.02

# Scaling Increase Knight Effectiveness
@normal_knight_effectiveness_mult_addition_per_tier = 0.01
@high_knight_effectiveness_mult_addition_per_tier = 0.02

######################
# Levy Reinforcement #
######################

# Base Levy Reinforcement Value
@normal_levy_reinforcement_rate_base = 0.1
@high_levy_reinforcement_rate_base = 0.2

# Scaling Increase Levy Reinforcement
@normal_levy_reinforcement_rate_addition_per_tier = 0.05
@high_levy_reinforcement_rate_addition_per_tier = 0.1

############
# Garrison #
############

# Base
@normal_max_garrison_base = 150
@good_max_garrison_base = 250

# Scaling Increase
@normal_max_garrison_scale_addition_per_tier = 150
@good_max_garrison_scale_addition_per_tier = 250


##########################
# Garrison Reinforcement #
##########################

# Reinforcement rate: by default it takes 2,8 years to completly refill a garrison 
@base_garrison_reinforcement_factor = 0.03

# Scaling increase: at level 8, it takes a bit less than 1 year to completly refill a garrison
@garrison_reinforcement_factor_addition_per_tier = 0.01


# Tier values
@garrison_reinforcement_factor_tier_1 = @[base_garrison_reinforcement_factor]
@garrison_reinforcement_factor_tier_2 = @[garrison_reinforcement_factor_tier_1 + garrison_reinforcement_factor_addition_per_tier]
@garrison_reinforcement_factor_tier_3 = @[garrison_reinforcement_factor_tier_2 + garrison_reinforcement_factor_addition_per_tier]
@garrison_reinforcement_factor_tier_4 = @[garrison_reinforcement_factor_tier_3 + garrison_reinforcement_factor_addition_per_tier]
@garrison_reinforcement_factor_tier_5 = @[garrison_reinforcement_factor_tier_4 + garrison_reinforcement_factor_addition_per_tier]
@garrison_reinforcement_factor_tier_6 = @[garrison_reinforcement_factor_tier_5 + garrison_reinforcement_factor_addition_per_tier]
@garrison_reinforcement_factor_tier_7 = @[garrison_reinforcement_factor_tier_6 + garrison_reinforcement_factor_addition_per_tier]
@garrison_reinforcement_factor_tier_8 = @[garrison_reinforcement_factor_tier_7 + garrison_reinforcement_factor_addition_per_tier]

###############
# Fort Levels #
###############

# Base
@normal_fort_level_base = 1
@good_fort_level_base = 2
@great_fort_level_base = 1

# Scaling Increase
@normal_fort_level_scale_addition_per_tier = 1
@good_fort_level_scale_addition_per_tier = 2
@great_fort_level_scale_addition_per_tier = 3

##############
# Advantage  #
##############

# Base
@normal_advantage_base = 2
@good_advantage_base = 3

# Scaling Increase
@normal_advantage_scale_addition_per_tier = 2
@good_advantage_scale_addition_per_tier = 3


#################
# Building Cost #
#################

@cheap_cost_base = 100
@normal_cost_base = 150
@expensive_cost_base = 200
@main_cost_base = 400
@tribal_cost_base = 75

@building_cost_scaling_modifier_cheap = 0.1
@building_cost_scaling_modifier_normal = 0.1
@building_cost_scaling_modifier_expensive = 0.1

# We have four 'building cost classes', each one has a better scale than the others.
@cheap_cost_scale_addition_per_tier = 50
@normal_cost_scale_addition_per_tier = 100
@expensive_cost_scale_addition_per_tier = 150
@main_cost_scale_addition_per_tier = 150
@tribal_cost_scale_addition_per_tier = 25

#####################
# Construction Time #
#####################

# Base
@very_quick_construction_time_base = 365
@quick_construction_time_base = 730
@standard_construction_time_base = 1095
@slow_construction_time_base = 1825
@very_slow_construction_time_base = 2190

#####################
# Build Speed Bonus #
#####################

# Base
@normal_build_speed_base = -0.01
@good_build_speed_base = -0.025
@great_build_speed_base = -0.05

# Scaling Increase
@normal_build_speed_scale_addition_per_tier = -0.01
@good_build_speed_scale_addition_per_tier = -0.025
@great_build_speed_scale_addition_per_tier = -0.05

########
# Misc #
########

building_disable_inefficient_value = {
	add = domain_limit
	add = building_disable_inefficient_value_add
}

building_disable_inefficient_value_add = 5

###########################################################################################
# Nothing below this line should need to be edited if you want to change building balance #
###########################################################################################

@poor_tax_tier_1 = @[poor_tax_base]
@poor_tax_tier_2 = @[poor_tax_tier_1 + poor_tax_scale_addition_per_tier]
@poor_tax_tier_3 = @[poor_tax_tier_2 + poor_tax_scale_addition_per_tier]
@poor_tax_tier_4 = @[poor_tax_tier_3 + poor_tax_scale_addition_per_tier]
@poor_tax_tier_5 = @[poor_tax_tier_4 + poor_tax_scale_addition_per_tier]
@poor_tax_tier_6 = @[poor_tax_tier_5 + poor_tax_scale_addition_per_tier]
@poor_tax_tier_7 = @[poor_tax_tier_6 + poor_tax_scale_addition_per_tier]
@poor_tax_tier_8 = @[poor_tax_tier_7 + poor_tax_scale_addition_per_tier]

@normal_tax_tier_1 = @[normal_tax_base]
@normal_tax_tier_2 = @[normal_tax_tier_1 + normal_tax_scale_addition_per_tier]
@normal_tax_tier_3 = @[normal_tax_tier_2 + normal_tax_scale_addition_per_tier]
@normal_tax_tier_4 = @[normal_tax_tier_3 + normal_tax_scale_addition_per_tier]
@normal_tax_tier_5 = @[normal_tax_tier_4 + normal_tax_scale_addition_per_tier]
@normal_tax_tier_6 = @[normal_tax_tier_5 + normal_tax_scale_addition_per_tier]
@normal_tax_tier_7 = @[normal_tax_tier_6 + normal_tax_scale_addition_per_tier]
@normal_tax_tier_8 = @[normal_tax_tier_7 + normal_tax_scale_addition_per_tier]

@good_tax_tier_1 = @[good_tax_base]
@good_tax_tier_2 = @[good_tax_tier_1 + good_tax_scale_addition_per_tier]
@good_tax_tier_3 = @[good_tax_tier_2 + good_tax_scale_addition_per_tier]
@good_tax_tier_4 = @[good_tax_tier_3 + good_tax_scale_addition_per_tier]
@good_tax_tier_5 = @[good_tax_tier_4 + good_tax_scale_addition_per_tier]
@good_tax_tier_6 = @[good_tax_tier_5 + good_tax_scale_addition_per_tier]
@good_tax_tier_7 = @[good_tax_tier_6 + good_tax_scale_addition_per_tier]
@good_tax_tier_8 = @[good_tax_tier_7 + good_tax_scale_addition_per_tier]

@excellent_tax_tier_1 = @[excellent_tax_base]
@excellent_tax_tier_2 = @[excellent_tax_tier_1 + excellent_tax_scale_addition_per_tier]
@excellent_tax_tier_3 = @[excellent_tax_tier_2 + excellent_tax_scale_addition_per_tier]
@excellent_tax_tier_4 = @[excellent_tax_tier_3 + excellent_tax_scale_addition_per_tier]
@excellent_tax_tier_5 = @[excellent_tax_tier_4 + excellent_tax_scale_addition_per_tier]
@excellent_tax_tier_6 = @[excellent_tax_tier_5 + excellent_tax_scale_addition_per_tier]
@excellent_tax_tier_7 = @[excellent_tax_tier_6 + excellent_tax_scale_addition_per_tier]
@excellent_tax_tier_8 = @[excellent_tax_tier_7 + excellent_tax_scale_addition_per_tier]

@special_mine_tax_tier_1 = @[special_mine_tax_base]
@special_mine_tax_tier_2 = @[special_mine_tax_tier_1 + special_mine_tax_scale_addition_per_tier]
@special_mine_tax_tier_3 = @[special_mine_tax_tier_2 + special_mine_tax_scale_addition_per_tier]
@special_mine_tax_tier_4 = @[special_mine_tax_tier_3 + special_mine_tax_scale_addition_per_tier]
@special_mine_tax_tier_5 = @[special_mine_tax_tier_4 + special_mine_tax_scale_addition_per_tier]
@special_mine_tax_tier_6 = @[special_mine_tax_tier_5 + special_mine_tax_scale_addition_per_tier]
@special_mine_tax_tier_7 = @[special_mine_tax_tier_6 + special_mine_tax_scale_addition_per_tier]
@special_mine_tax_tier_8 = @[special_mine_tax_tier_7 + special_mine_tax_scale_addition_per_tier]

@copper_mine_tax_tier_1 = @[copper_mine_tax_base]
@copper_mine_tax_tier_2 = @[copper_mine_tax_tier_1 + copper_mine_tax_scale_addition_per_tier]
@copper_mine_tax_tier_3 = @[copper_mine_tax_tier_2 + copper_mine_tax_scale_addition_per_tier]
@copper_mine_tax_tier_4 = @[copper_mine_tax_tier_3 + copper_mine_tax_scale_addition_per_tier]
@copper_mine_tax_tier_5 = @[copper_mine_tax_tier_4 + copper_mine_tax_scale_addition_per_tier]
@copper_mine_tax_tier_6 = @[copper_mine_tax_tier_5 + copper_mine_tax_scale_addition_per_tier]
@copper_mine_tax_tier_7 = @[copper_mine_tax_tier_6 + copper_mine_tax_scale_addition_per_tier]
@copper_mine_tax_tier_8 = @[copper_mine_tax_tier_7 + copper_mine_tax_scale_addition_per_tier]

@silver_mine_tax_tier_1 = @[silver_mine_tax_base]
@silver_mine_tax_tier_2 = @[silver_mine_tax_tier_1 + silver_mine_tax_scale_addition_per_tier]
@silver_mine_tax_tier_3 = @[silver_mine_tax_tier_2 + silver_mine_tax_scale_addition_per_tier]
@silver_mine_tax_tier_4 = @[silver_mine_tax_tier_3 + silver_mine_tax_scale_addition_per_tier]
@silver_mine_tax_tier_5 = @[silver_mine_tax_tier_4 + silver_mine_tax_scale_addition_per_tier]
@silver_mine_tax_tier_6 = @[silver_mine_tax_tier_5 + silver_mine_tax_scale_addition_per_tier]
@silver_mine_tax_tier_7 = @[silver_mine_tax_tier_6 + silver_mine_tax_scale_addition_per_tier]
@silver_mine_tax_tier_8 = @[silver_mine_tax_tier_7 + silver_mine_tax_scale_addition_per_tier]

@poor_supply_limit_tier_1 = @[poor_supply_limit_base]
@poor_supply_limit_tier_2 = @[poor_supply_limit_tier_1 + poor_supply_limit_scale_addition_per_tier]
@poor_supply_limit_tier_3 = @[poor_supply_limit_tier_2 + poor_supply_limit_scale_addition_per_tier]
@poor_supply_limit_tier_4 = @[poor_supply_limit_tier_3 + poor_supply_limit_scale_addition_per_tier]
@poor_supply_limit_tier_5 = @[poor_supply_limit_tier_4 + poor_supply_limit_scale_addition_per_tier]
@poor_supply_limit_tier_6 = @[poor_supply_limit_tier_5 + poor_supply_limit_scale_addition_per_tier]
@poor_supply_limit_tier_7 = @[poor_supply_limit_tier_6 + poor_supply_limit_scale_addition_per_tier]
@poor_supply_limit_tier_8 = @[poor_supply_limit_tier_7 + poor_supply_limit_scale_addition_per_tier]

@small_supply_limit_tier_1 = @[small_supply_limit_base]
@small_supply_limit_tier_2 = @[small_supply_limit_tier_1 + small_supply_limit_scale_addition_per_tier]
@small_supply_limit_tier_3 = @[small_supply_limit_tier_2 + small_supply_limit_scale_addition_per_tier]
@small_supply_limit_tier_4 = @[small_supply_limit_tier_3 + small_supply_limit_scale_addition_per_tier]
@small_supply_limit_tier_5 = @[small_supply_limit_tier_4 + small_supply_limit_scale_addition_per_tier]
@small_supply_limit_tier_6 = @[small_supply_limit_tier_5 + small_supply_limit_scale_addition_per_tier]
@small_supply_limit_tier_7 = @[small_supply_limit_tier_6 + small_supply_limit_scale_addition_per_tier]
@small_supply_limit_tier_8 = @[small_supply_limit_tier_7 + small_supply_limit_scale_addition_per_tier]

@normal_supply_limit_tier_1 = @[normal_supply_limit_base]
@normal_supply_limit_tier_2 = @[normal_supply_limit_tier_1 + normal_supply_limit_scale_addition_per_tier]
@normal_supply_limit_tier_3 = @[normal_supply_limit_tier_2 + normal_supply_limit_scale_addition_per_tier]
@normal_supply_limit_tier_4 = @[normal_supply_limit_tier_3 + normal_supply_limit_scale_addition_per_tier]
@normal_supply_limit_tier_5 = @[normal_supply_limit_tier_4 + normal_supply_limit_scale_addition_per_tier]
@normal_supply_limit_tier_6 = @[normal_supply_limit_tier_5 + normal_supply_limit_scale_addition_per_tier]
@normal_supply_limit_tier_7 = @[normal_supply_limit_tier_6 + normal_supply_limit_scale_addition_per_tier]
@normal_supply_limit_tier_8 = @[normal_supply_limit_tier_7 + normal_supply_limit_scale_addition_per_tier]

@good_supply_limit_tier_1 = @[good_supply_limit_base]
@good_supply_limit_tier_2 = @[good_supply_limit_tier_1 + good_supply_limit_scale_addition_per_tier]
@good_supply_limit_tier_3 = @[good_supply_limit_tier_2 + good_supply_limit_scale_addition_per_tier]
@good_supply_limit_tier_4 = @[good_supply_limit_tier_3 + good_supply_limit_scale_addition_per_tier]
@good_supply_limit_tier_5 = @[good_supply_limit_tier_4 + good_supply_limit_scale_addition_per_tier]
@good_supply_limit_tier_6 = @[good_supply_limit_tier_5 + good_supply_limit_scale_addition_per_tier]
@good_supply_limit_tier_7 = @[good_supply_limit_tier_6 + good_supply_limit_scale_addition_per_tier]
@good_supply_limit_tier_8 = @[good_supply_limit_tier_7 + good_supply_limit_scale_addition_per_tier]

@excellent_supply_limit_tier_1 = @[excellent_supply_limit_base]
@excellent_supply_limit_tier_2 = @[excellent_supply_limit_tier_1 + excellent_supply_limit_scale_addition_per_tier]
@excellent_supply_limit_tier_3 = @[excellent_supply_limit_tier_2 + excellent_supply_limit_scale_addition_per_tier]
@excellent_supply_limit_tier_4 = @[excellent_supply_limit_tier_3 + excellent_supply_limit_scale_addition_per_tier]
@excellent_supply_limit_tier_5 = @[excellent_supply_limit_tier_4 + excellent_supply_limit_scale_addition_per_tier]
@excellent_supply_limit_tier_6 = @[excellent_supply_limit_tier_5 + excellent_supply_limit_scale_addition_per_tier]
@excellent_supply_limit_tier_7 = @[excellent_supply_limit_tier_6 + excellent_supply_limit_scale_addition_per_tier]
@excellent_supply_limit_tier_8 = @[excellent_supply_limit_tier_7 + excellent_supply_limit_scale_addition_per_tier]

@poor_levy_tier_1 = @[poor_levy_base]
@poor_levy_tier_2 = @[poor_levy_tier_1 + poor_levy_scale_addition_per_tier]
@poor_levy_tier_3 = @[poor_levy_tier_2 + poor_levy_scale_addition_per_tier]
@poor_levy_tier_4 = @[poor_levy_tier_3 + poor_levy_scale_addition_per_tier]
@poor_levy_tier_5 = @[poor_levy_tier_4 + poor_levy_scale_addition_per_tier]
@poor_levy_tier_6 = @[poor_levy_tier_5 + poor_levy_scale_addition_per_tier]
@poor_levy_tier_7 = @[poor_levy_tier_6 + poor_levy_scale_addition_per_tier]
@poor_levy_tier_8 = @[poor_levy_tier_7 + poor_levy_scale_addition_per_tier]

@small_levy_tier_1 = @[small_levy_base]
@small_levy_tier_2 = @[small_levy_tier_1 + small_levy_scale_addition_per_tier]
@small_levy_tier_3 = @[small_levy_tier_2 + small_levy_scale_addition_per_tier]
@small_levy_tier_4 = @[small_levy_tier_3 + small_levy_scale_addition_per_tier]
@small_levy_tier_5 = @[small_levy_tier_4 + small_levy_scale_addition_per_tier]
@small_levy_tier_6 = @[small_levy_tier_5 + small_levy_scale_addition_per_tier]
@small_levy_tier_7 = @[small_levy_tier_6 + small_levy_scale_addition_per_tier]
@small_levy_tier_8 = @[small_levy_tier_7 + small_levy_scale_addition_per_tier]

@normal_levy_tier_1 = @[normal_levy_base]
@normal_levy_tier_2 = @[normal_levy_tier_1 + normal_levy_scale_addition_per_tier]
@normal_levy_tier_3 = @[normal_levy_tier_2 + normal_levy_scale_addition_per_tier]
@normal_levy_tier_4 = @[normal_levy_tier_3 + normal_levy_scale_addition_per_tier]
@normal_levy_tier_5 = @[normal_levy_tier_4 + normal_levy_scale_addition_per_tier]
@normal_levy_tier_6 = @[normal_levy_tier_5 + normal_levy_scale_addition_per_tier]
@normal_levy_tier_7 = @[normal_levy_tier_6 + normal_levy_scale_addition_per_tier]
@normal_levy_tier_8 = @[normal_levy_tier_7 + normal_levy_scale_addition_per_tier]

@good_levy_tier_1 = @[good_levy_base]
@good_levy_tier_2 = @[good_levy_tier_1 + good_levy_scale_addition_per_tier]
@good_levy_tier_3 = @[good_levy_tier_2 + good_levy_scale_addition_per_tier]
@good_levy_tier_4 = @[good_levy_tier_3 + good_levy_scale_addition_per_tier]
@good_levy_tier_5 = @[good_levy_tier_4 + good_levy_scale_addition_per_tier]
@good_levy_tier_6 = @[good_levy_tier_5 + good_levy_scale_addition_per_tier]
@good_levy_tier_7 = @[good_levy_tier_6 + good_levy_scale_addition_per_tier]
@good_levy_tier_8 = @[good_levy_tier_7 + good_levy_scale_addition_per_tier]

@excellent_levy_tier_1 = @[excellent_levy_base]
@excellent_levy_tier_2 = @[excellent_levy_tier_1 + excellent_levy_scale_addition_per_tier]
@excellent_levy_tier_3 = @[excellent_levy_tier_2 + excellent_levy_scale_addition_per_tier]
@excellent_levy_tier_4 = @[excellent_levy_tier_3 + excellent_levy_scale_addition_per_tier]
@excellent_levy_tier_5 = @[excellent_levy_tier_4 + excellent_levy_scale_addition_per_tier]
@excellent_levy_tier_6 = @[excellent_levy_tier_5 + excellent_levy_scale_addition_per_tier]
@excellent_levy_tier_7 = @[excellent_levy_tier_6 + excellent_levy_scale_addition_per_tier]
@excellent_levy_tier_8 = @[excellent_levy_tier_7 + excellent_levy_scale_addition_per_tier]

@normal_max_garrison_tier_1 = @[normal_max_garrison_base]
@normal_max_garrison_tier_2 = @[normal_max_garrison_tier_1 + normal_max_garrison_scale_addition_per_tier]
@normal_max_garrison_tier_3 = @[normal_max_garrison_tier_2 + normal_max_garrison_scale_addition_per_tier]
@normal_max_garrison_tier_4 = @[normal_max_garrison_tier_3 + normal_max_garrison_scale_addition_per_tier]
@normal_max_garrison_tier_5 = @[normal_max_garrison_tier_4 + normal_max_garrison_scale_addition_per_tier]
@normal_max_garrison_tier_6 = @[normal_max_garrison_tier_5 + normal_max_garrison_scale_addition_per_tier]
@normal_max_garrison_tier_7 = @[normal_max_garrison_tier_6 + normal_max_garrison_scale_addition_per_tier]
@normal_max_garrison_tier_8 = @[normal_max_garrison_tier_7 + normal_max_garrison_scale_addition_per_tier]

@good_max_garrison_tier_1 = @[good_max_garrison_base]
@good_max_garrison_tier_2 = @[good_max_garrison_tier_1 + good_max_garrison_scale_addition_per_tier]
@good_max_garrison_tier_3 = @[good_max_garrison_tier_2 + good_max_garrison_scale_addition_per_tier]
@good_max_garrison_tier_4 = @[good_max_garrison_tier_3 + good_max_garrison_scale_addition_per_tier]
@good_max_garrison_tier_5 = @[good_max_garrison_tier_4 + good_max_garrison_scale_addition_per_tier]
@good_max_garrison_tier_6 = @[good_max_garrison_tier_5 + good_max_garrison_scale_addition_per_tier]
@good_max_garrison_tier_7 = @[good_max_garrison_tier_6 + good_max_garrison_scale_addition_per_tier]
@good_max_garrison_tier_8 = @[good_max_garrison_tier_7 + good_max_garrison_scale_addition_per_tier]

@normal_build_speed_tier_1 = @[normal_build_speed_base]
@normal_build_speed_tier_2 = @[normal_build_speed_tier_1 + normal_build_speed_scale_addition_per_tier]
@normal_build_speed_tier_3 = @[normal_build_speed_tier_2 + normal_build_speed_scale_addition_per_tier]
@normal_build_speed_tier_4 = @[normal_build_speed_tier_3 + normal_build_speed_scale_addition_per_tier]
@normal_build_speed_tier_5 = @[normal_build_speed_tier_4 + normal_build_speed_scale_addition_per_tier]
@normal_build_speed_tier_6 = @[normal_build_speed_tier_5 + normal_build_speed_scale_addition_per_tier]
@normal_build_speed_tier_7 = @[normal_build_speed_tier_6 + normal_build_speed_scale_addition_per_tier]
@normal_build_speed_tier_8 = @[normal_build_speed_tier_7 + normal_build_speed_scale_addition_per_tier]

@good_build_speed_tier_1 = @[good_build_speed_base]
@good_build_speed_tier_2 = @[good_build_speed_tier_1 + good_build_speed_scale_addition_per_tier]
@good_build_speed_tier_3 = @[good_build_speed_tier_2 + good_build_speed_scale_addition_per_tier]
@good_build_speed_tier_4 = @[good_build_speed_tier_3 + good_build_speed_scale_addition_per_tier]
@good_build_speed_tier_5 = @[good_build_speed_tier_4 + good_build_speed_scale_addition_per_tier]
@good_build_speed_tier_6 = @[good_build_speed_tier_5 + good_build_speed_scale_addition_per_tier]
@good_build_speed_tier_7 = @[good_build_speed_tier_6 + good_build_speed_scale_addition_per_tier]
@good_build_speed_tier_8 = @[good_build_speed_tier_7 + good_build_speed_scale_addition_per_tier]

@great_build_speed_tier_1 = @[great_build_speed_base]
@great_build_speed_tier_2 = @[great_build_speed_tier_1 + great_build_speed_scale_addition_per_tier]
@great_build_speed_tier_3 = @[great_build_speed_tier_2 + great_build_speed_scale_addition_per_tier]
@great_build_speed_tier_4 = @[great_build_speed_tier_3 + great_build_speed_scale_addition_per_tier]
@great_build_speed_tier_5 = @[great_build_speed_tier_4 + great_build_speed_scale_addition_per_tier]
@great_build_speed_tier_6 = @[great_build_speed_tier_5 + great_build_speed_scale_addition_per_tier]
@great_build_speed_tier_7 = @[great_build_speed_tier_6 + great_build_speed_scale_addition_per_tier]
@great_build_speed_tier_8 = @[great_build_speed_tier_7 + great_build_speed_scale_addition_per_tier]

@normal_fort_level_tier_1 = @[normal_fort_level_base]
@normal_fort_level_tier_2 = @[normal_fort_level_tier_1 + normal_fort_level_scale_addition_per_tier]
@normal_fort_level_tier_3 = @[normal_fort_level_tier_2 + normal_fort_level_scale_addition_per_tier]
@normal_fort_level_tier_4 = @[normal_fort_level_tier_3 + normal_fort_level_scale_addition_per_tier]
@normal_fort_level_tier_5 = @[normal_fort_level_tier_4 + normal_fort_level_scale_addition_per_tier]
@normal_fort_level_tier_6 = @[normal_fort_level_tier_5 + normal_fort_level_scale_addition_per_tier]
@normal_fort_level_tier_7 = @[normal_fort_level_tier_6 + normal_fort_level_scale_addition_per_tier]
@normal_fort_level_tier_8 = @[normal_fort_level_tier_7 + normal_fort_level_scale_addition_per_tier]

@good_fort_level_tier_1 = @[good_fort_level_base]
@good_fort_level_tier_2 = @[good_fort_level_tier_1 + good_fort_level_scale_addition_per_tier]
@good_fort_level_tier_3 = @[good_fort_level_tier_2 + good_fort_level_scale_addition_per_tier]
@good_fort_level_tier_4 = @[good_fort_level_tier_3 + good_fort_level_scale_addition_per_tier]
@good_fort_level_tier_5 = @[good_fort_level_tier_4 + good_fort_level_scale_addition_per_tier]
@good_fort_level_tier_6 = @[good_fort_level_tier_5 + good_fort_level_scale_addition_per_tier]
@good_fort_level_tier_7 = @[good_fort_level_tier_6 + good_fort_level_scale_addition_per_tier]
@good_fort_level_tier_8 = @[good_fort_level_tier_7 + good_fort_level_scale_addition_per_tier]

@great_fort_level_tier_1 = @[great_fort_level_base]
@great_fort_level_tier_2 = @[great_fort_level_tier_1 + great_fort_level_scale_addition_per_tier]
@great_fort_level_tier_3 = @[great_fort_level_tier_2 + great_fort_level_scale_addition_per_tier + 1]
@great_fort_level_tier_4 = @[great_fort_level_tier_3 + great_fort_level_scale_addition_per_tier + 2]
@great_fort_level_tier_5 = @[great_fort_level_tier_4 + great_fort_level_scale_addition_per_tier + 3]
@great_fort_level_tier_6 = @[great_fort_level_tier_5 + great_fort_level_scale_addition_per_tier + 4]
@great_fort_level_tier_7 = @[great_fort_level_tier_6 + great_fort_level_scale_addition_per_tier + 5]
@great_fort_level_tier_8 = @[great_fort_level_tier_7 + great_fort_level_scale_addition_per_tier + 6]

@normal_advantage_tier_1 = @[normal_advantage_base]
@normal_advantage_tier_2 = @[normal_advantage_tier_1 + normal_advantage_scale_addition_per_tier]
@normal_advantage_tier_3 = @[normal_advantage_tier_2 + normal_advantage_scale_addition_per_tier]
@normal_advantage_tier_4 = @[normal_advantage_tier_3 + normal_advantage_scale_addition_per_tier]
@normal_advantage_tier_5 = @[normal_advantage_tier_4 + normal_advantage_scale_addition_per_tier]
@normal_advantage_tier_6 = @[normal_advantage_tier_5 + normal_advantage_scale_addition_per_tier]
@normal_advantage_tier_7 = @[normal_advantage_tier_6 + normal_advantage_scale_addition_per_tier]
@normal_advantage_tier_8 = @[normal_advantage_tier_7 + normal_advantage_scale_addition_per_tier]

@good_advantage_tier_1 = @[good_advantage_base]
@good_advantage_tier_2 = @[good_advantage_tier_1 + good_advantage_scale_addition_per_tier]
@good_advantage_tier_3 = @[good_advantage_tier_2 + good_advantage_scale_addition_per_tier]
@good_advantage_tier_4 = @[good_advantage_tier_3 + good_advantage_scale_addition_per_tier]
@good_advantage_tier_5 = @[good_advantage_tier_4 + good_advantage_scale_addition_per_tier]
@good_advantage_tier_6 = @[good_advantage_tier_5 + good_advantage_scale_addition_per_tier]
@good_advantage_tier_7 = @[good_advantage_tier_6 + good_advantage_scale_addition_per_tier]
@good_advantage_tier_8 = @[good_advantage_tier_7 + good_advantage_scale_addition_per_tier]

@cheap_cost_tier_1 = @[cheap_cost_base] #values progress quadratically with for from T3 onwards. The addition at the end is to have nice, round numbers displayed
@cheap_cost_tier_2 = @[cheap_cost_tier_1 + cheap_cost_scale_addition_per_tier]
@cheap_cost_tier_3 = @[cheap_cost_tier_2 + 3*3*cheap_cost_scale_addition_per_tier*building_cost_scaling_modifier_cheap + 0]
@cheap_cost_tier_4 = @[cheap_cost_tier_3 + 4*4*cheap_cost_scale_addition_per_tier*building_cost_scaling_modifier_cheap + 0]
@cheap_cost_tier_5 = @[cheap_cost_tier_4 + 5*5*cheap_cost_scale_addition_per_tier*building_cost_scaling_modifier_cheap + 0]
@cheap_cost_tier_6 = @[cheap_cost_tier_5 + 6*6*cheap_cost_scale_addition_per_tier*building_cost_scaling_modifier_cheap + 0]
@cheap_cost_tier_7 = @[cheap_cost_tier_6 + 7*7*cheap_cost_scale_addition_per_tier*building_cost_scaling_modifier_cheap + 0]
@cheap_cost_tier_8 = @[cheap_cost_tier_7 + 8*8*cheap_cost_scale_addition_per_tier*building_cost_scaling_modifier_cheap + 0]

@normal_cost_tier_1 = @[normal_cost_base] #values progress quadratically with for from T3 onwards. The addition at the end is to have nice, round numbers displayed
@normal_cost_tier_2 = @[normal_cost_tier_1 + normal_cost_scale_addition_per_tier]
@normal_cost_tier_3 = @[normal_cost_tier_2 + 3*3*normal_cost_scale_addition_per_tier*building_cost_scaling_modifier_normal + 0]
@normal_cost_tier_4 = @[normal_cost_tier_3 + 4*4*normal_cost_scale_addition_per_tier*building_cost_scaling_modifier_normal + 0]
@normal_cost_tier_5 = @[normal_cost_tier_4 + 5*5*normal_cost_scale_addition_per_tier*building_cost_scaling_modifier_normal + 0]
@normal_cost_tier_6 = @[normal_cost_tier_5 + 6*6*normal_cost_scale_addition_per_tier*building_cost_scaling_modifier_normal + 0]
@normal_cost_tier_7 = @[normal_cost_tier_6 + 7*7*normal_cost_scale_addition_per_tier*building_cost_scaling_modifier_normal + 0]
@normal_cost_tier_8 = @[normal_cost_tier_7 + 8*8*normal_cost_scale_addition_per_tier*building_cost_scaling_modifier_normal + 0]

@expensive_cost_tier_1 = @[expensive_cost_base] #values progress quadratically for tiers from T3 onwards. The addition at the end is to have nice, round numbers displayed
@expensive_cost_tier_2 = @[expensive_cost_tier_1 + expensive_cost_scale_addition_per_tier]
@expensive_cost_tier_3 = @[expensive_cost_tier_2 + 3*3*expensive_cost_scale_addition_per_tier*building_cost_scaling_modifier_expensive + 0]
@expensive_cost_tier_4 = @[expensive_cost_tier_3 + 4*4*expensive_cost_scale_addition_per_tier*building_cost_scaling_modifier_expensive + 0]
@expensive_cost_tier_5 = @[expensive_cost_tier_4 + 5*5*expensive_cost_scale_addition_per_tier*building_cost_scaling_modifier_expensive + 0]
@expensive_cost_tier_6 = @[expensive_cost_tier_5 + 6*6*expensive_cost_scale_addition_per_tier*building_cost_scaling_modifier_expensive + 0]
@expensive_cost_tier_7 = @[expensive_cost_tier_6 + 7*7*expensive_cost_scale_addition_per_tier*building_cost_scaling_modifier_expensive + 0]
@expensive_cost_tier_8 = @[expensive_cost_tier_7 + 8*8*expensive_cost_scale_addition_per_tier*building_cost_scaling_modifier_expensive + 0]

@main_cost_tier_1 = @[main_cost_base]
@main_cost_tier_2 = @[main_cost_tier_1 + main_cost_scale_addition_per_tier]
@main_cost_tier_3 = @[main_cost_tier_2 + main_cost_scale_addition_per_tier]
@main_cost_tier_4 = @[main_cost_tier_3 + main_cost_scale_addition_per_tier]
@main_cost_tier_5 = @[main_cost_tier_4 + main_cost_scale_addition_per_tier]

@normal_maa_maintenance_tier_1 = @[normal_maa_maintenance_base]
@normal_maa_maintenance_tier_2 = @[normal_maa_maintenance_tier_1 + normal_maa_maintenance_addition_per_tier]
@normal_maa_maintenance_tier_3 = @[normal_maa_maintenance_tier_2 + normal_maa_maintenance_addition_per_tier]
@normal_maa_maintenance_tier_4 = @[normal_maa_maintenance_tier_3 + normal_maa_maintenance_addition_per_tier]
@normal_maa_maintenance_tier_5 = @[normal_maa_maintenance_tier_4 + normal_maa_maintenance_addition_per_tier]
@normal_maa_maintenance_tier_6 = @[normal_maa_maintenance_tier_5 + normal_maa_maintenance_addition_per_tier]
@normal_maa_maintenance_tier_7 = @[normal_maa_maintenance_tier_6 + normal_maa_maintenance_addition_per_tier]
@normal_maa_maintenance_tier_8 = @[normal_maa_maintenance_tier_7 + normal_maa_maintenance_addition_per_tier]

@good_maa_maintenance_tier_1 = @[good_maa_maintenance_base]
@good_maa_maintenance_tier_2 = @[good_maa_maintenance_tier_1 + normal_maa_maintenance_addition_per_tier]
@good_maa_maintenance_tier_3 = @[good_maa_maintenance_tier_2 + normal_maa_maintenance_addition_per_tier]
@good_maa_maintenance_tier_4 = @[good_maa_maintenance_tier_3 + normal_maa_maintenance_addition_per_tier]
@good_maa_maintenance_tier_5 = @[good_maa_maintenance_tier_4 + normal_maa_maintenance_addition_per_tier]
@good_maa_maintenance_tier_6 = @[good_maa_maintenance_tier_5 + normal_maa_maintenance_addition_per_tier]
@good_maa_maintenance_tier_7 = @[good_maa_maintenance_tier_6 + normal_maa_maintenance_addition_per_tier]
@good_maa_maintenance_tier_8 = @[good_maa_maintenance_tier_7 + normal_maa_maintenance_addition_per_tier]

@normal_development_growth_tier_1 = @[normal_development_growth_base]
@normal_development_growth_tier_2 = @[normal_development_growth_tier_1 + normal_development_growth_addition_per_tier]
@normal_development_growth_tier_3 = @[normal_development_growth_tier_2 + normal_development_growth_addition_per_tier]
@normal_development_growth_tier_4 = @[normal_development_growth_tier_3 + normal_development_growth_addition_per_tier]
@normal_development_growth_tier_5 = @[normal_development_growth_tier_4 + normal_development_growth_addition_per_tier]
@normal_development_growth_tier_6 = @[normal_development_growth_tier_5 + normal_development_growth_addition_per_tier]
@normal_development_growth_tier_7 = @[normal_development_growth_tier_6 + normal_development_growth_addition_per_tier]
@normal_development_growth_tier_8 = @[normal_development_growth_tier_7 + normal_development_growth_addition_per_tier]

@good_development_growth_tier_1 = @[good_development_growth_base]
@good_development_growth_tier_2 = @[good_development_growth_tier_1 + normal_development_growth_addition_per_tier]
@good_development_growth_tier_3 = @[good_development_growth_tier_2 + normal_development_growth_addition_per_tier]
@good_development_growth_tier_4 = @[good_development_growth_tier_3 + normal_development_growth_addition_per_tier]
@good_development_growth_tier_5 = @[good_development_growth_tier_4 + normal_development_growth_addition_per_tier]
@good_development_growth_tier_6 = @[good_development_growth_tier_5 + normal_development_growth_addition_per_tier]
@good_development_growth_tier_7 = @[good_development_growth_tier_6 + normal_development_growth_addition_per_tier]
@good_development_growth_tier_8 = @[good_development_growth_tier_7 + normal_development_growth_addition_per_tier]

@normal_development_growth_factor_tier_1 = @[normal_development_growth_factor_base]
@normal_development_growth_factor_tier_2 = @[normal_development_growth_factor_tier_1 + normal_development_growth_factor_addition_per_tier]
@normal_development_growth_factor_tier_3 = @[normal_development_growth_factor_tier_2 + normal_development_growth_factor_addition_per_tier]
@normal_development_growth_factor_tier_4 = @[normal_development_growth_factor_tier_3 + normal_development_growth_factor_addition_per_tier]
@normal_development_growth_factor_tier_5 = @[normal_development_growth_factor_tier_4 + normal_development_growth_factor_addition_per_tier]
@normal_development_growth_factor_tier_6 = @[normal_development_growth_factor_tier_5 + normal_development_growth_factor_addition_per_tier]
@normal_development_growth_factor_tier_7 = @[normal_development_growth_factor_tier_6 + normal_development_growth_factor_addition_per_tier]
@normal_development_growth_factor_tier_8 = @[normal_development_growth_factor_tier_7 + normal_development_growth_factor_addition_per_tier]

@good_development_growth_factor_tier_1 = @[good_development_growth_factor_base]
@good_development_growth_factor_tier_2 = @[good_development_growth_factor_tier_1 + normal_development_growth_factor_addition_per_tier]
@good_development_growth_factor_tier_3 = @[good_development_growth_factor_tier_2 + normal_development_growth_factor_addition_per_tier]
@good_development_growth_factor_tier_4 = @[good_development_growth_factor_tier_3 + normal_development_growth_factor_addition_per_tier]
@good_development_growth_factor_tier_5 = @[good_development_growth_factor_tier_4 + normal_development_growth_factor_addition_per_tier]
@good_development_growth_factor_tier_6 = @[good_development_growth_factor_tier_5 + normal_development_growth_factor_addition_per_tier]
@good_development_growth_factor_tier_7 = @[good_development_growth_factor_tier_6 + normal_development_growth_factor_addition_per_tier]
@good_development_growth_factor_tier_8 = @[good_development_growth_factor_tier_7 + normal_development_growth_factor_addition_per_tier]

@normal_tax_mult_tier_1 = @[normal_tax_mult_base]
@normal_tax_mult_tier_2 = @[normal_tax_mult_tier_1 + normal_tax_mult_addition_per_tier]
@normal_tax_mult_tier_3 = @[normal_tax_mult_tier_2 + normal_tax_mult_addition_per_tier]
@normal_tax_mult_tier_4 = @[normal_tax_mult_tier_3 + normal_tax_mult_addition_per_tier]
@normal_tax_mult_tier_5 = @[normal_tax_mult_tier_4 + normal_tax_mult_addition_per_tier]
@normal_tax_mult_tier_6 = @[normal_tax_mult_tier_5 + normal_tax_mult_addition_per_tier]
@normal_tax_mult_tier_7 = @[normal_tax_mult_tier_6 + normal_tax_mult_addition_per_tier]
@normal_tax_mult_tier_8 = @[normal_tax_mult_tier_7 + normal_tax_mult_addition_per_tier]

@good_tax_mult_tier_1 = @[good_tax_mult_base]
@good_tax_mult_tier_2 = @[good_tax_mult_tier_1 + normal_tax_mult_addition_per_tier]
@good_tax_mult_tier_3 = @[good_tax_mult_tier_2 + normal_tax_mult_addition_per_tier]
@good_tax_mult_tier_4 = @[good_tax_mult_tier_3 + normal_tax_mult_addition_per_tier]
@good_tax_mult_tier_5 = @[good_tax_mult_tier_4 + normal_tax_mult_addition_per_tier]
@good_tax_mult_tier_6 = @[good_tax_mult_tier_5 + normal_tax_mult_addition_per_tier]
@good_tax_mult_tier_7 = @[good_tax_mult_tier_6 + normal_tax_mult_addition_per_tier]
@good_tax_mult_tier_8 = @[good_tax_mult_tier_7 + normal_tax_mult_addition_per_tier]

@tribal_cost_tier_1 = @[tribal_cost_base]
@tribal_cost_tier_2 = @[tribal_cost_tier_1 + tribal_cost_scale_addition_per_tier]

# Low Damage Mult
@low_maa_damage_tier_1 = @[low_damage_mult_base]
@low_maa_damage_tier_2 = @[low_maa_damage_tier_1 + low_damage_mult_addition_per_tier]
@low_maa_damage_tier_3 = @[low_maa_damage_tier_2 + low_damage_mult_addition_per_tier]
@low_maa_damage_tier_4 = @[low_maa_damage_tier_3 + low_damage_mult_addition_per_tier]
@low_maa_damage_tier_5 = @[low_maa_damage_tier_4 + low_damage_mult_addition_per_tier]
@low_maa_damage_tier_6 = @[low_maa_damage_tier_5 + low_damage_mult_addition_per_tier]
@low_maa_damage_tier_7 = @[low_maa_damage_tier_6 + low_damage_mult_addition_per_tier]
@low_maa_damage_tier_8 = @[low_maa_damage_tier_7 + low_damage_mult_addition_per_tier]

# Normal Damage Mult
@normal_maa_damage_tier_1 = @[normal_damage_mult_base]
@normal_maa_damage_tier_2 = @[normal_maa_damage_tier_1 + normal_damage_mult_addition_per_tier]
@normal_maa_damage_tier_3 = @[normal_maa_damage_tier_2 + normal_damage_mult_addition_per_tier]
@normal_maa_damage_tier_4 = @[normal_maa_damage_tier_3 + normal_damage_mult_addition_per_tier]
@normal_maa_damage_tier_5 = @[normal_maa_damage_tier_4 + normal_damage_mult_addition_per_tier]
@normal_maa_damage_tier_6 = @[normal_maa_damage_tier_5 + normal_damage_mult_addition_per_tier]
@normal_maa_damage_tier_7 = @[normal_maa_damage_tier_6 + normal_damage_mult_addition_per_tier]
@normal_maa_damage_tier_8 = @[normal_maa_damage_tier_7 + normal_damage_mult_addition_per_tier]

# High Damage Mult
@high_maa_damage_tier_1 = @[high_damage_mult_base]
@high_maa_damage_tier_2 = @[high_maa_damage_tier_1 + high_damage_mult_addition_per_tier]
@high_maa_damage_tier_3 = @[high_maa_damage_tier_2 + high_damage_mult_addition_per_tier]
@high_maa_damage_tier_4 = @[high_maa_damage_tier_3 + high_damage_mult_addition_per_tier]
@high_maa_damage_tier_5 = @[high_maa_damage_tier_4 + high_damage_mult_addition_per_tier]
@high_maa_damage_tier_6 = @[high_maa_damage_tier_5 + high_damage_mult_addition_per_tier]
@high_maa_damage_tier_7 = @[high_maa_damage_tier_6 + high_damage_mult_addition_per_tier]
@high_maa_damage_tier_8 = @[high_maa_damage_tier_7 + high_damage_mult_addition_per_tier]

# Very High Damage Mult
@very_high_maa_damage_tier_1 = @[very_high_damage_mult_base]
@very_high_maa_damage_tier_2 = @[very_high_maa_damage_tier_1 + very_high_damage_mult_addition_per_tier]
@very_high_maa_damage_tier_3 = @[very_high_maa_damage_tier_2 + very_high_damage_mult_addition_per_tier]
@very_high_maa_damage_tier_4 = @[very_high_maa_damage_tier_3 + very_high_damage_mult_addition_per_tier]
@very_high_maa_damage_tier_5 = @[very_high_maa_damage_tier_4 + very_high_damage_mult_addition_per_tier]
@very_high_maa_damage_tier_6 = @[very_high_maa_damage_tier_5 + very_high_damage_mult_addition_per_tier]
@very_high_maa_damage_tier_7 = @[very_high_maa_damage_tier_6 + very_high_damage_mult_addition_per_tier]
@very_high_maa_damage_tier_8 = @[very_high_maa_damage_tier_7 + very_high_damage_mult_addition_per_tier]

# Low Toughness Mult
@low_maa_toughness_tier_1 = @[low_toughness_mult_base]
@low_maa_toughness_tier_2 = @[low_maa_toughness_tier_1 + low_toughness_mult_addition_per_tier]
@low_maa_toughness_tier_3 = @[low_maa_toughness_tier_2 + low_toughness_mult_addition_per_tier]
@low_maa_toughness_tier_4 = @[low_maa_toughness_tier_3 + low_toughness_mult_addition_per_tier]
@low_maa_toughness_tier_5 = @[low_maa_toughness_tier_4 + low_toughness_mult_addition_per_tier]
@low_maa_toughness_tier_6 = @[low_maa_toughness_tier_5 + low_toughness_mult_addition_per_tier]
@low_maa_toughness_tier_7 = @[low_maa_toughness_tier_6 + low_toughness_mult_addition_per_tier]
@low_maa_toughness_tier_8 = @[low_maa_toughness_tier_7 + low_toughness_mult_addition_per_tier]

# Normal Toughness Mult
@normal_maa_toughness_tier_1 = @[normal_toughness_mult_base]
@normal_maa_toughness_tier_2 = @[normal_maa_toughness_tier_1 + normal_toughness_mult_addition_per_tier]
@normal_maa_toughness_tier_3 = @[normal_maa_toughness_tier_2 + normal_toughness_mult_addition_per_tier]
@normal_maa_toughness_tier_4 = @[normal_maa_toughness_tier_3 + normal_toughness_mult_addition_per_tier]
@normal_maa_toughness_tier_5 = @[normal_maa_toughness_tier_4 + normal_toughness_mult_addition_per_tier]
@normal_maa_toughness_tier_6 = @[normal_maa_toughness_tier_5 + normal_toughness_mult_addition_per_tier]
@normal_maa_toughness_tier_7 = @[normal_maa_toughness_tier_6 + normal_toughness_mult_addition_per_tier]
@normal_maa_toughness_tier_8 = @[normal_maa_toughness_tier_7 + normal_toughness_mult_addition_per_tier]

# High Toughness Mult
@high_maa_toughness_tier_1 = @[high_toughness_mult_base]
@high_maa_toughness_tier_2 = @[high_maa_toughness_tier_1 + high_toughness_mult_addition_per_tier]
@high_maa_toughness_tier_3 = @[high_maa_toughness_tier_2 + high_toughness_mult_addition_per_tier]
@high_maa_toughness_tier_4 = @[high_maa_toughness_tier_3 + high_toughness_mult_addition_per_tier]
@high_maa_toughness_tier_5 = @[high_maa_toughness_tier_4 + high_toughness_mult_addition_per_tier]
@high_maa_toughness_tier_6 = @[high_maa_toughness_tier_5 + high_toughness_mult_addition_per_tier]
@high_maa_toughness_tier_7 = @[high_maa_toughness_tier_6 + high_toughness_mult_addition_per_tier]
@high_maa_toughness_tier_8 = @[high_maa_toughness_tier_7 + high_toughness_mult_addition_per_tier]

# Very High Toughness Mult
@very_high_maa_toughness_tier_1 = @[very_high_toughness_mult_base]
@very_high_maa_toughness_tier_2 = @[very_high_maa_toughness_tier_1 + very_high_toughness_mult_addition_per_tier]
@very_high_maa_toughness_tier_3 = @[very_high_maa_toughness_tier_2 + very_high_toughness_mult_addition_per_tier]
@very_high_maa_toughness_tier_4 = @[very_high_maa_toughness_tier_3 + very_high_toughness_mult_addition_per_tier]
@very_high_maa_toughness_tier_5 = @[very_high_maa_toughness_tier_4 + very_high_toughness_mult_addition_per_tier]
@very_high_maa_toughness_tier_6 = @[very_high_maa_toughness_tier_5 + very_high_toughness_mult_addition_per_tier]
@very_high_maa_toughness_tier_7 = @[very_high_maa_toughness_tier_6 + very_high_toughness_mult_addition_per_tier]
@very_high_maa_toughness_tier_8 = @[very_high_maa_toughness_tier_7 + very_high_toughness_mult_addition_per_tier]

# Low Pursuit Mult
@low_maa_pursuit_tier_1 = @[low_pursuit_mult_base]
@low_maa_pursuit_tier_2 = @[low_maa_pursuit_tier_1 + low_pursuit_mult_addition_per_tier]
@low_maa_pursuit_tier_3 = @[low_maa_pursuit_tier_2 + low_pursuit_mult_addition_per_tier]
@low_maa_pursuit_tier_4 = @[low_maa_pursuit_tier_3 + low_pursuit_mult_addition_per_tier]
@low_maa_pursuit_tier_5 = @[low_maa_pursuit_tier_4 + low_pursuit_mult_addition_per_tier]
@low_maa_pursuit_tier_6 = @[low_maa_pursuit_tier_5 + low_pursuit_mult_addition_per_tier]
@low_maa_pursuit_tier_7 = @[low_maa_pursuit_tier_6 + low_pursuit_mult_addition_per_tier]
@low_maa_pursuit_tier_8 = @[low_maa_pursuit_tier_7 + low_pursuit_mult_addition_per_tier]

# Normal Pursuit Mult
@normal_maa_pursuit_tier_1 = @[normal_pursuit_mult_base]
@normal_maa_pursuit_tier_2 = @[normal_maa_pursuit_tier_1 + normal_pursuit_mult_addition_per_tier]
@normal_maa_pursuit_tier_3 = @[normal_maa_pursuit_tier_2 + normal_pursuit_mult_addition_per_tier]
@normal_maa_pursuit_tier_4 = @[normal_maa_pursuit_tier_3 + normal_pursuit_mult_addition_per_tier]
@normal_maa_pursuit_tier_5 = @[normal_maa_pursuit_tier_4 + normal_pursuit_mult_addition_per_tier]
@normal_maa_pursuit_tier_6 = @[normal_maa_pursuit_tier_5 + normal_pursuit_mult_addition_per_tier]
@normal_maa_pursuit_tier_7 = @[normal_maa_pursuit_tier_6 + normal_pursuit_mult_addition_per_tier]
@normal_maa_pursuit_tier_8 = @[normal_maa_pursuit_tier_7 + normal_pursuit_mult_addition_per_tier]

# High Pursuit Mult
@high_maa_pursuit_tier_1 = @[high_pursuit_mult_base]
@high_maa_pursuit_tier_2 = @[high_maa_pursuit_tier_1 + high_pursuit_mult_addition_per_tier]
@high_maa_pursuit_tier_3 = @[high_maa_pursuit_tier_2 + high_pursuit_mult_addition_per_tier]
@high_maa_pursuit_tier_4 = @[high_maa_pursuit_tier_3 + high_pursuit_mult_addition_per_tier]
@high_maa_pursuit_tier_5 = @[high_maa_pursuit_tier_4 + high_pursuit_mult_addition_per_tier]
@high_maa_pursuit_tier_6 = @[high_maa_pursuit_tier_5 + high_pursuit_mult_addition_per_tier]
@high_maa_pursuit_tier_7 = @[high_maa_pursuit_tier_6 + high_pursuit_mult_addition_per_tier]
@high_maa_pursuit_tier_8 = @[high_maa_pursuit_tier_7 + high_pursuit_mult_addition_per_tier]

# Very High Pursuit Mult
@very_high_maa_pursuit_tier_1 = @[very_high_pursuit_mult_base]
@very_high_maa_pursuit_tier_2 = @[very_high_maa_pursuit_tier_1 + very_high_pursuit_mult_addition_per_tier]
@very_high_maa_pursuit_tier_3 = @[very_high_maa_pursuit_tier_2 + very_high_pursuit_mult_addition_per_tier]
@very_high_maa_pursuit_tier_4 = @[very_high_maa_pursuit_tier_3 + very_high_pursuit_mult_addition_per_tier]
@very_high_maa_pursuit_tier_5 = @[very_high_maa_pursuit_tier_4 + very_high_pursuit_mult_addition_per_tier]
@very_high_maa_pursuit_tier_6 = @[very_high_maa_pursuit_tier_5 + very_high_pursuit_mult_addition_per_tier]
@very_high_maa_pursuit_tier_7 = @[very_high_maa_pursuit_tier_6 + very_high_pursuit_mult_addition_per_tier]
@very_high_maa_pursuit_tier_8 = @[very_high_maa_pursuit_tier_7 + very_high_pursuit_mult_addition_per_tier]

# Low Screen Mult
@low_maa_screen_tier_1 = @[low_screen_mult_base]
@low_maa_screen_tier_2 = @[low_maa_screen_tier_1 + low_screen_mult_addition_per_tier]
@low_maa_screen_tier_3 = @[low_maa_screen_tier_2 + low_screen_mult_addition_per_tier]
@low_maa_screen_tier_4 = @[low_maa_screen_tier_3 + low_screen_mult_addition_per_tier]
@low_maa_screen_tier_5 = @[low_maa_screen_tier_4 + low_screen_mult_addition_per_tier]
@low_maa_screen_tier_6 = @[low_maa_screen_tier_5 + low_screen_mult_addition_per_tier]
@low_maa_screen_tier_7 = @[low_maa_screen_tier_6 + low_screen_mult_addition_per_tier]
@low_maa_screen_tier_8 = @[low_maa_screen_tier_7 + low_screen_mult_addition_per_tier]

# Normal Screen Mult
@normal_maa_screen_tier_1 = @[normal_screen_mult_base]
@normal_maa_screen_tier_2 = @[normal_maa_screen_tier_1 + normal_screen_mult_addition_per_tier]
@normal_maa_screen_tier_3 = @[normal_maa_screen_tier_2 + normal_screen_mult_addition_per_tier]
@normal_maa_screen_tier_4 = @[normal_maa_screen_tier_3 + normal_screen_mult_addition_per_tier]
@normal_maa_screen_tier_5 = @[normal_maa_screen_tier_4 + normal_screen_mult_addition_per_tier]
@normal_maa_screen_tier_6 = @[normal_maa_screen_tier_5 + normal_screen_mult_addition_per_tier]
@normal_maa_screen_tier_7 = @[normal_maa_screen_tier_6 + normal_screen_mult_addition_per_tier]
@normal_maa_screen_tier_8 = @[normal_maa_screen_tier_7 + normal_screen_mult_addition_per_tier]

# High Screen Mult
@high_maa_screen_tier_1 = @[high_screen_mult_base]
@high_maa_screen_tier_2 = @[high_maa_screen_tier_1 + high_screen_mult_addition_per_tier]
@high_maa_screen_tier_3 = @[high_maa_screen_tier_2 + high_screen_mult_addition_per_tier]
@high_maa_screen_tier_4 = @[high_maa_screen_tier_3 + high_screen_mult_addition_per_tier]
@high_maa_screen_tier_5 = @[high_maa_screen_tier_4 + high_screen_mult_addition_per_tier]
@high_maa_screen_tier_6 = @[high_maa_screen_tier_5 + high_screen_mult_addition_per_tier]
@high_maa_screen_tier_7 = @[high_maa_screen_tier_6 + high_screen_mult_addition_per_tier]
@high_maa_screen_tier_8 = @[high_maa_screen_tier_7 + high_screen_mult_addition_per_tier]

# Very High Screen Mult
@very_high_maa_screen_tier_1 = @[very_high_screen_mult_base]
@very_high_maa_screen_tier_2 = @[very_high_maa_screen_tier_1 + very_high_screen_mult_addition_per_tier]
@very_high_maa_screen_tier_3 = @[very_high_maa_screen_tier_2 + very_high_screen_mult_addition_per_tier]
@very_high_maa_screen_tier_4 = @[very_high_maa_screen_tier_3 + very_high_screen_mult_addition_per_tier]
@very_high_maa_screen_tier_5 = @[very_high_maa_screen_tier_4 + very_high_screen_mult_addition_per_tier]
@very_high_maa_screen_tier_6 = @[very_high_maa_screen_tier_5 + very_high_screen_mult_addition_per_tier]
@very_high_maa_screen_tier_7 = @[very_high_maa_screen_tier_6 + very_high_screen_mult_addition_per_tier]
@very_high_maa_screen_tier_8 = @[very_high_maa_screen_tier_7 + very_high_screen_mult_addition_per_tier]

# Low Siege Value Mult
@low_maa_siege_value_tier_1 = @[low_siege_value_mult_base]
@low_maa_siege_value_tier_2 = @[low_maa_siege_value_tier_1 + low_siege_value_mult_addition_per_tier]
@low_maa_siege_value_tier_3 = @[low_maa_siege_value_tier_2 + low_siege_value_mult_addition_per_tier]
@low_maa_siege_value_tier_4 = @[low_maa_siege_value_tier_3 + low_siege_value_mult_addition_per_tier]
@low_maa_siege_value_tier_5 = @[low_maa_siege_value_tier_4 + low_siege_value_mult_addition_per_tier]
@low_maa_siege_value_tier_6 = @[low_maa_siege_value_tier_5 + low_siege_value_mult_addition_per_tier]
@low_maa_siege_value_tier_7 = @[low_maa_siege_value_tier_6 + low_siege_value_mult_addition_per_tier]
@low_maa_siege_value_tier_8 = @[low_maa_siege_value_tier_7 + low_siege_value_mult_addition_per_tier]

# Normal Siege Value Mult
@normal_maa_siege_value_tier_1 = @[normal_siege_value_mult_base]
@normal_maa_siege_value_tier_2 = @[normal_maa_siege_value_tier_1 + normal_siege_value_mult_addition_per_tier]
@normal_maa_siege_value_tier_3 = @[normal_maa_siege_value_tier_2 + normal_siege_value_mult_addition_per_tier]
@normal_maa_siege_value_tier_4 = @[normal_maa_siege_value_tier_3 + normal_siege_value_mult_addition_per_tier]
@normal_maa_siege_value_tier_5 = @[normal_maa_siege_value_tier_4 + normal_siege_value_mult_addition_per_tier]
@normal_maa_siege_value_tier_6 = @[normal_maa_siege_value_tier_5 + normal_siege_value_mult_addition_per_tier]
@normal_maa_siege_value_tier_7 = @[normal_maa_siege_value_tier_6 + normal_siege_value_mult_addition_per_tier]
@normal_maa_siege_value_tier_8 = @[normal_maa_siege_value_tier_7 + normal_siege_value_mult_addition_per_tier]

# High Siege Value Mult
@high_maa_siege_value_tier_1 = @[high_siege_value_mult_base]
@high_maa_siege_value_tier_2 = @[high_maa_siege_value_tier_1 + high_siege_value_mult_addition_per_tier]
@high_maa_siege_value_tier_3 = @[high_maa_siege_value_tier_2 + high_siege_value_mult_addition_per_tier]
@high_maa_siege_value_tier_4 = @[high_maa_siege_value_tier_3 + high_siege_value_mult_addition_per_tier]
@high_maa_siege_value_tier_5 = @[high_maa_siege_value_tier_4 + high_siege_value_mult_addition_per_tier]
@high_maa_siege_value_tier_6 = @[high_maa_siege_value_tier_5 + high_siege_value_mult_addition_per_tier]
@high_maa_siege_value_tier_7 = @[high_maa_siege_value_tier_6 + high_siege_value_mult_addition_per_tier]
@high_maa_siege_value_tier_8 = @[high_maa_siege_value_tier_7 + high_siege_value_mult_addition_per_tier]

# Very High Siege Value Mult
@very_high_maa_siege_value_tier_1 = @[very_high_siege_value_mult_base]
@very_high_maa_siege_value_tier_2 = @[very_high_maa_siege_value_tier_1 + very_high_siege_value_mult_addition_per_tier]
@very_high_maa_siege_value_tier_3 = @[very_high_maa_siege_value_tier_2 + very_high_siege_value_mult_addition_per_tier]
@very_high_maa_siege_value_tier_4 = @[very_high_maa_siege_value_tier_3 + very_high_siege_value_mult_addition_per_tier]
@very_high_maa_siege_value_tier_5 = @[very_high_maa_siege_value_tier_4 + very_high_siege_value_mult_addition_per_tier]
@very_high_maa_siege_value_tier_6 = @[very_high_maa_siege_value_tier_5 + very_high_siege_value_mult_addition_per_tier]
@very_high_maa_siege_value_tier_7 = @[very_high_maa_siege_value_tier_6 + very_high_siege_value_mult_addition_per_tier]
@very_high_maa_siege_value_tier_8 = @[very_high_maa_siege_value_tier_7 + very_high_siege_value_mult_addition_per_tier]

# Normal Movement Speed
@normal_movement_speed_tier_1 = @[normal_movement_speed_base]
@normal_movement_speed_tier_2 = @[normal_movement_speed_tier_1 + normal_movement_speed_addition_per_tier]
@normal_movement_speed_tier_3 = @[normal_movement_speed_tier_2 + normal_movement_speed_addition_per_tier]
@normal_movement_speed_tier_4 = @[normal_movement_speed_tier_3 + normal_movement_speed_addition_per_tier]
@normal_movement_speed_tier_5 = @[normal_movement_speed_tier_4 + normal_movement_speed_addition_per_tier]
@normal_movement_speed_tier_6 = @[normal_movement_speed_tier_5 + normal_movement_speed_addition_per_tier]
@normal_movement_speed_tier_7 = @[normal_movement_speed_tier_6 + normal_movement_speed_addition_per_tier]
@normal_movement_speed_tier_8 = @[normal_movement_speed_tier_7 + normal_movement_speed_addition_per_tier]

# High Movement Speed
@high_movement_speed_tier_1 = @[high_movement_speed_base]
@high_movement_speed_tier_2 = @[high_movement_speed_tier_1 + high_movement_speed_addition_per_tier]
@high_movement_speed_tier_3 = @[high_movement_speed_tier_2 + high_movement_speed_addition_per_tier]
@high_movement_speed_tier_4 = @[high_movement_speed_tier_3 + high_movement_speed_addition_per_tier]
@high_movement_speed_tier_5 = @[high_movement_speed_tier_4 + high_movement_speed_addition_per_tier]
@high_movement_speed_tier_6 = @[high_movement_speed_tier_5 + high_movement_speed_addition_per_tier]
@high_movement_speed_tier_7 = @[high_movement_speed_tier_6 + high_movement_speed_addition_per_tier]
@high_movement_speed_tier_8 = @[high_movement_speed_tier_7 + high_movement_speed_addition_per_tier]

# Normal Knight Effectiveness
@normal_knight_effectiveness_mult_tier_1 = @[normal_knight_effectiveness_mult_base]
@normal_knight_effectiveness_mult_tier_2 = @[normal_knight_effectiveness_mult_tier_1 + normal_knight_effectiveness_mult_addition_per_tier]
@normal_knight_effectiveness_mult_tier_3 = @[normal_knight_effectiveness_mult_tier_2 + normal_knight_effectiveness_mult_addition_per_tier]
@normal_knight_effectiveness_mult_tier_4 = @[normal_knight_effectiveness_mult_tier_3 + normal_knight_effectiveness_mult_addition_per_tier]
@normal_knight_effectiveness_mult_tier_5 = @[normal_knight_effectiveness_mult_tier_4 + normal_knight_effectiveness_mult_addition_per_tier]
@normal_knight_effectiveness_mult_tier_6 = @[normal_knight_effectiveness_mult_tier_5 + normal_knight_effectiveness_mult_addition_per_tier]
@normal_knight_effectiveness_mult_tier_7 = @[normal_knight_effectiveness_mult_tier_6 + normal_knight_effectiveness_mult_addition_per_tier]
@normal_knight_effectiveness_mult_tier_8 = @[normal_knight_effectiveness_mult_tier_7 + normal_knight_effectiveness_mult_addition_per_tier]

# High Knight Effectiveness
@high_knight_effectiveness_mult_tier_1 = @[high_knight_effectiveness_mult_base]
@high_knight_effectiveness_mult_tier_2 = @[high_knight_effectiveness_mult_tier_1 + high_knight_effectiveness_mult_addition_per_tier]
@high_knight_effectiveness_mult_tier_3 = @[high_knight_effectiveness_mult_tier_2 + high_knight_effectiveness_mult_addition_per_tier]
@high_knight_effectiveness_mult_tier_4 = @[high_knight_effectiveness_mult_tier_3 + high_knight_effectiveness_mult_addition_per_tier]
@high_knight_effectiveness_mult_tier_5 = @[high_knight_effectiveness_mult_tier_4 + high_knight_effectiveness_mult_addition_per_tier]
@high_knight_effectiveness_mult_tier_6 = @[high_knight_effectiveness_mult_tier_5 + high_knight_effectiveness_mult_addition_per_tier]
@high_knight_effectiveness_mult_tier_7 = @[high_knight_effectiveness_mult_tier_6 + high_knight_effectiveness_mult_addition_per_tier]
@high_knight_effectiveness_mult_tier_8 = @[high_knight_effectiveness_mult_tier_7 + high_knight_effectiveness_mult_addition_per_tier]

# Normal Levy Reinforcement
@normal_levy_reinforcement_rate_tier_1 = @[normal_levy_reinforcement_rate_base]
@normal_levy_reinforcement_rate_tier_2 = @[normal_levy_reinforcement_rate_tier_1 + normal_levy_reinforcement_rate_addition_per_tier]
@normal_levy_reinforcement_rate_tier_3 = @[normal_levy_reinforcement_rate_tier_2 + normal_levy_reinforcement_rate_addition_per_tier]
@normal_levy_reinforcement_rate_tier_4 = @[normal_levy_reinforcement_rate_tier_3 + normal_levy_reinforcement_rate_addition_per_tier]
@normal_levy_reinforcement_rate_tier_5 = @[normal_levy_reinforcement_rate_tier_4 + normal_levy_reinforcement_rate_addition_per_tier]
@normal_levy_reinforcement_rate_tier_6 = @[normal_levy_reinforcement_rate_tier_5 + normal_levy_reinforcement_rate_addition_per_tier]
@normal_levy_reinforcement_rate_tier_7 = @[normal_levy_reinforcement_rate_tier_6 + normal_levy_reinforcement_rate_addition_per_tier]
@normal_levy_reinforcement_rate_tier_8 = @[normal_levy_reinforcement_rate_tier_7 + normal_levy_reinforcement_rate_addition_per_tier]

# High Levy Reinforcement
@high_levy_reinforcement_rate_tier_1 = @[high_levy_reinforcement_rate_base]
@high_levy_reinforcement_rate_tier_2 = @[high_levy_reinforcement_rate_tier_1 + high_levy_reinforcement_rate_addition_per_tier]
@high_levy_reinforcement_rate_tier_3 = @[high_levy_reinforcement_rate_tier_2 + high_levy_reinforcement_rate_addition_per_tier]
@high_levy_reinforcement_rate_tier_4 = @[high_levy_reinforcement_rate_tier_3 + high_levy_reinforcement_rate_addition_per_tier]
@high_levy_reinforcement_rate_tier_5 = @[high_levy_reinforcement_rate_tier_4 + high_levy_reinforcement_rate_addition_per_tier]
@high_levy_reinforcement_rate_tier_6 = @[high_levy_reinforcement_rate_tier_5 + high_levy_reinforcement_rate_addition_per_tier]
@high_levy_reinforcement_rate_tier_7 = @[high_levy_reinforcement_rate_tier_6 + high_levy_reinforcement_rate_addition_per_tier]
@high_levy_reinforcement_rate_tier_8 = @[high_levy_reinforcement_rate_tier_7 + high_levy_reinforcement_rate_addition_per_tier]

##############
# MaA Values #
##############

# Low Damage Mult
low_maa_damage_tier_1 = @low_maa_damage_tier_1
low_maa_damage_tier_2 = @low_maa_damage_tier_2
low_maa_damage_tier_3 = @low_maa_damage_tier_3
low_maa_damage_tier_4 = @low_maa_damage_tier_4
low_maa_damage_tier_5 = @low_maa_damage_tier_5
low_maa_damage_tier_6 = @low_maa_damage_tier_6
low_maa_damage_tier_7 = @low_maa_damage_tier_7
low_maa_damage_tier_8 = @low_maa_damage_tier_8

# Normal Damage Mult
normal_maa_damage_tier_1 = @normal_maa_damage_tier_1
normal_maa_damage_tier_2 = @normal_maa_damage_tier_2
normal_maa_damage_tier_3 = @normal_maa_damage_tier_3
normal_maa_damage_tier_4 = @normal_maa_damage_tier_4
normal_maa_damage_tier_5 = @normal_maa_damage_tier_5
normal_maa_damage_tier_6 = @normal_maa_damage_tier_6
normal_maa_damage_tier_7 = @normal_maa_damage_tier_7
normal_maa_damage_tier_8 = @normal_maa_damage_tier_8

# High Damage Mult
high_maa_damage_tier_1 = @high_maa_damage_tier_1
high_maa_damage_tier_2 = @high_maa_damage_tier_2
high_maa_damage_tier_3 = @high_maa_damage_tier_3
high_maa_damage_tier_4 = @high_maa_damage_tier_4
high_maa_damage_tier_5 = @high_maa_damage_tier_5
high_maa_damage_tier_6 = @high_maa_damage_tier_6
high_maa_damage_tier_7 = @high_maa_damage_tier_7
high_maa_damage_tier_8 = @high_maa_damage_tier_8

# Very High Damage Mult
very_high_maa_damage_tier_1 = @very_high_maa_damage_tier_1
very_high_maa_damage_tier_2 = @very_high_maa_damage_tier_2
very_high_maa_damage_tier_3 = @very_high_maa_damage_tier_3
very_high_maa_damage_tier_4 = @very_high_maa_damage_tier_4
very_high_maa_damage_tier_5 = @very_high_maa_damage_tier_5
very_high_maa_damage_tier_6 = @very_high_maa_damage_tier_6
very_high_maa_damage_tier_7 = @very_high_maa_damage_tier_7
very_high_maa_damage_tier_8 = @very_high_maa_damage_tier_8

# Low Toughness Mult
low_maa_toughness_tier_1 = @low_maa_toughness_tier_1
low_maa_toughness_tier_2 = @low_maa_toughness_tier_2
low_maa_toughness_tier_3 = @low_maa_toughness_tier_3
low_maa_toughness_tier_4 = @low_maa_toughness_tier_4
low_maa_toughness_tier_5 = @low_maa_toughness_tier_5
low_maa_toughness_tier_6 = @low_maa_toughness_tier_6
low_maa_toughness_tier_7 = @low_maa_toughness_tier_7
low_maa_toughness_tier_8 = @low_maa_toughness_tier_8

# Normal Toughness Mult
normal_maa_toughness_tier_1 = @normal_maa_toughness_tier_1
normal_maa_toughness_tier_2 = @normal_maa_toughness_tier_2
normal_maa_toughness_tier_3 = @normal_maa_toughness_tier_3
normal_maa_toughness_tier_4 = @normal_maa_toughness_tier_4
normal_maa_toughness_tier_5 = @normal_maa_toughness_tier_5
normal_maa_toughness_tier_6 = @normal_maa_toughness_tier_6
normal_maa_toughness_tier_7 = @normal_maa_toughness_tier_7
normal_maa_toughness_tier_8 = @normal_maa_toughness_tier_8

# High Toughness Mult
high_maa_toughness_tier_1 = @high_maa_toughness_tier_1
high_maa_toughness_tier_2 = @high_maa_toughness_tier_2
high_maa_toughness_tier_3 = @high_maa_toughness_tier_3
high_maa_toughness_tier_4 = @high_maa_toughness_tier_4
high_maa_toughness_tier_5 = @high_maa_toughness_tier_5
high_maa_toughness_tier_6 = @high_maa_toughness_tier_6
high_maa_toughness_tier_7 = @high_maa_toughness_tier_7
high_maa_toughness_tier_8 = @high_maa_toughness_tier_8

# Very High Toughness Mult
very_high_maa_toughness_tier_1 = @very_high_maa_toughness_tier_1
very_high_maa_toughness_tier_2 = @very_high_maa_toughness_tier_2
very_high_maa_toughness_tier_3 = @very_high_maa_toughness_tier_3
very_high_maa_toughness_tier_4 = @very_high_maa_toughness_tier_4
very_high_maa_toughness_tier_5 = @very_high_maa_toughness_tier_5
very_high_maa_toughness_tier_6 = @very_high_maa_toughness_tier_6
very_high_maa_toughness_tier_7 = @very_high_maa_toughness_tier_7
very_high_maa_toughness_tier_8 = @very_high_maa_toughness_tier_8

# Low Pursuit Mult
low_maa_pursuit_tier_1 = @low_maa_pursuit_tier_1
low_maa_pursuit_tier_2 = @low_maa_pursuit_tier_2
low_maa_pursuit_tier_3 = @low_maa_pursuit_tier_3
low_maa_pursuit_tier_4 = @low_maa_pursuit_tier_4
low_maa_pursuit_tier_5 = @low_maa_pursuit_tier_5
low_maa_pursuit_tier_6 = @low_maa_pursuit_tier_6
low_maa_pursuit_tier_7 = @low_maa_pursuit_tier_7
low_maa_pursuit_tier_8 = @low_maa_pursuit_tier_8

# Normal Pursuit Mult
normal_maa_pursuit_tier_1 = @normal_maa_pursuit_tier_1
normal_maa_pursuit_tier_2 = @normal_maa_pursuit_tier_2
normal_maa_pursuit_tier_3 = @normal_maa_pursuit_tier_3
normal_maa_pursuit_tier_4 = @normal_maa_pursuit_tier_4
normal_maa_pursuit_tier_5 = @normal_maa_pursuit_tier_5
normal_maa_pursuit_tier_6 = @normal_maa_pursuit_tier_6
normal_maa_pursuit_tier_7 = @normal_maa_pursuit_tier_7
normal_maa_pursuit_tier_8 = @normal_maa_pursuit_tier_8

# High Pursuit Mult
high_maa_pursuit_tier_1 = @high_maa_pursuit_tier_1
high_maa_pursuit_tier_2 = @high_maa_pursuit_tier_2
high_maa_pursuit_tier_3 = @high_maa_pursuit_tier_3
high_maa_pursuit_tier_4 = @high_maa_pursuit_tier_4
high_maa_pursuit_tier_5 = @high_maa_pursuit_tier_5
high_maa_pursuit_tier_6 = @high_maa_pursuit_tier_6
high_maa_pursuit_tier_7 = @high_maa_pursuit_tier_7
high_maa_pursuit_tier_8 = @high_maa_pursuit_tier_8

# Very High Pursuit Mult
very_high_maa_pursuit_tier_1 = @very_high_maa_pursuit_tier_1
very_high_maa_pursuit_tier_2 = @very_high_maa_pursuit_tier_2
very_high_maa_pursuit_tier_3 = @very_high_maa_pursuit_tier_3
very_high_maa_pursuit_tier_4 = @very_high_maa_pursuit_tier_4
very_high_maa_pursuit_tier_5 = @very_high_maa_pursuit_tier_5
very_high_maa_pursuit_tier_6 = @very_high_maa_pursuit_tier_6
very_high_maa_pursuit_tier_7 = @very_high_maa_pursuit_tier_7
very_high_maa_pursuit_tier_8 = @very_high_maa_pursuit_tier_8

# Low Screen Mult
low_maa_screen_tier_1 = @low_maa_screen_tier_1
low_maa_screen_tier_2 = @low_maa_screen_tier_2
low_maa_screen_tier_3 = @low_maa_screen_tier_3
low_maa_screen_tier_4 = @low_maa_screen_tier_4
low_maa_screen_tier_5 = @low_maa_screen_tier_5
low_maa_screen_tier_6 = @low_maa_screen_tier_6
low_maa_screen_tier_7 = @low_maa_screen_tier_7
low_maa_screen_tier_8 = @low_maa_screen_tier_8

# Normal Screen Mult
normal_maa_screen_tier_1 = @normal_maa_screen_tier_1
normal_maa_screen_tier_2 = @normal_maa_screen_tier_2
normal_maa_screen_tier_3 = @normal_maa_screen_tier_3
normal_maa_screen_tier_4 = @normal_maa_screen_tier_4
normal_maa_screen_tier_5 = @normal_maa_screen_tier_5
normal_maa_screen_tier_6 = @normal_maa_screen_tier_6
normal_maa_screen_tier_7 = @normal_maa_screen_tier_7
normal_maa_screen_tier_8 = @normal_maa_screen_tier_8

# High Screen Mult
high_maa_screen_tier_1 = @high_maa_screen_tier_1
high_maa_screen_tier_2 = @high_maa_screen_tier_2
high_maa_screen_tier_3 = @high_maa_screen_tier_3
high_maa_screen_tier_4 = @high_maa_screen_tier_4
high_maa_screen_tier_5 = @high_maa_screen_tier_5
high_maa_screen_tier_6 = @high_maa_screen_tier_6
high_maa_screen_tier_7 = @high_maa_screen_tier_7
high_maa_screen_tier_8 = @high_maa_screen_tier_8

# Very High Screen Mult
very_high_maa_screen_tier_1 = @very_high_maa_screen_tier_1
very_high_maa_screen_tier_2 = @very_high_maa_screen_tier_2
very_high_maa_screen_tier_3 = @very_high_maa_screen_tier_3
very_high_maa_screen_tier_4 = @very_high_maa_screen_tier_4
very_high_maa_screen_tier_5 = @very_high_maa_screen_tier_5
very_high_maa_screen_tier_6 = @very_high_maa_screen_tier_6
very_high_maa_screen_tier_7 = @very_high_maa_screen_tier_7
very_high_maa_screen_tier_8 = @very_high_maa_screen_tier_8

# Low Siege Value Mult
low_maa_siege_value_tier_1 = @low_maa_siege_value_tier_1
low_maa_siege_value_tier_2 = @low_maa_siege_value_tier_2
low_maa_siege_value_tier_3 = @low_maa_siege_value_tier_3
low_maa_siege_value_tier_4 = @low_maa_siege_value_tier_4
low_maa_siege_value_tier_5 = @low_maa_siege_value_tier_5
low_maa_siege_value_tier_6 = @low_maa_siege_value_tier_6
low_maa_siege_value_tier_7 = @low_maa_siege_value_tier_7
low_maa_siege_value_tier_8 = @low_maa_siege_value_tier_8

# Normal Siege Value Mult
normal_maa_siege_value_tier_1 = @normal_maa_siege_value_tier_1
normal_maa_siege_value_tier_2 = @normal_maa_siege_value_tier_2
normal_maa_siege_value_tier_3 = @normal_maa_siege_value_tier_3
normal_maa_siege_value_tier_4 = @normal_maa_siege_value_tier_4
normal_maa_siege_value_tier_5 = @normal_maa_siege_value_tier_5
normal_maa_siege_value_tier_6 = @normal_maa_siege_value_tier_6
normal_maa_siege_value_tier_7 = @normal_maa_siege_value_tier_7
normal_maa_siege_value_tier_8 = @normal_maa_siege_value_tier_8

# High Siege Value Mult
high_maa_siege_value_tier_1 = @high_maa_siege_value_tier_1
high_maa_siege_value_tier_2 = @high_maa_siege_value_tier_2
high_maa_siege_value_tier_3 = @high_maa_siege_value_tier_3
high_maa_siege_value_tier_4 = @high_maa_siege_value_tier_4
high_maa_siege_value_tier_5 = @high_maa_siege_value_tier_5
high_maa_siege_value_tier_6 = @high_maa_siege_value_tier_6
high_maa_siege_value_tier_7 = @high_maa_siege_value_tier_7
high_maa_siege_value_tier_8 = @high_maa_siege_value_tier_8

# Very High Siege Value Mult
very_high_maa_siege_value_tier_1 = @very_high_maa_siege_value_tier_1
very_high_maa_siege_value_tier_2 = @very_high_maa_siege_value_tier_2
very_high_maa_siege_value_tier_3 = @very_high_maa_siege_value_tier_3
very_high_maa_siege_value_tier_4 = @very_high_maa_siege_value_tier_4
very_high_maa_siege_value_tier_5 = @very_high_maa_siege_value_tier_5
very_high_maa_siege_value_tier_6 = @very_high_maa_siege_value_tier_6
very_high_maa_siege_value_tier_7 = @very_high_maa_siege_value_tier_7
very_high_maa_siege_value_tier_8 = @very_high_maa_siege_value_tier_8

##################
# Movement Speed #
##################

# Normal Movement Speed
normal_movement_speed_tier_1 = @normal_movement_speed_tier_1
normal_movement_speed_tier_2 = @normal_movement_speed_tier_2
normal_movement_speed_tier_3 = @normal_movement_speed_tier_3
normal_movement_speed_tier_4 = @normal_movement_speed_tier_4
normal_movement_speed_tier_5 = @normal_movement_speed_tier_5
normal_movement_speed_tier_6 = @normal_movement_speed_tier_6
normal_movement_speed_tier_7 = @normal_movement_speed_tier_7
normal_movement_speed_tier_8 = @normal_movement_speed_tier_8

# High Movement Speed
high_movement_speed_tier_1 = @high_movement_speed_tier_1
high_movement_speed_tier_2 = @high_movement_speed_tier_2
high_movement_speed_tier_3 = @high_movement_speed_tier_3
high_movement_speed_tier_4 = @high_movement_speed_tier_4
high_movement_speed_tier_5 = @high_movement_speed_tier_5
high_movement_speed_tier_6 = @high_movement_speed_tier_6
high_movement_speed_tier_7 = @high_movement_speed_tier_7
high_movement_speed_tier_8 = @high_movement_speed_tier_8

########################
# Knight Effectiveness #
########################

# Normal Knight Effectiveness
normal_knight_effectiveness_mult_tier_1 = @normal_knight_effectiveness_mult_tier_1
normal_knight_effectiveness_mult_tier_2 = @normal_knight_effectiveness_mult_tier_2
normal_knight_effectiveness_mult_tier_3 = @normal_knight_effectiveness_mult_tier_3
normal_knight_effectiveness_mult_tier_4 = @normal_knight_effectiveness_mult_tier_4
normal_knight_effectiveness_mult_tier_5 = @normal_knight_effectiveness_mult_tier_5
normal_knight_effectiveness_mult_tier_6 = @normal_knight_effectiveness_mult_tier_6
normal_knight_effectiveness_mult_tier_7 = @normal_knight_effectiveness_mult_tier_7
normal_knight_effectiveness_mult_tier_8 = @normal_knight_effectiveness_mult_tier_8

# High Knight Effectiveness
high_knight_effectiveness_mult_tier_1 = @high_knight_effectiveness_mult_tier_1
high_knight_effectiveness_mult_tier_2 = @high_knight_effectiveness_mult_tier_2
high_knight_effectiveness_mult_tier_3 = @high_knight_effectiveness_mult_tier_3
high_knight_effectiveness_mult_tier_4 = @high_knight_effectiveness_mult_tier_4
high_knight_effectiveness_mult_tier_5 = @high_knight_effectiveness_mult_tier_5
high_knight_effectiveness_mult_tier_6 = @high_knight_effectiveness_mult_tier_6
high_knight_effectiveness_mult_tier_7 = @high_knight_effectiveness_mult_tier_7
high_knight_effectiveness_mult_tier_8 = @high_knight_effectiveness_mult_tier_8

######################
# Levy Reinforcement #
######################

# Normal Levy Reinforcement
normal_levy_reinforcement_rate_tier_1 = @normal_levy_reinforcement_rate_tier_1
normal_levy_reinforcement_rate_tier_2 = @normal_levy_reinforcement_rate_tier_2
normal_levy_reinforcement_rate_tier_3 = @normal_levy_reinforcement_rate_tier_3
normal_levy_reinforcement_rate_tier_4 = @normal_levy_reinforcement_rate_tier_4
normal_levy_reinforcement_rate_tier_5 = @normal_levy_reinforcement_rate_tier_5
normal_levy_reinforcement_rate_tier_6 = @normal_levy_reinforcement_rate_tier_6
normal_levy_reinforcement_rate_tier_7 = @normal_levy_reinforcement_rate_tier_7
normal_levy_reinforcement_rate_tier_8 = @normal_levy_reinforcement_rate_tier_8

# High Levy Reinforcement
high_levy_reinforcement_rate_tier_1 = @high_levy_reinforcement_rate_tier_1
high_levy_reinforcement_rate_tier_2 = @high_levy_reinforcement_rate_tier_2
high_levy_reinforcement_rate_tier_3 = @high_levy_reinforcement_rate_tier_3
high_levy_reinforcement_rate_tier_4 = @high_levy_reinforcement_rate_tier_4
high_levy_reinforcement_rate_tier_5 = @high_levy_reinforcement_rate_tier_5
high_levy_reinforcement_rate_tier_6 = @high_levy_reinforcement_rate_tier_6
high_levy_reinforcement_rate_tier_7 = @high_levy_reinforcement_rate_tier_7
high_levy_reinforcement_rate_tier_8 = @high_levy_reinforcement_rate_tier_8

#################
# Building Cost #
#################

# Cheap Buildings
cheap_building_tier_1_cost = @[cheap_cost_tier_1]
cheap_building_tier_2_cost = @[cheap_cost_tier_2]
cheap_building_tier_3_cost = @[cheap_cost_tier_3]
cheap_building_tier_4_cost = @[cheap_cost_tier_4]
cheap_building_tier_5_cost = @[cheap_cost_tier_5]
cheap_building_tier_6_cost = @[cheap_cost_tier_6]
cheap_building_tier_7_cost = @[cheap_cost_tier_7]
cheap_building_tier_8_cost = @[cheap_cost_tier_8]

# Normal Buildings
normal_building_tier_1_cost = @[normal_cost_tier_1]
normal_building_tier_2_cost = @[normal_cost_tier_2]
normal_building_tier_3_cost = @[normal_cost_tier_3]
normal_building_tier_4_cost = @[normal_cost_tier_4]
normal_building_tier_5_cost = @[normal_cost_tier_5]
normal_building_tier_6_cost = @[normal_cost_tier_6]
normal_building_tier_7_cost = @[normal_cost_tier_7]
normal_building_tier_8_cost = @[normal_cost_tier_8]

# Expensive Buildings
expensive_building_tier_1_cost = @[expensive_cost_tier_1]
expensive_building_tier_2_cost = @[expensive_cost_tier_2]
expensive_building_tier_3_cost = @[expensive_cost_tier_3]
expensive_building_tier_4_cost = @[expensive_cost_tier_4]
expensive_building_tier_5_cost = @[expensive_cost_tier_5]
expensive_building_tier_6_cost = @[expensive_cost_tier_6]
expensive_building_tier_7_cost = @[expensive_cost_tier_7]
expensive_building_tier_8_cost = @[expensive_cost_tier_8]

# Main Buildings (Castle, Temple, City)
main_building_tier_1_cost = @[main_cost_tier_1]
main_building_tier_2_cost = @[main_cost_tier_2]
main_building_tier_3_cost = @[main_cost_tier_3]
main_building_tier_4_cost = @[main_cost_tier_4]

# Tribal Buildings
tribal_building_tier_1_cost = @[tribal_cost_tier_1]
tribal_building_tier_2_cost = @[tribal_cost_tier_2]

##############
# Tax Values #
##############

# Poor Tax
poor_building_tax_tier_1 = @[poor_tax_tier_1]
poor_building_tax_tier_2 = @[poor_tax_tier_2]
poor_building_tax_tier_3 = @[poor_tax_tier_3]
poor_building_tax_tier_4 = @[poor_tax_tier_4]
poor_building_tax_tier_5 = @[poor_tax_tier_5]
poor_building_tax_tier_6 = @[poor_tax_tier_6]
poor_building_tax_tier_7 = @[poor_tax_tier_7]
poor_building_tax_tier_8 = @[poor_tax_tier_8]

# Normal Tax
normal_building_tax_tier_1 = @[normal_tax_tier_1]
normal_building_tax_tier_2 = @[normal_tax_tier_2]
normal_building_tax_tier_3 = @[normal_tax_tier_3]
normal_building_tax_tier_4 = @[normal_tax_tier_4]
normal_building_tax_tier_5 = @[normal_tax_tier_5]
normal_building_tax_tier_6 = @[normal_tax_tier_6]
normal_building_tax_tier_7 = @[normal_tax_tier_7]
normal_building_tax_tier_8 = @[normal_tax_tier_8]

# Good Tax
good_building_tax_tier_1 = @[good_tax_tier_1]
good_building_tax_tier_2 = @[good_tax_tier_2]
good_building_tax_tier_3 = @[good_tax_tier_3]
good_building_tax_tier_4 = @[good_tax_tier_4]
good_building_tax_tier_5 = @[good_tax_tier_5]
good_building_tax_tier_6 = @[good_tax_tier_6]
good_building_tax_tier_7 = @[good_tax_tier_7]
good_building_tax_tier_8 = @[good_tax_tier_8]

# Excellent Tax
excellent_building_tax_tier_1 = @[excellent_tax_tier_1]
excellent_building_tax_tier_2 = @[excellent_tax_tier_2]
excellent_building_tax_tier_3 = @[excellent_tax_tier_3]
excellent_building_tax_tier_4 = @[excellent_tax_tier_4]
excellent_building_tax_tier_5 = @[excellent_tax_tier_5]
excellent_building_tax_tier_6 = @[excellent_tax_tier_6]
excellent_building_tax_tier_7 = @[excellent_tax_tier_7]
excellent_building_tax_tier_8 = @[excellent_tax_tier_8]

# Cultural Tradition Extra - Poor Tax
poor_building_extra_tax_tier_1 = @[poor_tax_tier_1 / 4]
poor_building_extra_tax_tier_2 = @[poor_tax_tier_2 / 4]
poor_building_extra_tax_tier_3 = @[poor_tax_tier_3 / 4]
poor_building_extra_tax_tier_4 = @[poor_tax_tier_4 / 4]
poor_building_extra_tax_tier_5 = @[poor_tax_tier_5 / 4]
poor_building_extra_tax_tier_6 = @[poor_tax_tier_6 / 4]
poor_building_extra_tax_tier_7 = @[poor_tax_tier_7 / 4]
poor_building_extra_tax_tier_8 = @[poor_tax_tier_8 / 4]

# Cultural Tradition - Super Poor Tax
super_poor_building_tax_tier_1 = @[poor_tax_tier_1 / 2]
super_poor_building_tax_tier_2 = @[poor_tax_tier_2 / 2]
super_poor_building_tax_tier_3 = @[poor_tax_tier_3 / 2]
super_poor_building_tax_tier_4 = @[poor_tax_tier_4 / 2]
super_poor_building_tax_tier_5 = @[poor_tax_tier_5 / 2]
super_poor_building_tax_tier_6 = @[poor_tax_tier_6 / 2]
super_poor_building_tax_tier_7 = @[poor_tax_tier_7 / 2]
super_poor_building_tax_tier_8 = @[poor_tax_tier_8 / 2]

# Special Mine Tax, for unique buildings and such
special_mine_building_tax_tier_1 = @[special_mine_tax_tier_1]
special_mine_building_tax_tier_2 = @[special_mine_tax_tier_2]
special_mine_building_tax_tier_3 = @[special_mine_tax_tier_3]
special_mine_building_tax_tier_4 = @[special_mine_tax_tier_4]
special_mine_building_tax_tier_5 = @[special_mine_tax_tier_5]
special_mine_building_tax_tier_6 = @[special_mine_tax_tier_6]
special_mine_building_tax_tier_7 = @[special_mine_tax_tier_7]
special_mine_building_tax_tier_8 = @[special_mine_tax_tier_8]

gold_mine_generic_building_tax_tier_1 = @[special_mine_tax_tier_1 / 2]
gold_mine_generic_building_tax_tier_2 = @[special_mine_tax_tier_2 / 2]
gold_mine_generic_building_tax_tier_3 = @[special_mine_tax_tier_3 / 2]
gold_mine_generic_building_tax_tier_4 = @[special_mine_tax_tier_4 / 2]
gold_mine_generic_building_tax_tier_5 = @[special_mine_tax_tier_5 / 2]
gold_mine_generic_building_tax_tier_6 = @[special_mine_tax_tier_6 / 2]
gold_mine_generic_building_tax_tier_7 = @[special_mine_tax_tier_7 / 2]
gold_mine_generic_building_tax_tier_8 = @[special_mine_tax_tier_8 / 2]

copper_mine_building_tax_tier_1 = @[copper_mine_tax_tier_1]
copper_mine_building_tax_tier_2 = @[copper_mine_tax_tier_2]
copper_mine_building_tax_tier_3 = @[copper_mine_tax_tier_3]
copper_mine_building_tax_tier_4 = @[copper_mine_tax_tier_4]
copper_mine_building_tax_tier_5 = @[copper_mine_tax_tier_5]
copper_mine_building_tax_tier_6 = @[copper_mine_tax_tier_6]
copper_mine_building_tax_tier_7 = @[copper_mine_tax_tier_7]
copper_mine_building_tax_tier_8 = @[copper_mine_tax_tier_8]

copper_mine_generic_building_tax_tier_1 = @[copper_mine_tax_tier_1 / 2]
copper_mine_generic_building_tax_tier_2 = @[copper_mine_tax_tier_2 / 2]
copper_mine_generic_building_tax_tier_3 = @[copper_mine_tax_tier_3 / 2]
copper_mine_generic_building_tax_tier_4 = @[copper_mine_tax_tier_4 / 2]
copper_mine_generic_building_tax_tier_5 = @[copper_mine_tax_tier_5 / 2]
copper_mine_generic_building_tax_tier_6 = @[copper_mine_tax_tier_6 / 2]
copper_mine_generic_building_tax_tier_7 = @[copper_mine_tax_tier_7 / 2]
copper_mine_generic_building_tax_tier_8 = @[copper_mine_tax_tier_8 / 2]

silver_mine_building_tax_tier_1 = @[silver_mine_tax_tier_1]
silver_mine_building_tax_tier_2 = @[silver_mine_tax_tier_2]
silver_mine_building_tax_tier_3 = @[silver_mine_tax_tier_3]
silver_mine_building_tax_tier_4 = @[silver_mine_tax_tier_4]
silver_mine_building_tax_tier_5 = @[silver_mine_tax_tier_5]
silver_mine_building_tax_tier_6 = @[silver_mine_tax_tier_6]
silver_mine_building_tax_tier_7 = @[silver_mine_tax_tier_7]
silver_mine_building_tax_tier_8 = @[silver_mine_tax_tier_8]

silver_mine_generic_building_tax_tier_1 = @[silver_mine_tax_tier_1 / 2]
silver_mine_generic_building_tax_tier_2 = @[silver_mine_tax_tier_2 / 2]
silver_mine_generic_building_tax_tier_3 = @[silver_mine_tax_tier_3 / 2]
silver_mine_generic_building_tax_tier_4 = @[silver_mine_tax_tier_4 / 2]
silver_mine_generic_building_tax_tier_5 = @[silver_mine_tax_tier_5 / 2]
silver_mine_generic_building_tax_tier_6 = @[silver_mine_tax_tier_6 / 2]
silver_mine_generic_building_tax_tier_7 = @[silver_mine_tax_tier_7 / 2]
silver_mine_generic_building_tax_tier_8 = @[silver_mine_tax_tier_8 / 2]

normal_building_maa_maintenance_tier_1 = @[normal_maa_maintenance_tier_1]
normal_building_maa_maintenance_tier_2 = @[normal_maa_maintenance_tier_2]
normal_building_maa_maintenance_tier_3 = @[normal_maa_maintenance_tier_3]
normal_building_maa_maintenance_tier_4 = @[normal_maa_maintenance_tier_4]
normal_building_maa_maintenance_tier_5 = @[normal_maa_maintenance_tier_5]
normal_building_maa_maintenance_tier_6 = @[normal_maa_maintenance_tier_6]
normal_building_maa_maintenance_tier_7 = @[normal_maa_maintenance_tier_7]
normal_building_maa_maintenance_tier_8 = @[normal_maa_maintenance_tier_8]

good_building_maa_maintenance_tier_1 = @[good_maa_maintenance_tier_1]
good_building_maa_maintenance_tier_2 = @[good_maa_maintenance_tier_2]
good_building_maa_maintenance_tier_3 = @[good_maa_maintenance_tier_3]
good_building_maa_maintenance_tier_4 = @[good_maa_maintenance_tier_4]
good_building_maa_maintenance_tier_5 = @[good_maa_maintenance_tier_5]
good_building_maa_maintenance_tier_6 = @[good_maa_maintenance_tier_6]
good_building_maa_maintenance_tier_7 = @[good_maa_maintenance_tier_7]
good_building_maa_maintenance_tier_8 = @[good_maa_maintenance_tier_8]

normal_building_development_growth_tier_1 = @[normal_development_growth_tier_1]
normal_building_development_growth_tier_2 = @[normal_development_growth_tier_2]
normal_building_development_growth_tier_3 = @[normal_development_growth_tier_3]
normal_building_development_growth_tier_4 = @[normal_development_growth_tier_4]
normal_building_development_growth_tier_5 = @[normal_development_growth_tier_5]
normal_building_development_growth_tier_6 = @[normal_development_growth_tier_6]
normal_building_development_growth_tier_7 = @[normal_development_growth_tier_7]
normal_building_development_growth_tier_8 = @[normal_development_growth_tier_8]

good_building_development_growth_tier_1 = @[good_development_growth_tier_1]
good_building_development_growth_tier_2 = @[good_development_growth_tier_2]
good_building_development_growth_tier_3 = @[good_development_growth_tier_3]
good_building_development_growth_tier_4 = @[good_development_growth_tier_4]
good_building_development_growth_tier_5 = @[good_development_growth_tier_5]
good_building_development_growth_tier_6 = @[good_development_growth_tier_6]
good_building_development_growth_tier_7 = @[good_development_growth_tier_7]
good_building_development_growth_tier_8 = @[good_development_growth_tier_8]

normal_building_development_growth_factor_tier_1 = @[normal_development_growth_factor_tier_1]
normal_building_development_growth_factor_tier_2 = @[normal_development_growth_factor_tier_2]
normal_building_development_growth_factor_tier_3 = @[normal_development_growth_factor_tier_3]
normal_building_development_growth_factor_tier_4 = @[normal_development_growth_factor_tier_4]
normal_building_development_growth_factor_tier_5 = @[normal_development_growth_factor_tier_5]
normal_building_development_growth_factor_tier_6 = @[normal_development_growth_factor_tier_6]
normal_building_development_growth_factor_tier_7 = @[normal_development_growth_factor_tier_7]
normal_building_development_growth_factor_tier_8 = @[normal_development_growth_factor_tier_8]

good_building_development_growth_factor_tier_1 = @[good_development_growth_factor_tier_1]
good_building_development_growth_factor_tier_2 = @[good_development_growth_factor_tier_2]
good_building_development_growth_factor_tier_3 = @[good_development_growth_factor_tier_3]
good_building_development_growth_factor_tier_4 = @[good_development_growth_factor_tier_4]
good_building_development_growth_factor_tier_5 = @[good_development_growth_factor_tier_5]
good_building_development_growth_factor_tier_6 = @[good_development_growth_factor_tier_6]
good_building_development_growth_factor_tier_7 = @[good_development_growth_factor_tier_7]
good_building_development_growth_factor_tier_8 = @[good_development_growth_factor_tier_8]

low_building_tax_mult_tier_1 = @[normal_tax_mult_tier_1]
low_building_tax_mult_tier_2 = @[normal_tax_mult_tier_2]
low_building_tax_mult_tier_3 = @[normal_tax_mult_tier_3]
low_building_tax_mult_tier_4 = @[normal_tax_mult_tier_4]
low_building_tax_mult_tier_5 = @[normal_tax_mult_tier_5]
low_building_tax_mult_tier_6 = @[normal_tax_mult_tier_6]
low_building_tax_mult_tier_7 = @[normal_tax_mult_tier_7]
low_building_tax_mult_tier_8 = @[normal_tax_mult_tier_8]

normal_building_tax_mult_tier_1 = @[normal_tax_mult_tier_1]
normal_building_tax_mult_tier_2 = @[normal_tax_mult_tier_2]
normal_building_tax_mult_tier_3 = @[normal_tax_mult_tier_3]
normal_building_tax_mult_tier_4 = @[normal_tax_mult_tier_4]
normal_building_tax_mult_tier_5 = @[normal_tax_mult_tier_5]
normal_building_tax_mult_tier_6 = @[normal_tax_mult_tier_6]
normal_building_tax_mult_tier_7 = @[normal_tax_mult_tier_7]
normal_building_tax_mult_tier_8 = @[normal_tax_mult_tier_8]

good_building_tax_mult_tier_1 = @[good_tax_mult_tier_1]
good_building_tax_mult_tier_2 = @[good_tax_mult_tier_2]
good_building_tax_mult_tier_3 = @[good_tax_mult_tier_3]
good_building_tax_mult_tier_4 = @[good_tax_mult_tier_4]
good_building_tax_mult_tier_5 = @[good_tax_mult_tier_5]
good_building_tax_mult_tier_6 = @[good_tax_mult_tier_6]
good_building_tax_mult_tier_7 = @[good_tax_mult_tier_7]
good_building_tax_mult_tier_8 = @[good_tax_mult_tier_8]

###############
# Levy Values #
###############

# Poor levy
poor_building_levy_tier_1 = @[poor_levy_tier_1]
poor_building_levy_tier_2 = @[poor_levy_tier_2]
poor_building_levy_tier_3 = @[poor_levy_tier_3]
poor_building_levy_tier_4 = @[poor_levy_tier_4]
poor_building_levy_tier_5 = @[poor_levy_tier_5]
poor_building_levy_tier_6 = @[poor_levy_tier_6]
poor_building_levy_tier_7 = @[poor_levy_tier_7]
poor_building_levy_tier_8 = @[poor_levy_tier_8]

# small levy
small_building_levy_tier_1 = @[small_levy_tier_1]
small_building_levy_tier_2 = @[small_levy_tier_2]
small_building_levy_tier_3 = @[small_levy_tier_3]
small_building_levy_tier_4 = @[small_levy_tier_4]
small_building_levy_tier_5 = @[small_levy_tier_5]
small_building_levy_tier_6 = @[small_levy_tier_6]
small_building_levy_tier_7 = @[small_levy_tier_7]
small_building_levy_tier_8 = @[small_levy_tier_8]

# Normal levy
normal_building_levy_tier_1 = @[normal_levy_tier_1]
normal_building_levy_tier_2 = @[normal_levy_tier_2]
normal_building_levy_tier_3 = @[normal_levy_tier_3]
normal_building_levy_tier_4 = @[normal_levy_tier_4]
normal_building_levy_tier_5 = @[normal_levy_tier_5]
normal_building_levy_tier_6 = @[normal_levy_tier_6]
normal_building_levy_tier_7 = @[normal_levy_tier_7]
normal_building_levy_tier_8 = @[normal_levy_tier_8]

# Good levy
good_building_levy_tier_1 = @[good_levy_tier_1]
good_building_levy_tier_2 = @[good_levy_tier_2]
good_building_levy_tier_3 = @[good_levy_tier_3]
good_building_levy_tier_4 = @[good_levy_tier_4]
good_building_levy_tier_5 = @[good_levy_tier_5]
good_building_levy_tier_6 = @[good_levy_tier_6]
good_building_levy_tier_7 = @[good_levy_tier_7]
good_building_levy_tier_8 = @[good_levy_tier_8]

# Excellent levy
excellent_building_levy_tier_1 = @[excellent_levy_tier_1]
excellent_building_levy_tier_2 = @[excellent_levy_tier_2]
excellent_building_levy_tier_3 = @[excellent_levy_tier_3]
excellent_building_levy_tier_4 = @[excellent_levy_tier_4]
excellent_building_levy_tier_5 = @[excellent_levy_tier_5]
excellent_building_levy_tier_6 = @[excellent_levy_tier_6]
excellent_building_levy_tier_7 = @[excellent_levy_tier_7]
excellent_building_levy_tier_8 = @[excellent_levy_tier_8]

#######################
# Supply Limit Values #
#######################

# Poor supply_limit
poor_building_supply_limit_tier_1 = @[poor_supply_limit_tier_1]
poor_building_supply_limit_tier_2 = @[poor_supply_limit_tier_2]
poor_building_supply_limit_tier_3 = @[poor_supply_limit_tier_3]
poor_building_supply_limit_tier_4 = @[poor_supply_limit_tier_4]
poor_building_supply_limit_tier_5 = @[poor_supply_limit_tier_5]
poor_building_supply_limit_tier_6 = @[poor_supply_limit_tier_6]
poor_building_supply_limit_tier_7 = @[poor_supply_limit_tier_7]
poor_building_supply_limit_tier_8 = @[poor_supply_limit_tier_8]

# small supply_limit
small_building_supply_limit_tier_1 = @[small_supply_limit_tier_1]
small_building_supply_limit_tier_2 = @[small_supply_limit_tier_2]
small_building_supply_limit_tier_3 = @[small_supply_limit_tier_3]
small_building_supply_limit_tier_4 = @[small_supply_limit_tier_4]
small_building_supply_limit_tier_5 = @[small_supply_limit_tier_5]
small_building_supply_limit_tier_6 = @[small_supply_limit_tier_6]
small_building_supply_limit_tier_7 = @[small_supply_limit_tier_7]
small_building_supply_limit_tier_8 = @[small_supply_limit_tier_8]

# Normal supply_limit
normal_building_supply_limit_tier_1 = @[normal_supply_limit_tier_1]
normal_building_supply_limit_tier_2 = @[normal_supply_limit_tier_2]
normal_building_supply_limit_tier_3 = @[normal_supply_limit_tier_3]
normal_building_supply_limit_tier_4 = @[normal_supply_limit_tier_4]
normal_building_supply_limit_tier_5 = @[normal_supply_limit_tier_5]
normal_building_supply_limit_tier_6 = @[normal_supply_limit_tier_6]
normal_building_supply_limit_tier_7 = @[normal_supply_limit_tier_7]
normal_building_supply_limit_tier_8 = @[normal_supply_limit_tier_8]

# Good supply_limit
good_building_supply_limit_tier_1 = @[good_supply_limit_tier_1]
good_building_supply_limit_tier_2 = @[good_supply_limit_tier_2]
good_building_supply_limit_tier_3 = @[good_supply_limit_tier_3]
good_building_supply_limit_tier_4 = @[good_supply_limit_tier_4]
good_building_supply_limit_tier_5 = @[good_supply_limit_tier_5]
good_building_supply_limit_tier_6 = @[good_supply_limit_tier_6]
good_building_supply_limit_tier_7 = @[good_supply_limit_tier_7]
good_building_supply_limit_tier_8 = @[good_supply_limit_tier_8]

# Excellent supply_limit
excellent_building_supply_limit_tier_1 = @[excellent_supply_limit_tier_1]
excellent_building_supply_limit_tier_2 = @[excellent_supply_limit_tier_2]
excellent_building_supply_limit_tier_3 = @[excellent_supply_limit_tier_3]
excellent_building_supply_limit_tier_4 = @[excellent_supply_limit_tier_4]
excellent_building_supply_limit_tier_5 = @[excellent_supply_limit_tier_5]
excellent_building_supply_limit_tier_6 = @[excellent_supply_limit_tier_6]
excellent_building_supply_limit_tier_7 = @[excellent_supply_limit_tier_7]
excellent_building_supply_limit_tier_8 = @[excellent_supply_limit_tier_8]

###################
# Garrison Values #
###################

# Normal garrison
normal_building_max_garrison_tier_1 = @[normal_max_garrison_tier_1]
normal_building_max_garrison_tier_2 = @[normal_max_garrison_tier_2]
normal_building_max_garrison_tier_3 = @[normal_max_garrison_tier_3]
normal_building_max_garrison_tier_4 = @[normal_max_garrison_tier_4]
normal_building_max_garrison_tier_5 = @[normal_max_garrison_tier_5]
normal_building_max_garrison_tier_6 = @[normal_max_garrison_tier_6]
normal_building_max_garrison_tier_7 = @[normal_max_garrison_tier_7]
normal_building_max_garrison_tier_8 = @[normal_max_garrison_tier_8]

# Good garrison
good_building_max_garrison_tier_1 = @[good_max_garrison_tier_1]
good_building_max_garrison_tier_2 = @[good_max_garrison_tier_2]
good_building_max_garrison_tier_3 = @[good_max_garrison_tier_3]
good_building_max_garrison_tier_4 = @[good_max_garrison_tier_4]
good_building_max_garrison_tier_5 = @[good_max_garrison_tier_5]
good_building_max_garrison_tier_6 = @[good_max_garrison_tier_6]
good_building_max_garrison_tier_7 = @[good_max_garrison_tier_7]
good_building_max_garrison_tier_8 = @[good_max_garrison_tier_8]

######################
# Build Speed Values #
######################

# Normal build_speed
normal_building_build_speed_tier_1 = @[normal_build_speed_tier_1]
normal_building_build_speed_tier_2 = @[normal_build_speed_tier_2]
normal_building_build_speed_tier_3 = @[normal_build_speed_tier_3]
normal_building_build_speed_tier_4 = @[normal_build_speed_tier_4]
normal_building_build_speed_tier_5 = @[normal_build_speed_tier_5]
normal_building_build_speed_tier_6 = @[normal_build_speed_tier_6]
normal_building_build_speed_tier_7 = @[normal_build_speed_tier_7]
normal_building_build_speed_tier_8 = @[normal_build_speed_tier_8]

# Good build_speed
good_building_build_speed_tier_1 = @[good_build_speed_tier_1]
good_building_build_speed_tier_2 = @[good_build_speed_tier_2]
good_building_build_speed_tier_3 = @[good_build_speed_tier_3]
good_building_build_speed_tier_4 = @[good_build_speed_tier_4]
good_building_build_speed_tier_5 = @[good_build_speed_tier_5]
good_building_build_speed_tier_6 = @[good_build_speed_tier_6]
good_building_build_speed_tier_7 = @[good_build_speed_tier_7]
good_building_build_speed_tier_8 = @[good_build_speed_tier_8]

# Great build_speed
great_building_build_speed_tier_1 = @[great_build_speed_tier_1]
great_building_build_speed_tier_2 = @[great_build_speed_tier_2]
great_building_build_speed_tier_3 = @[great_build_speed_tier_3]
great_building_build_speed_tier_4 = @[great_build_speed_tier_4]
great_building_build_speed_tier_5 = @[great_build_speed_tier_5]
great_building_build_speed_tier_6 = @[great_build_speed_tier_6]
great_building_build_speed_tier_7 = @[great_build_speed_tier_7]
great_building_build_speed_tier_8 = @[great_build_speed_tier_8]

#####################
# Fort Level Values #
#####################

# Normal fort_level
normal_building_fort_level_tier_1 = @[normal_fort_level_tier_1]
normal_building_fort_level_tier_2 = @[normal_fort_level_tier_2]
normal_building_fort_level_tier_3 = @[normal_fort_level_tier_3]
normal_building_fort_level_tier_4 = @[normal_fort_level_tier_4]
normal_building_fort_level_tier_5 = @[normal_fort_level_tier_5]
normal_building_fort_level_tier_6 = @[normal_fort_level_tier_6]
normal_building_fort_level_tier_7 = @[normal_fort_level_tier_7]
normal_building_fort_level_tier_8 = @[normal_fort_level_tier_8]

# Good fort_level
good_building_fort_level_tier_1 = @[good_fort_level_tier_1]
good_building_fort_level_tier_2 = @[good_fort_level_tier_2]
good_building_fort_level_tier_3 = @[good_fort_level_tier_3]
good_building_fort_level_tier_4 = @[good_fort_level_tier_4]
good_building_fort_level_tier_5 = @[good_fort_level_tier_5]
good_building_fort_level_tier_6 = @[good_fort_level_tier_6]
good_building_fort_level_tier_7 = @[good_fort_level_tier_7]
good_building_fort_level_tier_8 = @[good_fort_level_tier_8]

# Great fort_level
great_building_fort_level_tier_1 = @[great_fort_level_tier_1]
great_building_fort_level_tier_2 = @[great_fort_level_tier_2]
great_building_fort_level_tier_3 = @[great_fort_level_tier_3]
great_building_fort_level_tier_4 = @[great_fort_level_tier_4]
great_building_fort_level_tier_5 = @[great_fort_level_tier_5]
great_building_fort_level_tier_6 = @[great_fort_level_tier_6]
great_building_fort_level_tier_7 = @[great_fort_level_tier_7]
great_building_fort_level_tier_8 = @[great_fort_level_tier_8]

#############
# Advantage #
#############

# Normal advantage
normal_building_advantage_tier_1 = @[normal_advantage_tier_1]
normal_building_advantage_tier_2 = @[normal_advantage_tier_2]
normal_building_advantage_tier_3 = @[normal_advantage_tier_3]
normal_building_advantage_tier_4 = @[normal_advantage_tier_4]
normal_building_advantage_tier_5 = @[normal_advantage_tier_5]
normal_building_advantage_tier_6 = @[normal_advantage_tier_6]
normal_building_advantage_tier_7 = @[normal_advantage_tier_7]
normal_building_advantage_tier_8 = @[normal_advantage_tier_8]

# Good advantage
good_building_advantage_tier_1 = @[good_advantage_tier_1]
good_building_advantage_tier_2 = @[good_advantage_tier_2]
good_building_advantage_tier_3 = @[good_advantage_tier_3]
good_building_advantage_tier_4 = @[good_advantage_tier_4]
good_building_advantage_tier_5 = @[good_advantage_tier_5]
good_building_advantage_tier_6 = @[good_advantage_tier_6]
good_building_advantage_tier_7 = @[good_advantage_tier_7]
good_building_advantage_tier_8 = @[good_advantage_tier_8]

#############################
# Construction Speed Values #
#############################

very_quick_construction_time = @[very_quick_construction_time_base]
quick_construction_time = @[quick_construction_time_base]
standard_construction_time = @[standard_construction_time_base]
slow_construction_time = @[slow_construction_time_base]
very_slow_construction_time = @[very_slow_construction_time_base]


# Chance of filling one more building slot. Used when starting from a bookmark
# root = province
# scope:county = county
# scope:holder = holder
fill_building_slot_chance = {
	value = 240
	if = {
		limit = {
			current_date < 1066.1.1
		}
		subtract = 170
	}
	if = {
		limit = {
			has_building_or_higher = tribe_01
		}
		subtract = 15
	}
	if = {
		limit = {
			has_special_building = yes
			NOR = {
				has_building_or_higher = hadrians_wall_01
				has_building_or_higher = offas_dyke_01
				has_building_or_higher = stonehenge_01
				has_building_or_higher = the_pyramids_01
				has_building_or_higher = the_colosseum_01
				has_building_or_higher = alhambra_01
			}
			num_buildings <= 1
		}
		add = 35
	}
	add = {
		value = county.development_level
		multiply = 1.5
		max = 35
	}
	multiply = {
		value = county.development_rate_modifier
		max = 1.5
		min = 0.85
	}
	if = {
		limit = {
			num_buildings >= 3
		}
		subtract = {
			value = 50
			multiply = num_buildings # Note that the holding itself is a building
		}
	}
	if = {
		limit = {
			free_building_slots <= 1
		}
		subtract = 1000
	}
}

# Chance of upgrading one more building. Used when starting from a bookmark. Done after filling out building slots
upgrade_building_chance = {
	value = 150
	if = { # Very few upgraded buildings in 867
		limit = {
			current_date < 1066.1.1
		}
		subtract = 145
	}
	if = {
		limit = {
			has_building_or_higher = tribe_01
		}
		subtract = 15
	}
	add = {
		value = county.development_level
		multiply = 1.5
		max = 35
	}
	multiply = {
		value = county.development_rate_modifier
		max = 1.5
		min = 0.85
	}
	if = {
		limit = {
			combined_building_level >= 3
		}
		subtract = {
			value = 50
			multiply = combined_building_level
		}
	}
}

#################################
# Garrison Reinforcement Values #
#################################

building_garrison_reinforcement_factor_tier_1 = @[garrison_reinforcement_factor_tier_1]
building_garrison_reinforcement_factor_tier_2 = @[garrison_reinforcement_factor_tier_2]
building_garrison_reinforcement_factor_tier_3 = @[garrison_reinforcement_factor_tier_3]
building_garrison_reinforcement_factor_tier_4 = @[garrison_reinforcement_factor_tier_4]
building_garrison_reinforcement_factor_tier_5 = @[garrison_reinforcement_factor_tier_5]
building_garrison_reinforcement_factor_tier_6 = @[garrison_reinforcement_factor_tier_6]
building_garrison_reinforcement_factor_tier_7 = @[garrison_reinforcement_factor_tier_7]
building_garrison_reinforcement_factor_tier_8 = @[garrison_reinforcement_factor_tier_8]

