スクリプト値このバージョンで変更
union_member_opinion_on_centralization
市民階級else if
聖職者階級else if
貴族階級else if定義in_game/common/script_values/io_policy.txt:944
945if = {
946limit = {
947exists = scope:recipient
948scope:recipient.modifier:union_integration_level > 0
}
950subtract = {
951desc = "UNION_CURRENT_CENTRALIZATION_LEVEL" 現在の中央集権レベル
952value = scope:recipient.modifier:union_integration_level
953multiply = 25
}
}
956if = {
957limit = {
958exists = scope:recipient
}
963add = {
964desc = "VOTE_IS_SENIOR_PARTNER" Recipientの同君上位国である
965value = 1000
}
}
968else_if = {
969limit = {
971exists = scope:senior_partner_scope
}
974if = {
975limit = {
976receiving_scripted_relation = {
977type = relation_type:rein_in_junior_diplomacy
978target = scope:senior_partner_scope
}
}
981subtract = {
982desc = "UNION_SENIOR_PARTNER_REINS_IN_OUR_DIPLOMACY" Senior partnerはわが国の外交を抑制している!
983value = 75
}
}
987add = {
988desc = "UNION_OPINION_OF_SENIOR_PARTNER" Senior partnerの評価
989value = "root.opinion(scope:senior_partner_scope)"
990divide = 5
}
993add = {
994desc = "UNION_DIPLOMATIC_REPUTATION_OF_SENIOR_PARTNER" Senior partnerの外交評判
995value = scope:senior_partner_scope.modifier:diplomatic_reputation
996multiply = 3
}
999add = {
1000desc = "UNION_ECONOMICAL_BASE_COMPARED_TO_SENIOR_PARTNER" Senior partnerと比較した経済基盤
1001value = scope:senior_partner_scope.country_economical_base
1002subtract = root.country_economical_base
}
1005if = {
1006limit = {
1007exists = scope:senior_partner_scope.culture
1008exists = root.culture
1009scope:senior_partner_scope.culture != root.culture
}
1011add = {
1012desc = "UNION_CULTURAL_INFLUENCE_VS_TRADITION" Senior partnerの文化影響力 vs 同君下位国の文化伝統力
1013save_temporary_value_as = {
1014name = cultural_difference
1015value = {
1016value = root.culture.cultural_tradition
1017subtract = scope:senior_partner_scope.culture.cultural_influence
}
}
1020value = scope:cultural_difference
1021if = {
1022limit = {
1022scope:cultural_difference > 0
}
1023if = {
1024limit = {
1024root.culture ?= {
1024cultural_view = {
1024target = scope:senior_partner_scope.culture
1024value >= kindred
}
}
}
1025multiply = 1.5
}
1027else_if = {
1028limit = {
1028root.culture ?= {
1028cultural_view = {
1028target = scope:senior_partner_scope.culture
1028value >= positive
}
}
}
1029multiply = 1.25
}
1031else_if = {
1032limit = {
1032root.culture ?= {
1032cultural_view = {
1032target = scope:senior_partner_scope.culture
1032value >= neutral
}
}
}
1033multiply = 1.05
}
1035else_if = {
1036limit = {
1036root.culture ?= {
1036cultural_view = {
1036target = scope:senior_partner_scope.culture
1036value >= negative
}
}
}
1037multiply = 0.5
}
1039else = {
1040multiply = 0
}
}
1043else = {
1044if = {
1045limit = {
1045root.culture ?= {
1045cultural_view = {
1045target = scope:senior_partner_scope.culture
1045value >= kindred
}
}
}
1046multiply = 0
}
1048else_if = {
1049limit = {
1049root.culture ?= {
1049cultural_view = {
1049target = scope:senior_partner_scope.culture
1049value >= positive
}
}
}
1050multiply = 0.5
}
1052else_if = {
1053limit = {
1053root.culture ?= {
1053cultural_view = {
1053target = scope:senior_partner_scope.culture
1053value >= neutral
}
}
}
1054multiply = 1.05
}
1056else_if = {
1057limit = {
1057root.culture ?= {
1057cultural_view = {
1057target = scope:senior_partner_scope.culture
1057value >= negative
}
}
}
1058multiply = 1.25
}
1060else = {
1061multiply = 1.5
}
}
1064min = -100
1065max = 25
}
}
1068else = {
1069add = {
1070desc = "DIPLOREASON_SAME_CULTURE" 同一の文化
1071value = 25
}
}
1075if = {
1076limit = {
1077exists = scope:senior_partner_scope.religion
1078exists = root.religion
1079scope:senior_partner_scope.religion != root.religion
}
1081subtract = {
1082desc = "DIPLOREASON_DIFFERENT_RELIGION" 異なる宗教
1083if = {
1084limit = {
1084root.religion = {
1084religious_view = {
1084target = scope:senior_partner_scope.religion
1084value >= kindred
}
}
}
1085value = 25
}
1087else_if = {
1088limit = {
1088root.religion = {
1088religious_view = {
1088target = scope:senior_partner_scope.religion
1088value >= positive
}
}
}
1089value = 50
}
1091else_if = {
1092limit = {
1092root.religion = {
1092religious_view = {
1092target = scope:senior_partner_scope.religion
1092value >= neutral
}
}
}
1094value = 100
}
1096else_if = {
1097limit = {
1097root.religion = {
1097religious_view = {
1097target = scope:senior_partner_scope.religion
1097value >= negative
}
}
}
1099value = 500
}
1101else = {
1103value = 10000
}
}
}
1109if = {
1111add = {
1112desc = "UNION_NOBLES_OPINION_OF_SENIOR_PARTNER" 貴族のSenior partnerに対する評価
1113value = "root.estate_opinion(estate_type:nobles_estate|scope:senior_partner_scope)"
1115if = {
1115limit = {
1115root.estate_satisfaction:nobles_estate > 0.75
}
1115multiply = 1.3
}
1116else_if = {
1116limit = {
1116root.estate_satisfaction:nobles_estate > 0.5
}
1116multiply = 1.2
}
1117else_if = {
1117limit = {
1117root.estate_satisfaction:nobles_estate > 0.3
}
1117multiply = 1.1
}
1118else = {
1118multiply = 0.8
}
1119multiply = {
1119value = "root.estate_power(estate_type:nobles_estate)"
1119add = 1
}
}
}
1123if = {
1125add = {
1126desc = "UNION_BURGHERS_OPINION_OF_SENIOR_PARTNER" 市民のSenior partnerに対する評価
1127value = "root.estate_opinion(estate_type:burghers_estate|scope:senior_partner_scope)"
1129if = {
1129limit = {
1129root.estate_satisfaction:burghers_estate > 0.75
}
1129multiply = 1.3
}
1130else_if = {
1130limit = {
1130root.estate_satisfaction:burghers_estate > 0.5
}
1130multiply = 1.2
}
1131else_if = {
1131limit = {
1131root.estate_satisfaction:burghers_estate > 0.3
}
1131multiply = 1.1
}
1132else = {
1132multiply = 0.8
}
1133multiply = {
1133value = "root.estate_power(estate_type:burghers_estate)"
1133add = 1
}
}
}
1137if = {
1139add = {
1140desc = "UNION_CLERGY_OPINION_OF_SENIOR_PARTNER" 聖職者のSenior partnerに対する評価
1141value = "root.estate_opinion(estate_type:clergy_estate|scope:senior_partner_scope)"
1143if = {
1143limit = {
1143root.estate_satisfaction:clergy_estate > 0.75
}
1143multiply = 1.3
}
1144else_if = {
1144limit = {
1144root.estate_satisfaction:clergy_estate > 0.5
}
1144multiply = 1.2
}
1145else_if = {
1145limit = {
1145root.estate_satisfaction:clergy_estate > 0.3
}
1145multiply = 1.1
}
1146else = {
1146multiply = 0.8
}
1147multiply = {
1147value = "root.estate_power(estate_type:clergy_estate)"
1147add = 1
}
}
}
}