164 lines
5.6 KiB
Text
164 lines
5.6 KiB
Text
traveler_rank_up_1_threshold = 10
|
|
traveler_rank_up_2_threshold = 20
|
|
traveler_rank_up_3_threshold = 30
|
|
traveler_rank_up_4_threshold = 40
|
|
traveler_rank_up_5_threshold = 50
|
|
traveler_rank_up_6_threshold = 60
|
|
traveler_rank_up_7_threshold = 70
|
|
traveler_rank_up_8_threshold = 80
|
|
traveler_rank_up_9_threshold = 90
|
|
traveler_rank_up_10_threshold = 100
|
|
|
|
# Read time constants
|
|
@hills_danger_value = 45
|
|
@mountains_danger_value = 65
|
|
@desert_danger_value = 50
|
|
@desert_mountains_danger_value = 65
|
|
@jungle_danger_value = 65
|
|
@forest_danger_value = 45
|
|
@taiga_danger_value = 55
|
|
@wetlands_danger_value = 65
|
|
@steppe_danger_value = 50
|
|
@floodplains_danger_value = 35
|
|
@drylands_danger_value = 35
|
|
@epidemic_danger_value = 80
|
|
@high_reduction_constant = -1
|
|
@medium_reduction_constant = @[2 / 3 * -1]
|
|
@low_reduction_constant = @[1 / 3 * -1]
|
|
|
|
# Script values other files can reference
|
|
hills_danger_value = @hills_danger_value
|
|
mountains_danger_value = @mountains_danger_value
|
|
desert_danger_value = @desert_danger_value
|
|
desert_mountains_danger_value = @desert_mountains_danger_value
|
|
jungle_danger_value = @jungle_danger_value
|
|
forest_danger_value = @forest_danger_value
|
|
taiga_danger_value = @taiga_danger_value
|
|
wetlands_danger_value = @wetlands_danger_value
|
|
steppe_danger_value = @steppe_danger_value
|
|
floodplains_danger_value = @floodplains_danger_value
|
|
drylands_danger_value = @drylands_danger_value
|
|
epidemic_danger_value = @epidemic_danger_value
|
|
|
|
ocean_danger_value = 75
|
|
coastal_sea_danger_value = 50
|
|
low_sea_danger_reduction = -25
|
|
medium_sea_danger_reduction = -45
|
|
|
|
hills_high_danger_reduction = @[hills_danger_value * high_reduction_constant]
|
|
hills_medium_danger_reduction = @[hills_danger_value * medium_reduction_constant -2]
|
|
hills_low_danger_reduction = @[hills_danger_value * low_reduction_constant +1]
|
|
|
|
mountains_high_danger_reduction = @[mountains_danger_value * high_reduction_constant]
|
|
mountains_medium_danger_reduction = @[mountains_danger_value * medium_reduction_constant +1]
|
|
mountains_low_danger_reduction = @[mountains_danger_value * low_reduction_constant -2]
|
|
|
|
desert_high_danger_reduction = @[desert_danger_value * high_reduction_constant]
|
|
desert_medium_danger_reduction = @[desert_danger_value * medium_reduction_constant +1]
|
|
desert_low_danger_reduction = @[desert_danger_value * low_reduction_constant -2]
|
|
|
|
|
|
desert_mountains_high_danger_reduction = @[desert_mountains_danger_value * high_reduction_constant]
|
|
desert_mountains_medium_danger_reduction = @[desert_mountains_danger_value * medium_reduction_constant +1]
|
|
desert_mountains_low_danger_reduction = @[desert_mountains_danger_value * low_reduction_constant -2]
|
|
|
|
jungle_high_danger_reduction = @[jungle_danger_value * high_reduction_constant]
|
|
jungle_medium_danger_reduction = @[jungle_danger_value * medium_reduction_constant +1]
|
|
jungle_low_danger_reduction = @[jungle_danger_value * low_reduction_constant -2]
|
|
|
|
forest_high_danger_reduction = @[forest_danger_value * high_reduction_constant]
|
|
forest_medium_danger_reduction = @[forest_danger_value * medium_reduction_constant -2]
|
|
forest_low_danger_reduction = @[forest_danger_value * low_reduction_constant +1]
|
|
|
|
taiga_high_danger_reduction = @[taiga_danger_value * high_reduction_constant]
|
|
taiga_medium_danger_reduction = @[taiga_danger_value * medium_reduction_constant -1]
|
|
taiga_low_danger_reduction = @[taiga_danger_value * low_reduction_constant -1]
|
|
|
|
wetlands_high_danger_reduction = @[wetlands_danger_value * high_reduction_constant]
|
|
wetlands_medium_danger_reduction = @[wetlands_danger_value * medium_reduction_constant +1]
|
|
wetlands_low_danger_reduction = @[wetlands_danger_value * low_reduction_constant -2]
|
|
|
|
steppe_high_danger_reduction = @[steppe_danger_value * high_reduction_constant]
|
|
steppe_medium_danger_reduction = @[steppe_danger_value * medium_reduction_constant +1]
|
|
steppe_low_danger_reduction = @[steppe_danger_value * low_reduction_constant -2]
|
|
|
|
floodplains_high_danger_reduction = @[floodplains_danger_value * high_reduction_constant]
|
|
floodplains_medium_danger_reduction = @[floodplains_danger_value * medium_reduction_constant +1]
|
|
floodplains_low_danger_reduction = @[floodplains_danger_value * low_reduction_constant -2]
|
|
|
|
drylands_high_danger_reduction = @[drylands_danger_value * high_reduction_constant]
|
|
drylands_medium_danger_reduction = @[drylands_danger_value * medium_reduction_constant +1]
|
|
drylands_low_danger_reduction = @[drylands_danger_value * low_reduction_constant -2]
|
|
|
|
epidemic_high_danger_reduction = @[epidemic_danger_value * high_reduction_constant]
|
|
epidemic_medium_danger_reduction = @[epidemic_danger_value * medium_reduction_constant +1]
|
|
epidemic_low_danger_reduction = @[epidemic_danger_value * low_reduction_constant -2]
|
|
|
|
# Travel Option Cost Scripted Values
|
|
low_travel_option_base_cost = 2
|
|
medium_travel_option_base_cost = 5
|
|
high_travel_option_base_cost = 10
|
|
|
|
tier_multiplier = {
|
|
value = primary_title.tier
|
|
subtract = 1
|
|
min = 1
|
|
}
|
|
|
|
very_low_travel_option_cost = {
|
|
value = low_travel_option_cost
|
|
multiply = 0.5
|
|
}
|
|
low_travel_option_cost = {
|
|
value = low_travel_option_base_cost
|
|
multiply = tier_multiplier
|
|
if = {
|
|
limit = {
|
|
has_perk = well_prepared_perk
|
|
}
|
|
multiply = 0.75
|
|
}
|
|
}
|
|
medium_travel_option_cost = {
|
|
value = medium_travel_option_base_cost
|
|
multiply = tier_multiplier
|
|
if = {
|
|
limit = {
|
|
has_perk = well_prepared_perk
|
|
}
|
|
multiply = 0.75
|
|
}
|
|
}
|
|
high_travel_option_cost = {
|
|
value = high_travel_option_base_cost
|
|
multiply = tier_multiplier
|
|
if = {
|
|
limit = {
|
|
has_perk = well_prepared_perk
|
|
}
|
|
multiply = 0.75
|
|
}
|
|
}
|
|
|
|
struggle_low_danger_impact = {
|
|
value = 15
|
|
}
|
|
|
|
struggle_medium_danger_impact = {
|
|
value = 30
|
|
}
|
|
|
|
struggle_high_danger_impact = {
|
|
value = 50
|
|
}
|
|
|
|
food_poison_value = {
|
|
value = 15
|
|
subtract = health
|
|
if = {
|
|
limit = {
|
|
has_perk = iron_constitution_perk
|
|
}
|
|
add = -5
|
|
}
|
|
}
|