script values

This commit is contained in:
Fishedotjpg 2026-11-18 13:42:11 +00:00
parent 9cfa9c0403
commit eaf472631b
12 changed files with 2553 additions and 2097 deletions

View file

@ -46,7 +46,7 @@ tiny_gold_max_value = {
}
}
}
minor_gold_min_value = 15
minor_gold_min_value = 10
minor_gold_max_value_static = 150
minor_gold_max_value = {
value = minor_gold_max_value_static
@ -79,7 +79,7 @@ minor_gold_max_value = {
}
}
}
medium_gold_min_value = 50
medium_gold_min_value = 20
medium_gold_max_value_static = 300
medium_gold_max_value = {
value = medium_gold_max_value_static
@ -112,7 +112,7 @@ medium_gold_max_value = {
}
}
}
major_gold_min_value = 75
major_gold_min_value = 30
major_gold_max_value_static = 500
major_gold_max_value = {
value = major_gold_max_value_static
@ -145,7 +145,7 @@ major_gold_max_value = {
}
}
}
massive_gold_min_value = 100
massive_gold_min_value = 40
massive_gold_max_value_static = 750
massive_gold_max_value = {
value = massive_gold_max_value_static
@ -178,7 +178,7 @@ massive_gold_max_value = {
}
}
}
monumental_gold_min_value = 200
monumental_gold_min_value = 80
monumental_gold_max_value_static = 1500
monumental_gold_max_value = {
value = monumental_gold_max_value_static
@ -661,6 +661,56 @@ highest_skill_value = {
else = { add = learning }
}
diplomacy_double_value = {
value = diplomacy
multiply = 2
}
martial_double_value = {
value = martial
multiply = 2
}
stewardship_double_value = {
value = stewardship
multiply = 2
}
intrigue_double_value = {
value = intrigue
multiply = 2
}
learning_double_value = {
value = learning
multiply = 2
}
prowess_double_value = {
value = prowess
multiply = 2
}
diplomacy_half_value = {
value = diplomacy
divide = 2
}
martial_half_value = {
value = martial
divide = 2
}
stewardship_half_value = {
value = stewardship
divide = 2
}
intrigue_half_value = {
value = intrigue
divide = 2
}
learning_half_value = {
value = learning
divide = 2
}
prowess_half_value = {
value = learning
divide = 2
}
#Piety ratings
low_negative_piety_level = -1
low_piety_level = 1
@ -1490,46 +1540,46 @@ medium_negative_attraction = -20
high_negative_attraction = -30
#DEVELOPMENT LEVEL VALUES
terrible_development_level = 10
bad_development_level = 20
medium_development_level = 40
good_development_level = 60
great_development_level = 80
max_development_level = 100
#PROSPERITY LEVEL VALUES
terrible_prosperity_level = 10
bad_prosperity_level = 20
medium_prosperity_level = 40
good_prosperity_level = 60
great_prosperity_level = 80
max_prosperity_level = 100
#DEVELOPMENT CHANGE VALUES
minor_development_level_loss = -10
medium_development_level_loss = -20
major_development_level_loss = -30
minor_development_level_gain = 10
medium_development_level_gain = 20
major_development_level_gain = 30
#PROSPERITY CHANGE VALUES
minor_prosperity_level_loss = -10
medium_prosperity_level_loss = -20
major_prosperity_level_loss = -30
minor_prosperity_level_gain = 10
medium_prosperity_level_gain = 20
major_prosperity_level_gain = 30
#DEVELOPMENT PROGRESS VALUES
minimal_development_progress_loss = -10
minor_development_progress_loss = -20
medium_development_progress_loss = -40
major_development_progress_loss = -80
massive_development_progress_loss = -100
minimal_development_progress_gain = 10
minor_development_progress_gain = 20
medium_development_progress_gain = 40
major_development_progress_gain = 80
massive_development_progress_ = 100
#PROSPERITY PROGRESS VALUES
minimal_prosperity_progress_loss = -10
minor_prosperity_progress_loss = -20
medium_prosperity_progress_loss = -40
major_prosperity_progress_loss = -80
massive_prosperity_progress_loss = -100
minimal_prosperity_progress_gain = 10
minor_prosperity_progress_gain = 20
medium_prosperity_progress_gain = 40
major_prosperity_progress_gain = 80
massive_prosperity_progress_gain = 100
#DEVELOPMENT GROWTH VALUES
tiny_development_growth_gain = 0.05
small_development_growth_gain = 0.1
medium_development_growth_gain = 0.2
large_development_growth_gain = 0.3
very_large_development_growth_gain = 0.5
#PROSPERITY GROWTH VALUES
tiny_prosperity_growth_gain = 0.05
small_prosperity_growth_gain = 0.1
medium_prosperity_growth_gain = 0.2
large_prosperity_growth_gain = 0.3
very_large_prosperity_growth_gain = 0.5
tiny_development_growth_loss = -0.1
small_development_growth_loss = -0.2
medium_development_growth_loss = -0.3
large_development_growth_loss = -0.5
very_large_development_growth_loss = -0.8
tiny_prosperity_growth_loss = -0.1
small_prosperity_growth_loss = -0.2
medium_prosperity_growth_loss = -0.3
large_prosperity_growth_loss = -0.5
very_large_prosperity_growth_loss = -0.8
#HEALTH
excellent_health = 7
@ -1690,10 +1740,10 @@ send_gift_opinion = {
add = {
if = {
limit = {
scope:actor.diplomacy > 0
scope:puppet_or_actor.diplomacy > 0
}
add = {
value = scope:actor.diplomacy
value = scope:puppet_or_actor.diplomacy
multiply = 3
}
}
@ -1708,19 +1758,19 @@ send_gift_opinion = {
}
if = {
limit = {
scope:recipient.liege = scope:actor
scope:recipient.liege = scope:puppet_or_actor
}
divide = 1.5
}
if = {
limit = {
scope:recipient = scope:actor.faith.religious_head
scope:recipient = scope:puppet_or_actor.faith.religious_head
}
divide = 3
}
if = {
limit = {
scope:actor.culture ?= {
scope:puppet_or_actor.culture ?= {
has_innovation = fp3_innovation_fritware
}
}
@ -1730,7 +1780,7 @@ send_gift_opinion = {
}
if = {
limit = {
scope:actor.culture = { has_cultural_parameter = more_gift_opinion }
scope:puppet_or_actor.culture = { has_cultural_parameter = more_gift_opinion }
}
multiply = 1.2
}
@ -1751,7 +1801,7 @@ send_gift_opinion = {
limit = {
scope:actor = {
any_sub_realm_barony = {
county.holder = scope:actor
county.holder = scope:puppet_or_actor
title_province = {
has_building_or_higher = dragon_kiln_01
}
@ -1762,9 +1812,9 @@ send_gift_opinion = {
}
if = {
limit = {
scope:actor = { has_perk = thoughtful_perk }
scope:puppet_or_actor = { has_perk = thoughtful_perk }
}
multiply = 2
multiply = 1.25
}
if = {
limit = {
@ -1772,7 +1822,7 @@ send_gift_opinion = {
has_personal_tenet_flag = tenet_simony_personal_gifts
}
}
multiply = 2
multiply = 1.25
}
}
@ -1793,6 +1843,16 @@ gift_artifact_opinion = {
add = 50
}
else = { add = 100 }
# Menagerie Creatures are special
if = {
limit = {
OR = {
artifact_type = creature
has_variable = was_creature_artifact
}
}
add = 25
}
if = { # AI Greed
limit = { scope:recipient.ai_greed > 0 }
multiply = { # Up to *2
@ -1848,11 +1908,24 @@ gift_artifact_opinion = {
can_benefit_from_artifact = scope:target
}
}
# Creature artifacts always nice because they become Court Artifacts upon gifting
scope:target = {
NOR = {
artifact_type = creature
has_variable = was_creature_artifact
}
}
}
divide = 10 # 1/10 for useless artifacts
}
else_if = {
limit = {
scope:target = {
NOR = {
artifact_type = creature
has_variable = was_creature_artifact
}
}
scope:recipient = {
OR = {
NOT = { can_equip_artifact = scope:target }
@ -2094,6 +2167,7 @@ divorce_cost = 100
#PERKS
sound_foundations_max = 5
embassies_max = 5
merchant_embassies_max = 5
friendly_counsel_max = 5
decentralized_rule_max = 5
confidants_max = 5