diff --git a/common/coat_of_arms/coat_of_arms/NEOW_dynasties.txt b/common/coat_of_arms/coat_of_arms/NEOW_dynasties.txt index 27c47b578..a7832bc4f 100644 --- a/common/coat_of_arms/coat_of_arms/NEOW_dynasties.txt +++ b/common/coat_of_arms/coat_of_arms/NEOW_dynasties.txt @@ -10,6 +10,64 @@ } +thrax_dynasty={ + pattern="pattern_solid.dds" + color1=black + color2=white + color3=black + colored_emblem={ + color1=yellow + color2=brown + color3=black + texture="ce_basket.dds" + instance={ + position={ 0.500000 0.480000 } + scale={ 0.550000 0.550000 } + depth=1.010000 + } + + } + + colored_emblem={ + color1=white + texture="NEOW_ce_makedonstars.dds" + } + +} + + +fife_dynasty={ + pattern="pattern_solid.dds" + color1=green_light + color2=white + color3=black + colored_emblem={ + color1=yellow + color2=yellow + texture="ce_unicorn.dds" + instance={ + position={ 0.370000 0.520000 } + scale={ -0.800000 0.800000 } + } + + } + + colored_emblem={ + color1=yellow + color2=yellow + texture="NEOW_ce_hammer.dds" + instance={ + position={ 0.730000 0.420000 } + scale={ 0.640000 0.640000 } + depth=1.010000 + rotation=27 + } + + } + +} + + pherae_dynasty={ pattern="pattern_solid.dds" color1=white diff --git a/common/defines/00_defines.txt b/common/defines/00_defines.txt index e9f15e66c..cccf0bc61 100644 --- a/common/defines/00_defines.txt +++ b/common/defines/00_defines.txt @@ -831,6 +831,7 @@ NRite = { RITE_CREATION_FERVOR_DISCOUNT_MAX = 50 # What percentage does the discount cap out at? With these numbers, 0-50 fervor means a 50% discount. Above 50 means between 0% and 50% discount RITE_CREATION_DIVERGENCE_FAITH_THRESHOLD = 100 # when creating a Rite, divergence values at or over this threshold will result in a Faith being created instead of a Rite RITE_CREATION_PIETY_COST = 1.0 # Fixed cost how much piety it costs to branch off a Faith with new Rite + RITE_CREATION_DESCRIPTION_MAX_LENGTH = 400 # Max characters of a Rite/Faith description written in the creation window. Auto-generated descriptions add tenet sentences until this is reached RITE_DIVERGENCE_HERETICAL_THRESHOLD = 65 # Divergence above which a Rite is considered heretical RITE_DIVERGENCE_HOSTILITY_THRESHOLD = 1 # Divergence below that will lower faith hostility by 1 level RITE_DIVERGENCE_GRACE_THRESHOLD = 0 # rites below this divergence will not add to the yearly fervor decrease diff --git a/common/dna_data/NEOW_dna.txt b/common/dna_data/NEOW_dna.txt index 1628d47b5..20474dece 100644 --- a/common/dna_data/NEOW_dna.txt +++ b/common/dna_data/NEOW_dna.txt @@ -112,6 +112,239 @@ enabled=yes } +dna_zarg={ + portrait_info = { + genes={ hair_color={ 14 242 124 74 } + skin_color={ 39 38 85 69 } + eye_color={ 218 146 218 146 } + gene_chin_forward={ "chin_forward_pos" 137 "chin_forward_pos" 137 } + gene_chin_height={ "chin_height_pos" 131 "chin_height_pos" 131 } + gene_chin_width={ "chin_width_pos" 134 "chin_width_pos" 134 } + gene_eye_angle={ "eye_angle_neg" 126 "eye_angle_neg" 126 } + gene_eye_depth={ "eye_depth_neg" 123 "eye_depth_neg" 123 } + gene_eye_height={ "eye_height_neg" 119 "eye_height_neg" 119 } + gene_eye_distance={ "eye_distance_neg" 125 "eye_distance_neg" 125 } + gene_eye_shut={ "eye_shut_pos" 142 "eye_shut_pos" 142 } + gene_forehead_angle={ "forehead_angle_neg" 114 "forehead_angle_neg" 114 } + gene_forehead_brow_height={ "forehead_brow_height_neg" 115 "forehead_brow_height_neg" 115 } + gene_forehead_roundness={ "forehead_roundness_pos" 177 "forehead_roundness_pos" 177 } + gene_forehead_width={ "forehead_width_neg" 124 "forehead_width_neg" 124 } + gene_forehead_height={ "forehead_height_neg" 76 "forehead_height_neg" 76 } + gene_head_height={ "head_height_neg" 132 "head_height_neg" 111 } + gene_head_width={ "head_width_pos" 131 "head_width_pos" 143 } + gene_head_profile={ "head_profile_pos" 135 "head_profile_pos" 156 } + gene_head_top_height={ "head_top_height_neg" 98 "head_top_height_neg" 102 } + gene_head_top_width={ "head_top_width_pos" 124 "head_top_width_pos" 131 } + gene_jaw_angle={ "jaw_angle_neg" 108 "jaw_angle_neg" 108 } + gene_jaw_forward={ "jaw_forward_pos" 137 "jaw_forward_pos" 137 } + gene_jaw_height={ "jaw_height_pos" 131 "jaw_height_pos" 131 } + gene_jaw_width={ "jaw_width_neg" 86 "jaw_width_neg" 86 } + gene_mouth_corner_depth={ "mouth_corner_depth_pos" 136 "mouth_corner_depth_pos" 136 } + gene_mouth_corner_height={ "mouth_corner_height_pos" 77 "mouth_corner_height_pos" 127 } + gene_mouth_forward={ "mouth_forward_pos" 128 "mouth_forward_pos" 135 } + gene_mouth_height={ "mouth_height_neg" 74 "mouth_height_neg" 122 } + gene_mouth_width={ "mouth_width_neg" 121 "mouth_width_neg" 121 } + gene_mouth_upper_lip_size={ "mouth_upper_lip_size_neg" 126 "mouth_upper_lip_size_neg" 126 } + gene_mouth_lower_lip_size={ "mouth_lower_lip_size_neg" 101 "mouth_lower_lip_size_neg" 101 } + gene_mouth_open={ "mouth_open_neg" 75 "mouth_open_neg" 75 } + gene_neck_length={ "neck_length_pos" 166 "neck_length_pos" 166 } + gene_neck_width={ "neck_width_pos" 148 "neck_width_pos" 148 } + gene_bs_cheek_forward={ "cheek_forward_pos" 34 "cheek_forward_pos" 34 } + gene_bs_cheek_height={ "cheek_height_neg" 20 "cheek_height_neg" 20 } + gene_bs_cheek_width={ "cheek_width_neg" 104 "cheek_width_neg" 104 } + gene_bs_ear_angle={ "ear_angle_pos" 46 "ear_angle_pos" 46 } + gene_bs_ear_inner_shape={ "ear_inner_shape_pos" 149 "ear_inner_shape_pos" 149 } + gene_bs_ear_bend={ "ear_upper_bend_pos" 6 "ear_upper_bend_pos" 6 } + gene_bs_ear_outward={ "ear_outward_pos" 20 "ear_outward_pos" 20 } + gene_bs_ear_size={ "ear_size_pos" 46 "ear_size_pos" 46 } + gene_bs_eye_corner_depth={ "eye_corner_depth_pos" 84 "eye_corner_depth_pos" 84 } + gene_bs_eye_fold_shape={ "eye_fold_shape_pos" 204 "eye_fold_shape_pos" 204 } + gene_bs_eye_size={ "eye_size_pos" 101 "eye_size_pos" 101 } + gene_bs_eye_upper_lid_size={ "eye_upper_lid_size_pos" 9 "eye_upper_lid_size_pos" 9 } + gene_bs_forehead_brow_curve={ "forehead_brow_curve_neg" 46 "forehead_brow_curve_neg" 46 } + gene_bs_forehead_brow_forward={ "forehead_brow_forward_neg" 100 "forehead_brow_forward_neg" 100 } + gene_bs_forehead_brow_inner_height={ "forehead_brow_inner_height_pos" 37 "forehead_brow_inner_height_pos" 37 } + gene_bs_forehead_brow_outer_height={ "forehead_brow_outer_height_pos" 74 "forehead_brow_outer_height_pos" 74 } + gene_bs_forehead_brow_width={ "forehead_brow_width_pos" 111 "forehead_brow_width_pos" 111 } + gene_bs_jaw_def={ "jaw_def_pos" 26 "jaw_def_pos" 26 } + gene_bs_mouth_lower_lip_def={ "mouth_lower_lip_def_pos" 116 "mouth_lower_lip_def_pos" 116 } + gene_bs_mouth_lower_lip_full={ "mouth_lower_lip_full_neg" 104 "mouth_lower_lip_full_neg" 104 } + gene_bs_mouth_lower_lip_pad={ "mouth_lower_lip_pad_neg" 40 "mouth_lower_lip_pad_neg" 40 } + gene_bs_mouth_lower_lip_width={ "mouth_lower_lip_width_neg" 5 "mouth_lower_lip_width_neg" 1 } + gene_bs_mouth_philtrum_def={ "mouth_philtrum_def_pos" 32 "mouth_philtrum_def_pos" 32 } + gene_bs_mouth_philtrum_shape={ "mouth_philtrum_shape_neg" 72 "mouth_philtrum_shape_neg" 72 } + gene_bs_mouth_philtrum_width={ "mouth_philtrum_width_neg" 19 "mouth_philtrum_width_neg" 19 } + gene_bs_mouth_upper_lip_def={ "mouth_upper_lip_def_pos" 12 "mouth_upper_lip_def_pos" 12 } + gene_bs_mouth_upper_lip_full={ "mouth_upper_lip_full_pos" 0 "mouth_upper_lip_full_pos" 0 } + gene_bs_mouth_upper_lip_profile={ "mouth_upper_lip_profile_neg" 67 "mouth_upper_lip_profile_neg" 67 } + gene_bs_mouth_upper_lip_width={ "mouth_upper_lip_width_neg" 14 "mouth_upper_lip_width_neg" 14 } + gene_bs_nose_forward={ "nose_forward_neg" 47 "nose_forward_pos" 38 } + gene_bs_nose_height={ "nose_height_neg" 183 "nose_height_neg" 74 } + gene_bs_nose_length={ "nose_length_pos" 71 "nose_length_pos" 88 } + gene_bs_nose_nostril_height={ "nose_nostril_height_neg" 27 "nose_nostril_height_neg" 28 } + gene_bs_nose_nostril_width={ "nose_nostril_width_neg" 6 "nose_nostril_width_neg" 6 } + gene_bs_nose_profile={ "nose_profile_hawk_pos" 131 "nose_profile_hawk_pos" 79 } + gene_bs_nose_ridge_angle={ "nose_ridge_angle_neg" 47 "nose_ridge_angle_pos" 4 } + gene_bs_nose_ridge_width={ "nose_ridge_width_pos" 103 "nose_ridge_width_pos" 113 } + gene_bs_nose_size={ "nose_size_pos" 39 "nose_size_pos" 72 } + gene_bs_nose_tip_angle={ "nose_tip_angle_pos" 23 "nose_tip_angle_pos" 47 } + gene_bs_nose_tip_forward={ "nose_tip_forward_pos" 19 "nose_tip_forward_pos" 9 } + gene_bs_nose_tip_width={ "nose_tip_width_pos" 41 "nose_tip_width_pos" 19 } + face_detail_cheek_def={ "cheek_def_01" 24 "cheek_def_01" 24 } + face_detail_cheek_fat={ "cheek_fat_01_pos" 17 "cheek_fat_01_pos" 17 } + face_detail_chin_cleft={ "chin_dimple" 20 "chin_dimple" 20 } + face_detail_chin_def={ "chin_def" 24 "chin_def" 24 } + face_detail_eye_lower_lid_def={ "eye_lower_lid_def_02" 1 "eye_lower_lid_def_02" 1 } + face_detail_eye_socket={ "eye_socket_color_01" 219 "eye_socket_color_01" 219 } + face_detail_nasolabial={ "nasolabial_01" 12 "nasolabial_01" 12 } + face_detail_nose_ridge_def={ "nose_ridge_def_pos" 91 "nose_ridge_def_pos" 84 } + face_detail_nose_tip_def={ "nose_tip_def" 255 "nose_tip_def" 253 } + face_detail_temple_def={ "temple_def" 215 "temple_def" 215 } + expression_brow_wrinkles={ "brow_wrinkles_04" 179 "brow_wrinkles_04" 179 } + expression_eye_wrinkles={ "eye_wrinkles_01" 33 "eye_wrinkles_01" 33 } + expression_forehead_wrinkles={ "forehead_wrinkles_02" 254 "forehead_wrinkles_02" 254 } + expression_other={ "cheek_wrinkles_both_01" 0 "cheek_wrinkles_both_01" 0 } + complexion={ "complexion_3" 245 "complexion_3" 245 } + gene_height={ "normal_height" 134 "normal_height" 134 } + gene_bs_body_type={ "body_fat_head_fat_medium" 137 "body_fat_head_fat_medium" 137 } + gene_bs_body_shape={ "body_shape_average" 31 "body_shape_average" 6 } + gene_bs_bust={ "bust_clothes" 102 "bust_default" 128 } + gene_age={ "old_1" 198 "old_1" 198 } + gene_eyebrows_shape={ "far_spacing_avg_thickness" 150 "far_spacing_avg_thickness" 150 } + gene_eyebrows_fullness={ "layer_2_low_thickness" 178 "layer_2_low_thickness" 178 } + gene_body_hair={ "body_hair_dense" 105 "body_hair_dense" 105 } + gene_hair_type={ "hair_curly" 145 "hair_curly" 145 } + gene_baldness={ "male_pattern_baldness" 191 "male_pattern_baldness" 191 } + eye_accessory={ "normal_eyes" 159 "normal_eyes" 159 } + teeth_accessory={ "normal_teeth" 87 "normal_teeth" 87 } + eyelashes_accessory={ "normal_eyelashes" 53 "normal_eyelashes" 53 } + beards={ "ep3_beards_straight" 127 "no_beard" 0 } + hairstyles={ "fp3_hairstyles_iranian_straight" 127 "all_hairstyles" 0 } + clothes={ "western_bedchamber" 79 "most_clothes" 0 } + } + } + + enabled=yes +} + +dna_angus={ + portrait_info={ + genes={ hair_color={ 15 221 104 130 } + skin_color={ 102 32 73 64 } + eye_color={ 161 166 206 170 } + gene_chin_forward={ "chin_forward_neg" 149 "chin_forward_neg" 112 } + gene_chin_height={ "chin_height_neg" 118 "chin_height_neg" 118 } + gene_chin_width={ "chin_width_neg" 121 "chin_width_neg" 121 } + gene_eye_angle={ "eye_angle_pos" 132 "eye_angle_pos" 132 } + gene_eye_depth={ "eye_depth_neg" 117 "eye_depth_neg" 119 } + gene_eye_height={ "eye_height_neg" 82 "eye_height_neg" 122 } + gene_eye_distance={ "eye_distance_pos" 136 "eye_distance_pos" 132 } + gene_eye_shut={ "eye_shut_neg" 127 "eye_shut_neg" 126 } + gene_forehead_angle={ "forehead_angle_neg" 137 "forehead_angle_neg" 114 } + gene_forehead_brow_height={ "forehead_brow_height_pos" 144 "forehead_brow_height_pos" 143 } + gene_forehead_roundness={ "forehead_roundness_pos" 176 "forehead_roundness_pos" 170 } + gene_forehead_width={ "forehead_width_neg" 136 "forehead_width_neg" 117 } + gene_forehead_height={ "forehead_height_neg" 125 "forehead_height_neg" 125 } + gene_head_height={ "head_height_pos" 131 "head_height_pos" 153 } + gene_head_width={ "head_width_pos" 134 "head_width_pos" 134 } + gene_head_profile={ "head_profile_pos" 144 "head_profile_pos" 169 } + gene_head_top_height={ "head_top_height_neg" 126 "head_top_height_neg" 125 } + gene_head_top_width={ "head_top_width_pos" 138 "head_top_width_pos" 152 } + gene_jaw_angle={ "jaw_angle_neg" 145 "jaw_angle_neg" 127 } + gene_jaw_forward={ "jaw_forward_pos" 137 "jaw_forward_pos" 154 } + gene_jaw_height={ "jaw_height_pos" 106 "jaw_height_pos" 133 } + gene_jaw_width={ "jaw_width_pos" 138 "jaw_width_pos" 153 } + gene_mouth_corner_depth={ "mouth_corner_depth_pos" 159 "mouth_corner_depth_pos" 129 } + gene_mouth_corner_height={ "mouth_corner_height_pos" 116 "mouth_corner_height_pos" 130 } + gene_mouth_forward={ "mouth_forward_pos" 147 "mouth_forward_pos" 133 } + gene_mouth_height={ "mouth_height_pos" 136 "mouth_height_pos" 149 } + gene_mouth_width={ "mouth_width_neg" 64 "mouth_width_neg" 94 } + gene_mouth_upper_lip_size={ "mouth_upper_lip_size_neg" 109 "mouth_upper_lip_size_neg" 109 } + gene_mouth_lower_lip_size={ "mouth_lower_lip_size_neg" 95 "mouth_lower_lip_size_neg" 95 } + gene_mouth_open={ "mouth_open_pos" 27 "mouth_open_pos" 139 } + gene_neck_length={ "neck_length_pos" 148 "neck_length_pos" 148 } + gene_neck_width={ "neck_width_neg" 120 "neck_width_neg" 109 } + gene_bs_cheek_forward={ "cheek_forward_pos" 51 "cheek_forward_pos" 22 } + gene_bs_cheek_height={ "cheek_height_neg" 61 "cheek_height_neg" 31 } + gene_bs_cheek_width={ "cheek_width_pos" 59 "cheek_width_neg" 34 } + gene_bs_ear_angle={ "ear_angle_pos" 17 "ear_angle_pos" 17 } + gene_bs_ear_inner_shape={ "ear_inner_shape_pos" 69 "ear_inner_shape_pos" 69 } + gene_bs_ear_bend={ "ear_upper_bend_pos" 85 "ear_upper_bend_pos" 85 } + gene_bs_ear_outward={ "ear_outward_neg" 13 "ear_outward_neg" 13 } + gene_bs_ear_size={ "ear_size_neg" 11 "ear_size_neg" 11 } + gene_bs_eye_corner_depth={ "eye_corner_depth_neg" 3 "eye_corner_depth_pos" 13 } + gene_bs_eye_fold_shape={ "eye_fold_shape_pos" 85 "eye_fold_shape_pos" 85 } + gene_bs_eye_size={ "eye_size_pos" 23 "eye_size_pos" 13 } + gene_bs_eye_upper_lid_size={ "eye_upper_lid_size_pos" 55 "eye_upper_lid_size_pos" 51 } + gene_bs_forehead_brow_curve={ "forehead_brow_curve_neg" 61 "forehead_brow_curve_neg" 82 } + gene_bs_forehead_brow_forward={ "forehead_brow_forward_neg" 71 "forehead_brow_forward_neg" 122 } + gene_bs_forehead_brow_inner_height={ "forehead_brow_inner_height_neg" 61 "forehead_brow_inner_height_neg" 59 } + gene_bs_forehead_brow_outer_height={ "forehead_brow_outer_height_neg" 3 "forehead_brow_outer_height_neg" 35 } + gene_bs_forehead_brow_width={ "forehead_brow_width_pos" 57 "forehead_brow_width_pos" 57 } + gene_bs_jaw_def={ "jaw_def_pos" 89 "jaw_def_neg" 197 } + gene_bs_mouth_lower_lip_def={ "mouth_lower_lip_def_pos" 40 "mouth_lower_lip_def_pos" 40 } + gene_bs_mouth_lower_lip_full={ "mouth_lower_lip_full_pos" 117 "mouth_lower_lip_full_pos" 117 } + gene_bs_mouth_lower_lip_pad={ "mouth_lower_lip_pad_pos" 127 "mouth_lower_lip_pad_pos" 127 } + gene_bs_mouth_lower_lip_width={ "mouth_lower_lip_width_neg" 93 "mouth_lower_lip_width_neg" 107 } + gene_bs_mouth_philtrum_def={ "mouth_philtrum_def_pos" 14 "mouth_philtrum_def_pos" 4 } + gene_bs_mouth_philtrum_shape={ "mouth_philtrum_shape_pos" 16 "mouth_philtrum_shape_pos" 16 } + gene_bs_mouth_philtrum_width={ "mouth_philtrum_width_neg" 25 "mouth_philtrum_width_neg" 46 } + gene_bs_mouth_upper_lip_def={ "mouth_upper_lip_def_pos" 118 "mouth_upper_lip_def_pos" 16 } + gene_bs_mouth_upper_lip_full={ "mouth_upper_lip_full_pos" 51 "mouth_upper_lip_full_pos" 70 } + gene_bs_mouth_upper_lip_profile={ "mouth_upper_lip_profile_neg" 16 "mouth_upper_lip_profile_neg" 16 } + gene_bs_mouth_upper_lip_width={ "mouth_upper_lip_width_pos" 27 "mouth_upper_lip_width_pos" 53 } + gene_bs_nose_forward={ "nose_forward_neg" 6 "nose_forward_neg" 6 } + gene_bs_nose_height={ "nose_height_pos" 11 "nose_height_pos" 11 } + gene_bs_nose_length={ "nose_length_neg" 91 "nose_length_neg" 119 } + gene_bs_nose_nostril_height={ "nose_nostril_height_neg" 23 "nose_nostril_height_neg" 43 } + gene_bs_nose_nostril_width={ "nose_nostril_width_neg" 151 "nose_nostril_width_neg" 42 } + gene_bs_nose_profile={ "nose_profile_hawk" 7 "nose_profile_hawk" 12 } + gene_bs_nose_ridge_angle={ "nose_ridge_angle_neg" 31 "nose_ridge_angle_neg" 31 } + gene_bs_nose_ridge_width={ "nose_ridge_width_pos" 7 "nose_ridge_width_pos" 7 } + gene_bs_nose_size={ "nose_size_pos" 67 "nose_size_pos" 67 } + gene_bs_nose_tip_angle={ "nose_tip_angle_pos" 9 "nose_tip_angle_pos" 9 } + gene_bs_nose_tip_forward={ "nose_tip_forward_pos" 33 "nose_tip_forward_pos" 33 } + gene_bs_nose_tip_width={ "nose_tip_width_neg" 29 "nose_tip_width_neg" 29 } + face_detail_cheek_def={ "cheek_def_02" 38 "cheek_def_02" 38 } + face_detail_cheek_fat={ "cheek_fat_03_pos" 147 "cheek_fat_04_pos" 240 } + face_detail_chin_cleft={ "chin_cleft" 135 "chin_dimple" 8 } + face_detail_chin_def={ "chin_def" 219 "chin_def_neg" 223 } + face_detail_eye_lower_lid_def={ "eye_lower_lid_def" 146 "eye_lower_lid_def" 83 } + face_detail_eye_socket={ "eye_socket_01" 22 "eye_socket_01" 12 } + face_detail_nasolabial={ "nasolabial_02" 72 "nasolabial_02" 72 } + face_detail_nose_ridge_def={ "nose_ridge_def_pos" 17 "nose_ridge_def_pos" 17 } + face_detail_nose_tip_def={ "nose_tip_def" 202 "nose_tip_def" 202 } + face_detail_temple_def={ "temple_def" 223 "temple_def" 235 } + expression_brow_wrinkles={ "brow_wrinkles_03" 111 "brow_wrinkles_03" 88 } + expression_eye_wrinkles={ "eye_wrinkles_01" 35 "eye_wrinkles_01" 5 } + expression_forehead_wrinkles={ "forehead_wrinkles_01" 93 "forehead_wrinkles_01" 81 } + expression_other={ "cheek_wrinkles_both_01" 0 "cheek_wrinkles_both_01" 0 } + complexion={ "complexion_4" 147 "complexion_4" 180 } + gene_height={ "normal_height" 123 "normal_height" 117 } + gene_bs_body_type={ "body_fat_head_fat_low" 126 "body_fat_head_fat_full" 126 } + gene_bs_body_shape={ "body_shape_rectangle_half" 76 "body_shape_rectangle_half" 34 } + gene_bs_bust={ "bust_clothes" 139 "bust_shape_1_full" 174 } + gene_age={ "old_1" 14 "old_1" 14 } + gene_eyebrows_shape={ "close_spacing_lower_thickness" 191 "avg_spacing_lower_thickness" 191 } + gene_eyebrows_fullness={ "layer_2_avg_thickness" 198 "layer_2_lower_thickness" 67 } + gene_body_hair={ "body_hair_sparse" 197 "body_hair_sparse" 182 } + gene_hair_type={ "hair_straight" 91 "hair_straight" 91 } + gene_baldness={ "male_pattern_baldness" 71 "male_pattern_baldness" 71 } + eye_accessory={ "normal_eyes" 58 "normal_eyes" 58 } + teeth_accessory={ "normal_teeth" 108 "normal_teeth" 108 } + eyelashes_accessory={ "normal_eyelashes" 116 "normal_eyelashes" 116 } + beards={ "ep3_beards_straight" 127 "no_beard" 0 } + hairstyles={ "ep3_byzantine_hairstyle" 255 "all_hairstyles" 0 } + clothes={ "western_bedchamber" 79 "most_clothes" 0 } + } + } + + enabled=yes +} + + + + dna_the_oracle={ portrait_info = { genes={ hair_color={ 65 240 65 240 } diff --git a/common/dynasties/NEOW_dynasties.txt b/common/dynasties/NEOW_dynasties.txt index c271c3320..fac37bc8c 100644 --- a/common/dynasties/NEOW_dynasties.txt +++ b/common/dynasties/NEOW_dynasties.txt @@ -3176,6 +3176,16 @@ akdagh_dynasty = { name = dynn_akdagh culture = zazaki } +fife_dynasty = { + name = dynn_fife + culture = scottish + motto = dynn_fife_motto +} +thrax_dynasty = { + name = dynn_thrax + culture = irish + motto = dynn_thrax_motto +} glucksburg_dynasty = { name = dynn_Gl_u_uml_cksburg prefix = "dynnp_af" diff --git a/common/landed_titles/LAAMPs.txt b/common/landed_titles/LAAMPs.txt index 76c57fd3f..65537675e 100644 --- a/common/landed_titles/LAAMPs.txt +++ b/common/landed_titles/LAAMPs.txt @@ -347,5 +347,20 @@ d_laamp_firebrands_of_the_ice = { destroy_if_invalid_heir = yes + ai_primary_priority = { add = @never_primary_score } +} + +d_laamp_keepers_of_the_celestial_flame = { + color = { 100 100 100 } + capital = c_fife + + definite_form = yes + landless = yes + ruler_uses_title_name = no + always_follows_primary_heir = yes + no_automatic_claims = no + + destroy_if_invalid_heir = yes + ai_primary_priority = { add = @never_primary_score } } \ No newline at end of file diff --git a/common/religion/faith_types/NEOW_faiths_catholic.txt b/common/religion/faith_types/NEOW_faiths_catholic.txt index 1ca18d4df..3a5d0402c 100644 --- a/common/religion/faith_types/NEOW_faiths_catholic.txt +++ b/common/religion/faith_types/NEOW_faiths_catholic.txt @@ -68,7 +68,7 @@ mariavite_catholic_faith = { main_rite = marian_rite faith_details = { religion = catholic_religion - color = { 22 126 229 } + color = { 22 145 226 } icon = mariavite graphical_faith = "catholic_gfx" religious_head = d_mariavite_hof diff --git a/common/religion/faith_types/NEOW_faiths_folk_germanic.txt b/common/religion/faith_types/NEOW_faiths_folk_germanic.txt index 000461481..f12ce0778 100644 --- a/common/religion/faith_types/NEOW_faiths_folk_germanic.txt +++ b/common/religion/faith_types/NEOW_faiths_folk_germanic.txt @@ -2,7 +2,7 @@ main_rite = volksmarchen_rite faith_details = { religion = folk_germanic_religion - color = { 68 57 191 } + color = { 78 56 188 } icon = volksmarchen graphical_faith = "pagan_gfx" } diff --git a/common/religion/faith_types/NEOW_faiths_occidentalist.txt b/common/religion/faith_types/NEOW_faiths_occidentalist.txt new file mode 100644 index 000000000..08d95c903 --- /dev/null +++ b/common/religion/faith_types/NEOW_faiths_occidentalist.txt @@ -0,0 +1,28 @@ +sebastianist_faith = { + main_rite = sebastianist_rite + faith_details = { + religion = occidentalist_religion + color = { 25 50 127 } + icon = sebastianist + graphical_faith = "pagan_gfx" + religious_head = e_sebastianist_hof + } + + eminent_holy_sites = { + london + cairo + paris + } + + holy_sites = { + edinburgh + portsmouth + gibraltar + } + + tenets = { + tenet_armed_pilgrimages + tenet_chivalric_ideals + tenet_divine_progress + } +} \ No newline at end of file diff --git a/common/religion/faith_types/NEOW_faiths_occultist.txt b/common/religion/faith_types/NEOW_faiths_occultist.txt index 7989c77f8..c46f8a66d 100644 --- a/common/religion/faith_types/NEOW_faiths_occultist.txt +++ b/common/religion/faith_types/NEOW_faiths_occultist.txt @@ -59,7 +59,7 @@ chronicler_faith = { main_rite = osvicenist_rite faith_details = { religion = occultist_religion - color = { 101 120 124 } + color = { 80 109 114 } icon = osvicenist graphical_faith = "catholic_gfx" } diff --git a/common/religion/religion_types/NEOW_occidentalist.txt b/common/religion/religion_types/NEOW_occidentalist.txt new file mode 100644 index 000000000..694c904fd --- /dev/null +++ b/common/religion/religion_types/NEOW_occidentalist.txt @@ -0,0 +1,316 @@ +occidentalist_religion = { + religion_details = { + family = rf_antediluvianist + graphical_faith = pagan_gfx + } + + doctrine = antediluvianist_hostility_doctrine + + #Main Group + doctrine = doctrine_polytheist + doctrine = doctrine_no_head + doctrine = doctrine_gender_equal + doctrine = doctrine_pluralism_pluralistic + doctrine = doctrine_theocracy_lay_clergy + + #Marriage + doctrine = doctrine_monogamy + doctrine = doctrine_divorce_allowed + doctrine = doctrine_bastardry_none + doctrine = doctrine_consanguinity_restricted + + #Crimes + doctrine = doctrine_homosexuality_accepted + doctrine = doctrine_adultery_men_shunned + doctrine = doctrine_adultery_women_shunned + doctrine = doctrine_kinslaying_shunned + doctrine = doctrine_deviancy_shunned + doctrine = doctrine_witchcraft_accepted + + #Clerical Functions + doctrine = doctrine_clerical_function_recruitment + doctrine = doctrine_clerical_gender_either + doctrine = doctrine_clerical_marriage_allowed + doctrine = doctrine_clerical_succession_temporal_appointment + doctrine = doctrine_monasticism_absent + doctrine = doctrine_sacraments_absent + + #Allow pilgrimages + doctrine = doctrine_pilgrimage_encouraged + + #Funeral tradition + doctrine = doctrine_funeral_stoic + + #Preservation + doctrine = doctrine_scriptural + + traits = { + virtues = { + just = { weight = 50 scale = 1.5 } + forgiving = { weight = 25 scale = 1 } + brave = { weight = 25 scale = 1 } + } + sins = { + arbitrary = { weight = 50 scale = 1.5 } + vengeful = { weight = 25 scale = 1 } + craven = { weight = 25 scale = 1 } + } + } + + reserved_male_names = { + Andrew Antoninus Bartolomeus Benedict Christian Christopher Clement Constantine David Demetrius Eustace George Gregory + Hans Isaac Joakim Jacob John Jordan Joseph Laurence Magnus Marcus Martin Matthew Michael Nicholas Patrick Paul Peter Philip + Salvador Samuel Sebastian Simon Stephen Thomas Abraham Alexander Daniel Job Joshua Cyrus Luke Zachariah + } + reserved_female_names = { + Anna Beatrice Benedicta Brigid Catherine Cecilia Christina Clementia Constance Dorothy Elisabeth Joan Judith Juliana Helen + Magdalena Margaret Maria Marine Patricia Philippa Rachel Sarah Sophia Stephania + } + + custom_faith_icons = { + christian_faith catholic orthodox conversos christianity_cathar christianity_waldensian christianity_lollard christianity_iconoclasm + christianity_bogomilist christianity_paulicanism nestorian christianity_messalian adamites bosnian_church fp2_adoptionist armenian + cainitism christianity_anchored_cross_01 christianity_anchored_cross_02 christianity_anchored_cross_03 christianity_anchored_cross_04 christianity_anchored_cross_05 christianity_ankh_cross_01 christianity_ankh_cross_02 + christianity_ankh_cross_03 christianity_ankh_cross_04 christianity_ankh_cross_05 christianity_ansata_cross_01 christianity_ansata_cross_02 christianity_ansata_cross_03 christianity_ansata_cross_04 christianity_ansata_cross_05 + christianity_armenian christianity_armenian_cross_01 christianity_armenian_cross_02 christianity_armenian_cross_03 christianity_armenian_cross_04 christianity_armenian_cross_05 christianity_bell_01 christianity_bell_02 + christianity_bell_03 christianity_bell_04 christianity_bell_05 christianity_bogomilist_circle_01 christianity_bogomilist_circle_02 christianity_bogomilist_circle_03 christianity_bogomilist_circle_04 christianity_bogomilist_circle_05 + christianity_bolnisi_cross_01 christianity_bolnisi_cross_02 christianity_bolnisi_cross_03 christianity_bolnisi_cross_04 christianity_bolnisi_cross_05 christianity_byzantine_cross_01 christianity_byzantine_cross_02 christianity_byzantine_cross_03 + christianity_byzantine_cross_04 christianity_byzantine_cross_05 christianity_canterbury_cross_01 christianity_canterbury_cross_02 christianity_canterbury_cross_03 christianity_canterbury_cross_04 christianity_canterbury_cross_05 christianity_carolingian_cross_01 + christianity_carolingian_cross_02 christianity_carolingian_cross_03 christianity_carolingian_cross_04 christianity_carolingian_cross_05 christianity_cathar_cross_01 christianity_cathar_cross_02 christianity_cathar_cross_03 christianity_cathar_cross_04 + christianity_cathar_cross_05 christianity_catherine_wheel_01 christianity_catherine_wheel_02 christianity_catherine_wheel_03 christianity_catherine_wheel_04 christianity_catherine_wheel_05 christianity_catholic_cross_01 christianity_catholic_cross_02 + christianity_catholic_cross_03 christianity_catholic_cross_04 christianity_catholic_cross_05 christianity_caucasian_albanian_cross_01 christianity_caucasian_albanian_cross_02 christianity_caucasian_albanian_cross_03 christianity_caucasian_albanian_cross_04 christianity_caucasian_albanian_cross_05 + christianity_celtic_cross_01 christianity_celtic_cross_02 christianity_celtic_cross_03 christianity_celtic_cross_04 christianity_celtic_cross_05 christianity_celtic_cross_tall_01 christianity_celtic_cross_tall_02 christianity_celtic_cross_tall_03 + christianity_celtic_cross_tall_04 christianity_celtic_cross_tall_05 christianity_celtic_knot_01 christianity_celtic_knot_02 christianity_celtic_knot_03 christianity_celtic_knot_04 christianity_celtic_knot_05 christianity_chalice_01 + christianity_chalice_02 christianity_chalice_03 christianity_chalice_04 christianity_chalice_05 christianity_chi_rho_cross_01 christianity_chi_rho_cross_02 christianity_chi_rho_cross_03 christianity_chi_rho_cross_04 + christianity_chi_rho_cross_05 christianity_coptic_cross_01 christianity_coptic_cross_02 christianity_coptic_cross_03 christianity_coptic_cross_04 christianity_coptic_cross_05 christianity_crown_of_thorns_01 christianity_crown_of_thorns_02 + christianity_crown_of_thorns_03 christianity_crown_of_thorns_04 christianity_crown_of_thorns_05 christianity_forked_cross_01 christianity_forked_cross_02 christianity_forked_cross_03 christianity_forked_cross_04 christianity_forked_cross_05 + christianity_hammer_01 christianity_hammer_02 christianity_hammer_03 christianity_hammer_04 christianity_hammer_05 christianity_hyssop_01 christianity_hyssop_02 christianity_hyssop_03 + christianity_hyssop_04 christianity_hyssop_05 christianity_ichthys_01 christianity_ichthys_02 christianity_ichthys_03 christianity_ichthys_04 christianity_ichthys_05 christianity_iconoclasm_cross_01 + christianity_iconoclasm_cross_02 christianity_iconoclasm_cross_03 christianity_iconoclasm_cross_04 christianity_iconoclasm_cross_05 christianity_ladder_01 christianity_ladder_02 christianity_ladder_03 christianity_ladder_04 + christianity_ladder_05 christianity_lollard_cross_01 christianity_lollard_cross_02 christianity_lollard_cross_03 christianity_lollard_cross_04 christianity_lollard_cross_05 christianity_macedonian_cross_01 christianity_macedonian_cross_02 + christianity_macedonian_cross_03 christianity_macedonian_cross_04 christianity_macedonian_cross_05 christianity_maltese_cross_01 christianity_maltese_cross_02 christianity_maltese_cross_03 christianity_maltese_cross_04 christianity_maltese_cross_05 + christianity_maronite_cross_01 christianity_maronite_cross_02 christianity_maronite_cross_03 christianity_maronite_cross_04 christianity_maronite_cross_05 christianity_mesalian_cross_01 christianity_mesalian_cross_02 christianity_mesalian_cross_03 + christianity_mesalian_cross_04 christianity_mesalian_cross_05 christianity_mozarabic_cross_01 christianity_mozarabic_cross_02 christianity_mozarabic_cross_03 christianity_mozarabic_cross_04 christianity_mozarabic_cross_05 christianity_nails_01 + christianity_nails_02 christianity_nails_03 christianity_nails_04 christianity_nails_05 christianity_nestorian_cross_01 christianity_nestorian_cross_02 christianity_nestorian_cross_03 christianity_nestorian_cross_04 + christianity_nestorian_cross_05 christianity_orthodox_cross_01 christianity_orthodox_cross_02 christianity_orthodox_cross_03 christianity_orthodox_cross_04 christianity_orthodox_cross_05 christianity_papal_cross_01 christianity_papal_cross_02 + christianity_papal_cross_03 christianity_papal_cross_04 christianity_papal_cross_05 christianity_paulicanism_01 christianity_paulicanism_02 christianity_paulicanism_03 christianity_paulicanism_04 christianity_paulicanism_05 + christianity_pincer_01 christianity_pitcher_01 christianity_pitcher_02 christianity_pitcher_03 christianity_pitcher_04 christianity_pitcher_05 christianity_rooster_01 christianity_rooster_02 + christianity_rooster_03 christianity_rooster_04 christianity_rooster_05 christianity_rose_cross_01 christianity_rose_cross_02 christianity_rose_cross_03 christianity_rose_cross_04 christianity_rose_cross_05 + christianity_rounded_cross_01 christianity_rounded_cross_02 christianity_rounded_cross_03 christianity_rounded_cross_04 christianity_rounded_cross_05 christianity_saint_chad_cross_01 christianity_saint_chad_cross_02 christianity_saint_chad_cross_03 + christianity_saint_chad_cross_04 christianity_saint_chad_cross_05 christianity_saint_florian_cross_01 christianity_saint_florian_cross_02 christianity_saint_florian_cross_03 christianity_saint_florian_cross_04 christianity_saint_florian_cross_05 christianity_saint_john_cross_01 + christianity_saint_john_cross_02 christianity_saint_john_cross_03 christianity_saint_john_cross_04 christianity_saint_john_cross_05 christianity_saint_peter_cross_01 christianity_saint_peter_cross_02 christianity_saint_peter_cross_03 christianity_saint_peter_cross_04 + christianity_saint_peter_cross_05 christianity_serbian_cross_01 christianity_serbian_cross_02 christianity_serbian_cross_03 christianity_serbian_cross_04 christianity_serbian_cross_05 christianity_shamrock_01 christianity_shamrock_02 + christianity_shamrock_03 christianity_shamrock_04 christianity_shamrock_05 christianity_six_armed_cross_01 christianity_six_armed_cross_02 christianity_six_armed_cross_03 christianity_six_armed_cross_04 christianity_six_armed_cross_05 + christianity_stepped_cross_01 christianity_stepped_cross_02 christianity_stepped_cross_03 christianity_stepped_cross_04 christianity_stepped_cross_05 christianity_sword_cross_01 christianity_sword_cross_02 christianity_sword_cross_03 + christianity_sword_cross_04 christianity_sword_cross_05 christianity_waldensian_01 christianity_waldensian_02 christianity_waldensian_03 christianity_waldensian_04 christianity_waldensian_05 christianity_wooden_cross_01 + christianity_wooden_cross_02 christianity_wooden_cross_03 christianity_wooden_cross_04 christianity_wooden_cross_05 custom_faith_1 custom_faith_2 custom_faith_black_sheep custom_faith_black_sheep_01 custom_faith_black_sheep_02 custom_faith_black_sheep_03 custom_faith_black_sheep_04 custom_faith_black_sheep_05 custom_faith_boromian_circles custom_faith_boromian_circles_01 custom_faith_boromian_circles_02 custom_faith_boromian_circles_03 custom_faith_boromian_circles_04 custom_faith_boromian_circles_05 + custom_faith_chi_rho custom_faith_dove custom_faith_dove_01 custom_faith_dove_02 custom_faith_dove_03 custom_faith_dove_04 custom_faith_dove_05 custom_faith_ichthys custom_faith_lamb custom_faith_lamb_01 custom_faith_lamb_02 custom_faith_lamb_03 custom_faith_lamb_04 custom_faith_lamb_05 fp2_mozarabic icon_religion_catholicism insular_celtic priscillianism + manichean manichean_01 manichean_02 manichean_03 manichean_04 manichean_05 dualism valentinianism sethianism dualism_custom_1 islam_takbir_01 sunni islam_custom_faith_01 islam_custom_faith_02 islam_custom_faith_03 islam_custom_faith_04 islam_custom_faith_05 islam_hamsa_02 + islam_khatim_filled_01 islam_rub_el_hizb_07 islam_quran_07 islam_druze alawite alevi ashari azariqa + custom_faith_4 custom_faith_allah islam_custom_faith_allah_01 islam_custom_faith_allah_02 islam_custom_faith_allah_03 islam_custom_faith_allah_04 islam_custom_faith_allah_05 custom_faith_hamsa ghulat ibadi ibadi_custom imami islam_alhamdulillah_01 + islam_alhamdulillah_02 islam_alhamdulillah_03 islam_alhamdulillah_04 islam_alhamdulillah_05 islam_alhamdulillah_06 islam_alhamdulillah_07 islam_alhamdulillah_08 islam_alhamdulillah_09 + islam_alhamdulillah_10 islam_flower_01 islam_flower_02 islam_flower_03 islam_flower_04 islam_flower_05 islam_flower_06 islam_flower_07 + islam_flower_08 islam_flower_09 islam_flower_10 islam_hamsa_01 islam_hamsa_03 islam_hamsa_04 islam_hamsa_05 islam_hamsa_06 + islam_hamsa_07 islam_hamsa_08 islam_hamsa_09 islam_hamsa_10 islam_khatim_01 islam_khatim_02 islam_khatim_03 islam_khatim_04 + islam_khatim_05 islam_khatim_06 islam_khatim_07 islam_khatim_08 islam_khatim_09 islam_khatim_10 islam_khatim_filled_02 islam_khatim_filled_03 + islam_khatim_filled_04 islam_khatim_filled_05 islam_khatim_filled_06 islam_khatim_filled_07 islam_khatim_filled_08 islam_khatim_filled_09 islam_khatim_filled_10 islam_prayermat_01 + islam_prayermat_02 islam_prayermat_03 islam_prayermat_04 islam_prayermat_05 islam_prayermat_06 islam_prayermat_07 islam_prayermat_08 islam_prayermat_09 + islam_prayermat_10 islam_quran_01 islam_quran_02 islam_quran_03 islam_quran_04 islam_quran_05 islam_quran_06 islam_quran_08 + islam_quran_09 islam_quran_10 islam_rub_el_hizb_01 islam_rub_el_hizb_02 islam_rub_el_hizb_03 islam_rub_el_hizb_04 islam_rub_el_hizb_05 islam_rub_el_hizb_06 + islam_rub_el_hizb_08 islam_rub_el_hizb_09 islam_rub_el_hizb_10 islam_rub_el_hizb_arch_01 islam_rub_el_hizb_arch_02 islam_rub_el_hizb_arch_03 islam_rub_el_hizb_arch_04 islam_rub_el_hizb_arch_05 + islam_rub_el_hizb_arch_06 islam_rub_el_hizb_arch_07 islam_rub_el_hizb_arch_08 islam_rub_el_hizb_arch_09 islam_rub_el_hizb_arch_10 islam_rub_el_hizb_floral_01 islam_rub_el_hizb_floral_02 islam_rub_el_hizb_floral_03 + islam_rub_el_hizb_floral_04 islam_rub_el_hizb_floral_05 islam_rub_el_hizb_floral_06 islam_rub_el_hizb_floral_07 islam_rub_el_hizb_floral_08 islam_rub_el_hizb_floral_09 islam_rub_el_hizb_floral_10 islam_rub_el_hizb_iranian_01 + islam_rub_el_hizb_iranian_02 islam_rub_el_hizb_iranian_03 islam_rub_el_hizb_iranian_04 islam_rub_el_hizb_iranian_05 islam_rub_el_hizb_iranian_06 islam_rub_el_hizb_iranian_07 islam_rub_el_hizb_iranian_08 islam_rub_el_hizb_iranian_09 + islam_rub_el_hizb_iranian_10 islam_rub_el_hizb_knot_01 islam_rub_el_hizb_knot_02 islam_rub_el_hizb_knot_03 islam_rub_el_hizb_knot_04 islam_rub_el_hizb_knot_05 islam_rub_el_hizb_knot_06 islam_rub_el_hizb_knot_07 + islam_rub_el_hizb_knot_08 islam_rub_el_hizb_knot_09 islam_rub_el_hizb_knot_10 islam_takbir_02 islam_takbir_03 islam_takbir_04 islam_takbir_05 islam_takbir_06 + islam_takbir_07 islam_takbir_08 islam_takbir_09 islam_takbir_10 islam_tuareg_01 islam_tuareg_02 islam_tuareg_03 islam_tuareg_04 + islam_tuareg_05 islam_tuareg_06 islam_tuareg_07 islam_tuareg_08 islam_tuareg_09 islam_tuareg_10 islam_zulfiqar_01 islam_zulfiqar_02 + islam_zulfiqar_03 islam_zulfiqar_04 islam_zulfiqar_05 islam_zulfiqar_06 islam_zulfiqar_07 islam_zulfiqar_08 islam_zulfiqar_09 islam_zulfiqar_10 + islam_zulfiqar_shield_01 islam_zulfiqar_shield_02 islam_zulfiqar_shield_03 islam_zulfiqar_shield_04 islam_zulfiqar_shield_05 islam_zulfiqar_shield_06 islam_zulfiqar_shield_07 islam_zulfiqar_shield_08 + islam_zulfiqar_shield_09 islam_zulfiqar_shield_10 masmudi maturidi muhakkima muhakkima_1 muhakkima_2 muhakkima_3 + muhakkima_4 muhakkima_5 muhakkima_6 muhakkima_custom_1 muhakkima_custom_2 muhakkima_custom_3 mutazila muwalladi + nadjat nizari qarmatian quranism quranist shia shia_custom sufri + sunni_custom_1 sunni_custom_2 sunni_custom_3 sunni_custom_4 zayidi rabbinism karaism judaism + malabarism samaritan kabarism custom_faith_burning_bush custom_faith_burning_bush_01 custom_faith_burning_bush_02 custom_faith_burning_bush_03 custom_faith_burning_bush_04 custom_faith_burning_bush_05 judaism_custom_1 merkabah yazidism kitebacilweism + meshefaresism yazidi_custom_1 buddhism mahayana vajrayana ari_buddhism avatamsaka avatamsaka_01 avatamsaka_02 avatamsaka_03 avatamsaka_04 avatamsaka_05 buddhism_custom + buddhism_custom_1 buddhism_custom_2 buddhism_custom_3 buddhism_custom_4 custom_faith_soto soto_01 soto_02 soto_03 soto_04 soto_05 dhyana dhyana_01 dhyana_02 dhyana_03 dhyana_04 dhyana_05 iamaism_buddhism lamaism_buddhism + maitreyanism maitreyanism_01 maitreyanism_02 maitreyanism_03 maitreyanism_04 maitreyanism_05 mantrayana mantrayana_01 mantrayana_02 mantrayana_03 mantrayana_04 mantrayana_05 sukhavati sukhavati_01 sukhavati_02 sukhavati_03 sukhavati_04 sukhavati_05 tiantai buddhism_tiantai_01 buddhism_tiantai_02 buddhism_tiantai_03 buddhism_tiantai_04 buddhism_tiantai_05 vinaya vinaya_01 vinaya_02 vinaya_03 vinaya_04 vinaya_05 yogacara yogacara_01 yogacara_02 yogacara_03 yogacara_04 yogacara_05 hinduism shaivism + srikula_shaktism smartism hinduism_saura acharya acharya_01 acharya_02 acharya_03 acharya_04 acharya_05 advaitism custom_faith_aum_tibetan custom_faith_aum_tibetan_01 custom_faith_aum_tibetan_02 custom_faith_aum_tibetan_03 custom_faith_aum_tibetan_04 custom_faith_aum_tibetan_05 custom_faith_lotus custom_faith_lotus_01 custom_faith_lotus_02 custom_faith_lotus_03 custom_faith_lotus_04 custom_faith_lotus_05 hinduism_custom_1 + hinduism_custom_2 kalikula_shaktism krishnaism jainism jainism_custom_1 svetambara yapaniya zoroastrian + zurvanism gayomarthianism khurmazta mazdakism khurramism urartuism afridunism afridunism_01 afridunism_02 afridunism_03 afridunism_04 afridunism_05 zoroastrian_custom + zoroastrian_custom_1 zoroastrian_custom_2 zoroastrian_custom_4 zoroastrian_custom_5 bimoism bimoism_01 bimoism_02 bimoism_03 bimoism_04 bimoism_05 jingxue songxue_01 songxue_02 songxue_03 songxue_04 songxue_05 jingxue_01 jingxue_02 jingxue_03 jingxue_04 jingxue_05 shangqing taoism taoism_01 taoism_02 taoism_03 taoism_04 taoism_05 + custom_faith_benzhuism daoxue mingism mingism_01 mingism_02 mingism_03 mingism_04 mingism_05 quanzhen taoism_custom_1 akanism akanism_01 akanism_02 akanism_03 akanism_04 akanism_05 aluk aluk_01 aluk_02 aluk_03 aluk_04 aluk_05 baltic baltic_01 baltic_02 baltic_03 baltic_04 baltic_05 + baltic_custom fp2_basque basque_01 basque_02 basque_03 basque_04 basque_05 bilikuism pulugaism bon bon_01 bon_02 bon_03 bon_04 bon_05 custom_faith_gankyil custom_faith_gankyil_01 custom_faith_gankyil_02 custom_faith_gankyil_03 custom_faith_gankyil_04 custom_faith_gankyil_05 spirit_bon dayawism dayawism_01 dayawism_02 dayawism_03 dayawism_04 dayawism_05 + donyipoloism donyipoloism_01 donyipoloism_02 donyipoloism_03 donyipoloism_04 donyipoloism_05 sedism sedism_01 sedism_02 sedism_03 sedism_04 sedism_05 finno_ugric finno_ugric_01 finno_ugric_02 finno_ugric_03 finno_ugric_04 finno_ugric_05 germanic germanic_01 germanic_02 germanic_03 germanic_04 germanic_05 custom_faith_fp1_fenrir custom_faith_fp1_irminsul custom_faith_fp1_jormungandr custom_faith_fp1_odins_ravens + custom_faith_fp1_runestone_moon custom_faith_fp1_thors_hammer custom_faith_fp1_valknut custom_faith_fp1_yggdrasil germanic_custom hantuism hantuism_01 hantuism_02 hantuism_03 hantuism_04 hantuism_05 hellenic hellenic_01 hellenic_02 hellenic_03 hellenic_04 hellenic_05 dab_qhuas hmongism_01 hmongism_02 hmongism_03 hmongism_04 hmongism_05 + kaharingan kaharingan_01 kaharingan_02 kaharingan_03 kaharingan_04 kaharingan_05 kamuyism kamuyism_01 kamuyism_02 kamuyism_03 kamuyism_04 kamuyism_05 kushism kushism_01 kushism_02 kushism_03 kushism_04 kushism_05 custom_faith_ankh pagan_magyar pagan_magyar_01 pagan_magyar_02 pagan_magyar_03 pagan_magyar_04 pagan_magyar_05 moism moism_01 moism_02 moism_03 moism_04 moism_05 mu mu_01 mu_02 mu_03 mu_04 mu_05 kiratism kiratism_01 kiratism_02 kiratism_03 kiratism_04 kiratism_05 + yumaism yumaism_01 yumaism_02 yumaism_03 yumaism_04 yumaism_05 achamanism sabianism pagan pagan_01 pagan_02 pagan_03 pagan_04 pagan_05 rrmeaism rrmeaism_01 rrmeaism_02 rrmeaism_03 rrmeaism_04 rrmeaism_05 melieism melieism_01 melieism_02 melieism_03 melieism_04 melieism_05 satsana_phi thep_arak_01 thep_arak_02 thep_arak_03 thep_arak_04 thep_arak_05 shamanism shamanism_01 shamanism_02 shamanism_03 shamanism_04 shamanism_05 + shinto shinto_01 shinto_02 shinto_03 shinto_04 shinto_05 custom_faith_magatama shugendo shugendo_01 shugendo_02 shugendo_03 shugendo_04 shugendo_05 siberian siberian_01 siberian_02 siberian_03 siberian_04 siberian_05 slavic slavic_01 slavic_02 slavic_03 slavic_04 slavic_05 tengri tengri_01 tengri_02 tengri_03 tengri_04 tengri_05 tolotang tolotang_01 tolotang_02 tolotang_03 tolotang_04 tolotang_05 utaki + waaqism waaqism_01 waaqism_02 waaqism_03 waaqism_04 waaqism_05 ngaiism ngaiism_01 ngaiism_02 ngaiism_03 ngaiism_04 ngaiism_05 mande mande_01 mande_02 mande_03 mande_04 mande_05 west_african west_african_01 west_african_02 west_african_03 west_african_04 west_african_05 west_african_dogon west_african_dogon_01 west_african_dogon_02 west_african_dogon_03 west_african_dogon_04 west_african_dogon_05 west_african_bori yoruba yoruba_01 yoruba_02 yoruba_03 yoruba_04 yoruba_05 west_african_roog_sene + zunist zunist_01 zunist_02 zunist_03 zunist_04 zunist_05 custom_faith_10 custom_faith_3 custom_faith_5 custom_faith_6 custom_faith_7 custom_faith_8 custom_faith_9 + custom_faith_cool_s custom_faith_cool_s_01 custom_faith_cool_s_02 custom_faith_cool_s_03 custom_faith_cool_s_04 custom_faith_cool_s_05 custom_faith_eye_of_providence custom_faith_eye_of_providence_01 custom_faith_eye_of_providence_02 custom_faith_eye_of_providence_03 custom_faith_eye_of_providence_04 custom_faith_eye_of_providence_05 custom_faith_pentagram custom_faith_pentagram_01 custom_faith_pentagram_02 custom_faith_pentagram_03 custom_faith_pentagram_04 custom_faith_pentagram_05 custom_faith_pentagram_inverted custom_faith_elephant_01 custom_faith_elephant_02 custom_faith_elephant_03 custom_faith_elephant_04 custom_faith_elephant_05 custom_faith_horse_01 custom_faith_horse_02 custom_faith_horse_03 custom_faith_horse_04 custom_faith_horse_05 custom_faith_tree_01 custom_faith_tree_02 custom_faith_tree_03 custom_faith_tree_04 custom_faith_tree_05 custom_faith_pentagram_inverted_01 custom_faith_pentagram_inverted_02 custom_faith_pentagram_inverted_03 custom_faith_pentagram_inverted_04 custom_faith_pentagram_inverted_05 + judaism_01 judaism_02 judaism_03 judaism_04 judaism_05 judaism_06 hinduism_01 hinduism_02 hinduism_03 hinduism_04 hinduism_05 hinduism_06 yazidi_01 yazidi_02 yazidi_03 yazidi_04 yazidi_05 yazidi_06 jainism_01 jainism_02 jainism_03 jainism_04 jainism_05 jainism_06 achamanism_01 achamanism_02 achamanism_03 achamanism_04 achamanism_05 utaki_01 utaki_02 utaki_03 utaki_04 utaki_05 west_african_roog_sene_01 west_african_roog_sene_02 west_african_roog_sene_03 west_african_roog_sene_04 west_african_roog_sene_05 spulugaism_01 spulugaism_02 spulugaism_03 spulugaism_04 spulugaism_05 + } + + holy_order_names = { + } + + holy_order_maa = { order_serjeants order_knights } + + localization = { + #HighGod | placeholder + HighGodName = europeanist_high_god_name + HighGodName2 = europeanist_high_god_name_2 + HighGodNamePossessive = europeanist_high_god_name_possessive + HighGodNameSheHe = CHARACTER_SHEHE_SHE + HighGodHerselfHimself = CHARACTER_HERSELF + HighGodHerHis = CHARACTER_HERHIS_HER + HighGodNameAlternate = europeanist_high_god_name_alternate + HighGodNameAlternatePossessive = europeanist_high_god_name_alternate_possessive + + #Creator | placeholder + CreatorName = europeanist_creator_god_name + CreatorNamePossessive = europeanist_creator_god_name_possessive + CreatorSheHe = CHARACTER_SHEHE_SHE + CreatorHerHis = CHARACTER_HERHIS_HER + CreatorHerHim = CHARACTER_HERHIM_HER + + #HealthGod | placeholder + HealthGodName = europeanist_health_god_name + HealthGodNamePossessive = europeanist_health_god_name_possessive + HealthGodSheHe = CHARACTER_SHEHE_SHE + HealthGodHerHis = CHARACTER_HERHIS_HER + HealthGodHerHim = CHARACTER_HERHIM_HER + + #FertilityGod | placeholder + FertilityGodName = europeanist_fertility_god_name + FertilityGodNamePossessive = europeanist_fertility_god_name_possessive + FertilityGodSheHe = CHARACTER_SHEHE_SHE + FertilityGodHerHis = CHARACTER_HERHIS_HER + FertilityGodHerHim = CHARACTER_HERHIM_HER + + #WealthGod | placeholder + WealthGodName = europeanist_wealth_god_name + WealthGodNamePossessive = europeanist_wealth_god_name_possessive + WealthGodSheHe = CHARACTER_SHEHE_HE + WealthGodHerHis = CHARACTER_HERHIS_HIS + WealthGodHerHim = CHARACTER_HERHIM_HIM + + #HouseholdGod | placeholder + HouseholdGodName = europeanist_household_god_name + HouseholdGodNamePossessive = europeanist_household_god_name_possessive + HouseholdGodSheHe = CHARACTER_SHEHE_SHE + HouseholdGodHerHis = CHARACTER_HERHIS_HER + HouseholdGodHerHim = CHARACTER_HERHIM_HER + + #FateGod | placeholder + FateGodName = europeanist_fate_god_name + FateGodNamePossessive = europeanist_fate_god_name_possessive + FateGodSheHe = CHARACTER_SHEHE_HE + FateGodHerHis = CHARACTER_HERHIS_HIS + FateGodHerHim = CHARACTER_HERHIM_HIM + + #KnowledgeGod | placeholder + KnowledgeGodName = europeanist_knowledge_god_name + KnowledgeGodNamePossessive = europeanist_knowledge_god_name_possessive + KnowledgeGodSheHe = CHARACTER_SHEHE_HE + KnowledgeGodHerHis = CHARACTER_HERHIS_HIS + KnowledgeGodHerHim = CHARACTER_HERHIM_HIM + + #WarGod | placeholder + WarGodName = europeanist_war_god_name + WarGodNamePossessive = europeanist_war_god_name_possessive + WarGodSheHe = CHARACTER_SHEHE_HE + WarGodHerHis = CHARACTER_HERHIS_HIS + WarGodHerHim = CHARACTER_HERHIM_HIM + + #TricksterGod | placeholder + TricksterGodName = europeanist_trickster_god_name + TricksterGodNamePossessive = europeanist_trickster_god_name_possessive + TricksterGodSheHe = CHARACTER_SHEHE_HE + TricksterGodHerHis = CHARACTER_HERHIS_HIS + TricksterGodHerHim = CHARACTER_HERHIM_HIM + + #NightGod | placeholder + NightGodName = europeanist_night_god_name + NightGodNamePossessive = europeanist_night_god_name_possessive + NightGodSheHe = CHARACTER_SHEHE_HE + NightGodHerHis = CHARACTER_HERHIS_HIS + NightGodHerHim = CHARACTER_HERHIM_HIM + + #WaterGod | placeholder + WaterGodName = europeanist_water_god_name + WaterGodNamePossessive = europeanist_water_god_name_possessive + WaterGodSheHe = CHARACTER_SHEHE_HE + WaterGodHerHis = CHARACTER_HERHIS_HIS + WaterGodHerHim = CHARACTER_HERHIM_HIM + + PantheonTerm = europeanist_high_god_name + PantheonTermHasHave = pantheon_term_has + GoodGodNames = { + europeanist_high_god_name + europeanist_high_god_name_alternate + europeanist_water_god_name + europeanist_war_god_name + europeanist_trickster_god_name + europeanist_witch_god_name + europeanist_fate_god_name + europeanist_health_god_name + europeanist_wealth_god_name + } + DevilName = europeanist_devil_name + DevilNamePossessive = europeanist_devil_name_possessive + DevilSheHe = CHARACTER_SHEHE_HE + DevilHerHis = CHARACTER_HERHIS_HIS + DevilHerHis = CHARACTER_HERHIS_HIS + DevilHerselfHimself = CHARACTER_HIMSELF + EvilGodNames = { + europeanist_devil_name + } + HouseOfWorship = europeanist_house_of_worship + HouseOfWorshipPlural = europeanist_house_of_worship_plural + ReligiousSymbol = europeanist_religious_symbol + ReligiousText = europeanist_religious_text + ReligiousHeadName = europeanist_religious_head_title + ReligiousHeadTitleName = europeanist_religious_head_title_name + DevoteeMale = europeanist_devotee + DevoteeMalePlural = europeanist_devotee_plural + DevoteeFemale = europeanist_devotee + DevoteeFemalePlural = europeanist_devotee_plural + DevoteeNeuter = europeanist_devotee + DevoteeNeuterPlural = europeanist_devotee_plural + PriestMale = europeanist_priest + PriestMalePlural = europeanist_priest_plural + PriestFemale = europeanist_priest + PriestFemalePlural = europeanist_priest_plural + PriestNeuter = europeanist_priest + PriestNeuterPlural = europeanist_priest_plural + AltPriestTermPlural = europeanist_priest_plural + BishopMale = europeanist_bishop + BishopMalePlural = europeanist_bishop_plural + BishopFemale = europeanist_bishop + BishopFemalePlural = europeanist_bishop_plural + BishopNeuter = europeanist_bishop + BishopNeuterPlural = europeanist_bishop_plural + DivineRealm = europeanist_positive_afterlife + PositiveAfterLife = europeanist_positive_afterlife + NegativeAfterLife = europeanist_negative_afterlife + DeathDeityName = europeanist_death_deity_name + DeathDeityNamePossessive = europeanist_death_deity_name_possessive + DeathDeitySheHe = CHARACTER_SHEHE_HE + DeathDeityHerHis = CHARACTER_HERHIS_HIS + DeathDeityHerHim = CHARACTER_HERHIM_HIM + WitchGodName = europeanist_witch_god_name + WitchGodNamePossessive = europeanist_witch_god_name_possessive + WitchGodHerHis = CHARACTER_HERHIS_HIS + WitchGodSheHe = CHARACTER_SHEHE_HE + WitchGodHerHim = CHARACTER_HERHIM_HIM + WitchGodMistressMaster = master + WitchGodMotherFather = father + + + GHWName = ghw_crusade + GHWNamePlural = ghw_crusades + + } +} diff --git a/common/religion/rite_types/NEOW_rites_calvinist.txt b/common/religion/rite_types/NEOW_rites_calvinist.txt index 5fae50421..3e24dcfaf 100644 --- a/common/religion/rite_types/NEOW_rites_calvinist.txt +++ b/common/religion/rite_types/NEOW_rites_calvinist.txt @@ -15,6 +15,7 @@ special_doctrine_reformation_roots doctrine_no_head doctrine_pilgrimage_encouraged + doctrine_theocracy_lay_clergy doctrine_bastardry_none doctrine_gender_equal } diff --git a/common/religion/rite_types/NEOW_rites_chronicler.txt b/common/religion/rite_types/NEOW_rites_chronicler.txt index f0ba61b14..388c9559c 100644 --- a/common/religion/rite_types/NEOW_rites_chronicler.txt +++ b/common/religion/rite_types/NEOW_rites_chronicler.txt @@ -3,7 +3,7 @@ desc = nobelian_rite_desc faith = chronicler_faith - color = { 204 179 51 } + color = { 153 142 91 } icon = nobelian tenets = { tenet_communion @@ -33,7 +33,7 @@ rosenkreuzer_rite = { desc = rosenkreuzer_rite_desc faith = chronicler_faith - color = { 178 17 31 } + color = { 127 89 89 } icon = rosenkreuzer tenets = { tenet_communion @@ -63,7 +63,7 @@ osvicenist_rite = { desc = osvicenist_rite_desc faith = chronicler_faith - color = { 191 167 9 } + color = { 165 124 82 } icon = osvicenist tenets = { tenet_communion diff --git a/common/religion/rite_types/NEOW_rites_mariavite_catholic.txt b/common/religion/rite_types/NEOW_rites_mariavite_catholic.txt index 448b530ef..8fd765872 100644 --- a/common/religion/rite_types/NEOW_rites_mariavite_catholic.txt +++ b/common/religion/rite_types/NEOW_rites_mariavite_catholic.txt @@ -4,7 +4,7 @@ founder = d_mariavite_hof faith = mariavite_catholic_faith - color = { 22 126 229 } + color = { 22 145 226 } icon = mariavite tenets = { tenet_esotericism diff --git a/common/religion/rite_types/NEOW_rites_neuhumanist.txt b/common/religion/rite_types/NEOW_rites_neuhumanist.txt index 9dab0d4db..93d37c3fb 100644 --- a/common/religion/rite_types/NEOW_rites_neuhumanist.txt +++ b/common/religion/rite_types/NEOW_rites_neuhumanist.txt @@ -3,7 +3,7 @@ desc = mysteriosophy_rite_desc faith = neuhumanist_faith - color = { 15 40 153 } + color = { 21 30 140 } icon = mysteriosophy tenets = { @@ -18,7 +18,7 @@ rationalist_rite = { desc = rationalist_rite_desc faith = neuhumanist_faith - color = { 17 0 102 } + color = { 39 31 124 } icon = neuhumanist tenets = { @@ -33,7 +33,7 @@ strebenist_rite = { desc = strebenist_rite_desc faith = neuhumanist_faith - color = { 91 16 165 } + color = { 55 22 153 } icon = strebenist tenets = { tenet_pursuit_of_power diff --git a/common/religion/rite_types/NEOW_rites_novelist.txt b/common/religion/rite_types/NEOW_rites_novelist.txt index 79323b619..e0cbe3326 100644 --- a/common/religion/rite_types/NEOW_rites_novelist.txt +++ b/common/religion/rite_types/NEOW_rites_novelist.txt @@ -18,7 +18,7 @@ carolingian_rite = { desc = carolingian_rite_desc faith = novelist_faith - color = { 0.9 0.7 0.1 } + color = { 214 152 29 } icon = carolingian tenets = { @@ -33,7 +33,7 @@ simurghi_rite = { desc = simurghi_rite_desc faith = novelist_faith - color = { 0.5 0.8 0.1 } + color = { 189 204 26 } icon = simurghi tenets = { diff --git a/common/religion/rite_types/NEOW_rites_old_thelemite.txt b/common/religion/rite_types/NEOW_rites_old_thelemite.txt index cce83066d..fd0cd1b9b 100644 --- a/common/religion/rite_types/NEOW_rites_old_thelemite.txt +++ b/common/religion/rite_types/NEOW_rites_old_thelemite.txt @@ -1,11 +1,10 @@ old_thelemite_rite = { name = old_thelemite_rite desc = old_thelemite_rite_desc - #founder = d_united_grand_lodge faith = old_thelemite_faith color = { 108 12 127 } - icon = victorian + icon = old_thelema tenets = { tenet_communion } diff --git a/common/religion/rite_types/NEOW_rites_sebastianist.txt b/common/religion/rite_types/NEOW_rites_sebastianist.txt new file mode 100644 index 000000000..7b9e151d3 --- /dev/null +++ b/common/religion/rite_types/NEOW_rites_sebastianist.txt @@ -0,0 +1,14 @@ +sebastianist_rite = { + name = sebastianist_rite + desc = sebastianist_rite_desc + faith = sebastianist_faith + + color = { 25 50 127 } + icon = sebastianist + + tenets = { + tenet_armed_pilgrimages + tenet_chivalric_ideals + tenet_divine_progress + } +} \ No newline at end of file diff --git a/common/religion/rite_types/NEOW_rites_volksmarchen.txt b/common/religion/rite_types/NEOW_rites_volksmarchen.txt index 17c41d5ac..f34ca6621 100644 --- a/common/religion/rite_types/NEOW_rites_volksmarchen.txt +++ b/common/religion/rite_types/NEOW_rites_volksmarchen.txt @@ -3,9 +3,10 @@ desc = volksmarchen_rite_desc faith = volksmarchen_faith - color = { 68 57 191 } icon = volksmarchen + color = { 78 56 188 } + tenets = { tenet_legalism tenet_religious_legal_pronouncements diff --git a/common/religion/rite_types/NEOW_rites_wiccan.txt b/common/religion/rite_types/NEOW_rites_wiccan.txt index 044a9a6ff..237ab5ed7 100644 --- a/common/religion/rite_types/NEOW_rites_wiccan.txt +++ b/common/religion/rite_types/NEOW_rites_wiccan.txt @@ -4,7 +4,7 @@ faith = wiccan_faith color = { 22 198 229 } - icon = victorian + icon = arcane tenets = { tenet_communion } diff --git a/gfx/interface/illustrations/scripted_illustrations/ingame.txt b/gfx/interface/illustrations/scripted_illustrations/ingame.txt index 00990d030..d5705a4c8 100644 --- a/gfx/interface/illustrations/scripted_illustrations/ingame.txt +++ b/gfx/interface/illustrations/scripted_illustrations/ingame.txt @@ -55,7 +55,7 @@ character_view_bg = { trigger = { is_alive = no OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - primary_title = title:e_byzantium + is_eastern_roman_emperor_primary_title_trigger = yes } } @@ -101,14 +101,15 @@ character_view_bg = { } texture = { # Dharmic East Asia - reference = "event_scenes/tgp_temple_asia.dds" + reference = "event_scenes/tgp_holysite_asia.dds" trigger = { is_alive = no - religion = { - OR = { - is_in_family = rf_eastern - is_in_family = rf_sinitic + OR = { + religion_is_east_asian_trigger = yes + AND = { + culture = { has_graphical_east_asia_culture_group_trigger = yes } + broadly_dharmic_trigger = yes } } } @@ -126,6 +127,30 @@ character_view_bg = { reference = "event_scenes/ep2_holysite_tribal.dds" } + # MPO + + texture = { + trigger = { + is_alive = no + OR = { + religion = religion:tengrism_religion + religion = religion:magyar_religion + religion = religion:siberian_religion + religion = religion:shamanism_religion + religion = religion:kamuyism_religion + } + } + reference = "holding_types/mpo_temple_steppe.dds" + } + + texture = { + trigger = { + is_alive = no + south_east_asian_pagan_trigger = yes + } + reference = "holding_types/tgp_temple_pagan_se_asia.dds" + } + # Fallback texture = { @@ -140,6 +165,21 @@ character_view_bg = { trigger = { is_alive = no + NOT = { + has_trait = saint + } + } + } + + environment = { + reference = "environment_ce3_deceased_saint" + + trigger = { + is_alive = no + has_trait = saint + religion = { + is_in_family = rf_abrahamic + } } } @@ -159,7 +199,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } } @@ -180,7 +220,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } } @@ -203,7 +243,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } } @@ -219,7 +259,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } } @@ -237,7 +277,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } } @@ -350,7 +390,7 @@ character_view_bg = { NOR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder culture = { OR = { has_graphical_mena_culture_group_trigger = yes @@ -373,7 +413,7 @@ character_view_bg = { NOR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder culture = { OR = { has_graphical_mena_culture_group_trigger = yes @@ -398,7 +438,7 @@ character_view_bg = { NOR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder culture = { OR = { has_graphical_mena_culture_group_trigger = yes @@ -416,7 +456,7 @@ character_view_bg = { NOR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder culture = { OR = { has_graphical_mena_culture_group_trigger = yes @@ -436,7 +476,7 @@ character_view_bg = { NOR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder culture = { OR = { has_graphical_mena_culture_group_trigger = yes @@ -627,7 +667,7 @@ character_view_bg = { government_has_flag = government_is_clan government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } capital_province = { NOT = { geographical_region = graphical_mena } @@ -647,7 +687,7 @@ character_view_bg = { government_has_flag = government_is_clan government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } capital_province = { NOT = { geographical_region = graphical_mena } @@ -672,7 +712,7 @@ character_view_bg = { government_has_flag = government_is_clan government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } capital_province = { NOT = { geographical_region = graphical_mena } @@ -690,7 +730,7 @@ character_view_bg = { government_has_flag = government_is_clan government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } capital_province = { NOT = { geographical_region = graphical_mena } @@ -708,7 +748,7 @@ character_view_bg = { government_has_flag = government_is_clan government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } capital_province = { NOT = { geographical_region = graphical_mena } @@ -2194,7 +2234,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } location ?= involved_activity.activity_location @@ -2210,7 +2250,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } location ?= involved_activity.activity_location @@ -2230,7 +2270,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } location ?= involved_activity.activity_location @@ -2244,7 +2284,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } location ?= involved_activity.activity_location @@ -2258,7 +2298,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } location ?= involved_activity.activity_location @@ -2591,29 +2631,29 @@ character_view_bg = { reference = "event_scenes/bp3_steppe_winter.dds" trigger = { location = { has_winter_trigger = yes } - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } environment = { reference = "environment_bp3_steppe_winter" trigger = { - location = { has_winter_trigger = yes } - government_has_flag = government_is_true_herder + location ?= { has_winter_trigger = yes } + government_has_flag = government_is_herder } } texture = { reference = "event_scenes/ep2_travel_steppe.dds" trigger = { - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } environment = { reference = "environment_travel_steppe_settlement" trigger = { - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } @@ -2626,9 +2666,9 @@ character_view_bg = { reference = "event_scenes/ep3_byzantine_throne_room.dds" trigger = { OR = { - primary_title = title:e_byzantium + is_eastern_roman_emperor_primary_title_trigger = yes AND = { - primary_spouse.primary_title = title:e_byzantium + primary_spouse ?= { is_eastern_roman_emperor_primary_title_trigger = yes } is_landed = no } } @@ -2640,12 +2680,12 @@ character_view_bg = { trigger = { AND = { exists = primary_title - primary_title = title:e_byzantium + is_eastern_roman_emperor_primary_title_trigger = yes is_character_window_main_character = yes - # AND = { - # primary_spouse.primary_title = title:e_byzantium - # is_landed = no - # } + AND = { + primary_spouse ?= { is_eastern_roman_emperor_primary_title_trigger = yes } + is_landed = no + } } } } @@ -2657,24 +2697,24 @@ character_view_bg = { # AND = { # exists = primary_spouse # primary_spouse = { - # primary_title = title:e_byzantium + # is_eastern_roman_emperor_primary_title_trigger = yes # } # } # AND = { # exists = betrothed # betrothed = { - # primary_title = title:e_byzantium + # is_eastern_roman_emperor_primary_title_trigger = yes # } # } # AND = { # liege.diarch ?= this # liege ?= { - # primary_title = title:e_byzantium + # is_eastern_roman_emperor_primary_title_trigger = yes # } # } # AND = { # exists = primary_title - # primary_title = title:e_byzantium + # is_eastern_roman_emperor_primary_title_trigger = yes # } # } # is_character_window_main_character = no @@ -2734,9 +2774,9 @@ character_view_bg = { AND = { exists = primary_spouse OR = { - primary_title = title:e_byzantium + is_eastern_roman_emperor_primary_title_trigger = yes AND = { - primary_spouse.primary_title = title:e_byzantium + primary_spouse ?= { is_eastern_roman_emperor_primary_title_trigger = yes } is_landed = no } } @@ -2744,9 +2784,9 @@ character_view_bg = { AND = { exists = betrothed OR = { - primary_title = title:e_byzantium + is_eastern_roman_emperor_primary_title_trigger = yes AND = { - primary_spouse.primary_title = title:e_byzantium + betrothed = { is_eastern_roman_emperor_primary_title_trigger = yes } is_landed = no } } @@ -2754,10 +2794,11 @@ character_view_bg = { AND = { liege.diarch ?= this OR = { - primary_title = title:e_byzantium - AND = { - primary_spouse.primary_title = title:e_byzantium - is_landed = no + is_eastern_roman_emperor_primary_title_trigger = yes + liege ?= { + exists = primary_title + primary_title.tier >= tier_empire + is_eastern_roman_emperor_primary_title_trigger = yes } } } @@ -2806,7 +2847,7 @@ character_view_bg = { NOT = { location = involved_activity.activity_location } } location.county ?= title:c_byzantion - NOT = { primary_title = title:e_byzantium } + is_roman_emperor_primary_title_trigger = no is_imprisoned = no } } @@ -2823,7 +2864,7 @@ character_view_bg = { NOT = { location = involved_activity.activity_location } } location.county ?= title:c_byzantion - NOT = { primary_title = title:e_byzantium } + is_roman_emperor_primary_title_trigger = no is_imprisoned = no is_character_window_main_character = yes } @@ -2845,7 +2886,7 @@ character_view_bg = { NOT = { location = involved_activity.activity_location } } location.county ?= title:c_byzantion - NOT = { primary_title = title:e_byzantium } + is_roman_emperor_primary_title_trigger = no is_imprisoned = no } } @@ -2860,7 +2901,7 @@ character_view_bg = { NOT = { location = involved_activity.activity_location } } location.county ?= title:c_byzantion - NOT = { primary_title = title:e_byzantium } + is_roman_emperor_primary_title_trigger = no is_imprisoned = no } } @@ -2875,7 +2916,7 @@ character_view_bg = { NOT = { location = involved_activity.activity_location } } location.county ?= title:c_byzantion - NOT = { primary_title = title:e_byzantium } + is_roman_emperor_primary_title_trigger = no is_imprisoned = no } } @@ -2936,22 +2977,14 @@ character_view_bg = { AND = { is_landed = no domicile ?= { - OR = { - is_domicile_type = estate - is_domicile_type = east_asian_estate - is_domicile_type = japanese_manor - } + domicile_is_estate_trigger = yes } has_graphical_east_asia_region_trigger = yes } primary_spouse ?= { # Primary Spouse is_landed = no domicile ?= { - OR = { - is_domicile_type = estate - is_domicile_type = east_asian_estate - is_domicile_type = japanese_manor - } + domicile_is_estate_trigger = yes } has_graphical_east_asia_region_trigger = yes } @@ -2967,22 +3000,14 @@ character_view_bg = { AND = { is_landed = no domicile ?= { - OR = { - is_domicile_type = estate - is_domicile_type = east_asian_estate - is_domicile_type = japanese_manor - } + domicile_is_estate_trigger = yes } has_graphical_east_asia_region_trigger = yes } primary_spouse ?= { # Primary Spouse is_landed = no domicile ?= { - OR = { - is_domicile_type = estate - is_domicile_type = east_asian_estate - is_domicile_type = japanese_manor - } + domicile_is_estate_trigger = yes } has_graphical_east_asia_region_trigger = yes } @@ -7792,13 +7817,7 @@ character_view_bg = { reference = "character_view/courtyard_indian.dds" trigger = { - exists = location - location = { - OR = { - geographical_region = world_india - geographical_region = world_burma - } - } + location ?= { geographical_region = graphical_india } NOR = { exists = liege @@ -7813,13 +7832,7 @@ character_view_bg = { reference = "environment_event_bp1_courtyard_indian" trigger = { - exists = location - location = { - OR = { - geographical_region = world_india - geographical_region = world_burma - } - } + location ?= { geographical_region = graphical_india } NOR = { exists = liege exists = host @@ -7838,13 +7851,7 @@ character_view_bg = { AND = { exists = primary_spouse primary_spouse = { - exists = location - location = { - OR = { - geographical_region = world_india - geographical_region = world_burma - } - } + location ?= { geographical_region = graphical_india } NOR = { exists = liege exists = host @@ -7856,13 +7863,7 @@ character_view_bg = { AND = { exists = betrothed betrothed = { - exists = location - location = { - OR = { - geographical_region = world_india - geographical_region = world_burma - } - } + location ?= { geographical_region = graphical_india } NOR = { exists = liege exists = host @@ -7874,13 +7875,7 @@ character_view_bg = { AND = { liege.diarch ?= this liege ?= { - exists = location - location = { - OR = { - geographical_region = world_india - geographical_region = world_burma - } - } + location ?= { geographical_region = graphical_india } NOR = { exists = liege exists = host @@ -8760,21 +8755,133 @@ character_view_bg = { ########################################## - texture = { # Christian - reference = "event_scenes/church.dds" + #Under-construction cathedral + texture = { + reference = "event_scenes/pam_cathedral_construction.dds" trigger = { + capital_county ?= { + any_county_province = { + has_building = great_project_cathedral_under_construction + } + } should_use_temple_character_background_trigger = yes - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + religion = religion:christianity_religion + #Does actually have a cathedral domicile + domicile ?= { has_domicile_building_or_higher = ecclesiastical_domicile_main_01 } } } environment = { + reference = "environment_pam_cathedral_construction" + + trigger = { + capital_county ?= { + any_county_province = { + has_building = great_project_cathedral_under_construction + } + } + should_use_temple_character_background_trigger = yes + religion = religion:christianity_religion + #Does actually have a cathedral domicile + domicile ?= { has_domicile_building_or_higher = ecclesiastical_domicile_main_01 } + is_character_window_main_character = yes + } + } + + texture = { # Christian - Grand Cathedral (high clergy) + reference = "event_scenes/church.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + pam_church_event_background_is_grand_western_pre_gothic_trigger = yes + } + } + + environment = { # Christian - Grand Cathedral (high clergy) reference = "environment_event_church" trigger = { should_use_temple_character_background_trigger = yes - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + pam_church_event_background_is_grand_western_pre_gothic_trigger = yes + is_character_window_main_character = yes + } + } + + texture = { # Christian - Grand Gothic Cathedral (high clergy) + reference = "event_scenes/pam_gothic_cathedral_interior.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + pam_church_event_background_is_grand_western_trigger = yes + } + } + + environment = { # Christian - Grand Gothic Cathedral (high clergy) + reference = "environment_pam_gothic_cathedral_interior" + + trigger = { + should_use_temple_character_background_trigger = yes + pam_church_event_background_is_grand_western_trigger = yes + is_character_window_main_character = yes + } + } + + texture = { # Christian - Grand Cathedral Eastern (high clergy) + reference = "event_scenes/ep3_hagia_sophia.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + pam_church_event_background_is_grand_eastern_trigger = yes + } + } + + environment = { # Christian - Grand Cathedral Eastern (high clergy) + reference = "environment_ep3_hagia_sophia" + + trigger = { + should_use_temple_character_background_trigger = yes + pam_church_event_background_is_grand_eastern_trigger = yes + is_character_window_main_character = yes + } + } + + texture = { # Christian - Developed Church + reference = "event_scenes/pam_romanesque_church_interior.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + religion = religion:christianity_religion + pam_church_event_background_is_developed_trigger = yes + } + } + + environment = { # Christian - Developed Church + reference = "environment_pam_romanesque_church_interior" + + trigger = { + should_use_temple_character_background_trigger = yes + religion = religion:christianity_religion + pam_church_event_background_is_developed_trigger = yes + is_character_window_main_character = yes + } + } + + texture = { # Christian + reference = "event_scenes/pam_simple_church_western_interior.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + religion = religion:christianity_religion + } + } + + environment = { + reference = "environment_pam_simple_church_western_interior" + + trigger = { + should_use_temple_character_background_trigger = yes + religion = religion:christianity_religion is_character_window_main_character = yes } } @@ -8854,13 +8961,105 @@ character_view_bg = { ########################################## + texture = { # MPO + reference = "holding_types/mpo_temple_steppe.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + religion_is_pagan_steppe = yes + } + } + + environment = { + reference = "environment_mpo_temple_steppe" + + trigger = { + should_use_temple_character_background_trigger = yes + religion_is_pagan_steppe = yes + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_mpo_temple_steppe" + + trigger = { + OR = { + primary_spouse ?= { + should_use_temple_character_background_trigger = yes + religion_is_pagan_steppe = yes + } + betrothed ?= { + should_use_temple_character_background_trigger = yes + religion_is_pagan_steppe = yes + } + AND = { + liege.diarch ?= this + liege ?= { + should_use_temple_character_background_trigger = yes + religion_is_pagan_steppe = yes + } + } + } + is_character_window_main_character = no + } + } + + ########################################## + + texture = { # MPO + reference = "holding_types/mpo_temple_steppe.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + religion_is_pagan_steppe = yes + } + } + + environment = { + reference = "environment_mpo_temple_steppe" + + trigger = { + should_use_temple_character_background_trigger = yes + religion_is_pagan_steppe = yes + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_mpo_temple_steppe" + + trigger = { + OR = { + primary_spouse ?= { + should_use_temple_character_background_trigger = yes + religion_is_pagan_steppe = yes + } + betrothed ?= { + should_use_temple_character_background_trigger = yes + religion_is_pagan_steppe = yes + } + AND = { + liege.diarch ?= this + liege ?= { + should_use_temple_character_background_trigger = yes + religion_is_pagan_steppe = yes + } + } + } + is_character_window_main_character = no + } + } + ########################################## + texture = { # Dharmic India / Southeast Asia reference = "event_scenes/ep2_holysite_indian.dds" trigger = { should_use_temple_character_background_trigger = yes - religion = { - is_in_family = rf_eastern + OR = { + religion = { is_in_family = rf_eastern } + broadly_dharmic_trigger = yes } culture = { has_graphical_india_culture_group_trigger = yes @@ -8873,8 +9072,9 @@ character_view_bg = { trigger = { should_use_temple_character_background_trigger = yes - religion = { - is_in_family = rf_eastern + OR = { + religion = { is_in_family = rf_eastern } + broadly_dharmic_trigger = yes } culture = { has_graphical_india_culture_group_trigger = yes @@ -8890,8 +9090,9 @@ character_view_bg = { OR = { primary_spouse ?= { should_use_temple_character_background_trigger = yes - religion = { - is_in_family = rf_eastern + OR = { + religion = { is_in_family = rf_eastern } + broadly_dharmic_trigger = yes } culture = { has_graphical_india_culture_group_trigger = yes @@ -8899,8 +9100,9 @@ character_view_bg = { } betrothed ?= { should_use_temple_character_background_trigger = yes - religion = { - is_in_family = rf_eastern + OR = { + religion = { is_in_family = rf_eastern } + broadly_dharmic_trigger = yes } culture = { has_graphical_india_culture_group_trigger = yes @@ -8910,8 +9112,9 @@ character_view_bg = { liege.diarch ?= this liege ?= { should_use_temple_character_background_trigger = yes - religion = { - is_in_family = rf_eastern + OR = { + religion = { is_in_family = rf_eastern } + broadly_dharmic_trigger = yes } culture = { has_graphical_india_culture_group_trigger = yes @@ -9011,12 +9214,194 @@ character_view_bg = { ########################################## + # African Pagan + + texture = { # African Pagan + reference = "event_scenes/ep2_holysite_tribal.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + faith.religion = { is_in_family = rf_pagan } + OR = { + government_has_flag = government_is_tribal + government_has_flag = government_is_nomadic + } + culture = { + has_graphical_african_culture_group_trigger = yes + } + } + } + + environment = { # African Pagan + trigger = { + should_use_temple_character_background_trigger = yes + faith.religion = { is_in_family = rf_pagan } + OR = { + government_has_flag = government_is_in_steppe + government_has_flag = government_is_tribal + } + culture = { + has_graphical_african_culture_group_trigger = yes + } + } + reference = "environment_event_garden" + } + + + texture = { # Northern Pagan + reference = "holding_types/temple_northern_pagan.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + faith.religion = { is_in_family = rf_pagan } + religion_is_non_norse_european_pagan_trigger = yes + } + } + + environment = { + reference = "environment_event_garden" + + trigger = { + should_use_temple_character_background_trigger = yes + faith.religion = { is_in_family = rf_pagan } + religion_is_non_norse_european_pagan_trigger = yes + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_event_garden" + + trigger = { + OR = { + primary_spouse ?= { + should_use_temple_character_background_trigger = yes + faith.religion = { is_in_family = rf_pagan } + religion_is_non_norse_european_pagan_trigger = yes + } + betrothed ?= { + should_use_temple_character_background_trigger = yes + faith.religion = { is_in_family = rf_pagan } + religion_is_non_norse_european_pagan_trigger = yes + } + AND = { + liege.diarch ?= this + liege ?= { + should_use_temple_character_background_trigger = yes + faith.religion = { is_in_family = rf_pagan } + religion_is_non_norse_european_pagan_trigger = yes + } + } + } + is_character_window_main_character = no + } + } + + ########################################## + + texture = { # Broadly Dharmic East Asia + reference = "event_scenes/tgp_holysite_asia.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + culture = { has_graphical_east_asia_culture_group_trigger = yes } + broadly_dharmic_trigger = yes + } + } + + environment = { + reference = "environment_tgp_temple_asia" + + trigger = { + should_use_temple_character_background_trigger = yes + culture = { has_graphical_east_asia_culture_group_trigger = yes } + broadly_dharmic_trigger = yes + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_tgp_temple_asia" + + trigger = { + OR = { + primary_spouse ?= { + should_use_temple_character_background_trigger = yes + culture = { has_graphical_east_asia_culture_group_trigger = yes } + broadly_dharmic_trigger = yes + } + betrothed ?= { + should_use_temple_character_background_trigger = yes + culture = { has_graphical_east_asia_culture_group_trigger = yes } + broadly_dharmic_trigger = yes + } + AND = { + liege.diarch ?= this + liege ?= { + should_use_temple_character_background_trigger = yes + culture = { has_graphical_east_asia_culture_group_trigger = yes } + broadly_dharmic_trigger = yes + } + } + } + is_character_window_main_character = no + } + } + + ########################################## + + texture = { # Confucianism + reference = "event_scenes/tgp_holysite_asia.dds" + + trigger = { + should_use_temple_character_background_trigger = yes + religion = religion:confucianism_religion + } + } + + environment = { + reference = "environment_tgp_temple_asia" + + trigger = { + should_use_temple_character_background_trigger = yes + religion = religion:confucianism_religion + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_tgp_temple_asia" + + trigger = { + OR = { + primary_spouse ?= { + should_use_temple_character_background_trigger = yes + religion = religion:confucianism_religion + } + betrothed ?= { + should_use_temple_character_background_trigger = yes + religion = religion:confucianism_religion + } + AND = { + liege.diarch ?= this + liege ?= { + should_use_temple_character_background_trigger = yes + religion = religion:confucianism_religion + } + } + } + is_character_window_main_character = no + } + } + + ########################################## + texture = { # FP1 reference = "event_scenes/fp1_tribal_temple.dds" trigger = { should_use_temple_character_background_trigger = yes - religion = religion:folk_germanic_religion + religion = religion:germanic_religion } } @@ -9057,6 +9442,14 @@ character_view_bg = { ########################################## + texture = { + trigger = { + should_use_temple_character_background_trigger = yes + south_east_asian_pagan_trigger = yes + } + reference = "holding_types/tgp_temple_pagan_se_asia.dds" + } + texture = { # Fallback reference = "event_scenes/temple.dds" @@ -9088,6 +9481,278 @@ character_view_bg = { } } + ########################################## + # HOLY ORDERS + + texture = { # Iberian + reference = "event_scenes/fp2_courtyard.dds" + + trigger = { + government_has_flag = government_is_holy_order + has_graphical_iberia_region_trigger = yes + } + } + + environment = { + reference = "environment_event_fp2_courtyard" + + trigger = { + government_has_flag = government_is_holy_order + has_graphical_iberia_region_trigger = yes + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_event_fp2_courtyard" + + trigger = { + OR = { + primary_spouse ?= { + government_has_flag = government_is_holy_order + has_graphical_iberia_region_trigger = yes + } + betrothed ?= { + government_has_flag = government_is_holy_order + has_graphical_iberia_region_trigger = yes + } + AND = { + liege.diarch ?= this + liege ?= { + government_has_flag = government_is_holy_order + has_graphical_iberia_region_trigger = yes + } + } + } + is_character_window_main_character = no + } + } + + ########################################## + + texture = { # Mediterranean + reference = "event_scenes/ep3_city_gate.dds" + + trigger = { + government_has_flag = government_is_holy_order + has_graphical_mediterranean_region_trigger = yes + } + } + + environment = { + reference = "environment_ep3_castle_gates" + + trigger = { + government_has_flag = government_is_holy_order + has_graphical_mediterranean_region_trigger = yes + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_ep3_castle_gates" + + trigger = { + OR = { + primary_spouse ?= { + government_has_flag = government_is_holy_order + has_graphical_mediterranean_region_trigger = yes + } + betrothed ?= { + government_has_flag = government_is_holy_order + has_graphical_mediterranean_region_trigger = yes + } + AND = { + liege.diarch ?= this + liege ?= { + government_has_flag = government_is_holy_order + has_graphical_mediterranean_region_trigger = yes + } + } + } + is_character_window_main_character = no + } + } + + ########################################## + + texture = { # Indian + reference = "event_scenes/bp1_courtyard_indian.dds" + + trigger = { + government_has_flag = government_is_holy_order + has_graphical_india_region_trigger = yes + } + } + + environment = { + reference = "environment_event_bp1_courtyard_indian" + + trigger = { + government_has_flag = government_is_holy_order + has_graphical_india_region_trigger = yes + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_event_bp1_courtyard_indian" + + trigger = { + OR = { + primary_spouse ?= { + government_has_flag = government_is_holy_order + has_graphical_india_region_trigger = yes + } + betrothed ?= { + government_has_flag = government_is_holy_order + has_graphical_india_region_trigger = yes + } + AND = { + liege.diarch ?= this + liege ?= { + government_has_flag = government_is_holy_order + has_graphical_india_region_trigger = yes + } + } + } + is_character_window_main_character = no + } + } + + ########################################## + + texture = { # MENA + reference = "event_scenes/bp1_courtyard_mena.dds" + + trigger = { + government_has_flag = government_is_holy_order + has_graphical_mena_region_trigger = yes + } + } + + environment = { + reference = "environment_event_bp1_courtyard_mena" + + trigger = { + government_has_flag = government_is_holy_order + has_graphical_mena_region_trigger = yes + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_event_bp1_courtyard_mena" + + trigger = { + OR = { + primary_spouse ?= { + government_has_flag = government_is_holy_order + has_graphical_mena_region_trigger = yes + } + betrothed ?= { + government_has_flag = government_is_holy_order + has_graphical_mena_region_trigger = yes + } + AND = { + liege.diarch ?= this + liege ?= { + government_has_flag = government_is_holy_order + has_graphical_mena_region_trigger = yes + } + } + } + is_character_window_main_character = no + } + } + + ########################################## + + texture = { # East Asian + reference = "event_scenes/tgp_courtyard_asia.dds" + + trigger = { + government_has_flag = government_is_holy_order + has_graphical_east_asia_region_trigger = yes + } + } + + environment = { + reference = "environment_tgp_courtyard_asia" + + trigger = { + government_has_flag = government_is_holy_order + has_graphical_east_asia_region_trigger = yes + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_tgp_courtyard_asia" + + trigger = { + OR = { + primary_spouse ?= { + government_has_flag = government_is_holy_order + has_graphical_east_asia_region_trigger = yes + } + betrothed ?= { + government_has_flag = government_is_holy_order + has_graphical_east_asia_region_trigger = yes + } + AND = { + liege.diarch ?= this + liege ?= { + government_has_flag = government_is_holy_order + has_graphical_east_asia_region_trigger = yes + } + } + } + is_character_window_main_character = no + } + } + + ########################################## + + texture = { # Western / fallback + reference = "event_scenes/courtyard.dds" + + trigger = { + government_has_flag = government_is_holy_order + } + } + + environment = { + reference = "environment_event_courtyard" + + trigger = { + government_has_flag = government_is_holy_order + is_character_window_main_character = yes + } + } + + environment = { + reference = "environment_event_courtyard" + + trigger = { + OR = { + primary_spouse ?= { + government_has_flag = government_is_holy_order + } + betrothed ?= { + government_has_flag = government_is_holy_order + } + AND = { + liege.diarch ?= this + liege ?= { + government_has_flag = government_is_holy_order + } + } + } + is_character_window_main_character = no + } + } + ########################################## # PHYSICIANS @@ -9100,7 +9765,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } } @@ -9115,7 +9780,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } is_character_window_main_character = yes @@ -9133,7 +9798,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } is_character_window_main_character = yes @@ -9144,7 +9809,7 @@ character_view_bg = { OR = { government_has_flag = government_is_tribal government_has_flag = government_is_nomadic - government_has_flag = government_is_true_herder + government_has_flag = government_is_herder } } is_character_window_main_character = yes @@ -9518,7 +10183,7 @@ character_view_bg = { OR = { AND = { # Lower Noble is_landed = yes - government_has_flag = government_is_administrative + government_has_mechanic = administrative exists = top_liege top_liege = { OR = { @@ -9538,7 +10203,7 @@ character_view_bg = { AND = { # Primary Spouse primary_spouse ?= { is_landed = yes - government_has_flag = government_is_administrative + government_has_mechanic = administrative exists = top_liege top_liege = { OR = { @@ -9560,7 +10225,7 @@ character_view_bg = { any_close_family_member = { location = prev.location is_landed = yes - government_has_flag = government_is_administrative + government_has_mechanic = administrative exists = top_liege top_liege = { OR = { @@ -9587,7 +10252,7 @@ character_view_bg = { trigger = { is_landed = yes - government_has_flag = government_is_administrative + government_has_mechanic = administrative exists = liege top_liege = { OR = { @@ -9616,7 +10281,7 @@ character_view_bg = { exists = primary_spouse primary_spouse = { is_landed = yes - government_has_flag = government_is_administrative + government_has_mechanic = administrative exists = top_liege top_liege = { OR = { @@ -11540,14 +12205,50 @@ character_religion_interior = { # Christianity + texture = { # Christian - Grand Cathedral (high clergy) + trigger = { pam_church_event_background_is_grand_western_trigger = yes } + reference = "event_scenes/pam_gothic_cathedral_interior.dds" + } + + environment = { # Christian - Grand Cathedral (high clergy) + trigger = { pam_church_event_background_is_grand_western_trigger = yes } + reference = "environment_pam_gothic_cathedral_interior" + } + + texture = { # Christian - Grand Cathedral Eastern (high clergy) + trigger = { pam_church_event_background_is_grand_eastern_trigger = yes } + reference = "event_scenes/ep3_hagia_sophia.dds" + } + + environment = { # Christian - Grand Cathedral Eastern (high clergy) + trigger = { pam_church_event_background_is_grand_eastern_trigger = yes } + reference = "environment_ep3_hagia_sophia" + } + + texture = { # Christian - Developed Church + trigger = { + religion = religion:christianity_religion + pam_church_event_background_is_developed_trigger = yes + } + reference = "event_scenes/pam_romanesque_church_interior.dds" + } + + environment = { # Christian - Developed Church + trigger = { + religion = religion:christianity_religion + pam_church_event_background_is_developed_trigger = yes + } + reference = "environment_pam_romanesque_church_interior" + } + texture = { - trigger = { OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } } - reference = "event_scenes/church.dds" + trigger = { religion = religion:christianity_religion } + reference = "event_scenes/pam_simple_church_western_interior.dds" } environment = { - trigger = { OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } } - reference = "environment_event_church" + trigger = { religion = religion:christianity_religion } + reference = "environment_pam_simple_church_western_interior" } # Islam @@ -11565,15 +12266,117 @@ character_religion_interior = { # FP1 texture = { # FP1 - trigger = { religion = religion:folk_germanic_religion } + trigger = { religion = religion:germanic_religion } reference = "event_scenes/fp1_tribal_temple.dds" } environment = { # FP1 - trigger = { religion = religion:folk_germanic_religion } + trigger = { religion = religion:germanic_religion } reference = "environment_event_fp1_tribal_temple" } + # African Pagan + + texture = { # African Pagan + reference = "event_scenes/ep2_holysite_tribal.dds" + + trigger = { + faith.religion = { is_in_family = rf_pagan } + OR = { + government_has_flag = government_is_tribal + government_has_flag = government_is_nomadic + } + culture = { + has_graphical_african_culture_group_trigger = yes + } + } + } + + environment = { # African Pagan + trigger = { + faith.religion = { is_in_family = rf_pagan } + OR = { + government_has_flag = government_is_tribal + government_has_flag = government_is_nomadic + } + culture = { + has_graphical_african_culture_group_trigger = yes + } + } + reference = "environment_ep2_holysite_tribal" + } + + # Northern Pagan + + texture = { # Northern Pagan + reference = "holding_types/temple_northern_pagan.dds" + + trigger = { + faith.religion = { is_in_family = rf_pagan } + religion_is_non_norse_european_pagan_trigger = yes + } + } + + environment = { # Northern Pagan + trigger = { + faith.religion = { is_in_family = rf_pagan } + religion_is_non_norse_european_pagan_trigger = yes + } + reference = "environment_event_garden" + } + + # Indian/SEA Buddhist + + texture = { # indian temple + trigger = { + culture = { has_graphical_india_culture_group_trigger = yes } + OR = { + religion = religion:buddhism_religion + broadly_dharmic_trigger = yes + } + } + reference = "event_scenes/ep2_holysite_indian.dds" + } + + environment = { # indian temple + trigger = { + culture = { has_graphical_india_culture_group_trigger = yes } + OR = { + religion = religion:buddhism_religion + broadly_dharmic_trigger = yes + } + } + reference = "environment_ep2_holysite_indian" + } + + # MPO + + texture = { + trigger = { + OR = { + religion = religion:tengrism_religion + religion = religion:magyar_religion + religion = religion:siberian_religion + religion = religion:shamanism_religion + religion = religion:kamuyism_religion + } + } + reference = "holding_types/mpo_temple_steppe.dds" + } + + environment = { + trigger = { + OR = { + religion = religion:tengrism_religion + religion = religion:magyar_religion + religion = religion:siberian_religion + religion = religion:shamanism_religion + religion = religion:kamuyism_religion + } + } + reference = "environment_mpo_temple_steppe" + } + # TGP - Buddhist texture = { # TGP @@ -11598,7 +12401,7 @@ character_religion_interior = { reference = "environment_tgp_holysite_asia" } - # TGP - Confucionism + # TGP - Confucianism texture = { # TGP trigger = { religion = religion:confucianism_religion } @@ -11610,6 +12413,34 @@ character_religion_interior = { reference = "environment_tgp_holysite_asia" } + texture = { + trigger = { religion_uses_east_asian_temple_trigger = yes } + reference = "event_scenes/tgp_temple_asia.dds" + } + + environment = { + trigger = { religion_uses_east_asian_temple_trigger = yes } + reference = "environment_tgp_temple_asia" + } + + # TGP - Broadly Dharmic Asian Religions + + texture = { # TGP + trigger = { + culture = { has_graphical_east_asia_culture_group_trigger = yes } + broadly_dharmic_trigger = yes + } + reference = "event_scenes/tgp_holysite_asia.dds" + } + + environment = { # TGP + trigger = { + culture = { has_graphical_east_asia_culture_group_trigger = yes } + broadly_dharmic_trigger = yes + } + reference = "environment_tgp_holysite_asia" + } + # TGP - Hinduism texture = { # TGP @@ -11659,168 +12490,6 @@ character_religion_interior = { ### Religious interior - Faith Scope religion_interior = { - ######################NEOW STUFF######################## - - -# texture = { -# trigger = { religion = religion:catholic_religion } -# reference = "event_scenes/church.dds" -# } -# -# environment = { -# trigger = { religion = religion:catholic_religion } -# reference = "environment_event_church" -# } -# -# texture = { -# trigger = { religion = religion:protestant_religion } -# reference = "event_scenes/church.dds" -# } -# -# environment = { -# trigger = { religion = religion:protestant_religion } -# reference = "environment_event_church" -# } -# -# texture = { -# trigger = { religion = religion:eastern_orthodox_religion } -# reference = "event_scenes/church.dds" -# } -# -# environment = { -# trigger = { religion = religion:eastern_orthodox_religion } -# reference = "environment_event_church" -# } - - texture = { - trigger = { this = faith:trenchsinger } - reference = "event_scenes/poppy_field.dds" - } - - texture = { - trigger = { religion = religion:judaism_religion } - reference = "event_scenes/synagogue.dds" - } - - texture = { - trigger = { this = faith:fracture } - reference = "event_scenes/chernobyl.dds" - } - - texture = { - trigger = { this = faith:kozachina } - reference = "event_scenes/ukrainian_steppe.dds" - } - - texture = { - trigger = { religion = religion:yugoslavic_religion } - reference = "event_scenes/spomenik.dds" - } - - texture = { - trigger = { - OR = { - this = faith:mariner - this = faith:viking - } - } - reference = "event_scenes/fp1_ocean.dds" - } - - texture = { - trigger = { this = faith:illuminated } - reference = "event_scenes/fp4_catacombs.dds" - } - - texture = { - trigger = { this = faith:elysian } - reference = "event_scenes/fp4_catacombs.dds" - } - - texture = { - trigger = { this = faith:obscurant } - reference = "event_scenes/fp1_tribal_prison.dds" - } - - texture = { - trigger = { religion = religion:folk_germanic_religion } - reference = "event_scenes/bp3_mountain_winter.dds" - } - - texture = { - trigger = { religion = religion:novelist_religion } - reference = "event_scenes/ep3_medi_study.dds" - } - - texture = { - trigger = { religion = religion:wicca_religion } - reference = "event_scenes/forest.dds" - } - - texture = { - trigger = { religion = religion:druidic_religion } - reference = "event_scenes/forest.dds" - } - - texture = { - trigger = { religion = religion:europeanist_religion } - reference = "event_scenes/fp2_garden.dds" - } - - texture = { - trigger = { religion = religion:chronicler_religion } - reference = "event_scenes/study.dds" - } - - texture = { - trigger = { religion = religion:french_pantheon_religion } - reference = "event_scenes/fp2_temple.dds" - } - - texture = { - trigger = { religion = religion:adonist_religion } - reference = "event_scenes/ep2_hunt_foggy_forest.dds" - } - - texture = { - trigger = { this = faith:leviathan } - reference = "event_scenes/fp4_funeral_pyre.dds" - } - - texture = { - trigger = { this = faith:victorian } - reference = "event_scenes/fp2_throneroom.dds" - } - - texture = { - trigger = { this = faith:jack_tar } - reference = "event_scenes/fp1_ocean.dds" - } - - #Giving simurghis muslim bg - texture = { - trigger = { this = faith:simurghi } - reference = "event_scenes/mosque.dds" - } - - environment = { - trigger = { this = faith:simurghi } - reference = "environment_event_mosque" - } - - #Thelemo - texture = { # FP1 - trigger = { religion = religion:thelema_religion } - reference = "event_scenes/fp1_tribal_temple.dds" - } - - environment = { # FP1 - trigger = { religion = religion:thelema_religion } - reference = "environment_event_fp1_tribal_temple" - } - - ######################END OF NEOW STUFF###################### - # FP3 texture = { @@ -11835,35 +12504,35 @@ religion_interior = { # Christianity - texture = { - trigger = { - OR = { -# this = faith:mozarabic_church - this = faith:muwalladi - } - } - reference = "event_scenes/fp2_temple.dds" - } - - environment = { - trigger = { - OR = { -# this = faith:mozarabic_church - this = faith:muwalladi - } - } - reference = "environment_event_fp2_temple" - } + #texture = { # TODO PAM Can't access rites from here, how do we solve FP2 illustrations? + # trigger = { + # OR = { + # this = rite:mozarabic_church + # this = rite:maliki + # } + # } + # reference = "event_scenes/fp2_temple.dds" + #} + # + #environment = { + # trigger = { + # OR = { + # this = rite:mozarabic_church + # this = rite:maliki + # } + # } + # reference = "environment_event_fp2_temple" + #} # Christianity texture = { - trigger = { OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } } + trigger = { religion = religion:christianity_religion } reference = "event_scenes/church.dds" } environment = { - trigger = { OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } } + trigger = { religion = religion:christianity_religion } reference = "environment_event_church" } @@ -11882,15 +12551,97 @@ religion_interior = { # FP1 texture = { # FP1 - trigger = { religion = religion:folk_germanic_religion } + trigger = { religion = religion:germanic_religion } reference = "event_scenes/fp1_tribal_temple.dds" } environment = { # FP1 - trigger = { religion = religion:folk_germanic_religion } + trigger = { religion = religion:germanic_religion } reference = "environment_event_fp1_tribal_temple" } + # MPO + + texture = { + trigger = { + OR = { + religion = religion:tengrism_religion + religion = religion:magyar_religion + religion = religion:siberian_religion + religion = religion:shamanism_religion + religion = religion:kamuyism_religion + } + } + reference = "holding_types/mpo_temple_steppe.dds" + } + + environment = { + trigger = { + OR = { + religion = religion:tengrism_religion + religion = religion:magyar_religion + religion = religion:siberian_religion + religion = religion:shamanism_religion + religion = religion:kamuyism_religion + } + } + reference = "environment_mpo_temple_steppe" + } + + # TGP - Buddhist + + texture = { # TGP + trigger = { religion = religion:buddhism_religion } + reference = "event_scenes/tgp_temple_asia.dds" + } + + environment = { # TGP + trigger = { religion = religion:buddhism_religion } + reference = "environment_tgp_temple_asia" + } + + # TGP - Taoism + + texture = { # TGP + trigger = { religion = religion:taoism_religion } + reference = "event_scenes/tgp_holysite_asia.dds" + } + + environment = { # TGP + trigger = { religion = religion:taoism_religion } + reference = "environment_tgp_holysite_asia" + } + + # TGP - Confucianism + + texture = { # TGP + trigger = { religion = religion:confucianism_religion } + reference = "event_scenes/tgp_holysite_asia.dds" + } + + environment = { # TGP + trigger = { religion = religion:confucianism_religion } + reference = "environment_tgp_holysite_asia" + } + + # TGP - Broadly Dharmic Asian Religions + + texture = { # TGP + trigger = { + religious_head ?= { culture = { has_graphical_east_asia_culture_group_trigger = yes } } + broadly_dharmic_faith_trigger = yes + } + reference = "event_scenes/tgp_holysite_asia.dds" + } + + environment = { # TGP + trigger = { + religious_head ?= { culture = { has_graphical_east_asia_culture_group_trigger = yes } } + broadly_dharmic_faith_trigger = yes + } + reference = "environment_tgp_holysite_asia" + } + # Fallback texture = { reference = "event_scenes/temple.dds" } @@ -11931,7 +12682,7 @@ religion_holding = { trigger = { OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } NOT = { - faith = faith:nestorian + this = faith:nestorian } } reference = "holding_types/temple_christian.dds" @@ -12214,13 +12965,7 @@ title_holding = { has_holding_type = temple_citadel_holding } faith.religion = { is_in_family = rf_pagan } - OR = { - faith.religion = religion:baltic_religion - faith.religion = religion:finno_ugric_religion - faith.religion = religion:folk_germanic_religion - faith.religion = religion:paganism_religion - faith.religion = religion:slavic_religion - } + religion_is_non_norse_european_pagan_trigger = yes } } reference = "holding_types/temple_northern_pagan.dds" @@ -12652,11 +13397,7 @@ character_private = { OR = { is_landed = yes domicile ?= { - OR = { - is_domicile_type = estate - is_domicile_type = east_asian_estate - is_domicile_type = japanese_manor - } + domicile_is_estate_trigger = yes } } has_graphical_east_asia_region_trigger = yes diff --git a/gui/shared/cooltip.gui b/gui/shared/cooltip.gui new file mode 100644 index 000000000..d3ec4f082 --- /dev/null +++ b/gui/shared/cooltip.gui @@ -0,0 +1,11256 @@ +container = { + alwaystransparent = no + name = "DefaultTooltipWidget" + using = DefaultTooltipWidget +} + +template game_concept_tooltip { + object_tooltip_pop_out = { + + blockoverride "header_additions" { + hbox = { + visible = "[GameConceptTooltip.HasIcon]" + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[GameConceptTooltip.GetIcon]" + tintcolor = "[TooltipInfo.GetTintColor]" + frame = "[GameConceptTooltip.GetFrame]" + framesize = "[GameConceptTooltip.GetFrameSize]" + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[GameConceptTooltip.GetOriginalAliasName]" + } + + blockoverride "concept_link" { + text = "[GameConceptTooltip.GetParentText]" + } + + blockoverride "description_text" { + text = "[GameConceptTooltip.GetDescription]" + max_width = 400 + } + + blockoverride "bg_texture" + { + texture = "gfx/interface/tooltips/tooltip_bg_gameconcept.dds" + } + + blockoverride "subtitle_text" {} + blockoverride "extra_data" {} + blockoverride "extra_data_after_description" {} + } +} + +container = { + name = "GameConceptTooltipDefault" + alwaystransparent = no + + using = game_concept_tooltip +} + +container = { + + alwaystransparent = no + name = "GlossaryTooltip" + using = GlossaryTooltipWidget +} + + +template character_opinion_tooltip { + widget = { + using = GeneralTooltipSetup + using = DefaultTooltipBackground + alwaystransparent = no + + vbox = { + set_parent_size_to_minimum = yes + margin = { 8 8 } + spacing = 2 + + hbox = { + name = "heading" + layoutpolicy_horizontal = expanding + + margin = { 8 8 } + + spacing = 6 #ugly hack to get a space between label and value + + background = { + using = Background_Area + } + + text_single = { + block "ott_heading_text" + { + raw_text = "@opinion_icon! [Character.GetOpinionHeadingText( GetPlayer )]" + } + + using = Font_Size_Medium + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + background = { + name = "portrait_opinion_bg" + texture = "gfx/interface/component_tiles/solid_black_label.dds" + spritetype = Corneredtiled + spriteborder = { 20 20 } + texture_density = 2 + margin = { 3 1 } + } + + max_width = 45 + align = nobaseline + + block "ott_opinion_value_text" + { + text = "[Character.GetOpinionOf( GetPlayer )|=]" + fonttintcolor = "[Character.GetOpinionOfTint( GetPlayer )]" + } + + default_format = "#true_white" + using = Font_Size_Medium + + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + margin = { 8 0 } + visible = "[Character.IsPlayer]" + + text_multi = { + datacontext = "[Character]" + visible = "[Not( Character.IsLocalPlayer )]" + + autoresize = yes + max_width = 400 + text = "PLAYER_OPINION_UNIMPORTANT" + default_format = "#weak" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_multi = { + datacontext = "[Character]" + visible = "[Character.IsLocalPlayer]" + + autoresize = yes + max_width = 400 + text = "PLAYER_OPINION_UNIMPORTANT_SELF" + default_format = "#weak" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + + hbox = { + layoutpolicy_horizontal = expanding + margin = { 8 0 } + + text_multi = { + block "ott_opinion_breakdown_text" + { + text = "[Character.GetOpinionBreakdownText( GetPlayer )]" + } + + autoresize = yes + max_width = 400 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + } + } +} + +template character_trait_tooltip { + object_tooltip_pop_out = { + + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + trait_icon_texture = { + blockoverride "icon_size" + { + size = { 52 52 } + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[Trait.GetNameNoTooltipWithDefault( Character.Self )]" + } + + blockoverride "concept_link" { + text = "[Trait.GetTraitCategoryLabel]" + } + + blockoverride "description_text" { + block "actual_description_text" { + text = "[Trait.GetFullDescription( Character.Self, Character.GetRite.Self )]" + } + } + + blockoverride "extra_data_after_description" + { + vbox = { + name = "trait_level_tracks" + layoutpolicy_horizontal = expanding + visible = "[DataModelHasItems( Trait.GetLevelTracks )]" + allow_outside = yes + + spacer = { + size = { 10 10 } + } + + text_label_left = { + layoutpolicy_horizontal = expanding + text = "TRAIT_LEVEL_TRACKS_HEADER" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + vbox = { + layoutpolicy_horizontal = expanding + datamodel = "[Trait.GetLevelTracks]" + spacing = 5 + allow_outside = yes + + item = { + hbox = { + layoutpolicy_horizontal = expanding + allow_outside = yes + spacing = 5 + margin_right = 20 + + vbox = { + margin_top = 6 + + icon = { + size = { 30 30 } + texture = "[TraitLevelTrack.GetIcon( Trait.Self, Character.Self )]" + } + } + + vbox = { + layoutpolicy_horizontal = expanding + spacing = 5 + + text_single = { + layoutpolicy_horizontal = expanding + text = "[TraitLevelTrack.GetName]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + widget = { + size = { 0 15 } + layoutpolicy_horizontal = expanding + allow_outside = yes + + datacontext = "[Character.GetTraitTrackProgressBar( Trait.Self, TraitLevelTrack.Self )]" + + hbox_complex_bar_progress_next = { + size = { 0 15 } + layoutpolicy_horizontal = expanding + tooltip = "TRAIT_LEVEL_TRACK_PROGRESS_TOOTLIP" + using = tooltip_se + } + + hbox_complex_bar_levels = { + size = { 0 15 } + layoutpolicy_horizontal = expanding + + blockoverride "marker" + { + widget_level_marker = { + scale = 0.75 + datacontext = "[TraitLevelTrack.GetEntryForXp( ComplexBarItem.GetValue )]" + visible = "[GreaterThanOrEqualTo_int32( TraitLevelTrackEntry.GetLevel, '(int32)0' )]" + position = { -10 0 } + + blockoverride "visible_active" + { + visible = "[EqualTo_int32( Character.GetTraitTrackLevel( Trait.Self, TraitLevelTrack.Self ), TraitLevelTrackEntry.GetLevel )]" + } + + blockoverride "visible_inactive" + { + visible = "[Not( EqualTo_int32( Character.GetTraitTrackLevel( Trait.Self, TraitLevelTrack.Self ), TraitLevelTrackEntry.GetLevel ) )]" + } + + blockoverride "marker_tooltip" + { + tooltip = "TRAIT_LEVEL_TRACK_TT" + using = tooltip_se + } + + blockoverride "marker_text" + { + text = "[TraitLevelTrackEntry.GetLevel]" + } + } + } + } + } + } + } + } + } + } + } + } +} + +container = { + alwaystransparent = no + name = "TraitTooltipDefault" + using = character_trait_tooltip +} + +template doctrine_type_tooltip { + object_tooltip_pop_out = { + blockoverride "title_text" { + text = "[DoctrineType.GetDescriptiveNameNoTooltip( GetNullCharacter.GetFaith )]" + default_format = "#T" + } + + blockoverride "subtitle_text" { + text = "[DoctrineType.GetHistoricalGlossary( Faith.Self )]" + } + + blockoverride "description_text" { + text = "FAITH_DOCTRINE_GENERAL_TOOLTIP" + } + + blockoverride "extra_data_after_description" { + vbox = { + layoutpolicy_horizontal = expanding + + textbox_religion_flavor_description = { + text = "FAITH_DOCTRINE_GENERAL_TOOLTIP_DESCRIPTION" + } + + block "doctrine_extra_data_after_description" {} + } + } + + # Only shown where a window fills in input_info_text, such as the click hints in the rite creation window + blockoverride "input_info" { + textbox = { + name = "input_info" + layoutpolicy_horizontal = expanding + margin_top = 10 + using = DefaultTooltipText + multiline = yes + block "input_info_text" { + visible = no + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + # Doctrines have no shortcuts, so drop the empty shortcut textbox and its margins + blockoverride "tooltip_text_shortcut" { + visible = no + } + + # Minimum padding below the last line + blockoverride "call_to_action" { + vbox = { + margin_bottom = 15 + } + } + + blockoverride "concept_link" { + text = [doctrine|E] + } + + blockoverride "header_additions" { + hbox = { + datacontext = "[DoctrineType.GetGroup]" + datacontext = "[DoctrineGroupType.GetCategory]" + margin_right = 10 + margin_left = -5 + + icon_doctrine = { + name = "doctrine_icon_main" + visible = "[DoctrineCategoryType.HasTag( 'main' )]" + texture = "[DoctrineType.GetIcon]" + size = { 60 60 } + } + + icon_doctrine = { + name = "doctrine_icon_other" + visible = "[And( Not( DoctrineCategoryType.HasTag( 'main' ) ), Not( DoctrineCategoryType.HasTag( 'special' ) ) )]" + texture = "[DoctrineType.GetGroup.GetIcon]" + size = { 60 60 } + } + + icon_doctrine = { + name = "doctrine_icon_special" + visible = "[DoctrineCategoryType.HasTag( 'special' )]" + texture = "[DoctrineType.GetIcon]" + size = { 60 60 } + } + } + } + } +} + +container = { + name = "DoctrineTypeTooltipDefault" + alwaystransparent = no + + datacontext = "[GetPlayer.GetFaith]" + + using = doctrine_type_tooltip +} + +types TenetTooltipTypes +{ + type vbox_tenet_popularity_and_status = vbox { + layoutpolicy_horizontal = expanding + + text_single = { + datacontext = "[GetScriptedGui( 'using_tenet_popularity_gui' )]" + visible = "[And( Not( Faith.HasTenetStatus( TenetType.Self, 'unknown' ) ), IsUsingTenetPopularity( Faith ) )]" + layoutpolicy_horizontal = expanding + + text = "FAITH_TENET_ITEM_POPULARITY_SHORT" + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = "FAITH_TENET_ITEM_TENET_STATUS" + } + } + + type textbox_religion_flavor_description = textbox { + layoutpolicy_horizontal = expanding + max_width = 420 + margin_top = 15 + + multiline = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + using = DefaultTooltipText + } + + type widget_tenet_trait_and_weight = widget { + size = { 45 60 } + + icon = { + size = { 45 45 } + texture = "[Trait.GetIcon( GetPlayer )]" + + tooltipwidget = { + using = faith_window_trait_tooltip + + blockoverride "virtue_or_sin_description_text" { + text = "TENET_TOOLTIP_TRAIT_DESCRIPTION" + } + } + } + + text_single = { + parentanchor = bottom|hcenter + margin = { 3 0 } + margin_bottom = 5 + + background = { + using = Background_Area_Dark + } + + block "fulfillment_value_text" { + datacontext = "[GetGameConcept( 'virtue_weight' )]" + text = "TENET_TOOLTIP_TRAIT_FULFILLMENT_GAIN" + } + + tooltipwidget = { + using = game_concept_tooltip + } + } + } + + type vbox_tenet_sins_and_virtues = vbox { + visible = "[TenetType.IsValid]" + layoutpolicy_horizontal = expanding + margin_bottom = 10 + + background = { + using = Background_Area + } + + hbox = { + margin = { 10 0 } + layoutpolicy_horizontal = expanding + + vbox = { + layoutpolicy_horizontal = expanding + + hbox = { + layoutpolicy_horizontal = expanding + + text_label_left = { + datacontext = "[GetGameConcept( 'sins' )]" + max_width = 200 + text = "TENET_TOOLTIP_SINS" + + tooltipwidget = { + using = game_concept_tooltip + } + } + + expand = {} + } + + hbox = { + visible = "[DataModelHasItems( TenetType.GetSinTraits )]" + layoutpolicy_horizontal = expanding + + fixedgridbox = { + addcolumn = 60 + addrow = 55 + flipdirection = yes + + datamodel = "[TenetType.GetSinTraits]" + item = { + widget_tenet_trait_and_weight = { + blockoverride "fulfillment_value_text" { + datacontext = "[GetGameConcept( 'sin_weight' )]" + text = "TENET_TOOLTIP_TRAIT_FULFILLMENT_LOSS" + } + } + } + } + + expand = {} + } + + hbox = { + visible = "[IsDataModelEmpty( TenetType.GetSinTraits )]" + layoutpolicy_horizontal = expanding + + text_multi = { + autoresize = yes + max_width = 200 + default_format = "#weak" + text = "TENET_TOOLTIP_NO_SINS" + } + + expand = {} + } + } + + vbox = { + layoutpolicy_horizontal = expanding + + hbox = { + layoutpolicy_horizontal = expanding + + expand = {} + + text_label_right = { + datacontext = "[GetGameConcept( 'virtues' )]" + max_width = 200 + text = "TENET_TOOLTIP_VIRTUES" + + tooltipwidget = { + using = game_concept_tooltip + } + } + } + + hbox = { + visible = "[DataModelHasItems( TenetType.GetVirtueTraits )]" + layoutpolicy_horizontal = expanding + + expand = {} + + fixedgridbox = { + addcolumn = 60 + addrow = 55 + flipdirection = yes + + datamodel = "[TenetType.GetVirtueTraits]" + item = { + # Right-anchored in its cell so the spacing falls on the left and the last item lines up with the right edge + widget = { + size = { 60 60 } + + widget_tenet_trait_and_weight = { + parentanchor = right + } + } + } + } + } + + hbox = { + visible = "[IsDataModelEmpty( TenetType.GetVirtueTraits )]" + layoutpolicy_horizontal = expanding + + expand = {} + + text_multi = { + autoresize = yes + max_width = 200 + align = top|right + default_format = "#weak" + text = "TENET_TOOLTIP_NO_VIRTUES" + } + } + } + } + } +} + +template tenet_type_tooltip { + scrollable_object_tooltip_pop_out = { + blockoverride "title_text" { + text = "[Select_CString( TenetType.IsValid, TenetType.GetBaseNameNoTooltip, 'Empty Tenet')]" + default_format = "#T" + } + + blockoverride "subtitle_text" { + text = "[TenetType.GetHistoricalGlossary( Rite.Self )]" + } + + blockoverride "description_text" { + text = "TENET_TYPE_GENERAL_TOOLTIP" + } + + # Removes bottom margin used by click info + blockoverride "input_info" {} + + blockoverride "tooltip_text_shortcut" { + visible = no + } + + blockoverride "extra_data_after_description" { + text_single = { + visible = "[Not( StringIsEmpty( TenetType.GetPersonalTenetEffectsDescription( Rite.Self ) ) )]" + margin_top = 15 + margin_left = 10 + layoutpolicy_horizontal = expanding + + text = "TENET_TOOLTIP_PERSONAL_EFFECTS" + tooltip = "TENET_TOOLTIP_PERSONAL_EFFECTS_TT" + } + + textbox_religion_flavor_description = { + text = "TENET_TYPE_GENERAL_TOOLTIP_DESCRIPTION" + } + } + + blockoverride "concept_link" { + text = [core_tenet|E] + } + + blockoverride "header_additions" + { + widget = { + size = { 65 70 } + + icon = { + size = { 65 100 } + position = { 0 -15 } + + visible = "[TenetType.IsValid]" + texture = "[TenetType.GetIcon( Faith.Self )]" + } + } + } + + blockoverride "extra_data" { + vbox_tenet_sins_and_virtues = {} + + vbox = { + visible = "[TenetType.IsValid]" + margin_left = 10 + margin_bottom = 15 + + layoutpolicy_horizontal = expanding + + vbox_tenet_popularity_and_status = {} + + block "divergence_change" {} + + text_single = { + block "divergent_tenet" { + visible = "[Not( Faith.GetMainRite.HasTenet( TenetType.Self ) )]" + } + layoutpolicy_horizontal = expanding + + text = "RITE_CREATION_TENET_DIVERGENCE_CALC_TT" + } + } + } + } +} + +container = { + name = "TenetTypeTooltipDefault" + alwaystransparent = no + + datacontext = "[GetPlayer]" + datacontext = "[Character.GetFaith]" + datacontext = "[Character.GetRite]" + + using = tenet_type_tooltip +} + +container = { + name = "RiteTypeTooltipDefault" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[RiteType.GetBaseNameNoTooltip]" + default_format = "#T" + } + } +} + +container = { + name = "LifestyleTooltipDefault" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[Lifestyle.GetNameNoTooltip]" + } + + blockoverride "description_text" { + text = "[Lifestyle.GetDescription]" + } + + blockoverride "concept_link" { + text = [lifestyle|E] + } + + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[Lifestyle.GetIcon]" + framesize = { 160 160 } + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } +} + +container_focus_cooltip = { + name = "FocusTooltipDefault" +} + +template perk_tooltip_contents { + object_tooltip_pop_out = { + + blockoverride "title_text" { + margin = { 0 8 } + text = "[Perk.GetNameNoTooltip( GetPlayer )]" + } + + blockoverride "description_text" { + text = "[Perk.GetEffectDescription( GetPlayer )]" + } + + blockoverride "concept_link" { + text = [perk|E] + } + } +} + +container = { + alwaystransparent = no + name = "PerkTooltipDefault" + + using = perk_tooltip_contents +} + +template perk_tooltip_selection { + container = { + alwaystransparent = no + name = "PerkTooltipSelection" + + using = perk_tooltip_contents + + blockoverride "input_info_text" { + visible = "[CharacterLifestyleWindow.CanSelectPerk( Perk.Self )]" + text = "CHOOSE_PERK_UNLOCK_TEXT" + } + + blockoverride "above_description_text" { + text = "[CharacterLifestyleWindow.CanSelectPerkDesc( Perk.Self )]" + } + } +} + +container = { + name = "DynastyPerkTooltipDefault" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[DynastyPerk.GetNameNoTooltip]" + } + + blockoverride "description_text" { + text = "[DynastyPerk.GetEffectDescription( GetPlayer )]" + } + + blockoverride "concept_link" { + text = [dynasty_perk|E] + } + } +} + + +container = { + name = CharacterTooltip + + alwaystransparent = no + + container_character_tooltip = {} +} + + +types GameTooltipTypes +{ + type object_tooltip_pop_out = widget { + name = "ObjectTooltipDefault" + using = GeneralTooltipSetup + alwaystransparent = no + + using = DefaultTooltipBackground + + vbox = { + set_parent_size_to_minimum = yes + margin = { 20 5 } + + hbox = { + layoutpolicy_horizontal = expanding + spacing = 10 + + background = { + using = Background_Header + margin = { 15 0 } + margin_bottom = 10 + } + + background = { + using = Background_Header_Pattern + margin = { 15 0 } + margin_bottom = 10 + } + + block "header_tt" { + margin = { 0 10 } + } + + hbox = { + layoutpolicy_horizontal = expanding + + block "header_additions" { + hbox = {} + } + + vbox = { + name = "FancyHeader" + layoutpolicy_horizontal = expanding + alwaystransparent = no + + text_single = { + layoutpolicy_horizontal = expanding + autoresize = yes + name = "title" + + fontsize_min = 14 + using = Font_Size_Medium + align = nobaseline + + block "title_text" { + margin = { 0 4 } + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + # use subtitle_text blockoverride or replace this entire block + block "subheading" + { + text_single = { + layoutpolicy_horizontal = expanding + autoresize = yes + block "fontsize_min" { + fontsize_min = 14 + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + using = Font_Size_Small + align = nobaseline + + block "subtitle_text" + { + text = "" + } + + block "max_width" + { + max_width = 400 + } + + block "multiline" {} + } + } + } + } + + expand = {} + + vbox = { + layoutpolicy_vertical = expanding + + text_single = { + name = "concept_link" + layoutpolicy_horizontal = expanding + block "concept_link" { + raw_text = "#D Missing concept link!#!" + } + + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + # Override main_description if you plan to build a fully custom pop out, otherwise override the components + block "main_description" + { + block "extra_data" {} + + textbox = { + name = "warning_description" + + using = DefaultTooltipText + layoutpolicy_horizontal = expanding + multiline = yes + block "warning_description_text" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + textbox = { + name = "above_description" + + max_width = 400 + using = DefaultTooltipText + layoutpolicy_horizontal = expanding + multiline = yes + block "above_description_text" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + # NOTE: This edit box is filled by TooltipInfo.GetTintColor from code in order to set the correct size when the tooltip is created and positioned and then it uses the text property specified here in the next frames + textbox = { + name = "Description" + layoutpolicy_horizontal = expanding + max_width = 400 + using = DefaultTooltipText + multiline = yes + block "description_text" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + block "extra_data_after_description" {} + + # Things like "click to X", hotkeys etc + block "input_info" { + textbox = { + name = "input_info" + layoutpolicy_horizontal = expanding + margin_top = 10 + using = DefaultTooltipText + multiline = yes + block "input_info_text" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + textbox = { + name = "TooltipTextShortcut" + layoutpolicy_horizontal = expanding + using = DefaultTooltipText + margin = { 10 10 } + margin_top = 10 + block "tooltip_text_shortcut" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + block "call_to_action" {} + } + + margin_widget = { + size = { 100% 100% } + margin = { 3 3 } + + icon = { + name = "tooltip_locked" + visible = "[PdxGuiWidget.IsTooltipLocked]" + texture = "gfx/interface/skinned/tooltip_frame.dds" + spriteType = Corneredtiled + spriteborder = { 20 20 } + size = { 100% 100% } + texture_density = 2 + tintcolor = "[TooltipInfo.GetTintColor]" + alpha = 1 + + state = { + name = _show + bezier = { 0.25 0.1 0.25 1 } + duration = 0.15 + alpha = 1 + } + + state = { + name = _hide + alpha = 0 + } + + modify_texture = { + name = "overlay" + texture = "gfx/interface/component_overlay/overlay_window.dds" + spriteType = Corneredstretched + spriteborder = { 0 0 } + blend_mode = overlay + } + } + + block "progress" + { + progresspie = { + name = "tooltip_progress" + visible = "[And(UsesTimerLocking, Not(PdxGuiWidget.IsTooltipLocked))]" + parentanchor = top|right + position = { -3 3 } + size = { 20 20 } + min = 0 + max = 1 + tintcolor = "[TooltipInfo.GetTintColor]" + value = "[PdxGuiWidget.GetTooltipLockProgress]" + texture = "gfx/interface/progressbars/progress_circle.dds" + framesize = { 248 248 } + frame = 2 + + state = { + name = _show + alpha = 1 + } + + state = { + name = _hide + bezier = { 0.25 0.1 0.25 1 } + duration = 0.05 + alpha = 0 + } + } + } + } + } + + type header_icon = hbox + { + margin_right = 13 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 60 60 } + tintcolor = "[TooltipInfo.GetTintColor]" + + block "header_texture" + { + } + } + } + + type cooltip_type = widget { + name = "character_tooltip" + alwaystransparent = no + using = GeneralTooltipSetup + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + block "bg_visible" { + visible = yes + } + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 15 15 } + margin_top = 3 + maximumsize = { 600 -1 } + + ## REAL CHARACTERS + vbox = { + visible = "[Character.IsValid]" + layoutpolicy_horizontal = expanding + + vbox = { + name = "personal" + layoutpolicy_horizontal = expanding + + hbox = { + layoutpolicy_horizontal = expanding + + vbox = { + name = "name_etc" + layoutpolicy_horizontal = expanding + minimumsize = { 0 35 } + + ## Name + hbox = { + layoutpolicy_horizontal = expanding + margin_top = 8 + margin_right = 7 + + background = { + using = Background_Area + margin = { 15 0 } + margin_bottom = 7 + } + + vbox = { + layoutpolicy_vertical = expanding + margin_top = 3 + + portrait_opinion = { + visible = "[And( Character.IsAlive, Not( Character.IsPlayer ) )]" + } + + expand = {} + } + + spacer = { + visible = "[And( Character.IsAlive, Not( Character.IsPlayer ) )]" + size = { 8 5 } + } + + text_multi = { + name = "character_name" + text = "CHARACTER_TT_NAME_AGE" + default_format = "#high" + using = Font_Size_Medium + max_width = 350 + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + vbox = { + layoutpolicy_vertical = expanding + margin_left = 5 + + icon = { + visible = "[Not(Character.IsDeadAndValid)]" + size = { 23 23 } + framesize = { 60 60 } + frame = "[Character.GetHealthIconFrame]" + texture = "gfx/interface/icons/character_status/icon_health.dds" + tooltip = "[Character.GetHealthInfo]" + color = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + expand = {} + } + } + } + + hbox = { + layoutpolicy_horizontal = expanding + + text_multi = { + name = "character_relation_to_you" + margin_top = 10 + max_width = 308 + text = "[Character.GetRelationToString( GetPlayer )]" + tooltip = "EXTENDED_RELATIONS_TOOLTIP" + default_format = "#high" + align = nobaseline + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + vbox = { + layoutpolicy_horizontal = expanding + margin_top = 10 + margin_bottom = 10 + + hbox = { + name = "AI_personality" + layoutpolicy_horizontal = expanding + spacing = 2 + + text_single = { + visible = "[Not( Character.IsPlayer )]" + text = "[Character.GetAIPersonalityNoTooltip]" + default_format = "#L" + tooltip = "AI_PERSONALITY_TT" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + hbox = { + layoutpolicy_horizontal = expanding + + icon = { + visible = "[Not(Character.IsFemale)]" + size = { 20 20 } + framesize = { 40 40 } + frame = "[Character.GetSexualityFrame]" + texture = "gfx/interface/icons/character_status/sexuality_icons_male.dds" + tooltip = "SEXUALITY_TT" + color = "[TooltipInfo.GetTintColor]" + } + + icon = { + visible = "[Character.IsFemale]" + size = { 20 20 } + framesize = { 40 40 } + frame = "[Character.GetSexualityFrame]" + texture = "gfx/interface/icons/character_status/sexuality_icons_female.dds" + tooltip = "SEXUALITY_TT" + color = "[TooltipInfo.GetTintColor]" + } + + portrait_status_icons = { + blockoverride "direction" + { + direction = horizontal + } + + color = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + visible = "[Character.IsAlive]" + text = "[Character.Custom('CooltipSpouseListing')]" + layoutpolicy_horizontal = expanding + align = nobaseline + max_width = 350 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + text_single = { + visible = "[And( Character.IsAlive, Not( Character.IsImprisoned ) )]" + layoutpolicy_horizontal = expanding + text = "CHARACTER_LOCATION_TOOLTIP" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + + text_single = { + visible = "[And( Character.IsAlive, Character.IsImprisoned )]" + layoutpolicy_horizontal = expanding + text = "CHARACTER_IMPRISONED_TOOLTIP" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + # for people with regnal names, like the pope + text_single = { + visible = "[Character.HasRegnalName]" + layoutpolicy_horizontal = expanding + text = "CHARACTER_BIRTH_NAME_TOOLTIP" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + layoutpolicy_horizontal = expanding + spacing = 10 + + background = { + using = Background_Area + margin = { 15 0 } + } + + hbox = { + name = "faith_and_culture" + + button_rite_icon = { + name = "rite_button" + datacontext = "[Character.GetRite]" + size = { 45 45 } + } + + vbox = { + margin_right = 10 + margin_left = 3 + + text_single = { + datacontext = "[Character.GetRite]" + layoutpolicy_horizontal = expanding + text = "RITE_COOLTIP_WINDOW" + align = nobaseline + + button_normal = { + size = { 100% 100% } + onclick = "[OpenGameViewData( 'faith', Rite.Self )]" + } + + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + + text_single = { + datacontext = "[Character.GetCulture]" + layoutpolicy_horizontal = expanding + text = "CULTURE_COOLTIP_WINDOW" + align = nobaseline + + button_normal = { + size = { 100% 100% } + onclick = "[OpenGameViewData( 'culture_window', Culture.GetID )]" + # shortcut = "innovations_window" + } + + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + hbox = { + name = "house" + datacontext = "[Character.GetHouse]" + margin = { 10 5 } + + coa_house_small = { + # has no effect, sadly... + # color = "[TooltipInfo.GetTintColor]" + + container = { + name = "characters_status_in_house" + parentanchor = bottom|right + + icon = { + name = "bastard" + visible = "[Not(Character.IsLegitimateMemberOfHouse)]" + framesize = { 40 40 } + frame = 4 + size = { 25 25 } + texture = "gfx/interface/icons/portraits/relation.dds" + tooltip = "CV_TT_BASTARD" + color = "[TooltipInfo.GetTintColor]" + } + + icon = { + name = "head_icon" + size = { 20 20 } + visible = "[LessThan_int32(Character.GetDynastyHeadRelationFrame('(bool)no'), '(int32)9')]" + + texture = "gfx/interface/icons/portraits/relation.dds" + framesize = { 40 40 } + frame = "[Character.GetDynastyHeadRelationFrame('(bool)no')]" + tooltip = "[Character.GetDynastyHeadTooltip]" + color = "[TooltipInfo.GetTintColor]" + } + } + } + + text_multi = { + visible = "[Character.HasDynasty]" + margin = { 5 0 } + text = "HOUSE_VIEW_NAME_WITH_HOUSE" + max_width = 100 + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + block "extra_info_post_faith" {} + } + + hbox = { + visible = "[Character.HasLandedTitles]" + minimumsize = { 0 82 } + spacing = 5 + + layoutpolicy_horizontal = expanding + + widget = { + size = { 52 82 } + + coa_realm_small_crown = { + name = "realm_flag" + parentanchor = bottom + + blockoverride "coa_hover_glow_visible" + { + visible = no + } + } + } + + realm_name_and_type_vbox = { + datacontext = "[Character.GetPrimaryTitle]" + margin_top = 24 + } + } + + block "extra_info" { } + + # Keep this here for now, may want something in character view + cooltip_paragraph = { + layoutpolicy_horizontal = expanding + text = "[Character.GetHeirToDesc]" + } + + spacer = { + size = { 10 10 } + } + + cooltip_paragraph = { + layoutpolicy_horizontal = expanding + text = "[Character.GetObscuredText]" + visible = "[Character.HasObscuredText]" + default_format = "#weak" + } + + spacer = { + visible = "[Character.HasObscuredText]" + size = { 10 10 } + } + + cooltip_paragraph = { + layoutpolicy_horizontal = expanding + block "interaction_info" { } + } + + cooltip_paragraph = { + layoutpolicy_horizontal = expanding + text = "[Character.GetDebugTooltip]" + visible = "[InDebugMode]" + } + + cooltip_paragraph = { + layoutpolicy_horizontal = expanding + text = "CHARACTER_KILLER_TOOLTIP" + visible = "[And( InDebugMode, Character.GetKiller.IsValid )]" + } + + cooltip_paragraph = { + layoutpolicy_horizontal = expanding + raw_text = "[GetAnimationTooltip( PdxGuiWidget.Self, Character.Self )]" + visible = "[ShouldShowAnimationInfo]" + } + + hbox = { + visible = "[And( InDebugMode, Not( Character.AccessDenied ) )]" + layoutpolicy_horizontal = expanding + + spacing = 5 + + text_single = { + text = "DNA_MODIFIERS_LINK" + + fonttintcolor = "[TooltipInfo.GetTintColor]" + + tooltipwidget = { + container = { + name = "DnaModifierTooltip" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + button_copy = { + size = { 52 52 } + + onclick = "[Character.CopyDnaAccessoryToClipboard]" + raw_tooltip = "Copy DNA Modifiers" + } + } + } + + blockoverride "title_text" + { + margin = { 0 8 } + text = "DNA_MODIFIERS" + default_format = "#T" + } + + blockoverride "concept_link" {} + + blockoverride "description_text" + { + max_width = 600 + text = "[Character.GetDnaAccessoryTooltip]" + } + } + } + } + } + + divider_light = { + layoutpolicy_vertical = expanding + } + + text_single = { + text = "PORTRAIT_ANIMATION_LINK" + + fonttintcolor = "[TooltipInfo.GetTintColor]" + + tooltipwidget = { + container = { + name = "PortraitAnimationTooltip" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + button_copy = { + size = { 52 52 } + + onclick = "[Character.CopyPortraitAnimationToClipboard]" + raw_tooltip = "Copy Animation Data" + } + } + } + + blockoverride "title_text" + { + margin = { 0 8 } + text = "PORTRAIT_ANIMATION_TITLE" + default_format = "#T" + } + + blockoverride "concept_link" {} + + blockoverride "description_text" + { + max_width = 600 + text = "[Character.GetPortraitAnimationTooltip( PdxGuiWidget.Self )]" + } + } + } + } + } + + expand = {} + } + } + + ## NULL CHARACTER + vbox = { + visible = "[Not( Character.IsValid )]" + + cooltip_paragraph = { + block "portrait_button_no_character_text" + { + text = "CHARACTER_TOOLTIP_NO_PORTRAIT" + } + } + } + } + } + + type royal_court_character_tooltip = widget + { + name = "royal_court_character_tooltip" + alwaystransparent = no + using = GeneralTooltipSetup + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + alpha = 0.8 + + block "bg_visible" + { + visible = yes + } + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 15 15 } + margin_top = 3 + maximumsize = { 600 -1 } + + vbox = { + name = "personal_info" + visible = "[Character.IsValid]" + layoutpolicy_horizontal = expanding + + hbox = { + layoutpolicy_horizontal = expanding + margin_top = 5 + + #### NAME #### + text_multi = { + name = "character_name" + text = "CHARACTER_TT_NAME" + default_format = "#high" + using = Font_Size_Medium + max_width = 335 + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + + #### RELATION #### + text_single = { + name = "character_relation_to_you" + max_width = 335 + text = "[Character.GetRelationToString( GetPlayer )]" + tooltip = "EXTENDED_RELATIONS_TOOLTIP" + align = nobaseline + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + margin_bottom = 10 + + #### AGE #### + text_single = { + name = "character_age" + max_width = 335 + text = "CHARACTER_TT_AGE" + align = nobaseline + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + + expand = {} + } + + vbox_character_debug_tooltip = { + visible = "[And( InDebugMode, Not( Character.AccessDenied ) )]" + } + + hbox = { + layoutpolicy_horizontal = expanding + margin_bottom = 10 + visible = "[ShouldShowAnimationInfo]" + + #### Animation #### + text_single = { + name = "debug_animation_info" + max_width = 335 + raw_text = "[RoyalCourtWindow.GetAnimationInfo]" + align = nobaseline + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + cooltip_paragraph = { + layoutpolicy_horizontal = expanding + block "interaction_info" { } + } + } + } + } + + type cooltip_paragraph = textbox { + + name = "cooltip_paragraph" + layoutpolicy_horizontal = expanding + using = DefaultTooltipText + fonttintcolor = "[TooltipInfo.GetTintColor]" + multiline = yes + alwaystransparent = no + max_width = 400 + } + + type container_character_tooltip = container + { + alwaystransparent = no + + using = DefaultTooltipBackground + + flowcontainer = { + direction = vertical + + widget = { + name = "portrait area" + size = { 100% 210 } + + background = { + using = Background_Area_Dark + margin = { -3 -3 } + margin_bottom = 10 + + modify_texture = { + name = "mask" + texture = "gfx/interface/component_masks/mask_fade_vertical.dds" + blend_mode = alphamultiply + mirror = vertical + } + } + datacontext = "[GetIllustration( 'character_view_bg' )]" + background = { + texture = "[Illustration.GetTexture( Character.MakeScope )]" + fittype = centercrop + #alpha = 0.7 + + using = Mask_Rough_Edges + + modify_texture = { + texture = "gfx/interface/component_masks/mask_fade_vertical.dds" + blend_mode = alphamultiply + } + + modify_texture = { + texture = "gfx/interface/component_masks/mask_fade_vertical.dds" + blend_mode = alphamultiply + mirror = vertical + alpha = 0.7 + } + } + + portrait_torso = { + name = "char" + parentanchor = bottom|hcenter + + blockoverride "portrait_button_template_tooltip" {} + } + } + + container = { + cooltip_type = { + blockoverride "bg_visible" { + visible = no + } + + blockoverride "char_tooltip_opinion" + { + # don't show opinion again + } + } + } + } + } + + type container_focus_cooltip = container { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[FocusType.GetNameNoTooltip]" + } + + blockoverride "description_text" { + text = "FOCUS_TOOLTIP_TEXT_PLAYER" + } + + blockoverride "concept_link" { + text = [focus|E] + } + + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + texture = "[FocusType.GetIcon]" + size = { 35 35 } + + using = Master_Button_Modify_Texture + } + } + } + } + } + + type widget_maa_type_container_tooltip = widget + { + alwaystransparent = no + using = GeneralTooltipSetup + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 8 8 } + margin_bottom = 16 + spacing = 4 + + vbox = { + layoutpolicy_horizontal = expanding + margin = { 10 4 } + + background = { + name = "header" + using = Background_Area_Dark + margin = { 5 5 } + } + + hbox = { + layoutpolicy_horizontal = expanding + + icon = { + size = { 40 40 } + texture = "[MenAtArmsType.GetIcon]" + } + + text_single = { + layoutpolicy_horizontal = expanding + name = "header" + align = top|hcenter + text = "[MenAtArmsType.GetNameNoTooltip]" + maximumsize = { 400 -1 } + + using = Font_Type_Flavor + using = Font_Size_Big + } + + spacer = { + size = { 40 40 } + } + } + } + + widget = { + minimumsize = { 294 174 } + layoutpolicy_horizontal = expanding + + vbox = { + layoutpolicy_horizontal = expanding + margin = { 0 5 } + + background = { + name = "image" + + block "maa_texture" + { + texture = "[MenAtArmsType.GetHorizontalImageForCulture( Regiment.GetOwner.GetCulture )]" + } + fittype = CenterCrop + + using = Mask_Rough_Edges + } + + expand = {} + + hbox = { + layoutpolicy_horizontal = expanding + + margin = { 0 2 } + + margin_left = 10 + tooltip = "MV_CREATE_REGIMENT_MAX_SIZE_TT" + using = tooltip_ne + + icon = { + name = "icon_soldier" + texture = "[MenAtArmsType.GetIcon]" + size = { 30 30 } + } + + text_label_left = { + name = "soldier count" + text = "MV_CREATE_REGIMENT_SIZE" + default_format = "#high" + using = Font_Size_Medium + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + + expand = {} + + } + + } + } + + vbox = { + layoutpolicy_horizontal = growing + vbox = { + layoutpolicy_horizontal = expanding + margin = { 20 10 } + spacing = 2 + + ### INFO TEXT + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + text = "MEN_AT_ARMS_TYPE_TOOLTIP_CREATION_COST" + } + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + text = "[MenAtArmsType.GetReinforcementCostString( GetPlayer )]" + } + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + text = "[MenAtArmsType.GetFullStrengthMaintenanceCostForPlayerString]" + } + expand = {} + } + + hbox = { + visible = "[IsLandlessAdventurer( GetPlayer )]" + layoutpolicy_horizontal = expanding + + text_single = { + text = "[Regiment.GetProvisionsCostString]" + } + expand = {} + } + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + vbox_maa_stats_numbers = { + layoutpolicy_horizontal = expanding + } + + hbox_maa_type_text = { + layoutpolicy_horizontal = expanding + } + + + vbox_maa_info = { + layoutpolicy_horizontal = expanding + } + } + } + } +} + +widget = { + alwaystransparent = no + name = "MaaTypeTooltipDefault" + using = GeneralTooltipSetup + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 8 8 } + margin_bottom = 16 + spacing = 4 + + vbox = { + layoutpolicy_horizontal = expanding + margin = { 10 4 } + + background = { + name = "header" + using = Background_Area_Dark + margin = { 5 5 } + } + + hbox = { + layoutpolicy_horizontal = expanding + + icon = { + size = { 40 40 } + texture = "[MenAtArmsType.GetIcon]" + } + + text_single = { + layoutpolicy_horizontal = expanding + name = "header" + align = top|hcenter + text = "[MenAtArmsType.GetNameNoTooltip]" + maximumsize = { 400 -1 } + + using = Font_Type_Flavor + using = Font_Size_Big + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + + spacer = { + size = { 40 40 } + } + } + } + + widget = { + minimumsize = { 352 208 } + layoutpolicy_horizontal = expanding + + vbox = { + margin = { 0 5 } + + background = { + name = "image" + texture = "[MenAtArmsType.GetHorizontalImage]" + fittype = CenterCrop + + using = Mask_Rough_Edges + } + + expand = {} + + + hbox = { + layoutpolicy_horizontal = expanding + + margin = { 0 2 } + + margin_left = 10 + tooltip = "MV_CREATE_REGIMENT_MAX_SIZE_TT" + using = tooltip_ne + + icon = { + name = "icon_soldier" + texture = "[MenAtArmsType.GetIcon]" + size = { 30 30 } + } + + text_label_left = { + name = "soldier count" + text = "MV_CREATE_REGIMENT_SIZE" + default_format = "#high" + using = Font_Size_Medium + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + + expand = {} + + } + + } + } + + vbox = { + layoutpolicy_horizontal = growing + vbox = { + layoutpolicy_horizontal = expanding + margin = { 20 10 } + spacing = 2 + + ### INFO TEXT + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + text = "MEN_AT_ARMS_TYPE_TOOLTIP_CREATION_COST" + } + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + text = "[MenAtArmsType.GetReinforcementCostString( GetPlayer )]" + } + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + text = "[MenAtArmsType.GetFullStrengthMaintenanceCostForPlayerString]" + } + + expand = {} + } + + hbox = { + visible = "[IsLandlessAdventurer( GetPlayer )]" + layoutpolicy_horizontal = expanding + + text_single = { + text = "[MenAtArmsType.GetProvisionsCostString]" + } + expand = {} + } + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + + vbox_maa_stats_numbers = { + layoutpolicy_horizontal = expanding + } + + hbox_maa_type_text = { + layoutpolicy_horizontal = expanding + } + + vbox_maa_info = { + layoutpolicy_horizontal = expanding + } + } + } + + datacontext = "[GetPlayer]" +} + +container = { + alwaystransparent = no + name = "MaaTypeTooltipSpecific" + using = regiment_container_tooltip + datacontext = "[Regiment.GetMAAType]" + datacontext = "[Regiment.GetOwner]" +} + +template regiment_container_tooltip +{ + widget = { + alwaystransparent = no + using = GeneralTooltipSetup + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 8 8 } + margin_bottom = 16 + spacing = 4 + + vbox = { + layoutpolicy_horizontal = expanding + margin = { 10 4 } + + background = { + name = "header" + using = Background_Area_Dark + margin = { 5 5 } + } + + hbox = { + layoutpolicy_horizontal = expanding + + icon = { + size = { 40 40 } + texture = "[Regiment.GetMAAType.GetIcon]" + } + text_single = { + layoutpolicy_horizontal = expanding + name = "header" + align = top|hcenter + text = "[Regiment.GetNameNoTooltip]" + maximumsize = { 400 -1 } + + using = Font_Type_Flavor + using = Font_Size_Big + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + + coa_title_small = { + datacontext = "[Regiment.GetOwningTitle]" + visible = "[Title.IsValid]" + } + } + } + + vbox = { + layoutpolicy_horizontal = expanding + + widget = { + minimumsize = { 294 174 } + datacontext = "[Regiment.GetMAAType]" + + vbox = { + margin = { 0 5 } + + background = { + name = "image" + texture = "[MenAtArmsType.GetHorizontalImageForCulture( Regiment.GetOwner.GetCulture )]" + using = Mask_Rough_Edges + fittype = CenterCrop + } + + hbox = { + layoutpolicy_horizontal = expanding + expand = {} + + text_label_right = { + text = "[SelectLocalization(Regiment.IsRaised, 'MAA_RAISED', 'MAA_UNRAISED')]" + using = Font_Size_Medium + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + spacer = { + size = {10 0} + } + } + + expand = {} + + hbox = { + layoutpolicy_horizontal = expanding + spacing = 6 + margin = { 0 2 } + + hbox = { + margin_left = 10 + + icon = { + name = "icon_soldier" + texture = "gfx/interface/icons/icon_soldier.dds" + size = { 30 30 } + } + + text_label_left = { + text = "[Regiment.BuildCurrentRegimentCountString]" + default_format = "#high" + using = Font_Size_Medium + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + expand = {} + + text_label_right = { + text = "REGIMENT_CURRENT_SIZE" + + default_format = "#high" + using = Font_Size_Medium + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + spacer = { + size = {10 0} + } + + } + } + } + } + + vbox = { + datacontext = "[Regiment.GetMAAType]" + layoutpolicy_horizontal = growing + + hbox_maa_location = { + layoutpolicy_horizontal = expanding + } + + vbox = { + layoutpolicy_horizontal = expanding + visible = "[Regiment.IsRegular]" + margin = { 20 10 } + spacing = 2 + + ### INFO TEXT + text_single = { + layoutpolicy_horizontal = expanding + text = "MAA_REINFORCEMENT_COST_ENTRY" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "MAA_MAINTENANCE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + visible = "[IsLandlessAdventurer( GetPlayer )]" + layoutpolicy_horizontal = expanding + text = "[MenAtArmsType.GetProvisionsCostString]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + + vbox_maa_active_regiment_stats_numbers = { + layoutpolicy_horizontal = expanding + } + + hbox_maa_type_text = { + layoutpolicy_horizontal = expanding + } + + vbox_maa_info = { + layoutpolicy_horizontal = expanding + } + } + + block "extra_info" {} + } + } +} + +template regiment_container_text_tooltip +{ + widget = { + alwaystransparent = no + using = GeneralTooltipSetup + datacontext = "[Regiment.GetMAAType]" + datacontext = "[Regiment.GetOwner]" + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 8 8 } + margin_bottom = 16 + spacing = 4 + + vbox = { + layoutpolicy_horizontal = expanding + margin = { 10 4 } + + background = { + name = "header" + using = Background_Area_Dark + margin = { 5 5 } + } + + hbox = { + layoutpolicy_horizontal = expanding + + icon = { + size = { 40 40 } + texture = "[Regiment.GetMAAType.GetIcon]" + } + text_single = { + layoutpolicy_horizontal = expanding + name = "header" + align = top|hcenter + text = "[Regiment.GetNameNoTooltip]" + maximumsize = { 400 -1 } + + using = Font_Type_Flavor + using = Font_Size_Big + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + + coa_title_small = { + datacontext = "[Regiment.GetOwningTitle]" + visible = "[Title.IsValid]" + } + } + } + + vbox = { + layoutpolicy_horizontal = expanding + margin = { 15 0 } + margin_top = 5 + spacing = 10 + + hbox = { + layoutpolicy_horizontal = expanding + + text_label_left = { + text = "[SelectLocalization(Regiment.IsRaised, 'MAA_RAISED', 'MAA_UNRAISED')]" + using = Font_Size_Medium + align = right + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + + hbox = { + icon = { + name = "icon_maa" + texture = [MenAtArmsType.GetIcon] + size = { 30 30 } + } + text_single = { + text = "[Regiment.BuildCurrentRegimentCountString]" + default_format = "#high" + # using = Font_Size_Medium + } + + + } + + # expand = {} + text_single = { + raw_text = ", " + + default_format = "#high" + # using = Font_Size_Medium + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + text = "REGIMENT_CURRENT_SIZE" + + default_format = "#high" + # using = Font_Size_Medium + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + + } + } + + vbox = { + datacontext = "[Regiment.GetMAAType]" + layoutpolicy_horizontal = growing + + hbox_maa_location = { + layoutpolicy_horizontal = expanding + } + + vbox = { + layoutpolicy_horizontal = expanding + visible = "[Regiment.IsRegular]" + spacing = 2 + margin = { 15 5 } + + ### INFO TEXT + text_single = { + layoutpolicy_horizontal = expanding + text = "MAA_REINFORCEMENT_COST_ENTRY" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "MAA_MAINTENANCE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + visible = "[IsLandlessAdventurer( GetPlayer )]" + layoutpolicy_horizontal = expanding + text = "[Regiment.GetProvisionsCostString]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + + vbox_maa_active_regiment_stats_numbers = { + layoutpolicy_horizontal = expanding + } + hbox_maa_type_text = { + layoutpolicy_horizontal = expanding + } + + vbox_maa_info = { + layoutpolicy_horizontal = expanding + } + } + + block "extra_info" {} + } + } +} + +template unit_icon_item_tooltip { + + widget = { + alwaystransparent = no + using = GeneralTooltipSetup + datacontext = "[UnitItem.GetArmy]" + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 5 5 } + spacing = 5 + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + margin = { 5 0 } + margin_top = 5 + + background = { + using = Background_Header + } + + background = { + using = Background_Header_Pattern + } + + hbox = { + layoutpolicy_horizontal = expanding + margin_bottom = 5 + + widget = { + size = { 60 60 } + + coa_realm_small = { + datacontext = "[UnitItem.GetOwner]" + parentanchor = center + position = { 0 5 } + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + + vbox = { + layoutpolicy_vertical = expanding + + text_single = { + name = "title" + layoutpolicy_vertical = expanding + layoutpolicy_horizontal = expanding + align = top|left + raw_text = "[Army.GetNameNoTooltip] ([UnitItem.GetTooltipHeader])" + fonttintcolor = "[TooltipInfo.GetTintColor]" + + margin_top = 5 + margin_right = 20 + } + + hbox = { + layoutpolicy_horizontal = growing + + hbox_soldiers_and_quality_small_core = { + datacontext = "[Army.GetComposition]" + spacing = 5 + } + + expand = { + layoutpolicy_horizontal = growing + } + } + + expand = { + layoutpolicy_vertical = growing + } + } + + expand = { + layoutpolicy_horizontal = growing + } + } + } + + vbox = { + layoutpolicy_horizontal = expanding + + hbox = { + name = "troop_breakdown" + layoutpolicy_vertical = expanding + layoutpolicy_horizontal = expanding + + margin = { 10 10 } + margin_left = 15 + + background = { + using = Background_Area + } + + dynamicgridbox = { + name = "troops" + datamodel = "[CalculateBreakdownItems(Army.Self)]" + + datamodel_wrap = 4 + flipdirection = yes + + item = { + widget = { + hbox = { + margin_right = 15 + set_parent_size_to_minimum = yes + tooltip = "ARMY_VIEW_TROOP_TT" + spacing = 4 + + icon = { + name = "men_at_arms_icon" + visible = "[TroopItem.IsMaa]" + size = { 35 35 } + texture = "[TroopItem.GetRegiment.GetRegiment.GetMAAType.GetIcon]" + } + + widget = { + size = { 35 35 } + name = "levies_icon" + visible = "[TroopItem.IsLevies]" + + icon = { + # the levies icon is larger than the MaA icons so it looks better if smaller + size = { 30 30 } + texture = "gfx/interface/icons/icon_soldier.dds" + parentanchor = center + } + } + + icon = { + name = "knight_icon" + visible = "[TroopItem.IsKnight]" + size = { 35 35 } + texture = "gfx/interface/icons/icon_knight_small.dds" + } + + text_single = { + layoutpolicy_horizontal = growing + text = "[TroopItem.GetCount|*V]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + } + + highlight_icon = { + name = "levies_icon" + visible = "[TroopItem.IsLevies]" + size = { 35 35 } + texture = "gfx/interface/icons/icon_levies.dds" + } + + highlight_icon = { + name = "knight_icon" + visible = "[TroopItem.IsKnight]" + size = { 35 35 } + texture = "gfx/interface/icons/icon_knight_small.dds" + } + } + } + } + + expand = { + layoutpolicy_vertical = expanding + } + } + + hbox = { + name ="commander" + datacontext = "[Army.GetCommander]" + layoutpolicy_horizontal = expanding + margin = { 15 10 } + + background = { + using = Background_Area + } + + hbox = { + visible = "[Character.IsValid]" + layoutpolicy_horizontal = expanding + + text_single = { + layoutpolicy_horizontal = expanding + text = "ARMY_TOOLTIP_COMMANDER" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + hbox = { + tooltip = "[Character.GetCommanderAdvantageDesc]" + icon = { + name = "skill_icon" + texture = "gfx/interface/icons/icon_commander_advantage.dds" + size = { 30 30 } + } + text_single = { + text = "ARMY_TOOLTIP_COMMANDER_ADVANTAGE" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + text_single = { + name = "no_troop_commander" + visible = "[Not( Character.IsValid )]" + layoutpolicy_horizontal = expanding + text = "ARMY_TOOLTIP_NO_COMMANDER" + align = nobaseline + + default_format = "#weak" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + visible = "[Army.IsRaidArmy]" + + layoutpolicy_horizontal = expanding + margin = { 10 5 } + + background = { + using = Background_Area + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "ARMY_LOOT_INFO" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + vbox = { + name = "statuses" + layoutpolicy_horizontal = expanding + + hbox = { + visible = "[UnitItem.IsRulerCommander]" + layoutpolicy_horizontal = expanding + margin = { 10 0 } + margin_bottom = 5 + spacing = 2 + + icon = { + texture = "gfx/interface/icons/map_icons/commander_is_leader.dds" + size = { 24 24 } + } + + text_single = { + datacontext = "[UnitItem.GetUnitPortraitCharacter]" + layoutpolicy_horizontal = expanding + text = "COMMANDER_IS_LEADER" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + visible = "[UnitItem.HasDisembarkPenalty]" + layoutpolicy_horizontal = expanding + margin = { 10 0 } + margin_bottom = 5 + spacing = 2 + + icon = { + name = "sea_sickness_icon" + size = { 24 24 } + texture = "gfx/interface/icons/map_icons/army_icon_disembarked.dds" + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "[Army.GetEmbarkInfoForTooltip]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + visible = "[UnitItem.IsGathering]" + layoutpolicy_horizontal = expanding + margin = { 10 0 } + margin_bottom = 5 + spacing = 2 + + icon = { + texture = "gfx/interface/icons/map_icons/army_icon_gathering.dds" + size = { 24 24 } + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "ARMY_TOOLTIP_IS_GATHERING" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + visible = "[And( Army.IsRaidArmy, Army.IsLootCapped)]" + layoutpolicy_horizontal = expanding + margin = { 10 0 } + margin_bottom = 5 + spacing = 2 + + tooltip = ARMY_AT_LOOT_CAP_TOOLTIP + + icon = { + texture = "gfx/interface/icons/map_icons/army_icon_at_loot_cap.dds" + size = { 24 24 } + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "ARMY_AT_LOOT_CAP" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + visible = "[UnitItem.IsRetreating]" + layoutpolicy_horizontal = expanding + margin = { 10 0 } + margin_bottom = 5 + spacing = 2 + + icon = { + texture = "gfx/interface/icons/map_icons/army_icon_retreating.dds" + size = { 24 24 } + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "ARMY_RETREATING" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + + # #-------------------------------------- + # | ¤ Attrition: 1%/month + # | & Well supplied (100) -10/month + # | -> Province, 17 days left (29 May yyyy) + # | () Movement locked + # #-------------------------------------- + + vbox = { + name = "involved_army_details" + visible = "[Not(Army.IsNeutralToPlayer)]" + layoutpolicy_horizontal = expanding + spacing = 5 + + margin = { 10 5 } + + hbox = { + name = "involved_army_attrition_warning" + visible = "[Army.IsArmySufferingFromAttrition]" + layoutpolicy_horizontal = expanding + + tooltip = "ARMY_ATTRITION_TT" + spacing = 2 + + icon = { + texture = "gfx/interface/icons/map_icons/attrition_icon.dds" + size = { 24 24 } + } + + text_single = { + layoutpolicy_horizontal = expanding + name = "attrition" + text = "ARMY_TOOLTIP_ATTRITION" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + name = "involved_army_supply_status" + layoutpolicy_horizontal = expanding + + text_single = { + layoutpolicy_horizontal = expanding + text = "[Army.GetSupplyInfoForTooltip]" + tooltip = "[Army.GetSupplyStateTooltip]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + vbox = { + layoutpolicy_horizontal = expanding + + hbox = { + name = "involved_army_movement" + visible = "[Army.IsMoving]" + layoutpolicy_horizontal = expanding + spacing = 2 + + icon = { + name = "unit_moving" + visible = "[Not(UnitItem.IsRetreating)]" + texture = "gfx/interface/icons/combat_effects/moving_army.dds" + size = { 24 24 } + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "[Army.GetMovementInfoForTooltip]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + name = "involved_army_movement_lock" + visible = "[UnitItem.IsMovementLocked]" + layoutpolicy_horizontal = expanding + spacing = 2 + + icon = { + texture = "gfx/interface/icons/map_icons/movement_locked.dds" + size = { 24 24 } + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "ARMY_TOOLTIP_IS_MOVEMENT_LOCKED" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + + block "extra_unit_info" {} + + # PLAYER FACING AI INFO + vbox = { + visible = "[Or( Army.IsControlledByCompanionAI, UnitItem.IsUnitItemAlly)]" + layoutpolicy_horizontal = expanding + + divider_light = { + layoutpolicy_horizontal = expanding + } + + vbox = { + margin = { 15 5 } + layoutpolicy_horizontal = expanding + + hbox = { + visible = "[Army.IsControlledByCompanionAI]" + layoutpolicy_horizontal = expanding + spacing = 2 + + army_automation_on = { + size = { 24 24 } + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "ARMY_IS_AUTOMATED" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + visible = "[UnitItem.IsUnitItemAlly]" + layoutpolicy_horizontal = expanding + spacing = 2 + + icon = { + texture = "gfx/interface/icons/message_feed/alliance.dds" + size = { 24 24 } + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "ARMY_IS_ALLY" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + layoutpolicy_horizontal = expanding + margin_top = 5 + spacing = 2 + + icon_ai_order = {} + + text_multi = { + layoutpolicy_horizontal = expanding + autoresize = yes + text = "[Army.GetAIOrderDesc]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + } + } + + # AI DEBUG INFO + vbox = { + visible = "[And( InDebugMode, Not(ReleaseMode) )]" + layoutpolicy_horizontal = expanding + + text_single = { + # Deliberately unlocalized since this is debug functionality + layoutpolicy_horizontal = expanding + raw_text = "DEBUG:" + align = nobaseline + default_format = "#debug" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + + text_single = { + # Deliberately unlocalized since this is debug functionality + layoutpolicy_horizontal = expanding + raw_text = "Army: [Army.GetArmyId] Unit: [Army.GetUnitId]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + # Deliberately unlocalized since this is debug functionality + layoutpolicy_horizontal = expanding + raw_text = "#E AI Coordinator: [Army.GetAiCoordinatorId]#!" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + + raw_tooltip = "Stack: [Army.GetAiUnitStackId] Sub: [Army.GetAiSubUnitStackId]" + } + + text_multi = { + layoutpolicy_horizontal = expanding + autoresize = yes + text = "[Army.GetDebugAIInfo]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + } +} + + + + +template unit_icon_tooltip { + container = { + using = GeneralTooltipSetup + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + alwaystransparent = no + + flowcontainer = { + datamodel = "[UnitMapIcon.GetUnitItems]" + visible = "[GreaterThan_int32(GetDataModelSize(UnitMapIcon.GetUnitItems), '(int32)1')]" + direction = vertical + spacing = 5 + margin = { 20 10 } + + text_single = { + text = "ARMY_ICON_HEADER" + margin_bottom = 4 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + item = { + flowcontainer = { + spacing = 5 + ignoreinvisible = yes + + container_allied_unit_icon_item = { + blockoverride "unit_items" {} + blockoverride "multi_select" {} + blockoverride "onclick" { + onclick = "[UnitMapIcon.OnClickArmy( Army.Self )]" + } + min_width = 120 + parentanchor = vcenter + } + + container_hostile_unit_icon_item = { + blockoverride "unit_items" {} + blockoverride "multi_select" {} + min_width = 120 + } + + text_single = { + text = "ARMY_UNIT_COOLTIP_NAME" + align = nobaseline + margin_top = 4 + margin_left = 16 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + tooltipwidget = { + using = unit_icon_item_tooltip + } + + using = tooltip_es + } + } + } + + container = { + visible = "[EqualTo_int32(GetDataModelSize(UnitMapIcon.GetUnitItems), '(int32)1')]" + datamodel = "[UnitMapIcon.GetUnitItems]" + + item = { + using = unit_icon_item_tooltip + } + } + } +} + +container = { + name = "UnitTooltipWidget" + using = unit_icon_item_tooltip +} + +template faith_tooltip_click_default_extra_info +{ + divider_light = { + layoutpolicy_horizontal = expanding + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "FAITH_ITEM_TOOLTIP" + margin = { 10 0 } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } +} + +template core_tenets_extra_info +{ + divider_light = { + layoutpolicy_horizontal = expanding + } + + text_label_center = { + text = "FAITH_CORE_TENETS_HEADING" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + hbox = { + name = "tenets" + spacing = 10 + + datamodel = "[Rite.GetTenets]" + item = { + container_tenet_item_small = {} + } + } +} + +template rite_tooltip_click_default_extra_info +{ + divider_light = { + layoutpolicy_horizontal = expanding + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "RITE_ITEM_TOOLTIP" + margin = { 10 0 } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } +} + +types HoldingTooltips +{ + type holding_tooltip = widget + { + alwaystransparent = no + using = GeneralTooltipSetup + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 15 10 } + margin_bottom = 20 + spacing = 5 + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + background = { + using = Background_Header + margin = { 10 4 } + margin_bottom = 12 + } + + background = { + using = Background_Header_Pattern + margin = { 10 4 } + margin_bottom = 12 + } + + hbox = { + layoutpolicy_horizontal = expanding + margin = { 5 5 } + + text_single = { + layoutpolicy_horizontal = expanding + name = "header" + text = "[Holding.GetNameNoTooltip]" + align = top + using = Font_Type_Flavor + using = Font_Size_Big + min_width = 300 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + text = "[holding|E]" + align = top + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + vbox = { + layoutpolicy_horizontal = expanding + spacing = 2 + margin = { 5 0 } + + vbox = { + visible = "[Not(Holding.IsEmpty)]" + layoutpolicy_horizontal = expanding + spacing = 5 + + text_single = { + layoutpolicy_horizontal = expanding + text = "HOLDING_TT_TYPE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "HOLDING_TT_TITLE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "HOLDING_TT_HOLDER" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + visible = "[Holding.GetProvince.GetTitle.IsLeasedOut]" + layoutpolicy_horizontal = expanding + text = "HOLDING_TT_LEASED" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + text_single = { + visible = "[Holding.IsEmpty]" + layoutpolicy_horizontal = expanding + text = "HOLDING_TT_EMPTY" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "[Holding.GetTooltip]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + hbox = { + layoutpolicy_horizontal = growing + spacing = 10 + datacontext = "[Holding.GetProvince.GetTerrain]" + tooltipwidget = terrain_tooltip + using = tooltip_ws + + text_single = { + text = "HOLDING_TT_TERRAIN" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + icon = { + name = "terrain" + texture = "[Terrain.GetIcon]" + size = { 35 35 } + } + + expand = {} + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "HOLDING_TT_SUPPLY" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + block "extra_info" {} + } + } + } + + type holding_tooltip_click = holding_tooltip + { + blockoverride "extra_info" { + text_single = { + layoutpolicy_horizontal = expanding + text = "HOLDING_CLICK_TOOLTIP" + margin = { 0 10 } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } +} + +template faith_sub_heading { + text_single = { + visible = "[And( Not( Faith.GetReligion.HasPaganRoots ), Not( Faith.IsUnreformed ) )]" + layoutpolicy_horizontal = expanding + + text = "FAITH_VIEW_SUBHEADING" + align = top + } + + text_single = { + visible = "[Faith.IsUnreformed]" + layoutpolicy_horizontal = expanding + + text = "FAITH_VIEW_UNREFORMED_SUBHEADING" + align = top + } + + text_single = { + visible = "[And( Faith.GetReligion.HasPaganRoots, Not( Faith.IsUnreformed ) )]" + layoutpolicy_horizontal = expanding + + text = "FAITH_VIEW_REFORMED_SUBHEADING" + align = top + } +} + +types FaithTooltips +{ + type faith_tooltip = widget + { + alwaystransparent = no + using = GeneralTooltipSetup + + widget = { + name = "background" + using = DefaultTooltipBackgroundNoLockedFrame + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 10 15 } + spacing = 5 + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + margin_bottom = 10 + + background = { + using = Background_Header + margin = { 4 0 } + margin_top = 8 + } + + background = { + using = Background_Header_Pattern + margin = { 4 0 } + margin_top = 8 + } + + hbox = { + layoutpolicy_horizontal = expanding + margin_bottom = 5 + + icon = { + size = { 60 60 } + texture = "[Faith.GetIcon]" + color = "[TooltipInfo.GetTintColor]" + } + + vbox = { + layoutpolicy_vertical = expanding + text_single = { + layoutpolicy_horizontal = expanding + name = "header" + text = "FAITH_COOLTIP_GETNAME" + align = top + using = Font_Type_Flavor + using = Font_Size_Big + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + + using = faith_sub_heading + + expand = { + layoutpolicy_vertical = growing + } + } + expand = { + layoutpolicy_horizontal = growing + } + } + } + + vbox = { + spacing = 5 + margin = { 10 0 } + + vbox = { + layoutpolicy_horizontal = expanding + + visible = "[And( GetPlayer.IsValid, Not(ObjectsEqual( GetPlayer.GetFaith, Faith.Self )))]" + + text_single = { + name = "our_view" + layoutpolicy_horizontal = expanding + text = FAITH_VIEW_OUR_VIEW + align = top + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + name = "their_view" + layoutpolicy_horizontal = expanding + text = FAITH_VIEW_THEIR_VIEW + align = top + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + hbox = { + layoutpolicy_horizontal = expanding + fervor_container_hbox = {} + + expand = {} + } + + + + text_single = { + layoutpolicy_horizontal = growing + visible = "[Faith.HasDoctrineByKey( 'doctrine_no_head' )]" + text = "FAITH_TOOLTIP_DOCTRINE_NO_HEAD_OF_FAITH" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + layoutpolicy_horizontal = growing + visible = "[And( Not(Faith.HasDoctrineByKey( 'doctrine_no_head' )), Not( Faith.GetReligiousHead.IsValid ) ) ]" + text = "FAITH_TOOLTIP_DOCTRINE_VACANT_HEAD_OF_FAITH" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + layoutpolicy_horizontal = growing + visible = "[And( Not(Faith.HasDoctrineByKey( 'doctrine_no_head' )), Faith.GetReligiousHead.IsValid ) ]" + text = "FAITH_TOOLTIP_DOCTRINE_HEAD_OF_FAITH" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + spacer = { + size = { 0 5 } + } + + divider_light = { + layoutpolicy_horizontal = growing + } + + text_multi = { + max_width = 400 + margin = { 0 5 } + text = "[Faith.GetFlavorDesc]" + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + block "extra_info" {} + } + } + + widget = { + name = "locked_frame" + size = { 100% 100% } + using = TooltipLockedFrame + alwaystransparent = yes + } + } + + type faith_tooltip_click = faith_tooltip + { + blockoverride "extra_info" + { + using = faith_tooltip_click_default_extra_info + } + } + + type faith_tooltip_core_tenets = faith_tooltip + { + blockoverride "extra_info" + { + using = core_tenets_extra_info + } + } + + type faith_tooltip_ruler_designer = faith_tooltip + { + blockoverride "extra_info" + { + spacer = { + size = { 0 4 } + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = RULER_DESIGNER_LIST_FAITH_ENTRY_SELECT_TOOLTIP + align = nobaseline + } + } + } +} + +container = { + alwaystransparent = no + name = "FaithTooltip" + faith_tooltip = {} +} + +types RiteTooltips +{ + type rite_tooltip = widget + { + alwaystransparent = no + using = GeneralTooltipSetup + + widget = { + name = "background" + using = DefaultTooltipBackgroundNoLockedFrame + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 10 15 } + spacing = 5 + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + margin_bottom = 10 + + background = { + using = Background_Header + margin = { 4 0 } + margin_top = 8 + } + + background = { + using = Background_Header_Pattern + margin = { 4 0 } + margin_top = 8 + } + + hbox = { + layoutpolicy_horizontal = expanding + margin_bottom = 5 + spacing = 5 + + icon = { + size = { 60 60 } + texture = "[Rite.GetIcon]" + color = "[TooltipInfo.GetTintColor]" + } + + vbox = { + layoutpolicy_vertical = expanding + text_single = { + layoutpolicy_horizontal = expanding + name = "header" + text = "RITE_COOLTIP_GETNAME" + align = top + using = Font_Type_Flavor + using = Font_Size_Big + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + visible = "[Rite.IsMain]" + layoutpolicy_horizontal = expanding + text = "RITE_COOLTIP_IS_MAINLINE" + align = top + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + visible = "[Not( Rite.IsMain )]" + layoutpolicy_horizontal = expanding + text = "RITE_COOLTIP_IS_NOT_MAINLINE" + align = top + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + expand = {} + + text_single = { + margin_right = 10 + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + text = "[rite|E]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + align = vcenter|right + } + } + } + + vbox = { + spacing = 5 + margin = { 10 0 } + + text_single = { + visible = "[ObjectsEqual( GetPlayer.GetRite.Self, Rite.Self )]" + layoutpolicy_horizontal = expanding + text = "RITE_COOLTIP_YOUR_RITE" + align = top + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + visible = "[And( GetPlayer.IsValid, Not(ObjectsEqual( GetPlayer.GetRite.Self, Rite.Self ) ) )]" + name = "our_view" + layoutpolicy_horizontal = expanding + text = RITE_VIEW_OUR_AND_THEIR_VIEW + align = top + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + visible = "[And( ObjectsEqual( GetPlayer.GetFaith.Self, Rite.GetFaith.Self ), Not( Rite.IsMain ) )]" + layoutpolicy_horizontal = expanding + text = "RITE_COOLTIP_DIVERGENCE" + align = top + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + hbox = { + layoutpolicy_horizontal = expanding + text_multi = { + max_width = 410 + min_width = 340 + margin_top = -7 + margin_bottom = 5 + text = "[Localize(Rite.GetDescription)]" + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + expand = {} + } + + divider_light = { + layoutpolicy_horizontal = growing + } + + hbox = { + datacontext = "[Rite.GetHeadOfRite]" + layoutpolicy_horizontal = growing + spacing = 10 + + portrait_head_small = { + name = "rite_head_portrait" + } + + text_single = { + visible = "[Character.IsValid]" + layoutpolicy_horizontal = growing + layoutpolicy_vertical = growing + fonttintcolor = "[TooltipInfo.GetTintColor]" + text = "RITE_COOLTIP_HEAD" + align = top + max_width = 320 + + using = DefaultTooltipText + } + + text_single = { + visible = "[Not( Character.IsValid )]" + layoutpolicy_horizontal = growing + layoutpolicy_vertical = growing + text = "RITE_COOLTIP_NO_HEAD" + fonttintcolor = "[TooltipInfo.GetTintColor]" + align = top + + using = DefaultTooltipText + } + } + + block "extra_info" {} + block "shortcut" {} + } + } + + widget = { + name = "locked_frame" + size = { 100% 100% } + using = TooltipLockedFrame + alwaystransparent = yes + } + } + + type rite_tooltip_click = rite_tooltip + { + blockoverride "extra_info" + { + using = rite_tooltip_click_default_extra_info + } + } + + type rite_tooltip_ruler_designer = rite_tooltip + { + blockoverride "extra_info" + { + using = core_tenets_extra_info + + spacer = { + size = { 0 4 } + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = "RULER_DESIGNER_LIST_RITE_ENTRY_SELECT_TOOLTIP" + align = nobaseline + } + } + } +} + +container = { + alwaystransparent = no + name = "RiteTooltip" + rite_tooltip = {} +} + +template fulfillment_short_tooltip { + container = { + alwaystransparent = no + object_tooltip_pop_out = { + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "gfx/interface/icons/spiritual_fulfillment_levels/spiritual_fulfillment_04.dds" + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "game_concept_spiritual_fulfillment" + default_format = "#T" + } + + blockoverride "concept_link" {} + + blockoverride "description_text" { + text = "game_concept_spiritual_fulfillment_desc" + max_width = 400 + } + + blockoverride "bg_texture" { + texture = "gfx/interface/tooltips/tooltip_bg_gameconcept.dds" + } + } + } +} + +template fulfillment_tooltip { + container = { + alwaystransparent = no + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon_placeholder = { + size = { 52 52 } + block "header_icon" + { + texture = "[SpiritualFulfillmentLevel.GetIcon]" + } + } + } + } + + blockoverride "concept_link" { + text = "[spiritual_fulfillment|E]" + } + + blockoverride "title_text" { + margin = { 0 5 } + block "title_text" { + text = "[SpiritualFulfillmentLevel.GetName]" + } + default_format = "#T" + } + + blockoverride "main_description" { + vbox = { + layoutpolicy_horizontal = expanding + + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + using = DefaultTooltipText + multiline = yes + text = "[SpiritualFulfillmentLevel.GetSpiritualFulfillmentLevelEffects]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + spacer = { + size = { 0 10 } + } + } + } + } + } +} +container = { + name = "FulfillmentLevelTooltip" + alwaystransparent = no + using = fulfillment_tooltip +} + +types ReligionCooltips { + type religion_tooltip = object_tooltip_pop_out { + blockoverride "title_text" { + text = "RELIGION_TITLE_TEXT" + } + + blockoverride "concept_link" { + text = [religion|E] + } + + blockoverride "above_description_text" { + text = "[Religion.GetType.GetVirtuesSinsDescription]" + } + + blockoverride "description_text" { + text = "[Religion.GetFlavorDesc]" + } + } + + type religion_tooltip_ruler_designer = religion_tooltip { + blockoverride "tooltip_text_shortcut" { + visible = no + } + + blockoverride "call_to_action" { + vbox = { + margin_bottom = 10 + spacing = 5 + layoutpolicy_horizontal = expanding + + spacer = { + size = { 0 4 } + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = "RULER_DESIGNER_LIST_RELIGION_ENTRY_SELECT_TOOLTIP" + align = nobaseline + } + } + } + } +} + +container = { + alwaystransparent = no + name = "ReligionTooltip" + + religion_tooltip = {} +} + +container = { + name = "ReligionFamilyTooltip" + alwaystransparent = no + + object_tooltip_pop_out = { + + blockoverride "title_text" { + margin = { 0 8 } + text = "[ReligionFamily.GetNameNoTooltip]" + } + + blockoverride "concept_link" { + text = [religious_family|E] + } + + blockoverride "description_text" { + text = "RELIGION_FAMILY_TOOLTIP" + } + } +} + +container = { + name = "SchemeTooltip" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[Scheme.GetNameNoTooltip]" + } + + blockoverride "concept_link" { + text = [scheme|E] + } + + blockoverride "description_text" { + text = "[Scheme.GetTypeDescription]" + } + } +} + +container = { + name = "FactionTooltip" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[Faction.GetNameNoTooltip]" + } + + blockoverride "concept_link" { + text = [faction|E] + } + + blockoverride "description_text" { + text = "[Faction.GetDescription]" + } + } +} + +container = { + alwaystransparent = no + name = "DynastyTooltip" + using = DynastyTooltip +} + +template DynastyTooltip { + object_tooltip_pop_out = { + + blockoverride "header_additions" { + margin_top = 6 + margin_bottom = -10 + + coa_dynasty_small = { + blockoverride "coa_tooltip" {} + } + } + + blockoverride "title_text" { + #margin = { 0 8 } + margin_right = 16 + text = "[dynasty|E] [Dynasty.GetNameNoTooltip]" + align = nobaseline + } + + blockoverride "concept_link" { + text = [dynasty|E] + } + + blockoverride "extra_data" { + cooltip_paragraph = { + text = "DYNASTY_VIEW_MY_DYNASTY" + visible = "[Dynasty.IsMyDynasty(GetPlayer)]" + } + + cooltip_paragraph = { + datacontext = [Dynasty] + text = "DYNASTY_TT_DYNAST" + } + + cooltip_paragraph = { + datacontext = [Dynasty] + text = "DYNASTY_TT_MEMBERS" + } + + cooltip_paragraph = { + datacontext = [Dynasty] + text = "DYNASTY_TT_SPLENDOR_LEVEL" + } + + cooltip_paragraph = { + text = "DYNASTY_VIEW_PRESTIGE" + } + } + } +} + +container = { + alwaystransparent = no + name = "BuildingTooltip" + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[Building.GetNameNoTooltip]" + } + blockoverride "subtitle_text" { + text = "[Building.GetTypeName]" + default_format = "#weak" + } + blockoverride "concept_link" { + text = "[building|E]" + } + blockoverride "description_text" { + text = "BUILDING_TOOLTIP_TEXT" + } + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + texture = "[Building.GetTypeIcon]" + size = { 75 65 } + + using = Master_Button_Modify_Texture + } + } + } + } +} + +container = { + name = "ArmyTooltip" + using = unit_icon_item_tooltip +} + +container = { + alwaystransparent = no + name = "HoldingTooltipDefault" + holding_tooltip = {} +} + +types Cooltips +{ + type LandedTitleTooltipBase = object_tooltip_pop_out { + blockoverride "header_additions" { + margin_top = -4 + + coa_title_small_crown = { + visible = "[Title.IsValid]" + size = { 40 50 } + blockoverride "coa_tooltip" {} + blockoverride "coa_hover_glow_visible" + { + visible = no + } + } + } + + blockoverride "title_text" { + text = "[Title.GetNameWithUnderlyingNoTooltip|U]" + } + + blockoverride "subheading" { + margin_left = 6 + + vbox_title_type_text = { + layoutpolicy_horizontal = expanding + } + } + + blockoverride "description_text" { + text = "[Title.GetCOADefaultTooltip]" + } + + blockoverride "concept_link" { + text = [title|E] + } + + blockoverride "extra_data" { + textbox = { + using = DefaultTooltipText + layoutpolicy_horizontal = expanding + multiline = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + block "highlight_text" {} + } + } + } +} + +template LandedTitleTooltip { + LandedTitleTooltipBase = { + blockoverride "input_info_text" { + text = "[Title.GetClickInfo]" + } + } +} + +template LandedTitleTooltipTextLink { + LandedTitleTooltipBase = { + blockoverride "input_info_text" { + text = "CLICK_TO_VIEW" + } + } +} + +template ProvinceTooltip { + LandedTitleTooltipBase = { + datacontext = "[Province.GetCoATitle]" + blockoverride "input_info_text" { + text = "CLICK_TO_VIEW_HOLDING" + } + } +} + +template CountyTitleTooltipLanguage +{ + using = LandedTitleTooltip + blockoverride "highlight_text" + { + text = "COUNTY_LANGUAGE_TOOLTIP" + } +} + +container = { + alwaystransparent = no + name = "LandedTitleTooltip" + using = LandedTitleTooltipTextLink +} + +container = { + alwaystransparent = no + name = "ProvinceTooltip" + using = ProvinceTooltip +} + +container = { + name = "GovernmentTypeTooltip" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + header_icon = { + blockoverride "header_texture" + { + texture = "[GovernmentType.GetIcon]" + } + } + } + blockoverride "title_text" { + margin = { 0 8 } + text = "[GovernmentType.GetNameNoTooltip]" + } + + blockoverride "concept_link" { + text = [government|E] + } + blockoverride "description_text" { + text = GOVERNMENT_TYPE_DESCRIPTION + } + } +} + +container = { + name = "ObligationlevelTooltip" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[ObligationLevel.GetName]" + } + + blockoverride "concept_link" { + text = [vassal_contract|E] + } + + blockoverride "above_description_text" { + text = "[ObligationLevel.GetEffectText]" + } + + blockoverride "description_text" { + text = "[ObligationLevel.GetDesc]" + } + } +} + +types StaticModifierTooltipTypes +{ + type static_modifier_tooltip = object_tooltip_pop_out { + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 32 32 } + texture = "[StaticModifier.GetIcon]" + tintcolor = "[TooltipInfo.GetTintColor]" + visible = "[StaticModifier.HasValidIcon]" + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[StaticModifier.GetName]" + } + + blockoverride "concept_link" { + text = "" + } + + blockoverride "description_text" { + block "description_text_data" { + text = "[StaticModifier.GetDescWithEffects]" + } + } + } + + type scaled_static_modifier_tooltip = object_tooltip_pop_out { + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 32 32 } + texture = "[StaticModifier.GetIcon]" + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[StaticModifier.GetName]" + } + + blockoverride "concept_link" { + text = "" + } + + blockoverride "main_description" { + vbox = { + layoutpolicy_horizontal = expanding + textbox = { + layoutpolicy_horizontal = expanding + max_width = 400 + using = DefaultTooltipText + multiline = yes + block "description_text_data" { + text = "[StaticModifier.GetDescOnly(StaticModifierTooltipData.GetMainLocalizationKey, StaticModifierTooltipData.GetMultiplier)]" + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + vbox = { + layoutpolicy_horizontal = expanding + block "effects_datamodel" { + datamodel = "[StaticModifier.GetEffectsDesc(StaticModifierTooltipData.GetEffectLocaizationKey, StaticModifierTooltipData.GetMultiplier)]" + } + item = { + textbox = { + layoutpolicy_horizontal = expanding + margin_top = 5 + margin_left = 10 + margin_right = 5 + margin_bottom = 10 + using = DefaultTooltipText + using = Background_Area + text = "[CString.GetString]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + } + + block "expiration_date" {} + + # Things like "click to X", hotkeys etc + textbox = { + name = "input_info" + layoutpolicy_horizontal = expanding + margin_top = 10 + using = DefaultTooltipText + multiline = yes + block "input_info_text" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } +} + +container = { + name = "StaticModifierTooltip" + alwaystransparent = no + + static_modifier_tooltip = {} +} + +container = { + name = "ScaledStaticModifierTooltip" + alwaystransparent = no + + scaled_static_modifier_tooltip = {} +} + +types LawTooltipTypes +{ + type law_tooltip_header_additions = hbox { + margin_right = 5 + + icon = { + datacontext = "[Law.GetLawGroup]" + visible = "[Law.HasIcon]" + size = { 60 60 } + + texture = "[Law.GetIcon]" + tintcolor = "[TooltipInfo.GetTintColor]" + + modify_texture = { + visible = "[Not( Or( EqualTo_string( LawGroup.GetKey, 'camp_purpose'), EqualTo_string( LawGroup.GetKey, 'nomadic_authority') ) )]" + + texture = "gfx/interface/colors/colors_textured.dds" + blend_mode = add + framesize = { 96 96 } + spritetype = corneredtiled + } + } + } + + type pass_law_tooltip = container { + alwaystransparent = no + + scrollable_object_tooltip_pop_out = { + blockoverride "header_additions" { + law_tooltip_header_additions = {} + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "PASS_LAW_TOOLTIP_TITLE" + } + + blockoverride "subtitle_text" { + text = "LAW_TOOLTIP_SUBTITLE" + } + + blockoverride "concept_link" { + block "concept_link" { + text = "[law|E]" + } + } + + blockoverride "extra_data" { + cooltip_paragraph = { + text = "[GuiLaw.GetCanEnactDescription]" + max_width = 440 + } + + cooltip_paragraph = { + text = "[Law.GetEffectDescription]" + max_width = 440 + } + + cooltip_paragraph = { + text = "[GuiLaw.GetEnactEffectDescription]" + max_width = 440 + } + } + + blockoverride "scrolltip_footer" { + vbox = { + layoutpolicy_horizontal = expanding + margin_bottom = 20 + + cooltip_paragraph = { + visible = "[And( GuiLaw.HasCost, Not( GuiLaw.IsEnacted ) )]" + text = "LAW_COST" + max_width = 440 + + tooltip = "[GuiLaw.GetCostDescription]" + } + + cooltip_paragraph = { + visible = "[GuiLaw.CanEnact]" + text = "CLICK_TO_PASS_LAW" + max_width = 440 + } + } + } + } + } + + type general_law_tooltip = object_tooltip_pop_out { + blockoverride "header_additions" { + law_tooltip_header_additions = {} + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "LAW_TOOLTIP_TITLE" + } + + blockoverride "subtitle_text" { + text = "LAW_TOOLTIP_SUBTITLE" + } + + blockoverride "concept_link" { + text = [law|E] + } + + blockoverride "extra_data" { + cooltip_paragraph = { + text = "[Law.GetEffectDescription]" + } + } + } +} + +container = { + alwaystransparent = no + name = "LawTooltip" + general_law_tooltip = {} +} + +template terrain_tooltip { + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[Terrain.GetNameNoTooltip]" + } + + blockoverride "concept_link" { + text = [terrain|E] + } + + blockoverride "description_text" { + text = "TERRAIN_DESCRIPTION" + } + } +} +container = { + alwaystransparent = no + name = "TerrainTooltip" + using = terrain_tooltip +} + + +template dynasty_house_tooltip { + object_tooltip_pop_out = { + datacontext = "[DynastyHouse]" + + blockoverride "header_additions" { + margin_right = 10 + margin_top = 5 + margin_left = -5 + + coa_house_small = { + blockoverride "coa_tooltip" {} + } + } + + blockoverride "title_text" + { + text = "HOUSE_TT_NAME" + } + + blockoverride "fontsize_min" { + fontsize_min = 13 + } + + blockoverride "subtitle_text" + { + text = "HOUSE_VIEW_MOTTO" + default_format = "#weak" + } + + blockoverride "multiline" { + multiline = yes + } + + blockoverride "max_width" + { + max_width = 280 + } + + blockoverride "concept_link" + { + text = [house|E] + } + + blockoverride "extra_data" + { + + cooltip_paragraph = { + name = "my_house" + visible = "[DynastyHouse.IsPlayerMember]" + text = "HOUSE_VIEW_PLAYER_IS_MEMBER" + } + + cooltip_paragraph = { + name = "house_head" + text = "DYNASTY_HOUSE_TT_HEAD_OF_HOUSE" + } + + cooltip_paragraph = { + name = "living_members" + text = "DYNASTY_HOUSE_TT_LIVING_MEMBERS" + } + + cooltip_paragraph = { + name = "house_relation" + visible = "[DynastyHouse.HasHouseRelationWith( GetPlayer.GetHouse )]" + text = "DYNASTY_HOUSE_TT_HOUSE_RELATION" + } + + cooltip_paragraph = { + name = "dynasty" + text = "DYNASTY_HOUSE_TT_DYNASTY" + } + cooltip_paragraph = { + name = "dynasty_level" + text = "DYNASTY_HOUSE_TT_DYNASTY_LEVEL" + } + + hbox = { + layoutpolicy_horizontal = expanding + + datacontext = "[DynastyHouse.GetCurrentHouseUnityStage]" + + visible = "[DynastyHouse.HasHouseUnity]" + + spacing = 5 + + text_single = { + text = "HOUSE_UNITY_VALUE_TT_TITLE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + icon = { + size = { 30 30 } + texture = "[HouseUnityStage.GetIcon]" + + tooltipwidget = { + house_unity_stage_tooltip = { + blockoverride "decisions_visibility" { + visible = "[DynastyHouse.IsPlayerMember]" + } + + blockoverride "decisions_datamodel" { + datamodel = "[GetDecisionsForCharacter(GetPlayer)]" + } + } + } + } + + text_single = { + text = "[DynastyHouse.GetHouseUnityValue|0]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + cooltip_paragraph = { + name = "click" + text = "VIEW_CLICK" + default_format = "#I" + } + } + } +} + +container = { + alwaystransparent = no + name = "DynastyHouseTooltip" + using = dynasty_house_tooltip +} + +### These templates can very likely be extended to most custom tooltips with header, blocker, effects, flavor, etc + +local_template era_innov_blockers +{ + minimumsize = { 100% 0 } + + block "eib_visible" + { + visible = yes + } + + text_multi = { + block "eib_text" + { + text = "..." + } + + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + using = DefaultTooltipText + } +} + +local_template era_innov_effects +{ + flowcontainer = { + name = "effects" + + minimumsize = { 100% 0 } + + direction = vertical + ignoreinvisible = yes + + text_single = { + text = "INNOVATION_ERA_TOOLTIP_EFFECTS" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + textbox = { + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + using = DefaultTooltipText + + block "eie_effects" + { + text = "..." + } + } + } +} + +# progress + +local_template era_innov_flavor +{ + textbox = { + name = "description" + + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + using = DefaultTooltipText + multiline = yes + default_format = "#F" + + block "eif_text" + { + text = "..." + } + } +} + +template culture_innovation_tooltip_no_context { + container = { + using = GeneralTooltipSetup + alwaystransparent = no + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + flowcontainer = { + margin = { 20 20 } + spacing = 15 + direction = vertical + ignoreinvisible = yes + + widget = { + name = "header" + size = { 500 60 } + + background = { + using = Background_Area_Dark + margin = { 15 10 } + } + + hbox = { + layoutpolicy_horizontal = expanding + minimumsize = { 500 0 } + set_parent_size_to_minimum = yes + + widget = { + size = { 90 60 } + icon = { + texture = "[CultureInnovationType.GetIcon]" + size = { 90 60 } + + using = Mask_Rough_Edges + } + } + + text_single = { + layoutpolicy_horizontal = expanding + margin = { 10 0 } + text = "[CultureInnovationType.GetName|T]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + + vbox = { + text_single = { + layoutpolicy_horizontal = expanding + align = right + text = "INNOVATION_TOOLTIP_TYPE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + + container = { + using = era_innov_effects + + blockoverride "eie_label_visible" + { + visible = "[CultureInnovationType.HasEffects( GetPlayer.GetCulture, GetPlayer )]" + minimumsize = { 500 30 } + } + + + blockoverride "eie_effects" + { + text = "[CultureInnovationType.GetEffectsDesc( GetPlayer.GetCulture, GetPlayer )]" + } + } + + container = { + using = era_innov_flavor + + blockoverride "eif_text" { + text = "[CultureInnovationType.GetDescription]" + max_width = 500 + } + } + } + } +} + +template culture_innovation_tooltip { + container = { + using = GeneralTooltipSetup + alwaystransparent = no + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + flowcontainer = { + margin = { 20 20 } + spacing = 15 + direction = vertical + ignoreinvisible = yes + datacontext = "[CultureInnovation.GetType]" + + widget = { + name = "header" + size = { 500 60 } + + background = { + margin = { 20 20 } + + texture = "gfx/interface/skinned/tile_window_background_no_edge.dds" + alpha = 0.7 + + using = Mask_Rough_Edges + + modify_texture = { + texture = "gfx/interface/colors/white.dds" + blend_mode = overlay + alpha = 0.1 + } + + modify_texture = { + texture = "gfx/interface/component_masks/mask_header.dds" + blend_mode = alphaMultiply + } + } + + background = { + margin = { 14 14 } + + texture = "gfx/interface/skinned/color_theme.dds" + spriteType = Corneredtiled + alpha = 1 + + using = Mask_Rough_Edges + + modify_texture = { + texture = "gfx/interface/skinned/mask_pattern.dds" + texture_density = 3 + spriteType = Corneredtiled + blend_mode = alphaMultiply + } + + modify_texture = { + texture = "gfx/interface/component_masks/mask_header.dds" + blend_mode = alphaMultiply + } + } + + hbox = { + minimumsize = { 500 0 } + set_parent_size_to_minimum = yes + + widget = { + size = { 90 60 } + icon = { + texture = "[CultureInnovation.GetIcon]" + size = { 90 60 } + + using = Mask_Rough_Edges + } + + icon = { + visible = "[Not(CultureInnovation.CanGainProgress)]" + texture = "[CultureInnovation.GetIcon]" + tintcolor = { 0 0 0 0.5 } + size = { 90 60 } + + using = Mask_Rough_Edges + } + } + + text_single = { + layoutpolicy_horizontal = expanding + margin = { 10 0 } + text = "CULTURE_INNOVATION_NAME_NO_TOOLTIP_WITH_BASE_NAME" + default_format = "#T" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + + vbox = { + text_single = { + layoutpolicy_horizontal = expanding + align = right + text = "INNOVATION_TOOLTIP_TYPE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + spacer = { + size = { 5 5 } + } + + text_single = { + layoutpolicy_horizontal = expanding + align = right + text = "INNOVATION_ERA_WITH_ERA_CONCEPT" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + + container = { + name = "fascination" + using = era_innov_blockers + visible = "[CultureInnovation.IsFascination]" + minimumsize = { 500 0 } + + background = { + using = Background_Area_Dark + margin = { 15 5 } + alpha = 0.6 + } + + blockoverride "eib_text" + { + text = "INNOVATION_FASCINATION_MARKER_TOOLTIP" + } + } + + container = { + name = "spread" + using = era_innov_blockers + visible = "[CultureInnovation.HasSpreadMarker]" + minimumsize = { 500 0} + + background = { + using = Background_Area_Dark + margin = { 15 5 } + alpha = 0.6 + } + + blockoverride "eib_text" + { + text = "INNOVATION_SPREAD_MARKER_TOOLTIP" + } + } + + container = { + name = "blocked_for_government" + using = era_innov_blockers + + blockoverride "eib_visible" + { + visible = "[CultureInnovation.GetCultureEra.GetType.IsInvalidForPlayerGovernment]" + } + + blockoverride "eib_text" + { + text = "CULTURE_WINDOW_ERA_INNOVATION_BLOCKED_FOR_PLAYER_GOVERNMENT" + } + } + + container = { + name = "blocker" + using = era_innov_blockers + + blockoverride "eib_visible" + { + visible = "[Not(CultureInnovation.CanGainProgress)]" + } + + blockoverride "eib_text" + { + text = "[CultureInnovation.GetCantGainProgressReason]" + } + } + + container = { + using = era_innov_effects + + blockoverride "eie_label_visible" + { + visible = "[CultureInnovationType.HasEffects( CultureInnovation.GetCulture, GetPlayer )]" + minimumsize = { 500 30 } + } + + + blockoverride "eie_effects" + { + text = "[CultureInnovationType.GetEffectsDesc( CultureInnovation.GetCulture, GetPlayer )]" + } + } + + flowcontainer = { + minimumsize = { 100% 0 } + direction = vertical + ignoreinvisible = yes + + text_single = { + text = "[CultureInnovation.GetInnovationState]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + progressbar_standard = { + visible = "[And(CultureInnovation.CanGainProgress, Not(CultureInnovation.IsActive))]" + size = { 300 25 } + + min = 0 + max = 100 + value = "[FixedPointToFloat(CultureInnovation.GetProgress)]" + + text_single = { + parentanchor = hcenter|vcenter + widgetanchor = hcenter|vcenter + position = { 0 -2 } + text = "[CultureInnovation.GetProgress|%/0]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + + background = { + using = Background_Area + margin = { 10 0 } + } + } + } + + text_single = { + visible = "[And(CultureInnovation.CanGainProgress, Not(CultureInnovation.IsActive))]" + text = "INNOVATION_TOOLTIP_PROGRESS" + autoresize = yes + max_width = 500 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + flowcontainer = { + minimumsize = { 500 0 } + direction = vertical + ignoreinvisible = yes + name = "progress" + visible = "[And(CultureInnovation.CanGainProgress, Not(CultureInnovation.IsActive))]" + + background = { + using = Background_Area + margin = { 10 10 } + } + + widget = { size = { 0 5 } } + + text_multi = { + text = "INNOVATION_TOOLTIP_GAIN" + autoresize = yes + max_width = 500 + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + textbox = { + text = "[CultureInnovation.GetProgressGainBreakdownString]" + autoresize = yes + max_width = 500 + fonttintcolor = "[TooltipInfo.GetTintColor]" + using = DefaultTooltipText + } + + widget = { size = { 0 5 } } + + textbox = { + text = "[CultureInnovation.GetProgressChanceBreakdownString]" + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + using = DefaultTooltipText + } + } + + container = { + using = era_innov_flavor + + blockoverride "eif_text" { + text = "[CultureInnovation.GetDescription]" + max_width = 500 + } + } + + text_single = { + visible = "[InDebugMode]" + text = "[CultureInnovation.GetType.GetKey]" + default_format = "#debug" + } + + block "AfterDescription" {} + } + } +} + +container = { + alwaystransparent = no + name = "CultureInnovationTooltip" + using = culture_innovation_tooltip +} + +template culture_era_tooltip { + container = { + using = GeneralTooltipSetup + alwaystransparent = no + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + flowcontainer = { + margin = { 20 20 } + spacing = 15 + direction = vertical + ignoreinvisible = yes + datacontext = "[CultureEra.GetType]" + + widget = { + size = { 500 50} + + background = { + using = Background_Area_Dark + margin = { 15 0 } + margin_top = 10 + } + + text_single = { + parentanchor = vcenter|left + text = "[CultureEra.GetNameNoTooltip]" + default_format = "#T" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + parentanchor = vcenter|right + text = "[era|E]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + text_single = { + visible = "[Not(CultureEra.IsActive)]" + text = "CULTURE_ERA_BLOCKED_BLOCKED_TILE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + container = { + name = "blockers" + using = era_innov_blockers + blockoverride "eib_visible" + { + visible = "[And(Not(CultureEra.IsActive), Not(CultureEra.CanGainProgress))]" + } + blockoverride "eib_text" + { + text = "[CultureEra.GetCantGainProgressReason]" + } + } + + + flowcontainer = { + name = "progress" + visible = "[And(Not(CultureEra.IsActive), CultureEra.CanGainProgress)]" + minimumsize = { 100% 0 } + direction = vertical + ignoreinvisible = yes + + text_single = { + text = "[CultureEra.GetProgressAndGainBreakdown]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + text_single = { + visible = "[CultureEra.IsActive]" + text = "CULTURE_ERA_TOOLTIP_REACHED" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + container = { + using = era_innov_effects + + blockoverride "eie_label_visible" + { + visible = "[CultureEraType.HasEffects( CultureEra.GetCulture, GetPlayer )]" + minimumsize = { 500 30 } + } + + + blockoverride "eie_effects" + { + text = "[CultureEraType.GetEffectsDesc( CultureEra.GetCulture, GetPlayer )]" + } + } + + container = { + using = era_innov_flavor + + blockoverride "eif_text" { + text = "[CultureEraType.GetDescription]" + max_width = 500 + } + } + + block "cet_click_text" + { + text_single = { + default_format = "#I" + text = "VIEW_CLICK" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } +} +container = { + alwaystransparent = no + name = "CultureEraTooltip" + using = culture_era_tooltip + + blockoverride "cet_click_text" + { + #no text + } +} + +types CultureTooltips +{ + type culture_tooltip = widget + { + using = GeneralTooltipSetup + alwaystransparent = no + + widget = { + name = "background" + using = DefaultTooltipBackgroundNoLockedFrame + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 10 15 } + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + margin = { 10 0 } + margin_bottom = 10 + + background = { + using = Background_Header + margin = { 4 0 } + margin_top = 8 + } + + background = { + using = Background_Header_Pattern + margin = { 4 0 } + margin_top = 8 + } + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + margin_bottom = 5 + + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + layoutpolicy_horizontal = expanding + name = "header" + text = "CULTURE_COOLTIP_GETNAME" + fonttintcolor = "[TooltipInfo.GetTintColor]" + align = top + + using = Font_Type_Flavor + using = Font_Size_Big + } + + expand = {} + + text_single = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + text = "[culture|E]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + align = vcenter|right + } + } + + text_single = { + layoutpolicy_horizontal = expanding + fonttintcolor = "[TooltipInfo.GetTintColor]" + text = "[Culture.GetPlayerRelationString]" + align = nobaseline + } + + expand = { + layoutpolicy_vertical = growing + } + + hbox = { + visible = "[Not( ObjectsEqual( Culture.Self, GetPlayer.GetCulture ) )]" + layoutpolicy_horizontal = expanding + spacing = 5 + margin_top = 1 + margin_bottom = 3 + + tooltip = "CULTURE_ACCEPTANCE_TOOLTIP" + + text_single = { + fonttintcolor = "[TooltipInfo.GetTintColor]" + text = "CULTURE_VIEW_ACCEPTANCE" + } + + text_single = { + fonttintcolor = "[TooltipInfo.GetTintColor]" + text = "CULTURE_VIEW_ACCEPTANCE_DIFF_BRACKETS" + } + + expand = {} + } + } + } + + vbox = { + layoutpolicy_horizontal = expanding + spacing = 5 + margin = { 10 0 } + margin_top = 5 + + hbox = { + layoutpolicy_horizontal = growing + spacing = 5 + + icon_doctrine = { + visible = "[ObjectsEqual( Culture.GetHeritage, GetPlayer.GetCulture.GetHeritage )]" + size = { 30 30 } + texture = "gfx/interface/icons/culture_pillars/heritage.dds" + color = "[TooltipInfo.GetTintColor]" + } + + icon_doctrine = { + visible = "[Not(ObjectsEqual( Culture.GetHeritage, GetPlayer.GetCulture.GetHeritage ))]" + size = { 30 30 } + texture = "gfx/interface/icons/culture_pillars/heritage_diverge.dds" + color = "[TooltipInfo.GetTintColor]" + } + + text_single = { + datacontext = "[Culture.GetHeritage]" + layoutpolicy_horizontal = growing + text = "CULTURE_VIEW_HERITAGE_TEXT" + + tooltipwidget = { + using = culture_pillar_tooltip + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + hbox = { + layoutpolicy_horizontal = growing + spacing = 5 + + icon_doctrine = { + visible = "[ObjectsEqual( Culture.GetLanguage, GetPlayer.GetCulture.GetLanguage )]" + size = { 30 30 } + texture = "gfx/interface/icons/flat_icons/map_modes/court_languages.dds" + color = "[TooltipInfo.GetTintColor]" + } + + icon_doctrine = { + visible = "[Not(ObjectsEqual( Culture.GetLanguage, GetPlayer.GetCulture.GetLanguage ))]" + size = { 30 30 } + texture = "gfx/interface/icons/culture_pillars/language_diverge.dds" + color = "[TooltipInfo.GetTintColor]" + } + + text_single = { + datacontext = "[Culture.GetLanguage]" + layoutpolicy_horizontal = growing + text = "CULTURE_VIEW_LANGUAGE_TEXT" + + tooltipwidget = { + using = culture_pillar_tooltip + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + text_single = { + layoutpolicy_horizontal = growing + text = "CULTURE_COOLTIP_ERA" + fonttintcolor = "[TooltipInfo.GetTintColor]" + + using = DefaultTooltipText + } + + spacer = { + size = { 0 5 } + } + + divider_light = { + layoutpolicy_horizontal = growing + } + + hbox = { + datacontext = "[Culture.GetFascination]" + visible = "[Culture.HasFascination]" + layoutpolicy_horizontal = expanding + + tooltipwidget = culture_innovation_tooltip + + widget = { + size = { 65 45 } + icon_innovation = { + scale = 0.7 + color = "[TooltipInfo.GetTintColor]" + } + } + + vbox = { + layoutpolicy_horizontal = growing + spacing = 10 + margin_left = 10 + + text_single = { + layoutpolicy_horizontal = growing + fonttintcolor = "[TooltipInfo.GetTintColor]" + using = DefaultTooltipText + text = "CULTURE_COOLTIP_FASCINATION" + } + + hbox = { + layoutpolicy_horizontal = growing + + progressbar_standard = { + size = { 150 15 } + min = 0 + max = 100 + value = "[FixedPointToFloat(CultureInnovation.GetProgress)]" + } + + expand = {} + } + + expand = {} + } + } + + text_single = { + visible = "[And( Culture.IsPlayerCultureHead, And( ObjectsEqual( GetPlayer.GetCulture, Culture.Self ), Culture.HasAvailableInnovation ) )]" + layoutpolicy_horizontal = growing + fonttintcolor = "[TooltipInfo.GetTintColor]" + text = "INGAME_TOPBAR_CULTURE_HEAD" + default_format = "#weak" + + using = DefaultTooltipText + } + + text_single = { + visible = "[And( ObjectsEqual( GetPlayer.GetCulture, Culture.Self ), Not( Culture.HasAvailableInnovation ) )]" + layoutpolicy_horizontal = growing + text = "CULTURE_COOLTIP_NO_AVAILABLE_INNOVATION" + fonttintcolor = "[TooltipInfo.GetTintColor]" + + using = DefaultTooltipText + } + + divider_light = { + layoutpolicy_horizontal = growing + } + + hbox = { + datacontext = "[Culture.GetCultureHead]" + layoutpolicy_horizontal = growing + spacing = 10 + + vbox = { + layoutpolicy_vertical = expanding + expand = {} + + portrait_head_small = { + name = "culture_head_portrait" + } + } + + text_single = { + visible = "[Culture.GetCultureHead.IsValid]" + layoutpolicy_horizontal = growing + layoutpolicy_vertical = growing + fonttintcolor = "[TooltipInfo.GetTintColor]" + text = "CULTURE_COOLTIP_HEAD" + align = top + max_width = 320 + + using = DefaultTooltipText + } + + text_single = { + visible = "[Not( Culture.GetCultureHead.IsValid )]" + layoutpolicy_horizontal = growing + layoutpolicy_vertical = growing + text = "CULTURE_COOLTIP_NO_HEAD" + fonttintcolor = "[TooltipInfo.GetTintColor]" + align = top + + using = DefaultTooltipText + } + } + + + block "extra_info" + {} + + block "shortcut" {} + } + } + + widget = { + name = "locked_frame" + size = { 100% 100% } + using = TooltipLockedFrame + alwaystransparent = yes + } + } + + type ruler_designer_culture_tooltip = widget + { + using = GeneralTooltipSetup + alwaystransparent = no + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + set_parent_size_to_minimum = yes + margin = { 15 10 } + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + margin = { 5 0 } + margin_bottom = 10 + + background = { + using = Background_Header + } + + background = { + using = Background_Header_Pattern + } + + hbox = { + layoutpolicy_horizontal = expanding + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + name = "header" + layoutpolicy_horizontal = expanding + text = "CULTURE_COOLTIP_GETNAME" + fonttintcolor = "[TooltipInfo.GetTintColor]" + using = Font_Type_Flavor + using = Font_Size_Big + } + + expand = {} + + text_single = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + text = "[culture|E]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + align = right + } + } + } + } + } + + vbox = { + layoutpolicy_horizontal = expanding + + margin = { 5 0 } + + spacer = { + size = { 0 5 } + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "CULTURE_RD_TOOLTIP_ETHOS" + align = left + fonttintcolor = "[TooltipInfo.GetTintColor]" + + margin = { 0 5 } + } + + spacer = { + size = { 0 10 } + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + + vbox = { + layoutpolicy_horizontal = expanding + margin_top = 6 + margin_bottom = 6 + + text_label_center = { + margin = { 10 2 } + text = "[culture_pillars|E]" + align = center|nobaseline + default_format = "#low" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + hbox = { + name = "cultural_pillars_block" + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + spacing = 60 + margin_top = 4 + + vbox = { + name = "cultural_pillars_collumn_one" + layoutpolicy_vertical = expanding + layoutpolicy_horizontal = expanding + + hbox = { + name = "heritage" + layoutpolicy_horizontal = expanding + datacontext = "[Culture.GetHeritage]" + + hbox = { + spacing = 4 + + tooltipwidget = { + using = culture_pillar_tooltip + } + + icon_doctrine = { + visible = "[ObjectsEqual( Culture.GetHeritage, GetPlayer.GetCulture.GetHeritage )]" + size = { 44 44 } + texture = "gfx/interface/icons/culture_pillars/heritage.dds" + } + + icon_doctrine = { + visible = "[Not( ObjectsEqual( Culture.GetHeritage, GetPlayer.GetCulture.GetHeritage ))]" + size = { 44 44 } + texture = "gfx/interface/icons/culture_pillars/heritage_diverge.dds" + } + + text_multi = { + datacontext = "[Culture.GetHeritage]" + text = "CULTURE_VIEW_HERITAGE_TEXT" + autoresize = yes + max_width = 160 + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + } + + expand = {} + } + + hbox = { + name = "martial" + datacontext = "[Culture.GetMartial]" + layoutpolicy_horizontal = expanding + + hbox = { + spacing = 4 + + tooltipwidget = { + using = culture_pillar_tooltip + } + + icon_doctrine = { + size = { 44 44 } + texture = "[CulturePillar.GetIcon]" + } + + text_multi = { + text = "CULTURE_VIEW_MARTIAL_CUSTOM_TEXT" + autoresize = yes + max_width = 160 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + expand = {} + } + } + + vbox = { + name = "cultural_pillars_collumn_two" + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + margin_left = 10 + + hbox = { + name = "language" + datacontext = "[Culture.GetLanguage]" + layoutpolicy_horizontal = expanding + + hbox = { + spacing = 4 + + tooltipwidget = { + using = culture_pillar_tooltip + } + + icon_culture_pillar = { + visible = "[ObjectsEqual( Culture.GetLanguage, GetPlayer.GetCulture.GetLanguage )]" + texture = "gfx/interface/icons/flat_icons/map_modes/court_languages.dds" + } + + icon_culture_pillar = { + visible = "[Not( ObjectsEqual( Culture.GetLanguage, GetPlayer.GetCulture.GetLanguage ))]" + texture = "gfx/interface/icons/culture_pillars/language_diverge.dds" + } + + text_multi = { + datacontext = "[Culture.GetLanguage]" + text = "CULTURE_VIEW_LANGUAGE_TEXT" + autoresize = yes + max_width = 160 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + + hbox = { + spacing = 4 + + tooltip = "CULTURE_AESTHETICS_TOOLTIP" + + icon_culture_pillar = { + texture = "gfx/interface/icons/culture_pillars/aesthetics.dds" + } + + text_multi = { + text = "CULTURE_AESTHETICS" + autoresize = yes + max_width = 160 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + expand = {} + } + + } + } + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + + spacer = { + size = { 0 6 } + } + + text_label_center = { + margin = { 10 2 } + text = "[traditions|E]" + align = center|nobaseline + default_format = "#low" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + spacer = { + size = { 0 10 } + } + + vbox = { + margin_left = 20 + + fixedgridbox = { + name = "traditions_holder" + datamodel = "[Culture.GetTraditions]" + flipdirection = yes + addcolumn = 200 + addrow = 124 + datamodel_wrap = 2 + + item = { + container = { + using = tooltip_se + + tooltipwidget = { + using = culture_tradition_tooltip + } + + widget_tradition_icon = { + block "icon_size" { + size = { 178 89 } + } + } + + text_label_center = { + name = "name" + parentanchor = bottom|hcenter + widgetanchor = center + position = { 0 14 } + maximumsize = { 144 44 } #x 5 smaller y 4 bigger + fontsize_min = 10 + multiline = yes + align = center + elide = right + text = "[CultureTradition.GetNameNoTooltip]" + default_format = "#medium" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + } + } + } + } + + type culture_tooltip_click = culture_tooltip + { + blockoverride "extra_info" { + spacer = { + size = { 0 4 } + } + divider_light = { + layoutpolicy_horizontal = growing + } + + text_single = { + layoutpolicy_horizontal = growing + text = "CULTURE_COOLTIP_CLICK" + margin = { 10 0 } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + } + } +} + +container = { + alwaystransparent = no + name = "CultureTooltip" + culture_tooltip = {} +} + +container = { + alwaystransparent = no + name = "SecretTooltip" + + object_tooltip_pop_out = { + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[Secret.GetType.GetIcon]" + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[Secret.GetNameNoTooltip]" + } + + blockoverride "concept_link" { + text = [secret|E] + } + + blockoverride "description_text" { + text = "[Secret.GetTooltipDesc]" + } + } +} + +container = { + alwaystransparent = no + name = "SecretTypeTooltip" + + object_tooltip_pop_out = { + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[SecretType.GetIcon]" + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[SecretType.GetNameNoTooltip]" + } + + blockoverride "concept_link" { + text = [secret|E] + } + + blockoverride "description_text" { + text = "[SecretType.GetDesc]" + } + } +} + +container = { + alwaystransparent = no + name = "GeographicalRegionTooltip" + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[GeographicalRegion.GetNameNoTooltip]" + } + + blockoverride "concept_link" { + text = [region|E] + } + + blockoverride "description_text" { + text = VIEW_CLICK + default_format = "#I" + } + } +} + +template culture_pillar_tooltip { + container = { + alwaystransparent = no + block "datacontext" {} + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[CulturePillar.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "extra_data" { + vbox = { + visible = "[ObjectsEqual( Culture.GetHeritage, CulturePillar.Self )]" + + cooltip_paragraph = { + text = "CULTURE_PILLAR_TOOLTIP_HERITAGE_SAME" + visible = "[ObjectsEqual( GetPlayer.GetCulture.GetHeritage, CulturePillar.Self )]" + } + + cooltip_paragraph = { + text = "CULTURE_PILLAR_TOOLTIP_HERITAGE_DIFF" + visible = "[Not(ObjectsEqual( GetPlayer.GetCulture.GetHeritage, CulturePillar.Self ))]" + } + + cooltip_paragraph = { + text = "CULTURE_PILLAR_TOOLTIP_HERITAGE_EFFECT" + + } + + } + + vbox = { + visible = "[ObjectsEqual( Culture.GetLanguage, CulturePillar.Self )]" + + cooltip_paragraph = { + text = "CULTURE_PILLAR_TOOLTIP_LANGUAGE_SAME" + visible = "[ObjectsEqual( GetPlayer.GetCulture.GetLanguage, CulturePillar.Self )]" + } + + cooltip_paragraph = { + text = "CULTURE_PILLAR_TOOLTIP_LANGUAGE_DIFF" + visible = "[Not(ObjectsEqual( GetPlayer.GetCulture.GetLanguage, CulturePillar.Self ))]" + } + + cooltip_paragraph = { + text = "CULTURE_PILLAR_TOOLTIP_COURT_LANGUAGE" + visible = "[ObjectsEqual( GetPlayer.GetCourtLanguage, CulturePillar.Self )]" + } + + cooltip_paragraph = { + text = "CULTURE_PILLAR_TOOLTIP_LANGUAGE_EFFECT" + + } + + } + + } + blockoverride "description_text" { + text = "CULTURE_PILLAR_GENERAL_TOOLTIP" + } + blockoverride "concept_link" { + text = "[CulturePillar.GetTypeName]" + } + } + } +} + +template culture_pillar_tooltip_establishing { + container = { + alwaystransparent = no + datacontext = "[CultureReformation.GetNewPillar]" + using = culture_pillar_tooltip + + blockoverride "main_description" + { + textbox = { + name = "establishment_description" + layoutpolicy_horizontal = expanding + max_width = 400 + using = DefaultTooltipText + multiline = yes + text = "CULTURE_PILLAR_ESTABLISHING_PROGRESS_HEADER" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + textbox = { + name = "effect_description" + layoutpolicy_horizontal = expanding + max_width = 400 + using = DefaultTooltipText + multiline = yes + text = "CULTURE_PILLAR_ESTABLISHING_TOOLTIP" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + margin_bottom = 20 + } + } + } +} + +container = { + alwaystransparent = no + name = "CulturePillarTooltip" + datacontext = "[GetPlayer.GetCulture]" + using = culture_pillar_tooltip +} + +template culture_tradition_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[CultureTradition.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "CULTURE_TRADITION_GENERAL_TOOLTIP" + } + + blockoverride "concept_link" { + text = "[culture_tradition|E]" + } + + blockoverride "input_info_text" { + text = "CULTURE_TRADITION_TOOLTIP_CLICKINFO" + } + } + } +} + + +template culture_tradition_tooltip_clickable { + using = culture_tradition_tooltip + blockoverride "input_info_text" { + text = CLICK_TO_SELECT + } +} + +template culture_tradition_tooltip_establishing { + container = { + alwaystransparent = no + datacontext = "[CultureReformation.GetNewTradition]" + using = culture_tradition_tooltip + + blockoverride "main_description" + { + textbox = { + name = "establishment_description" + layoutpolicy_horizontal = expanding + max_width = 400 + using = DefaultTooltipText + multiline = yes + text = "CULTURE_TRADITION_ESTABLISHING_PROGRESS_HEADER" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + textbox = { + name = "effect_description" + layoutpolicy_horizontal = expanding + max_width = 400 + using = DefaultTooltipText + multiline = yes + text = "CULTURE_TRADITION_ESTABLISHING_TOOLTIP" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + margin_bottom = 20 + } + } + } +} + +container = { + alwaystransparent = no + name = "CultureTraditionTooltip" + datacontext = "[GetPlayer.GetCulture]" + using = culture_tradition_tooltip +} + +template inspiration_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[Inspiration.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "INSPIRATION_GENERAL_TOOLTIP" + } + + blockoverride "concept_link" { + text = "[inspiration|E]" + } + } + } +} + +container = { + alwaystransparent = no + name = "InspirationTooltip" + using = inspiration_tooltip +} + +template court_type_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[CourtType.GetNameNoTooltip]" + default_format = "#T" + } + blockoverride "description_text" { + text = "COURT_TYPE_GENERAL_TOOLTIP" + } + + blockoverride "concept_link" { + text = "[court_type|E]" + } + } + } +} + +container = { + alwaystransparent = no + name = "CourtTypeTooltip" + using = court_type_tooltip +} + +container = { + alwaystransparent = no + name = "CourtAmenitiesTooltip" + court_amenity_setting_tooltip_contents = {} + +} + +types CourtAmenitiesTooltips { + type court_amenity_setting_tooltip_contents = object_tooltip_pop_out { + blockoverride "title_text" { + margin = { 0 8 } + text = "[CourtAmenitiesSetting.GetNameNoTooltip]" + } + + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[CourtAmenitiesSetting.GetIcon]" + } + } + } + + blockoverride "above_description_text" { + text = "COURT_AMENITIES_COOLTIP_ABOVE_DESCRIPTION" + } + + blockoverride "concept_link" { + text = [court_amenities|E] + } + + blockoverride "description_text" { + text = "[CourtAmenitiesSetting.GetDescription|F]" + } + } +} + +container = { + alwaystransparent = no + name = "ArtifactTooltip" + artifact_tooltip = {} +} + +types InventoryTooltips +{ + type artifact_tooltip = widget + { + using = GeneralTooltipSetup + alwaystransparent = no + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + vbox = { + set_parent_size_to_minimum = yes + margin = { 20 10 } + margin_bottom = 20 + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + margin = { 5 5 } + margin_bottom = 15 + + background = { + using = Background_Header + + margin = { 15 5 } + } + + background = { + using = Background_Header_Pattern + + margin = { 15 5 } + } + + hbox = { + layoutpolicy_horizontal = expanding + spacing = 10 + + vbox = { + hbox = { + layoutpolicy_horizontal = expanding + spacing = 6 + + block "rarity_level" {} + + text_single = { + layoutpolicy_horizontal = expanding + name = "rarity" + text = "[Artifact.GetRarityAndSlotType]" + using = Font_Size_Medium + fonttintcolor = "[TooltipInfo.GetTintColor]" + align = nobaseline + } + + expand = {} + } + + text_single = { + layoutpolicy_horizontal = expanding + name = "title" + text = "[Artifact.GetNameNoTooltip]" + align = top + using = Font_Size_Big + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + expand = {} + + vbox = { + layoutpolicy_vertical = expanding + + expand = {} + + text_single = { + name = "artifact_category" + text = "[Artifact.GetCategory]" + align = right|nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + } + } + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + spacing = 5 + + hbox = { #icon, durability and effects + layoutpolicy_horizontal = expanding + + background = { + layoutpolicy_horizontal = expanding + using = Background_Area + margin = { 15 0 } + } + + vbox = { + layoutpolicy_vertical = expanding + margin_bottom = 10 + + icon_artifact = { + size = { 160 160 } + + blockoverride "tooltipwidget" {} + } + + hbox_artifact_durability = {} + + expand = {} + } + + vbox = { + name = "main_text" + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + margin_top = 10 + spacing = 5 + + hbox = { + name = "modifiers" + layoutpolicy_horizontal = expanding + + text_multi = { + visible = "[Artifact.CanBenefitPlayer]" + max_width = 300 + autoresize = yes + text = ARTIFACT_EFFECT + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_multi = { + visible = "[Not( Artifact.CanBenefitPlayer )]" + max_width = 300 + autoresize = yes + text = ARTIFACT_EFFECT + default_format = "#low" + format_override = { P low } + format_override = { N low } + format_override = { E low } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + hbox = { + name = "fallback" + layoutpolicy_horizontal = expanding + + visible = "[Not( Artifact.CanBenefitPlayer )]" + + text_multi = { + max_width = 300 + autoresize = yes + text = "ARTIFACT_FALLBACK_EFFECT" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + expand = {} + } + expand = {} + } + + expand = {} + } + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + spacing = 5 + + hbox = { + name = "current_holder" + layoutpolicy_horizontal = expanding + + text_single = { + name = "imminent_claim" + visible = "[Artifact.HasImminentHouseClaim( Artifact.GetOwner.Self )]" + text = "IMMINENT_HOUSE_CLAIMANT" + max_width = 230 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + expand = {} + } + + block "not_holy" { + hbox = { + name = "holy_relic" + layoutpolicy_horizontal = expanding + datacontext = "[GetPlayer.GetFaith]" + visible = "[And( Artifact.CanBeHolyRelic, GetPlayer.IsValid )]" + + text_single = { + text = "ARTIFACT_IS_HOLY_RELIC" + max_width = 350 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + expand = {} + } + } + + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + visible = "[Artifact.GetOwner.IsValid]" + text = "ARTIFACT_CURRENT_HOLDER" + max_width = 350 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + text_single = { + visible = "[Artifact.GetHolySiteOwner.IsValid]" + text = "ARTIFACT_CURRENT_HOLY_SITE_OWNER" + max_width = 350 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + hbox = { + name = "artifact_creator" + visible = "[Artifact.HasCreator()]" + layoutpolicy_horizontal = expanding + + text_single = { + name = "creator" + text = "ARTIFACT_CREATOR" + max_width = 350 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + hbox = { + datacontext = "[Artifact.GetAssociatedTitle]" + visible = "[Title.IsValid]" + layoutpolicy_horizontal = expanding + + coa_title_tiny_crown = { + size = { 40 50 } + blockoverride "coa_tooltip" {} + blockoverride "coa_hover_glow_visible" + { + visible = no + } + } + + text_single = { + name = "association" + text = "ARTIFACT_TITLE_ASSOCIATION" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + expand = {} + } + + text_multi = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + text = "[Artifact.GetDesc]" + align = left + autoresize = yes + default_format = "#F" + fonttintcolor = "[TooltipInfo.GetTintColor]" + max_width = 490 + } + + expand = {} + } + } + + hbox = { + layoutpolicy_horizontal = expanding + block "extra_information" + { + text_multi = { + visible = "[Not( Artifact.CanPlayerEquip )]" + text = "[Artifact.GetCanPlayerEquipDesc]" + max_width = 300 + autoresize = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + expand = {} + } + + vbox = { + block "artifact_click_info" { + visible = no + } + layoutpolicy_horizontal = expanding + margin_top = 10 + spacing = 10 + + divider_light = { + layoutpolicy_horizontal = expanding + } + + hbox = { + layoutpolicy_horizontal = expanding + + text_multi = { + block "artifact_click_text" { + text = "LOREM_IPSUM_TITLE" + } + max_width = 500 + autoresize = yes + } + + expand = {} + } + + block "artifact_click_extra" {} + } + } + + widget = { + name = "locked_frame" + size = { 100% 100% } + using = TooltipLockedFrame + alwaystransparent = yes + } + } # type artifact_tooltip = widget +} + +template court_position_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + datacontext = "[CourtPosition.GetPositionType]" + + blockoverride "header_additions" + { + header_icon = { + blockoverride "header_texture" + { + size = { 48 48 } + texture = "[CourtPositionType.GetIcon]" + } + } + } + + blockoverride "title_text" + { + text = "COURT_POSITION_NAME" + } + + blockoverride "subheading" + { + text_single = { + layoutpolicy_horizontal = expanding + + using = Font_Size_Tiny + + text = "COURT_POSITION_FOR_EMPLOYER" + } + } + + blockoverride "concept_link" + { + text = [court_position|E] + } + + blockoverride "main_description" + { + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + spacing = 10 + + hbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + portrait_head_small = { + datacontext = "[CourtPosition.GetEmployer]" + } + + vbox = { + layoutpolicy_vertical = expanding + + tooltip = "[CourtPosition.GetEmployeeSalaryBreakdownTooltip]" + + vbox = { + margin = { 10 0 } + margin_bottom = 8 + + background = { + using = Background_Area + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = "COURT_POSITIONS_WINDOW_MONTHLY_SALARY_YOUR" + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = "[CourtPosition.GetEmployeeSalaryText]" + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = "[CourtPosition.GetTimeOfService]" + default_format = "#weak" + } + } + expand = {} + } + expand = {} + } + + ### Effects on you + court_position_effect = { + blockoverride "position_title" + { + text = "COURT_POSITION_TOOLTIP_EFFECT_ON_YOU" + } + blockoverride "position_desc" + { + text = "[CourtPosition.GetEmployeeBonuses]" + } + } + + ### Active task + court_position_effect = { + visible = "[CourtPosition.HasActiveTask]" + + blockoverride "position_title" + { + text = "[CourtPosition.GetActiveTask.GetName]" + } + blockoverride "position_desc" + { + text = "[CourtPosition.GetActiveTask.GetEmployeeModifierDescription]" + } + } + + ### Effects on your liege's court + court_position_effect = { + visible = "[CourtPosition.GetPositionType.HasLiegeCourtModifiers]" + datacontext = "[CourtPosition.GetEmployee]" + + blockoverride "position_title" + { + text = "COURT_POSITION_EMPLOYER_COURT_EFFECTS" + } + blockoverride "position_desc" + { + visible = no + } + } + + expand = {} + } + } + } + } +} + +container = { + alwaystransparent = no + name = "CourtPositionTooltip" + using = court_position_tooltip +} + +container = { + alwaystransparent = no + name = "CourtPositionTypeTooltip" + court_position_type_tooltip = { + blockoverride "time_of_service" {} + blockoverride "enable_task_button" {} + blockoverride "filled_position_tooltip_visibility" { + visible = no + } + blockoverride "empty_position_tooltip_visibility" {} + } +} + +types CourtPositionTooltips { + type court_position_effect = vbox { + layoutpolicy_vertical = expanding + layoutpolicy_horizontal = expanding + margin_bottom = 10 + + background = { + layoutpolicy_horizontal = expanding + using = Background_Area + margin = { 15 0 } + margin_top = 5 + } + + vbox = { + layoutpolicy_vertical = expanding + layoutpolicy_horizontal = expanding + + text_single = { + layoutpolicy_horizontal = expanding + + block "position_title" {} + + fonttintcolor = "[TooltipInfo.GetTintColor]" + default_format = "#S" + } + + vbox = { + margin = { 10 0 } + layoutpolicy_vertical = expanding + layoutpolicy_horizontal = expanding + + textbox = { + layoutpolicy_horizontal = expanding + + using = DefaultTooltipText + + block "position_desc" {} + + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + multiline = yes + } + } + } + } + + # Tooltip when examining the court position type. + type court_position_type_tooltip = object_tooltip_pop_out { + + blockoverride "title_text" { + block "title_text_inner" { + datacontext = "[GetPlayer]" + text = "[CourtPositionType.CalcTriggeredNameNoTooltip( Character.Self )]" + } + } + + blockoverride "concept_link" { + text = "[SelectLocalization(IsLandlessAdventurer( GetPlayer ) , 'OFFICER', 'COURT_POISTION' )]" + } + + blockoverride "header_additions" + { + header_icon = { + blockoverride "header_texture" + { + texture = "[CourtPositionType.GetIcon]" + } + } + } + + blockoverride "main_description" { + vbox = { + spacing = 4 + layoutpolicy_horizontal = expanding + + vbox = { + name = "liege_info" + layoutpolicy_horizontal = expanding + + spacing = 8 + + cooltip_paragraph = { + visible = "[CourtPositionType.HasLiegeModifiers]" + + text = "COURT_POSITION_TOOLTIP_EFFECT_ON_LIEGE_WITH_HEADING" + + layoutpolicy_horizontal = expanding + } + + cooltip_paragraph = { + + visible = "[CourtPositionType.HasLiegeCourtModifiers]" + + text = "COURT_POSITION_TYPE_EMPLOYER_COURT_EFFECTS" + + layoutpolicy_horizontal = expanding + } + + vbox = { + name = "tasks" + layoutpolicy_horizontal = expanding + spacing = 4 + + visible = "[Not( IsDataModelEmpty( CourtPositionType.GetTasks ) )]" + + cooltip_paragraph = { + text = "COURT_POSITION_TASK_HINT" + default_format = "#S" + } + + hbox = { + layoutpolicy_horizontal = expanding + + block "tasks" { + fixedgridbox = { + name = "task_items" + + addcolumn = 38 + addrow = 38 + setitemsizefromcell = yes + datamodel_wrap = 4 + flipdirection = yes + + datamodel = "[CourtPositionType.GetTasks]" + item = { + widget_court_position_task_view = { + blockoverride "click_to_activate" {} + } + } + } + } + + expand = {} + } + } + + + cooltip_paragraph = { + datacontext = "[CourtPositionType]" + text = "COURT_POSITION_TOOLTIP_LIEGE_REQUIREMENT_NESTED" + visible = "[CourtPositionType.HasLiegeRequirements]" + } + } + + vbox = { + name = "cost_and_payments" + layoutpolicy_horizontal = expanding + + margin = { 0 8 } + + background = { + using = Background_Area + margin = { 16 0 } + } + + cooltip_paragraph = { + text = "COURT_POSITION_TYPE_TOOLTIP_EMPLOYER_SALARY" + align = nobaseline + } + + cooltip_paragraph = { + text = COURT_POSITION_TYPE_TOOLTIP_REVOKE_COST + align = nobaseline + } + + cooltip_paragraph = { + name = "powerful_agent" + + visible = "[CourtPositionType.IsPowerfulAgent]" + + text = "COURT_POSITION_POWERFUL_AGENT" + align = nobaseline + } + + } + + vbox = { + name = "employee_info" + layoutpolicy_horizontal = expanding + + spacing = 8 + + cooltip_paragraph = { + visible = "[CourtPositionType.HasEmployeeModifiers]" + + text = "COURT_POSITION_TYPE_TOOLTIP_EFFECT_ON_EMPLOYEE_WITH_HEADING" + + layoutpolicy_horizontal = expanding + } + + cooltip_paragraph = { + text = COURT_POSITION_TOOLTIP_EMPLOYEE_REQUIREMENT_NESTED + visible = "[CourtPositionType.HasEmployeeRequirements]" + } + + # overridden with empty block + block "time_of_service" { + cooltip_paragraph = { + visible = "[CourtPosition.IsValid]" + text = "[CourtPosition.GetTimeOfService]" + default_format = "#weak" + } + } + + } + + vbox = { + name = "flavor" + + margin = { 0 8 } + + background = { + using = Background_Area + margin = { 16 0 } + margin_bottom = 18 + } + + cooltip_paragraph = { + name = "flavor_text" + + datacontext = "[GetPlayer]" + datacontext = "[CourtPositionType]" + + text = "[CourtPositionType.CalcTriggeredDescription( Character.Self )]" + default_format = "#F" + } + } + } + } + } +} + +container = { + name = "SchemeTypeTooltip" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[SchemeType.GetTypeNameNoTooltip]" + } + + blockoverride "description_text" { + text = "[SchemeType.GetDetailedDescription]" + } + + blockoverride "concept_link" { + text = "[SchemeType.GetCategoryName|E]" + } + + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[SchemeType.GetIcon]" + framesize = { 160 160 } + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } +} + +container = { + name = "SchemeAgentSlotTypeTooltip" + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[AgentSlotType.GetNameNoTooltip]" + } + + blockoverride "description_text" { + text = "[AgentSlotType.GetDesc]" + } + + blockoverride "concept_link" { + text = "[agent|E]" + } + } +} + +template nickname_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[Character.GetNicknameNoTooltip()|U]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "[Nickname.GetDescription( Character.Self )]" + } + + blockoverride "concept_link" { + text = "[nickname|E]" + } + } + } +} + +container = { + alwaystransparent = no + name = "NicknameTooltip" + using = nickname_tooltip +} + +types StruggleTooltipTypes { + + type struggle_catalyst_history = vbox { + name = "catalyst_history" + layoutpolicy_horizontal = expanding + margin_top = 10 + spacing = 10 + + background = { + using = Background_Area + margin_left = 16 + margin_right = 16 + margin_bottom = 16 + } + + text_single = { + layoutpolicy_horizontal = expanding + text = "STRUGGLE_TOOLTIP_CATALYST_HISTORY_HEADER" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + vbox = { + layoutpolicy_horizontal = expanding + block "catalyst_datamodel" + { + datamodel = "[Struggle.GetLatestCatalystHistory]" + } + spacing = 3 + + item = { + hbox = { + layoutpolicy_horizontal = expanding + spacing = 20 + margin_bottom = 5 + + icon = { + size = { 50 20 } + + background = { + visible = "[ObjectsEqual( Struggle.GetCurrentLeadingPhase, CatalystHistory.GetStrugglePhase )]" + using = Background_Frame + using = Color_Green + alpha = 0.3 + margin_left = 4 + margin_right = 16 + margin_top = 1 + margin_bottom = 3 + } + + background = { + visible = "[ObjectsEqual( Struggle.GetCurrentLeadingPhase, CatalystHistory.GetStrugglePhase )]" + using = Background_Area_Dark + using = Color_Green + alpha = 0.1 + margin_left = 4 + margin_right = 16 + margin_top = 1 + margin_bottom = 3 + } + + background = { + visible = "[Not( ObjectsEqual( Struggle.GetCurrentLeadingPhase, CatalystHistory.GetStrugglePhase ) )]" + using = Background_Frame + using = Color_Grey + alpha = 0.5 + margin_left = 4 + margin_right = 16 + margin_top = 1 + margin_bottom = 3 + } + + background = { + visible = "[Not( ObjectsEqual( Struggle.GetCurrentLeadingPhase, CatalystHistory.GetStrugglePhase ) )]" + using = Background_Area_Light + alpha = 0.4 + margin_left = 4 + margin_right = 16 + margin_top = 1 + margin_bottom = 3 + } + + hbox = { + icon = { + size = { 25 25 } + texture = "[CatalystHistory.GetStrugglePhase.GetIcon]" + } + + spacer = { + size = { 10 0 } + } + + text_single = { + text = "[CatalystHistory.GetProgress|+=]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + margin_bottom = 5 + } + } + } + + text_single = { + text = STRUGGLE_TOOLTIP_CATALYST_HISTORY_ENTRY + align = top + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + } + } + } + + type StrugglePhaseEffectWar = vbox { + container = { + name = "war_effect" + + tooltipwidget = phase_effect_tooltip_war + + icon = { + parentanchor = center + size = { 55 55 } + texture = "gfx/interface/icons/struggle_banners/icon_background_01.dds" + } + + icon = { + parentanchor = center + size = { 40 40 } + texture = "gfx/interface/icons/struggle_effects/war.dds" + } + } + + text_single = { + layoutpolicy_horizontal = expanding + align = center + text = "STRUGGLE_EFFECT_LABEL_WAR" + } + } + + type StrugglePhaseEffectCulture = vbox { + container = { + name = "culture_effect" + + tooltipwidget = phase_effect_tooltip_culture + + icon = { + parentanchor = center + size = { 55 55 } + texture = "gfx/interface/icons/struggle_banners/icon_background_01.dds" + } + + icon = { + parentanchor = center + size = { 40 40 } + texture = "gfx/interface/icons/struggle_effects/culture.dds" + } + } + + text_single = { + layoutpolicy_horizontal = expanding + align = center + text = "STRUGGLE_EFFECT_LABEL_CULTURE" + } + } + + type StrugglePhaseEffectFaith = vbox { + container = { + name = "faith_effect" + + tooltipwidget = phase_effect_tooltip_faith + + icon = { + parentanchor = center + size = { 55 55 } + texture = "gfx/interface/icons/struggle_banners/icon_background_01.dds" + } + + icon = { + parentanchor = center + size = { 40 40 } + texture = "gfx/interface/icons/struggle_effects/faith.dds" + } + } + + text_single = { + layoutpolicy_horizontal = expanding + align = center + text = "STRUGGLE_EFFECT_LABEL_FAITH" + } + } + + type StrugglePhaseEffectOther = vbox { + container = { + name = "other_effect" + + tooltipwidget = phase_effect_tooltip_other + + icon = { + parentanchor = center + size = { 55 55 } + texture = "gfx/interface/icons/struggle_banners/icon_background_01.dds" + } + + icon = { + parentanchor = center + size = { 40 40 } + texture = "gfx/interface/icons/struggle_effects/other.dds" + } + } + + text_single = { + layoutpolicy_horizontal = expanding + align = center + text = "STRUGGLE_EFFECT_LABEL_OTHER" + } + } +} + +template phase_effect_tooltip_war { + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + container = { + icon = { + parentanchor = center + size = { 55 55 } + texture = "gfx/interface/icons/struggle_banners/icon_background_01.dds" + } + + icon = { + parentanchor = center + size = { 40 40 } + texture = "gfx/interface/icons/struggle_effects/war.dds" + } + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "STRUGGLE_PHASE_EFFECTS_WAR_TT_HEADER" + default_format = "#T" + } + + blockoverride "concept_link" {} + + blockoverride "main_description" { + vbox = { + + textbox = { + layoutpolicy_horizontal = expanding + text = "[Struggle.GetWarEffect(StrugglePhase.Self, Character.Self)]" + using = StruggleEffectTooltipText + multiline = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + } + } +} + +template phase_effect_tooltip_culture { + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + container = { + icon = { + parentanchor = center + size = { 55 55 } + texture = "gfx/interface/icons/struggle_banners/icon_background_01.dds" + } + + icon = { + parentanchor = center + size = { 40 40 } + texture = "gfx/interface/icons/struggle_effects/culture.dds" + } + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "STRUGGLE_PHASE_EFFECTS_CULTURE_TT_HEADER" + default_format = "#T" + } + + blockoverride "concept_link" {} + + blockoverride "main_description" { + vbox = { + + textbox = { + layoutpolicy_horizontal = expanding + text = "[Struggle.GetCultureEffect(StrugglePhase.Self, Character.Self)]" + using = StruggleEffectTooltipText + multiline = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + } + } +} + +template phase_effect_tooltip_faith { + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + container = { + icon = { + parentanchor = center + size = { 55 55 } + texture = "gfx/interface/icons/struggle_banners/icon_background_01.dds" + } + + icon = { + parentanchor = center + size = { 40 40 } + texture = "gfx/interface/icons/struggle_effects/faith.dds" + } + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "STRUGGLE_PHASE_EFFECTS_FAITH_TT_HEADER" + default_format = "#T" + } + + blockoverride "concept_link" {} + + blockoverride "main_description" { + vbox = { + + textbox = { + layoutpolicy_horizontal = expanding + text = "[Struggle.GetFaithEffect(StrugglePhase.Self, Character.Self)]" + using = StruggleEffectTooltipText + multiline = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + } + } +} + +template phase_effect_tooltip_other { + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + container = { + icon = { + parentanchor = center + size = { 55 55 } + texture = "gfx/interface/icons/struggle_banners/icon_background_01.dds" + } + + icon = { + parentanchor = center + size = { 40 40 } + texture = "gfx/interface/icons/struggle_effects/other.dds" + } + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "STRUGGLE_PHASE_EFFECTS_OTHER_TT_HEADER" + default_format = "#T" + } + + blockoverride "concept_link" {} + + blockoverride "main_description" { + vbox = { + + textbox = { + layoutpolicy_horizontal = expanding + text = "[Struggle.GetOtherEffect(StrugglePhase.Self, Character.Self)]" + using = StruggleEffectTooltipText + multiline = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + } + } +} + +template phase_effect { + vbox = { + layoutpolicy_horizontal = expanding + spacing = 12 + margin_bottom = 15 + + background = { + using = Background_Area_With_Header + margin_left = 16 + margin_right = 16 + } + + text_single = { + max_width = 400 + margin = { 0 5 } + text = "STRUGGLE_TOOLTIP_EFFECTS_HEADER" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + hbox = { + name = "phase_effects" + layoutpolicy_vertical = expanding + spacing = 15 + + StrugglePhaseEffectWar = {} + + StrugglePhaseEffectCulture = {} + + StrugglePhaseEffectFaith = {} + + StrugglePhaseEffectOther = {} + } + } +} + +template struggle_tooltip { + container = { + alwaystransparent = no + block "datacontext" {} + + object_tooltip_pop_out = { + blockoverride "concept_link" {} + + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[Struggle.GetCurrentPhase.GetIcon]" + } + } + } + + blockoverride "title_text" { + margin = { 0 5 } + text = "[Struggle.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "main_description" { + + vbox = { + name = "current_phase_information" + datacontext = "[Struggle.GetCurrentPhase]" + layoutpolicy_horizontal = expanding + + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + using = DefaultTooltipText + multiline = yes + text = "STRUGGLE_TOOLTIP_INVOLVEMENT" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + textbox = { + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + + using = DefaultTooltipText + multiline = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + + text = "STRUGGLE_TOOLTIP_CURRENT_PHASE" + } + + spacer = { + size = { 0 10 } + } + + vbox = { + layoutpolicy_horizontal = expanding + using = phase_effect + } + } + + spacer = { + size = { 0 15 } + } + + vbox = { # Next Phases Progress + name = "next_phases_progress" + visible = "[Not( Struggle.IsInTransitionPhase )]" + layoutpolicy_horizontal = expanding + spacing = 10 + + text_single = { + layoutpolicy_horizontal = expanding + using = DefaultTooltipText + text = STRUGGLE_NEXT_PHASE_PROGRESS_LABEL + } + + vbox = { + datamodel = "[Struggle.GetNextPhasesSorted]" + layoutpolicy_horizontal = expanding + spacing = 10 + + item = { + hbox = { + layoutpolicy_horizontal = expanding + + background = { + using = Background_Area + margin = { 16 5 } + } + + text_single = { + margin_right = 20 + align = top + text = "STRUGGLE_TT_PHASE_PROGRESS" + + tooltipwidget = { + struggle_phase_tooltip = {} + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + + progressbar_standard = { + size = { 120 18 } + value = "[CurrentAndMaxToProgressbarValueInt32(Struggle.GetPhaseValue(StrugglePhase.Self), Struggle.GetPhaseDurationValue)]" + progresstexture = "gfx/interface/progressbars/progress_orange.dds" + } + } + } + } + } + + vbox = { # Next Phase Transition + name = "next_phase_transition" + visible = "[Struggle.IsInTransitionPhase]" + datacontext = "[Struggle.GetNextPhase]" + + layoutpolicy_horizontal = expanding + spacing = 5 + + text_single = { + layoutpolicy_horizontal = expanding + using = DefaultTooltipText + text = STRUGGLE_NEXT_PHASE_PROGRESS_LABEL + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + hbox = { + layoutpolicy_horizontal = expanding + + background = { + using = Background_Area + margin = { 16 5 } + } + + text_single = { + margin_right = 20 + align = top + using = DefaultTooltipText + text = STRUGGLE_TT_PHASE_TRANSITION + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + + progressbar_standard = { + size = { 120 18 } + value = "[CurrentAndMaxToProgressbarValueInt32(Struggle.GetPhaseValue(StrugglePhase.Self), Struggle.GetPhaseDurationValue)]" + progresstexture = "gfx/interface/progressbars/progress_orange.dds" + } + } + + spacer = { + size = { 0 2 } + } + + hbox = { + layoutpolicy_horizontal = expanding + + icon = { + size = { 30 30 } + texture = "gfx/interface/icons/icon_time.dds" + } + + text_single = { + align = top + using = DefaultTooltipText + text = STRUGGLE_TT_PHASE_TRANSITION_TIME_TO + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + } + + spacer = { + size = { 0 15 } + } + + struggle_catalyst_history = {} + } + } + } +} + +template struggle_tooltip_light { + container = { + alwaystransparent = no + block "datacontext" {} + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[Struggle.GetCurrentPhase.GetIcon]" + } + } + } + + blockoverride "title_text" { + margin = { 0 5 } + text = "[Struggle.GetCurrentPhase.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "main_description" { + + vbox = { + name = "current_phase_information" + datacontext = "[Struggle.GetCurrentPhase]" + layoutpolicy_horizontal = expanding + + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + using = DefaultTooltipText + multiline = yes + text = "[Struggle.GetPhaseDescription(StrugglePhase.Self)]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + spacer = { + size = { 0 10 } + } + + vbox = { + layoutpolicy_horizontal = expanding + using = phase_effect + } + } + + spacer = { + size = { 0 15 } + } + + struggle_catalyst_history = {} + } + + blockoverride "concept_link" {} + } + } +} + + +container = { + name = "StruggleTooltip" + alwaystransparent = no + datacontext = "[GetPlayer]" + using = struggle_tooltip +} + +types StrugglePhaseTypes +{ + type struggle_phase_tooltip = object_tooltip_pop_out { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[StrugglePhase.GetIcon]" + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[StrugglePhase.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "main_description" { + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin_top = 5 + using = DefaultTooltipText + multiline = yes + text = STRUGGLE_PHASE_DESCRIPTION + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + vbox = { + layoutpolicy_horizontal = expanding + + visible = "[StrugglePhase.IsContentVisible( GetDefine( 'NStruggle', 'ENDING_PHASE_WIDGET_CONTENT' ) )]" + + hbox = { + layoutpolicy_horizontal = expanding + spacing = 5 + margin = { 5 5 } + + background = { + using = Background_Area_Light + tintcolor = { 0.8 0.5 0.5 2.0 } + margin = { -2 -2 } + } + + background = { + using = Background_Frame + tintcolor = { 0.8 0.5 0.5 2.0 } + } + + icon = { + size = { 30 30 } + texture = "gfx/interface/icons/struggle_types/ending_phase_icon.dds" + } + + text_multi = { + layoutpolicy_horizontal = expanding + max_width = 330 + margin_top = 5 + margin_bottom = 15 + using = DefaultTooltipText + text = STRUGGLE_ENDING_PHASE_WARNING_MESSAGE + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + + vbox = { + visible = "[Not( StringIsEmpty( Struggle.GetEndingPhaseEffectDesc( StrugglePhase.Self, Character.Self ) ) )]" + layoutpolicy_horizontal = expanding + + background = { + using = Background_Area + margin = { 16 4 } + } + + hbox = { + layoutpolicy_horizontal = expanding + margin = { 0 10} + + background = { + using = Background_Area + margin = { 16 0 } + } + + text_single = { + text = STRUGGLE_ENDING_PHASE_EFFECTS_TITLE + max_width = 400 + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + + text_multi = { + layoutpolicy_horizontal = expanding + max_width = 400 + margin_top = 5 + margin_bottom = 15 + using = DefaultTooltipText + text = "[Struggle.GetEndingPhaseEffectDesc( StrugglePhase.Self, Character.Self )]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + } + + vbox = { + visible = "[Not( StrugglePhase.IsContentVisible( GetDefine( 'NStruggle', 'ENDING_PHASE_WIDGET_CONTENT' ) ) )]" + layoutpolicy_horizontal = expanding + using = phase_effect + } + + vbox = { + name = "leading_next_phase" + layoutpolicy_horizontal = expanding + + margin = { 0 10 } + + text_single = { + layoutpolicy_horizontal = expanding + + text = STRUGGLE_PHASE_TOOLTIP_TOTAL_PROGRESS + align = left + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + spacer = { size = { 0 10 } } + + struggle_catalyst_history = { + blockoverride "catalyst_datamodel" { + datamodel = "[Struggle.GetCatalystHistoryForPhase( StrugglePhase.Self )]" + } + } + } + + vbox = { + layoutpolicy_horizontal = expanding + visible = "[DataModelHasItems( StrugglePhase.GetEndingDecisions )]" + + text_label_left = { + layoutpolicy_horizontal = expanding + text = "STRUGGLE_STAGE_DECISIONS_TITLE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + vbox = { + layoutpolicy_horizontal = expanding + datamodel = "[StrugglePhase.GetEndingDecisions]" + margin_bottom = 10 + + item = { + hbox = { + layoutpolicy_horizontal = expanding + datacontext = "[DeferredDecision.GetDecision]" + + text_single = { + visible = "[Decision.IsValid]" + text = "DECISION_TOOLTIP_TITLE" + align = nobaseline + layoutpolicy_horizontal = expanding + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + } + } + + blockoverride "concept_link" {} + } +} + +container = { + name = "StrugglePhaseTooltip" + alwaystransparent = no + datacontext = "[GetPlayer]" + datacontext = "[StrugglePhase.GetStruggle]" + struggle_phase_tooltip = {} +} + +template situation_tooltip { + container = { + alwaystransparent = no + block "datacontext" {} + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[Situation.GetIcon]" + } + } + } + + blockoverride "title_text" { + margin = { 0 5 } + text = "[Situation.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "main_description" { + vbox = { + name = "current_phase_information" + datacontext = "[Situation.GetTopSubRegion.GetCurrentPhase]" + layoutpolicy_horizontal = expanding + + cooltip_paragraph = { + visible = "[Situation.GetParticipantGroupByCharacter( GetPlayer.Self ).IsValid]" + text = "SITUATION_TOOLTIP_INVOLVEMENT" + } + + cooltip_paragraph = { + text = "SITUATION_TOOLTIP_CURRENT_PHASE" + } + + cooltip_paragraph = { + text = "SITUATION_START_DATE" + } + + cooltip_paragraph = { + margin_top = 10 + text = "CLICK_TO_VIEW" + } + + } + } + + blockoverride "concept_link" {} + } + } +} + +template situation_tooltip_hud { + container = { + alwaystransparent = no + block "datacontext" {} + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[Situation.GetIcon]" + } + } + } + + blockoverride "title_text" { + margin = { 0 5 } + text = "[Situation.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "main_description" { + vbox = { + name = "current_phase_information" + datacontext = "[Situation.GetTopSubRegion.GetCurrentPhase]" + layoutpolicy_horizontal = expanding + + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + using = DefaultTooltipText + multiline = yes + text = "SITUATION_START_DATE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + textbox = { + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + + using = DefaultTooltipText + multiline = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + + text = "SITUATION_TOOLTIP_CURRENT_PHASE" + } + + textbox = { + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + + using = DefaultTooltipText + multiline = yes + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + + text = "CLICK_TO_VIEW" + } + } + } + + blockoverride "concept_link" {} + } + } +} + +template situation_info_tooltip { + container = { + alwaystransparent = no + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + block "header_icon" + { + } + } + } + } + + blockoverride "title_text" { + margin = { 0 5 } + block "title_text" { + text = "[Situation.GetNameNoTooltip]" + } + default_format = "#T" + } + + blockoverride "main_description" { + vbox = { + name = "current_phase_information" + datacontext = "[Situation.GetTopSubRegion.GetCurrentPhase]" + layoutpolicy_horizontal = expanding + + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + using = DefaultTooltipText + multiline = yes + block "localization_text" + { + text = "SITUATION_INFO_WIDGET_DEBUG" + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + spacer = { + size = { 0 10 } + } + } + } + + blockoverride "concept_link" {} + } + } +} +container = { + name = "SituationTooltip" + alwaystransparent = no + using = situation_info_tooltip + + blockoverride "title_text" { + text = "[Situation.GetNameNoTooltip]" + } + blockoverride "header_icon" + { + texture = "[Situation.GetIcon]" + } + blockoverride "localization_text" + { + text = "[Situation.GetDesc]" + } +} + +### Situation Type Tooltip +template situation_type_tooltip { + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 5 } + text = "[SituationType.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "main_description" { + vbox = { + name = "situation_type_desc" + layoutpolicy_horizontal = expanding + + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + using = DefaultTooltipText + multiline = yes + text = "[SituationType.GetDesc]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + spacer = { + size = { 0 10 } + } + } + } + + blockoverride "concept_link" { + text = "SITUATION_TYPE_CONCEPT_LINK" + } + } +} + +container = { + name = "SituationTypeTooltip" + alwaystransparent = no + using = situation_type_tooltip +} + +### Situation Subregion Tooltip +template situation_sub_region_tooltip { + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 5 } + text = "[SituationSubRegion.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "main_description" { + vbox = { + name = "situation_sub_region_desc" + layoutpolicy_horizontal = expanding + + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + using = DefaultTooltipText + multiline = yes + text = "[SituationSubRegion.GetTooltipDesc]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + spacer = { + size = { 0 10 } + } + } + } + + blockoverride "concept_link" { + text = "SITUATION_SUB_REGION_CONCEPT_LINK" + } + } +} + +container = { + name = "SituationSubRegionTooltip" + alwaystransparent = no + using = situation_sub_region_tooltip +} + +types SituationTooltipTypes +{ + type cooltip_situation_phase_type = object_tooltip_pop_out { + blockoverride "header_additions" + { + header_icon = { + visible = "[SituationPhaseType.HasIcon]" + + blockoverride "header_texture" + { + size = { 48 48 } + + texture = "[SituationPhaseType.GetIcon]" + } + } + } + + blockoverride "title_text" { + margin = { 0 5 } + text = "[SituationPhaseType.GetNameNoTooltip]" + align = nobaseline + default_format = "#T" + } + + blockoverride "subtitle_text" + { + visible = "[ObjectsEqual( SituationPhaseType.GetParentSituationType.Self, GetSituationType( 'the_christian_church' ).Self )]" + text = "CHRISTIAN_CHURCH_PHASE_CHAPTER_TYPE" + } + + blockoverride "main_description" { + vbox = { + name = "phase_type_desc" + datacontext = "[SituationPhaseType.GetParentSituationType]" + datacontext = "[GetSituationOfType( SituationType.Self )]" + layoutpolicy_horizontal = expanding + + hbox = { + layoutpolicy_horizontal = expanding + + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + using = DefaultTooltipText + multiline = yes + text = "[SituationPhaseType.GetDesc]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + expand = {} + } + + block "participant_groups" + { + spacer = { + size = { 0 10 } + } + + vbox = { + visible = "[And( SituationPhaseType.IsValid, Not( SituationPhaseType.GetParentSituationType.IsGuiTooltipGroupFocused ) )]" + layoutpolicy_horizontal = expanding + spacing = 8 + + hbox = { + layoutpolicy_horizontal = expanding + text_single = { + text = "SITUATION_PHASE_TYPE_MODIFIERS_LABEL" + default_format = "#bold;italic" + align = nobaseline + } + expand = {} + } + + fixedgridbox = { + name = "task_items" + layoutpolicy_horizontal = expanding + + addcolumn = 56 + addrow = 48 + setitemsizefromcell = yes + datamodel_wrap = 6 + maxhorizontalslots = 6 + maxverticalslots = 2 + flipdirection = yes + layoutanchor = topleft + + datamodel = "[SituationPhaseType.GetModifierNamedSets]" + item = { + icon_situation_phase_effect_item = {} + } + } + } + + vbox = { + visible = "[And( SituationPhaseType.IsValid, SituationPhaseType.GetParentSituationType.IsGuiTooltipGroupFocused )]" + layoutpolicy_horizontal = expanding + spacing = 8 + + hbox = { + layoutpolicy_horizontal = expanding + text_single = { + text = "SITUATION_PHASE_TYPE_MODIFIERS_LABEL" + default_format = "#bold;italic" + align = nobaseline + } + expand = {} + } + + fixedgridbox = { + name = "task_items" + layoutpolicy_horizontal = expanding + + addcolumn = 56 + addrow = 52 + setitemsizefromcell = yes + datamodel_wrap = 7 + maxhorizontalslots = 7 + maxverticalslots = 2 + flipdirection = yes + layoutanchor = topleft + + datamodel = "[SituationPhaseType.GetParentSituationType.GetParticipantGroupTypes]" + item = { + icon_situation_phase_effect_participant_group_item = { + datacontext = "[Situation.GetTopSubRegion]" + } + } + } + } + } + } + } + + blockoverride "concept_link" { + text = "SITUATION_PHASE_TYPE_CONCEPT_LINK" + } + } +} + +### Situation Phase Type Tooltip +template situation_phase_type_tooltip { + container = { + alwaystransparent = no + + cooltip_situation_phase_type = {} + } +} +container = { + name = "SituationPhaseTypeTooltip" + alwaystransparent = no + using = situation_phase_type_tooltip +} + +### Situation Participant Group Tooltip +template situation_participant_group_type_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + header_icon = { + visible = "[SituationParticipantGroupType.HasIcon]" + + blockoverride "header_texture" + { + size = { 48 48 } + + texture = "[SituationParticipantGroupType.GetIcon]" + using = Master_Button_Modify_Texture + } + } + } + + blockoverride "title_text" { + margin = { 0 5 } + text = "[SituationParticipantGroupType.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "main_description" { + vbox = { + name = "situation_participant_group_desc" + layoutpolicy_horizontal = expanding + + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + using = DefaultTooltipText + multiline = yes + text = "[SituationParticipantGroupType.GetDescription]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + } + + blockoverride "concept_link" { + text = "SITUATION_PARTICIPANT_GROUP_TYPE_CONCEPT_LINK" + } + } + } +} +container = { + name = "SituationParticipantGroupTypeTooltip" + alwaystransparent = no + using = situation_participant_group_type_tooltip +} + +### Effects of the current phase of the situation sub-region +template situation_modifier_named_set_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + header_icon = { + blockoverride "header_texture" + { + size = { 48 48 } + texture = "[SituationModifierNamedSet.GetIcon]" + } + } + } + + blockoverride "title_text" + { + text = "[SituationModifierNamedSet.GetNameNoTooltip]" + } + + blockoverride "concept_link" + { + text = "[SituationModifierNamedSet.GetConceptLink]" + } + + blockoverride "main_description" + { + hbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + textbox = { + max_width = 400 + margin_top = 5 + layoutpolicy_horizontal = expanding + + using = DefaultTooltipText + + text = "[SituationModifierNamedSet.GetEffectTooltipBreakdown( Character.Self, Situation.Self )]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + multiline = yes + } + + expand = {} + } + } + } + } +} + +container = { + alwaystransparent = no + using = situation_modifier_named_set_tooltip +} + +### Effects of the current phase of the situation sub-region on a participant group +template situation_participant_group_type_phase_effects_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + header_icon = { + visible = "[SituationSubRegion.GetSituation.GetType.UseSituationPhaseFlatIcons]" + + blockoverride "header_texture" + { + size = { 48 48 } + texture = "[SituationParticipantGroupType.GetIcon]" + + using = Icon_Flat_Standard + } + } + + header_icon = { + visible = "[Not( SituationSubRegion.GetSituation.GetType.UseSituationPhaseFlatIcons )]" + + blockoverride "header_texture" + { + size = { 48 48 } + texture = "[SituationParticipantGroupType.GetIcon]" + } + } + } + + blockoverride "title_text" + { + text = "[SituationParticipantGroupType.GetNameNoTooltip]" + } + + blockoverride "concept_link" + { + text = "[situation_participant_group|E]" + } + + blockoverride "subtitle_text" + { + text = "SITUATION_PARTICIPANT_GROUP_IN_PHASE_TYPE_SUBHEADER" + default_format = "#weak" + } + + blockoverride "main_description" + { + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + textbox = { + visible = "[Not( StringIsEmpty( SituationPhaseType.GetParticipantGroupEffectTooltipBreakdown( SituationParticipantGroupType.Self ) ) )]" + + max_width = 400 + margin_top = 5 + layoutpolicy_horizontal = expanding + + using = DefaultTooltipText + + text = "[SituationPhaseType.GetParticipantGroupEffectTooltipBreakdown( SituationParticipantGroupType.Self )]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + multiline = yes + } + + textbox = { + visible = "[StringIsEmpty( SituationPhaseType.GetParticipantGroupEffectTooltipBreakdown( SituationParticipantGroupType.Self ) )]" + + max_width = 400 + margin_top = 5 + layoutpolicy_horizontal = expanding + + using = DefaultTooltipText + + text = "SITUATION_PHASE_PARTICIPANT_GROUP_NO_EFFECTS" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + multiline = yes + } + + textbox = { + visible = "[ObjectsEqual( SituationSubRegion.GetCharacterParticipantGroup( Character.Self ).GetName, SituationParticipantGroupType.GetName)]" + text = "SITUATION_PARTICIPANT_YOUR_GROUP" + + max_width = 400 + margin_top = 5 + layoutpolicy_horizontal = expanding + + using = DefaultTooltipText + + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + multiline = yes + } + + expand = {} + } + } + } + } +} + +container = { + alwaystransparent = no + using = situation_participant_group_type_phase_effects_tooltip +} + + +## House relation level tooltip +# +template house_relation_level_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[HouseRelationLevel.GetRenderedIcon]" + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[HouseRelationLevel.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "main_description" { + text_multi = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin_top = 5 + using = DefaultTooltipText + multiline = yes + text = "[HouseRelationLevel.GetDesc]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + text_multi = { + name = "para,eter_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin_top = 5 + using = DefaultTooltipText + multiline = yes + text = "[HouseRelationLevel.GetParameterDesc]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + + blockoverride "concept_link" { + text = "[house_relation|E]" + } + } + } +} + +container = { + name = "HouseRelationLevelTooltip" + alwaystransparent = no + datacontext = "[GetPlayer]" + using = house_relation_level_tooltip +} + + +## House unity stage tooltip +# +template house_unity_stage_tooltip { + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[HouseUnityStage.GetIcon]" + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[HouseUnityStage.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "main_description" { + text_multi = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin_top = 5 + using = DefaultTooltipText + multiline = yes + text = "[HouseUnityStage.GetDescription]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + + blockoverride "concept_link" { + text = "[house_unity_level|E]" + } + } +} + +container = { + name = "HouseUnityStageTooltip" + alwaystransparent = no + datacontext = "[GetPlayer]" + using = house_unity_stage_tooltip +} + +types DecisionTypes +{ + type decision_tooltip = object_tooltip_pop_out { + blockoverride "header_additions" {} + + blockoverride "title_text" { + margin = { 0 8 } + text = "[Decision.GetTitleForPlayer]" + default_format = "#T" + } + + blockoverride "main_description" { + text_multi = { + block "command_desc_for_player_visible" + { + visible = "[Not(StringIsEmpty(Decision.GetCommandDescForPlayer))]" + } + layoutpolicy_horizontal = expanding + max_width = 400 + margin_top = 5 + margin_bottom = 15 + using = DefaultTooltipText + block "command_desc_for_player" + { + text = "[Decision.GetCommandDescForPlayer]" + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + text_multi = { + layoutpolicy_horizontal = expanding + max_width = 400 + margin_top = 5 + margin_bottom = 15 + using = DefaultTooltipText + text = "[Decision.GetShortDescForPlayer]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + block "custom_decision_data" {} + + textbox = { + visible = "[Decision.IsShownForPlayer]" + layoutpolicy_horizontal = expanding + max_width = 400 + margin_top = 5 + margin_bottom = 15 + using = DefaultTooltipText + multiline = yes + text = "CLICK_TO_SELECT" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + + blockoverride "concept_link" {} + } +} + +container = { + name = "DecisionTooltip" + alwaystransparent = no + datacontext = "[GetPlayer]" + decision_tooltip = {} +} + +template activity_tooltip { + container = { + alwaystransparent = no + datacontext = "[Activity.GetType]" + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + raw_text = "[Activity.GetNameNoTooltip|U]" + default_format = "#T" + } + + blockoverride "subtitle_text" { + text = "[Activity.GetType.GetName]" + default_format = "#weak" + } + + blockoverride "description_text" { + text = "[Activity.GetInvolvementText( GetPlayer.Self, 'tooltip' )]" + } + + blockoverride "concept_link" { + text = "ACTIVITY_TYPE_CONCEPT_SELECTOR" + } + + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[ActivityType.GetIcon]" + framesize = { 160 160 } + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + } +} + +container = { + alwaystransparent = no + name = "ActivityTooltip" + using = activity_tooltip +} + +template activity_type_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + raw_text = "[ActivityType.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "[ActivityType.GetDescription]" + } + + blockoverride "concept_link" { + text = "ACTIVITY_TYPE_CONCEPT_SELECTOR" + } + } + } +} + +container = { + alwaystransparent = no + name = "ActivityTypeTooltip" + using = activity_type_tooltip +} + +template activity_locale_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + raw_text = "[ActivityLocale.GetName]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "[ActivityLocaleWindow.EnterLocaleTooltip( ActivityLocale.Self )]" + } + + blockoverride "concept_link" { + text = "" + } + } + } +} + +container = { + alwaystransparent = no + name = "ActivityLocaleTooltip" + using = activity_locale_tooltip +} + +template travel_option_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + + blockoverride "concept_link" { + text = "[travel_option|E]" + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[TravelOption.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "[TravelOption.GetTooltipWithBlocker(TravelPlanData.Self)]" + } + + blockoverride "extra_data_after_description" { + textbox = { + name = "effects" + layoutpolicy_horizontal = expanding + max_width = 400 + margin_top = 10 + using = DefaultTooltipText + multiline = yes + text = "[TravelOption.GetDesc]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + + blockoverride "input_info_text" + { + visible = "[IsGameViewOpen('travel_option_selection_window')]" + text_single = { + name = "click_add" + visible = "[And(Not(TravelOptionSelectionWindow.HasOptionSelected(TravelOption.Self)), TravelOptionSelectionWindow.CanSelect(TravelOption.Self))]" + text = "TRAVEL_OPTION_TT_CLICK_TO_ADD" + default_format = "#I" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + name = "click_remove" + visible = "[TravelOptionSelectionWindow.HasOptionSelected(TravelOption.Self)]" + text = "TRAVEL_OPTION_TT_CLICK_TO_REMOVE" + default_format = "#I" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } +} + +container = { + alwaystransparent = no + name = "TravelOptionTooltip" + using = travel_option_tooltip + datacontext = "[GetPlayer.GetTravelPlan.GetData]" +} + +template vassal_stance_tooltip +{ + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + raw_text = "[VassalStance.GetTextIconNoFormat][VassalStance.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "[VassalStance.GetDescription]" + } + + blockoverride "concept_link" { + text = "[vassal_stance|E]" + } + } + } +} + +container = { + name = "VassalStanceTooltip" + alwaystransparent = no + using = vassal_stance_tooltip +} + +template ai_personality_tooltip +{ + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[Character.GetAIPersonalityNoTooltip]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "[Character.GetAIPersonalityExplanation]" + } + + blockoverride "concept_link" { + text = "[personality|E]" + } + } + } +} + +container = { + name = "AiPersonalityTooltip" + alwaystransparent = no + using = ai_personality_tooltip +} + +template travel_plan_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + raw_text = "[TravelPlan.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "TRAVEL_PLAN_TOOLTIP_DESC" + } + + blockoverride "concept_link" { + text = "[travel|E]" + } + } + } +} + +container = { + alwaystransparent = no + name = "TravelPlanTooltip" + using = travel_plan_tooltip +} + +template accolade_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[Accolade.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "subtitle_text" { + text = "ACCOLADE_GLORY_AND_LEVEL" + } + + blockoverride "main_description" { + hbox = { + layoutpolicy_horizontal = expanding + vbox = { + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + text = "ACCOLADE_ACCLAIMED_KNIGHT_NAME" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + + hbox = { + layoutpolicy_horizontal = expanding + visible = "[Accolade.GetSuccessor.IsValid]" + + text_single = { + text = "ACCOLADE_SUCCESSOR_NAME" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + expand = {} + } + hbox = { + layoutpolicy_horizontal = expanding + vbox = { + layoutpolicy_horizontal = expanding + datamodel = "[Accolade.GetObtainedAccoladeTypes]" + max_width = 30 + text_single = { + text = "ACCOLADE_OBTAINED_TYPES_NAME" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + item = { + hbox = { + layoutpolicy_horizontal = expanding + text_single = { + text = "ACCOLADE_OBTAINED_TYPES_TYPE_NAME" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + expand = {} + } + } + } + expand = {} + } + hbox = { + margin_top = 20 + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + visible = "[Accolade.HasActiveEffects]" + + text_multi = { + text = "[Accolade.BuildActiveRankEffects]" + autoresize = yes + max_width = 500 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + } + } + expand = {} + } + } + + blockoverride "concept_link" { + text = "[accolade|E]" + } + } + } +} + +container = { + name = "HolyOrderTooltip" + alwaystransparent = no + using = holy_order_tooltip +} + +template holy_order_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "header_additions" { + datacontext = "[HolyOrder.GetTitle]" + margin_top = -4 + + coa_title_small_crown = { + size = { 40 50 } + + blockoverride "coa_tooltip" {} + blockoverride "coa_hover_glow_visible" + { + visible = no + } + } + } + + blockoverride "title_text" { + margin = { 6 8 } + text = "[HolyOrder.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "concept_link" { + text = "[holy_order|E]" + } + + blockoverride "extra_data" { + text_single = { + layoutpolicy_horizontal = expanding + + text = "HOLY_ORDER_COOLTIP_LEADER" + align = nobaseline + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = "HOLY_ORDER_COOLTIP_PATRON" + align = nobaseline + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = "HOLY_ORDER_COOLTIP_RITE" + align = nobaseline + } + + text_single = { + margin_top = 4 + layoutpolicy_horizontal = expanding + + text = "HOLY_ORDER_COOLTIP_LEASED_TITLES" + align = nobaseline + } + + hbox = { + layoutpolicy_horizontal = expanding + margin_top = 5 + margin_bottom = -15 + + fixedgridbox = { + addrow = 56 + addcolumn = 38 + + flipdirection = yes + datamodel_wrap = 10 + + datamodel = "[HolyOrder.GetLeasedTitles]" + + item = { + coa_title_tiny_crown = { + using = tooltip_ne + + icon_title_has_laws_status = {} + + icon = { + name = "is_nomad" + visible = "[Title.IsNomad]" + parentanchor = bottom|right + size = { 25 25 } + position = { 5 0 } + texture = "gfx/interface/icons/title_status/icon_title_nomad.dds" + } + } + } + } + + expand = {} + } + + block "click_to_view" {} + } + } + } +} + +container = { + alwaystransparent = no + name = "AccoladeTooltip" + using = accolade_tooltip +} + +template accolade_type_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[AccoladeType.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "subheading" { + } + + blockoverride "main_description" { + vbox = { + visible = "[Not(Accolade.IsValid)]" + layoutpolicy_horizontal = expanding + datamodel = "[AccoladeType.GetRanks]" + spacing = 5 + + item = { + vbox = { + layoutpolicy_horizontal = expanding + + hbox = { + layoutpolicy_horizontal = expanding + text_single = { + layoutpolicy_horizontal = expanding + text = "[AccoladeType.GetLevelOfRank( AccoladeRank.Self )]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + text_multi = { + layoutpolicy_horizontal = expanding + text = "[AccoladeRank.GetEffects]" + align = nobaseline + autoresize = yes + margin_top = 5 + margin_left = 20 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + + # current rank number + text_single = { + margin_top = 10 + margin_bottom = 10 + layoutpolicy_horizontal = expanding + visible = "[Accolade.IsValid]" + text = "CURRENT_ACCOLADE_GLORY_AND_LEVEL" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + + background = { + margin_left = 10 + margin_right = 10 + margin_top = -5 + margin_bottom = -5 + using = Background_Area_Dark + alpha = 0.6 + } + } + + # breakdown of primary effects + vbox = { + visible = "[Accolade.IsValid]" + datamodel = "[AccoladeType.GetRanks]" + margin_bottom = 10 + spacing = 5 + + item = { + widget = { + size = { 300 40 } + tooltip = "ACCOLADE_RANK_HEADER_AND_EFFECTS_TT" + using = tooltip_se + + background = { + using = Background_Frame + margin = { 10 0 } + } + + hbox = { + text_single = { + layoutpolicy_horizontal = expanding + text = "[AccoladeType.GetLevelAndGloryOfRank( AccoladeRank.Self )]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + } + } + + blockoverride "concept_link" { + text = "[accolade_type|E]" + } + } + } +} + +container = { + alwaystransparent = no + name = "AccoladeTypeTooltip" + using = accolade_type_tooltip +} + + +template accolade_types_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "CREATE_ACCOLADE" + default_format = "#T" + } + + blockoverride "subheading" { + + } + + blockoverride "main_description" { + + text_single = { + layoutpolicy_horizontal = expanding + visible = "[Not( KnightsView.CanBeAcclaimedKnight( Character.Self ) )]" + + text = "[KnightsView.CanBeAcclaimedKnightDesc( Character.Self )]" + align = nobaseline + + margin_bottom = 10 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = "CREATE_ACCOLADE_TYPES" + align = nobaseline + + margin_bottom = 10 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + datamodel = "[KnightsView.GetPotentialAccoladeTypes( Character.Self )]" + + spacing = 5 + + item = { + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + text = "BULLET" + align = nobaseline + margin = { 10 0 } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + layoutpolicy_horizontal = expanding + + text = "[AccoladeType.GetName]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + } + + blockoverride "concept_link" { + + } + } + } +} + +template point_of_interest_tooltip { + container = { + alwaystransparent = no + name = "PointOfInterestTooltip" + + datacontext = "[TravelPointsOfInterestIconData.GetProvince]" + datacontext = "[TravelPointsOfInterestIconData.GetProvince.GetTitle]" + + object_tooltip_pop_out = { + blockoverride "header_additions" { + margin_top = 5 + coa_title_small = { + visible = "[And( Not( Province.GetHolding.IsEmpty ), Title.IsValid )]" + blockoverride "coa_tooltip" {} + blockoverride "coa_hover_glow_visible" + { + visible = no + } + } + + widget = { + visible = "[Or( Province.GetHolding.IsEmpty, Not( Title.IsValid ) )]" + size = { 55 65 } + icon = { + parentanchor = center + texture = "[Province.GetTerrain.GetIcon]" + position = { 0 -2 } + size = { 55 55 } + } + } + } + + blockoverride "title_text" { + margin_top = -10 + margin_left = 5 + + text = "[Select_CString( Title.IsValid, Title.GetNameNoTierNoTooltip, Province.GetName )]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "[TravelPointsOfInterestIconData.GetDescription]" + } + + blockoverride "concept_link" { + margin_top = -2 + text = "[point_of_interest|E]" + } + } + } +} + +types GameTooltipTypes +{ + type tax_slot_obligation_tooltip = object_tooltip_pop_out + { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + texture = "[TaxSlotObligation.GetIcon]" + } + } + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "[TaxSlotObligation.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "description_text" + { + text = "[TaxSlotObligation.GetFlavorDesc]" + } + + blockoverride "extra_data_after_description" + { + vbox = { + layoutpolicy_horizontal = expanding + margin_top = 15 + + text_label_left = { + layoutpolicy_horizontal = expanding + text = "TAX_OPTION_EFFECT_LABEL" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_multi = { + layoutpolicy_horizontal = expanding + margin_top = 5 + using = DefaultTooltipText + multiline = yes + text = "[TaxSlotObligation.GetEffectText]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + } + } + + blockoverride "concept_link" { + text = "[tax_decree|E]" + } + } +} + +container = { + name = "TaxSlotObligation" + alwaystransparent = no + tax_slot_obligation_tooltip = {} +} + +template epidemic_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" + { + margin = { 0 8 } + raw_text = "[Epidemic.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "subtitle_text" + { + text = "[Epidemic.GetType.GetName]" + default_format = "#weak" + } + + blockoverride "subheading" + { + hbox = { + layoutpolicy_horizontal = expanding + margin_top = -8 + + text_single = { + autoresize = yes + fontsize_min = 14 + using = Font_Size_Small + + align = left + text = "[Epidemic.GetIntensityName]" + default_format = "#weak" + fonttintcolor = "[TooltipInfo.GetTintColor]" + max_width = 200 + margin_right = 4 + } + + text_single = { + autoresize = yes + fontsize_min = 14 + using = Font_Size_Small + + align = right + text = "[Epidemic.GetType.GetName]" + default_format = "#weak" + fonttintcolor = "[TooltipInfo.GetTintColor]" + max_width = 200 + } + expand = {} + } + } + + blockoverride "main_description" + { + vbox = { + layoutpolicy_horizontal = expanding + spacing = 16 + + datacontext = "[Epidemic.GetType]" + + vbox = { + layoutpolicy_horizontal = expanding + visible = "[Epidemic.IsInRealm( GetPlayer )]" + spacing = 3 + + cooltip_paragraph = { + text = "EPIDMIC_TOOLTIP_IN_REALM" + } + cooltip_paragraph = { + text = "EPIDMIC_TOOLTIP_DOMAIN_INFECTIONS" + } + } + + vbox = { + layoutpolicy_horizontal = expanding + visible = "[Epidemic.IsNearbyRealm( GetPlayer )]" + + cooltip_paragraph = { + text = "EPIDMIC_TOOLTIP_NEARBY_REALM" + } + } + + # Shared information + vbox = { + layoutpolicy_horizontal = expanding + + cooltip_paragraph = { + text = "EPIDEMIC_TOOLTIP_HAS_INFECTION" + visible = "[GetPlayer.HasInfection( Epidemic.Self )]" + } + + cooltip_paragraph = { + block "infection_chance_text" + { + text = "EPIDEMIC_TOOLTIP_CHANCE_OF_INFECTION_CHARACTER_LOCATION" + } + visible = "[Not( GetPlayer.HasInfection( Epidemic.Self ) )]" + } + + cooltip_paragraph = { + text = "EPIDEMIC_TOOLTIP_OUTBREAK" + } + + block "extra_data" + { + } + + cooltip_paragraph = { + text = "EPIDEMIC_TOOLTIP_COURT_PHYSICIAN" + margin_top = 16 + default_format = "#weak" + } + } + + cooltip_paragraph = { + text = "CLICK_TO_VIEW" + } + } + } + + blockoverride "concept_link" { + text = "[epidemic|E]" + } + + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon_epidemic = { + blockoverride "icon_size" + { + size = { 52 52 } + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + } + } +} + +container = { + alwaystransparent = no + name = "EpidemicTooltip" + using = epidemic_tooltip +} + +template legend_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + raw_text = "[Legend.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "subheading" + { + hbox = { + layoutpolicy_horizontal = expanding + + text_single = { + layoutpolicy_horizontal = expanding + autoresize = yes + fontsize_min = 14 + using = Font_Size_Small + + align = left + text = "[Legend.GetQualityLevel]" + default_format = "#weak" + fonttintcolor = "[TooltipInfo.GetTintColor]" + max_width = 200 + } + + text_single = { + layoutpolicy_horizontal = expanding + autoresize = yes + fontsize_min = 14 + using = Font_Size_Small + + align = right + text = "[Legend.GetType.GetName]" + default_format = "#weak" + fonttintcolor = "[TooltipInfo.GetTintColor]" + max_width = 200 + } + } + } + + blockoverride "extra_data" + { + cooltip_paragraph = { + visible = "[ObjectsEqual( Legend.GetOwner.Self, GetPlayer.Self )]" + text = "LEGEND_OWNING_LEGEND" + } + + vbox = { + layoutpolicy_horizontal = expanding + visible = "[Not( ObjectsEqual( Legend.GetOwner.Self, GetPlayer.Self ) )]" + + cooltip_paragraph = { + visible = "[Legend.IsCharacterPromotingLegend( GetPlayer )]" + text = "LEGEND_PROMOTING_LEGEND" + } + cooltip_paragraph = { + text = "LEGEND_OWNER_DESCRIPTION" + } + } + } + + blockoverride "extra_data_after_description" + { + vbox = { + layoutpolicy_horizontal = expanding + margin_top = 16 + spacing = 16 + + cooltip_paragraph = { + visible = "[Legend.HasImpactModifiers( 'owner' )]" + text = "OWNER_MODIFIERS_SUBTEXT" + } + cooltip_paragraph = { + visible = "[Legend.HasImpactModifiers( 'promoter' )]" + text = "LEGEND_PROMOTER_MODIFIERS_SUBTEXT" + } + cooltip_paragraph = { + visible = "[Legend.HasImpactModifiers( 'county' )]" + text = "LEGEND_COUNTY_MODIFIERS_SUBTEXT" + } + + cooltip_paragraph = { + visible = "[Legend.HasImpactModifiers( 'province' )]" + text = "LEGEND_PROVINCE_MODIFIERS_SUBTEXT" + } + + block "province_details" {} + } + } + + blockoverride "description_text" + { + default_format = "#F" + text = "[Legend.GetChapterDescriptionByIndex( '(int32)0' )]" + } + + blockoverride "concept_link" { + text = "[legend|E]" + } + + blockoverride "input_info_text" { + text = "CLICK_TO_VIEW" + } + + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon_legend = { + datacontext = "[Legend.GetType]" + + blockoverride "icon_size" + { + size = { 52 52 } + tintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + } + } +} + +container = { + alwaystransparent = no + name = "LegendTooltip" + using = legend_tooltip +} + +template task_contract_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[TaskContract.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "TASK_CONTRACT_TOOLTIP_DESC" + } + + blockoverride "concept_link" { + text = "[task_contract|E]" + } + } + } +} + +container = { + alwaystransparent = no + name = "TaskContractTooltip" + using = task_contract_tooltip +} + +template domicile_building_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon_building = { + datacontext = "[DomicileBuilding.GetRandomAsset]" + size = { 52 52 } + + texture = "[DomicileBuildingAsset.GetIcon]" + } + } + } + + blockoverride "title_text" + { + margin = { 0 8 } + text = "[DomicileBuilding.GetNameAndLevel]" + default_format = "#T" + } + + blockoverride "concept_link" { + text = "[domicile_building|E]" + } + + blockoverride "description_text" + { + text = "[DomicileBuilding.GetSingleBuildingTooltip]" + } + } + } +} + +container = { + alwaystransparent = no + name = "DomicileBuildingTooltip" + using = domicile_building_tooltip +} + +template title_troops_tooltip { + container = { + alwaystransparent = yes + position = { 25 25 } + visible = "[SelectTitleTroopAssignmentView.IsHoveringValidTitle]" + datacontext = "[SelectTitleTroopAssignmentView.GetHoveredTitle]" + + object_tooltip_pop_out = { + alwaystransparent = yes + + visible = "[SelectTitleTroopAssignmentView.IsAdministrativeTitle]" + blockoverride "progress" {} + + blockoverride "header_additions" { + margin_top = -4 + + coa_title_small_crown = { + size = { 40 50 } + blockoverride "coa_tooltip" {} + blockoverride "coa_hover_glow_visible" + { + visible = no + } + } + } + + blockoverride "title_text" { + text = "[Title.GetNameWithUnderlyingNoTooltip|U]" + } + + blockoverride "subheading" { + text_single = { + layoutpolicy_horizontal = expanding + text = "TITLE_TROOPS_MAPMODE_TOOLTIP_STATUS" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + blockoverride "concept_link" {} + + blockoverride "main_description" { + text_single = { + layoutpolicy_horizontal = expanding + text = "TITLE_TROOPS_MAPMODE_TOOLTIP_CURRENT_ARMY_SIZE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + visible = "[Not(IsDataModelEmpty(SelectTitleTroopAssignmentView.GetHiredTitles))]" + layoutpolicy_horizontal = expanding + text = "TITLE_TROOPS_MAPMODE_TOOLTIP_TROOPS_FROM" + default_format = "#weak" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + hbox = { + layoutpolicy_horizontal = expanding + hbox = { + layoutpolicy_horizontal = shrinking + datamodel = "[SelectTitleTroopAssignmentView.GetHiredTitles]" + + item = { + coa_title_tiny_crown = { + blockoverride "coa_hover_glow_visible" + { + visible = no + } + + icon = { + parentanchor = top|right + position = { 5 9 } + size = { 16 16 } + texture = "gfx/interface/icons/modifiers/icon_influence_01.dds" + visible = "[Title.HasDiscountedTitleMaa(GetPlayer.Self)]" + + glow = { + color = { 0 0 0 0.8 } + glow_radius = 3 + using = Glow_Standard + } + } + } + } + } + + expand = {} + } + + vbox = { + visible = "[Title.HasHolder]" + layoutpolicy_horizontal = expanding + + text_single = { + visible = "[Not( SelectTitleTroopAssignmentView.IsSelectingTitleForTransfer )]" + layoutpolicy_horizontal = expanding + text = "TITLE_TROOPS_MAPMODE_TOOLTIP_CLICK" + margin = { 0 10 } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + vbox = { + visible = "[SelectTitleTroopAssignmentView.IsSelectingTitleForTransfer]" + layoutpolicy_horizontal = expanding + + text_single = { + visible = "[Not( IsGameViewOpen( 'hired_troop_detail_view' ) )]" + layoutpolicy_horizontal = expanding + text = "TITLE_TROOPS_ASSIGNMENT_GUIMODE_REASSIGNMENT_TOOLTIP_CLICK" + margin = { 0 10 } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + text_single = { + visible = "[IsGameViewOpen( 'hired_troop_detail_view' )]" + layoutpolicy_horizontal = expanding + text = "TITLE_TROOPS_ASSIGNMENT_GUIMODE_TOOLTIP_CLICK" + margin = { 0 10 } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + text_single = { + visible = "[Not( Title.HasHolder )]" + layoutpolicy_horizontal = expanding + text = "TITLE_TROOPS_ASSIGNMENT_GUIMODE_NOT_CREATED" + margin = { 0 10 } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + + text_single = { + using = DefaultTooltipBackground + using = DefaultTooltipText + margin = { 20 10 } + margin_bottom = 20 + visible = "[Not( SelectTitleTroopAssignmentView.IsAdministrativeTitle )]" + text = "TITLE_TROOPS_ASSIGNMENT_GUIMODE_NOT_ADMIN" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } +} + +# Widget name referenced in code. Do not change! +container = { + alwaystransparent = yes + filter_mouse = none + name = "TitleTroopsTooltip" + visible = "[IsMapMode( 'title_troops' )]" + using = title_troops_tooltip +} + +template subject_contract_group_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[SubjectContractGroup.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "description_text" { + text = "[SubjectContractGroup.GetDescription]" + } + + blockoverride "concept_link" { + text = "[vassal_contract|E]" + } + } + } +} + +container = { + alwaystransparent = no + name = "SubjectContractGroupTooltip" + using = subject_contract_group_tooltip +} + +template widget_obedience_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + + blockoverride "concept_link" {} + + blockoverride "title_text" { + margin = { 0 10 } + text = "[obedience|U]" + default_format = "#T" + } + + blockoverride "header_additions" { + icon = { + size = { 42 42 } + texture = "gfx/interface/icons/icon_obedience.dds" + } + spacer = { + size = { 12 12 } + } + } + + blockoverride "main_description" { + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + using = DefaultTooltipText + multiline = yes + text = "[Character.GetObedienceTooltipDesc]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + divider_light = { + layoutpolicy_horizontal = expanding + } + + vbox = { + layoutpolicy_horizontal = expanding + margin_top = 5 + + hbox = { + layoutpolicy_horizontal = expanding + + hbox = { + layoutpolicy_horizontal = expanding + spacing = 3 + alwaystransparent = no + + text_single = { + layoutpolicy_horizontal = expanding + text = "obedience_value" + } + + text_single = { + datacontext = "[Character.GetObedienceBreakdown]" + text = "[ValueBreakdown.GetFixedPointValue|0]" + default_format = "#L" + + margin = { 5 0 } + margin_right = 0 + + tooltip_visible = "[ValueBreakdown.HasTooltip]" + + tooltipwidget = { + widget_value_breakdown_tooltip = { + blockoverride "header" { + text_label_left = { + layoutpolicy_horizontal = expanding + raw_text = "[obedience|E]" + default_format = "#T" + } + } + } + } + } + + text_single = { + raw_text = "/" + } + + text_single = { + datacontext = "[Character.GetObedienceThresholdBreakdown]" + text = "[ValueBreakdown.GetFixedPointValue|0]" + default_format = "#L" + + margin = { 5 0 } + margin_left = 0 + + tooltip_visible = "[ValueBreakdown.HasTooltip]" + + tooltipwidget = { + widget_value_breakdown_tooltip = { + blockoverride "header" { + text_label_left = { + layoutpolicy_horizontal = expanding + raw_text = "[obedience_threshold|E]" + default_format = "#T" + } + } + } + } + } + + hbox = { + layoutpolicy_horizontal = expanding + spacing = 3 + alwaystransparent = no + + text_single = { + layoutpolicy_horizontal = expanding + raw_text = "[overlord|E]:" + } + + text_single = { + text = "[Character.GetObedienceTarget.GetShortUIName|U]" + visible = "[Character.GetObedienceTarget.IsValid]" + margin = { 5 0 } + } + + text_single = { + text = "NONE" + visible = "[Not( Character.GetObedienceTarget.IsValid )]" + margin = { 5 0 } + } + } + } + } + } + } + } + } +} + +template innovation_icon_tooltip { + container = { + using = GeneralTooltipSetup + alwaystransparent = no + + widget = { + name = "background" + using = DefaultTooltipBackground + size = { 100% 100% } + alwaystransparent = no + } + + flowcontainer = { + margin = { 20 20 } + spacing = 15 + direction = vertical + ignoreinvisible = yes + datacontext = "[CultureInnovation.GetType]" + + widget = { + name = "header" + size = { 500 60 } + + background = { + using = Background_Area_Dark + margin = { 15 10 } + } + + hbox = { + minimumsize = { 500 0 } + set_parent_size_to_minimum = yes + + widget = { + size = { 90 60 } + icon = { + texture = "[CultureInnovation.GetIcon]" + size = { 90 60 } + + using = Mask_Rough_Edges + } + + icon = { + visible = "[Not(CultureInnovation.CanGainProgress)]" + texture = "[CultureInnovation.GetIcon]" + tintcolor = { 0 0 0 0.5 } + size = { 90 60 } + + using = Mask_Rough_Edges + } + } + + + text_single = { + layoutpolicy_horizontal = expanding + margin = { 10 0 } + text = "CULTURE_INNOVATION_NAME_NO_TOOLTIP_WITH_BASE_NAME" + default_format = "#T" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + expand = {} + + vbox = { + text_single = { + layoutpolicy_horizontal = expanding + align = right + text = "INNOVATION_TOOLTIP_TYPE" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + spacer = { + size = { 5 5 } + } + + text_single = { + layoutpolicy_horizontal = expanding + align = right + text = "INNOVATION_ERA_WITH_ERA_CONCEPT" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + + container = { + name = "spread" + using = era_innov_blockers + visible = "[CultureInnovation.HasSpreadMarker]" + minimumsize = { 500 0} + + background = { + using = Background_Area_Dark + margin = { 15 5 } + alpha = 0.6 + } + + blockoverride "eib_text" + { + text = "INNOVATION_SPREAD_MARKER_TOOLTIP" + } + } + + container = { + name = "blocked_for_government" + using = era_innov_blockers + + blockoverride "eib_visible" + { + visible = "[CultureInnovation.GetCultureEra.GetType.IsInvalidForPlayerGovernment]" + } + + blockoverride "eib_text" + { + text = "CULTURE_WINDOW_ERA_INNOVATION_BLOCKED_FOR_PLAYER_GOVERNMENT" + } + } + + container = { + name = "blocker" + using = era_innov_blockers + + blockoverride "eib_visible" + { + visible = "[Not(CultureInnovation.CanGainProgress)]" + } + + blockoverride "eib_text" + { + text = "[CultureInnovation.GetCantGainProgressReason]" + } + } + + container = { + using = era_innov_effects + + blockoverride "eie_label_visible" + { + visible = "[CultureInnovationType.HasEffects( CultureInnovation.GetCulture, GetPlayer )]" + minimumsize = { 500 30 } + } + + + blockoverride "eie_effects" + { + text = "[CultureInnovationType.GetEffectsDesc( CultureInnovation.GetCulture, GetPlayer )]" + } + } + + flowcontainer = { + minimumsize = { 100% 0 } + direction = vertical + ignoreinvisible = yes + + text_single = { + text = "[CultureInnovation.GetInnovationState]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + progressbar_standard = { + visible = "[And(CultureInnovation.CanGainProgress, Not(CultureInnovation.IsActive))]" + size = { 300 25 } + + min = 0 + max = 100 + value = "[FixedPointToFloat(CultureInnovation.GetProgress)]" + + text_single = { + parentanchor = hcenter|vcenter + widgetanchor = hcenter|vcenter + position = { 0 -2 } + text = "[CultureInnovation.GetProgress|%/0]" + fonttintcolor = "[TooltipInfo.GetTintColor]" + + background = { + using = Background_Area + margin = { 10 0 } + } + } + } + + text_single = { + visible = "[And(CultureInnovation.CanGainProgress, Not(CultureInnovation.IsActive))]" + text = "INNOVATION_TOOLTIP_PROGRESS" + autoresize = yes + max_width = 500 + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } +} + +template bazaar_building_tooltip { + container = { + alwaystransparent = no + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 8 } + text = "[Building.GetNameNoTooltip]" + } + + blockoverride "subtitle_text" { + text = "[Building.GetTypeName]" + default_format = "#weak" + } + + blockoverride "concept_link" { + text = "[building|E]" + } + + blockoverride "description_text" { + text = "CLICK_TO_SELECT" + } + } + } +} + + +template house_attribute_tooltip { + object_tooltip_pop_out = { + + + blockoverride "title_text" { + margin = { 0 8 } + text = "ADMINISTRATIVE_GOVERNMENT_BONUS_TOOLTIP_HEADING" + } + + blockoverride "concept_link" { + text = "[DynastyHouse.GetHouseAspirationFlavorName]" + } + + + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + powerful_family_bonus_icon = {} + } + } + + blockoverride "description_text" + { + text = "[DynastyHouse.GetHouseAspirationBonusTooltip]" + } + + + } +} + +template situation_phase_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + + blockoverride "concept_link" { + text = "[situation_phase|E]" + } + + blockoverride "title_text" { + margin = { 0 8 } + text = "CURRENT_PHASE_PROGRESS_HEADER" + } + + blockoverride "main_description" { + vbox = { + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + vbox = { + layoutpolicy_horizontal = expanding + + background = { + using = Background_Area + } + + visible = "[Not( Or(SilkRoadWindow.IsBadPhase( SituationSubRegion.Self ), SilkRoadWindow.IsGoodPhase( SituationSubRegion.Self )))]" + datamodel = "[SituationPhase.GetFuturePhases]" + + item = { + hbox = { + layoutpolicy_horizontal = expanding + margin_bottom = 5 + text_single = { + text = "FUTURE_PHASE_PROGRESS_HEADER" + fonttintcolor = "[TooltipInfo.GetTintColor]" + margin_right = 10 + } + expand = {} + } + } + + expand = {} + } + + vbox = { + layoutpolicy_horizontal = expanding + + datamodel = "[SituationPhase.GetLatestCatalystHistory]" + + text_label_center = { + layoutpolicy_horizontal = expanding + text = "RecentCatalystsHeader" + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + item = { + vbox = { + layoutpolicy_horizontal = expanding + margin = { 0 4 } + spacing = 4 + + divider_light = { + layoutpolicy_horizontal = expanding + } + + hbox = { + layoutpolicy_horizontal = expanding + spacing = 4 + + text_single = { + text = "[SituationCatalystHistory.GetCatalystType.GetName]" + align = nobaseline + max_width = 300 + fonttintcolor = "[TooltipInfo.GetTintColor]" + + } + + expand = {} + + text_single = { + text = "[SituationCatalystHistory.GetValue|+=]" + align = nobaseline + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + } + } + } + } + } +} + +template confederation_tooltip { + object_tooltip_pop_out = { + datacontext = "[Confederation]" + datacontext = "[Confederation.GetType]" + blockoverride "header_additions" { + hbox = { + margin_right = 10 + margin_top = 5 + margin_left = -5 + + coa_bloc_small = { + visible = "[Confederation.GetType.IsHouseBasedConfederation]" + blockoverride "glow" {} + } + coa_confederation_small = { + visible = "[Not(Confederation.GetType.IsHouseBasedConfederation)]" + blockoverride "glow" {} + } + } + } + + spacer = { size = { 40 0 } } + + blockoverride "title_text" + { + text = "CONFEDERATION_TT_TOOLTIP" + } + + blockoverride "fontsize_min" { + fontsize_min = 13 + } + + blockoverride "multiline" { + multiline = yes + } + + blockoverride "max_width" + { + max_width = 280 + } + + blockoverride "concept_link" + { + text = "[SelectLocalization(ConfederationType.IsHouseBasedConfederation, 'CONFEDERATION_BLOC_CONCEPT', 'CONFEDERATION_CONCEPT')]" + } + + blockoverride "extra_data" + { + cooltip_paragraph = { + name = "tooltip_from_code" + text = "[Confederation.GetConfederationTooltip]" + } + + cooltip_paragraph = { + name = "click" + text = "VIEW_CLICK" + default_format = "#I" + } + } + } +} + +container = { + name = "confederation_tooltip" + alwaystransparent = no + using = confederation_tooltip +} + +template great_project_tooltip { + container = { + alwaystransparent = no + object_tooltip_pop_out = { + blockoverride "header_additions" + { + hbox = { + margin_right = 10 + margin_top = 8 + margin_left = -4 + + icon = { + size = { 52 52 } + block "header_icon" + { + texture = "[GreatProject.GetIcon]" + } + } + } + } + + blockoverride "concept_link" { + text = "[great_project|E]" + } + + blockoverride "title_text" { + margin = { 0 5 } + block "title_text" { + text = "[GreatProject.GetNameNoTooltip]" + } + default_format = "#T" + } + + blockoverride "main_description" { + vbox = { + layoutpolicy_horizontal = expanding + + textbox = { + name = "main_description" + layoutpolicy_horizontal = expanding + max_width = 400 + margin = { 0 5 } + using = DefaultTooltipText + multiline = yes + text = "great_project_cooltip_desc" + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + spacer = { + size = { 0 10 } + } + } + } + } + } +} +container = { + name = "GreatProjectTooltip" + alwaystransparent = no + using = great_project_tooltip +} + +template puppet_type_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + + blockoverride "header_additions" { + icon = { + size = { 40 40 } + blockoverride "coa_tooltip" {} + blockoverride "coa_hover_glow_visible" { } + + texture = "[PuppetType.GetIcon( GetNullCharacter )]" + } + } + + blockoverride "title_text" { + margin = { 5 8 } + text = "[PuppetType.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "concept_link" + { + text = "[puppet_type|E]" + align = nobaseline + } + + blockoverride "main_description" + { + vbox = { + name = "actions_info" + spacing = 4 + + layoutpolicy_horizontal = expanding + layoutpolicy_vertical = expanding + + cooltip_paragraph = { + text = "PUPPET_TYPE_DESCRIPTION_TEXT" + } + } + } + + } + } +} + +container = { + name = "PuppetTypeTooltipDefault" + alwaystransparent = no + using = puppet_type_tooltip +} + +template lease_contract_type_tooltip { + container = { + alwaystransparent = no + + object_tooltip_pop_out = { + blockoverride "title_text" { + margin = { 0 5 } + text = "[LeaseContractType.GetNameNoTooltip]" + default_format = "#T" + } + + blockoverride "concept_link" { + text = "[lease_contract|E]" + } + + blockoverride "description_text" + { + text = "[LeaseContractType.GetDesc]" + } + } + } +} + +container = { + name = "LeaseContractTypeTooltip" + alwaystransparent = no + using = lease_contract_type_tooltip +} + +template Scrolltip_Height { + max_height = 780 +} + +types ScrollableTooltipTypes { + # use inside a tooltipwidget + # scrolltip is a generic scrollable tooltip + # block scrolltip_text can take your tooltip text + # or replace these blocks: scrolltip_header, scrolltip_content, scrolltip_footer + # change scrolltip_width if your scrollbox is too thin, header won't resize it automatically + type scrolltip = widget { + using = GeneralTooltipSetup + alwaystransparent = no + size = { 0 0 } + using = DefaultTooltipBackground + + vbox = { + name = "vbox" + set_parent_size_to_minimum = yes + margin = { 0 4 } # gives a little border when scrolling + + vbox = { + layoutpolicy_horizontal = expanding + margin = { 20 0 } + block "scrolltip_header" {} + } + + vbox = { + layoutpolicy_horizontal = expanding + margin = { 8 8 } # prevents scrollbar overlap + + vbox = { + layoutpolicy_horizontal = expanding + + widget = { + layoutpolicy_horizontal = expanding + + scrollbox = { + resizeparent = yes + block "scrolltip_height" { + using = Scrolltip_Height + } + + blockoverride "scrollbox_background" {} + blockoverride "scrollbox_background_fade" {} + + blockoverride "scrollbox_content" { + set_parent_size_to_minimum = yes + widget = { + block "scrolltip_size" { + size = { 440 0 } + } + } + block "scrolltip_content" { + cooltip_paragraph = { + block "scrolltip_text" { + text = "LOREM_IPSUM_DESCRIPTION" + } + } + } + } + } + } + } + } + + vbox = { + layoutpolicy_horizontal = expanding + margin_top = -15 + + block "scrolltip_footer" {} + + hbox = { + layoutpolicy_horizontal = expanding + + cooltip_paragraph = { + layoutpolicy_horizontal = expanding + margin = { 10 15 } + max_width = 440 + block "input_info_text_bottom" { + visible = no + } + } + } + } + } + + margin_widget = { + size = { 100% 100% } + margin = { 3 3 } + + icon = { + name = "tooltip_locked" + visible = "[PdxGuiWidget.IsTooltipLocked]" + texture = "gfx/interface/skinned/tooltip_frame.dds" + spriteType = Corneredtiled + spriteborder = { 20 20 } + size = { 100% 100% } + texture_density = 2 + tintcolor = "[TooltipInfo.GetTintColor]" + alpha = 1 + + state = { + name = _show + bezier = { 0.25 0.1 0.25 1 } + duration = 0.15 + alpha = 1 + } + + state = { + name = _hide + alpha = 0 + } + + modify_texture = { + name = "overlay" + texture = "gfx/interface/component_overlay/overlay_window.dds" + spriteType = Corneredstretched + spriteborder = { 0 0 } + blend_mode = overlay + } + } + + block "progress" + { + progresspie = { + name = "tooltip_progress" + visible = "[And(UsesTimerLocking, Not(PdxGuiWidget.IsTooltipLocked))]" + parentanchor = top|right + position = { -3 3 } + size = { 20 20 } + min = 0 + max = 1 + tintcolor = "[TooltipInfo.GetTintColor]" + value = "[PdxGuiWidget.GetTooltipLockProgress]" + texture = "gfx/interface/progressbars/progress_circle.dds" + framesize = { 248 248 } + frame = 2 + + state = { + name = _show + alpha = 1 + } + + state = { + name = _hide + bezier = { 0.25 0.1 0.25 1 } + duration = 0.05 + alpha = 0 + } + } + } + } + } + + # copy of object_tooltip_pop_out + type scrollable_object_tooltip_pop_out = scrolltip { + blockoverride "scrolltip_header" { + hbox_header_tooltip = {} + margin_bottom = -10 + } + blockoverride "scrolltip_content" { + # Override main_description if you plan to build a fully custom pop out, otherwise override the components + block "main_description" + { + block "extra_data" {} + + textbox = { + name = "warning_description" + + using = DefaultTooltipText + layoutpolicy_horizontal = expanding + multiline = yes + block "warning_description_text" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + textbox = { + name = "above_description" + + max_width = 420 + using = DefaultTooltipText + layoutpolicy_horizontal = expanding + multiline = yes + block "above_description_text" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + # NOTE: This edit box is filled by TooltipInfo.GetTintColor from code in order to set the correct size when the tooltip is created and positioned and then it uses the text property specified here in the next frames + textbox = { + name = "Description" + layoutpolicy_horizontal = expanding + max_width = 420 + using = DefaultTooltipText + multiline = yes + block "description_text" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + alwaystransparent = no + } + + block "extra_data_after_description" {} + + block "call_to_action" {} + + # Things like "click to X", hotkeys etc + block "input_info" { + textbox = { + name = "input_info" + layoutpolicy_horizontal = expanding + margin_top = 10 + using = DefaultTooltipText + multiline = yes + block "input_info_text" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + + textbox = { + name = "TooltipTextShortcut" + layoutpolicy_horizontal = expanding + using = DefaultTooltipText + margin = { 10 10 } + margin_top = 10 + block "tooltip_text_shortcut" {} + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } + } + + type hbox_header_tooltip = hbox { + layoutpolicy_horizontal = expanding + spacing = 10 + + background = { + using = Background_Header + margin = { 15 0 } + margin_bottom = 10 + } + + background = { + using = Background_Header_Pattern + margin = { 15 0 } + margin_bottom = 10 + } + + block "header_tt" { + margin = { 0 10 } + } + + hbox = { + layoutpolicy_horizontal = expanding + + block "header_additions" { + hbox = {} + } + + vbox = { + name = "FancyHeader" + layoutpolicy_horizontal = expanding + alwaystransparent = no + + text_single = { + layoutpolicy_horizontal = expanding + autoresize = yes + name = "title" + + fontsize_min = 14 + using = Font_Size_Medium + align = nobaseline + + block "title_text" { + margin = { 0 4 } + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + + # use subtitle_text blockoverride or replace this entire block + block "subheading" + { + text_single = { + layoutpolicy_horizontal = expanding + autoresize = yes + block "fontsize_min" { + fontsize_min = 14 + } + fonttintcolor = "[TooltipInfo.GetTintColor]" + using = Font_Size_Small + align = nobaseline + + block "subtitle_text" + { + text = "" + } + + block "max_width" + { + max_width = 400 + } + + block "multiline" {} + } + } + } + } + + expand = {} + + vbox = { + layoutpolicy_vertical = expanding + + text_single = { + name = "concept_link" + layoutpolicy_horizontal = expanding + block "concept_link" { + raw_text = "#D Missing concept link!#!" + } + + fonttintcolor = "[TooltipInfo.GetTintColor]" + } + } + } +} diff --git a/history/characters/NEOW_e_britannia.txt b/history/characters/NEOW_e_britannia.txt index 11625f794..062fd0216 100644 --- a/history/characters/NEOW_e_britannia.txt +++ b/history/characters/NEOW_e_britannia.txt @@ -1771,15 +1771,26 @@ britannia_stuart_mary = { } } -britannia_keith_malcolm = { - name = "Malcolm" - dynasty = dynn_britannia_keith +britannia_angus_fife = { + name = "Angus" + dynasty = fife_dynasty rite = presbyterian_rite culture = scottish - trait = education_learning_4 + trait = education_martial_3 trait = ambitious - trait = generous + trait = gregarious trait = compassionate + trait = strong + dna=dna_angus + portrait_override={ + portrait_modifier_overrides={ + custom_beards=m_beard_ep3_byzantine_01 + custom_hair=m_hair_ep3_byzantine_04 + custom_clothes=m_clothes_sec_ep2_western_era4_war_nob_01_hi + custom_headgear=male_headgear_secular_western_high_nobility_01 + custom_cloaks=male_empty + } + } 2530.1.1 = { birth = yes } @@ -3345,3 +3356,49 @@ britannia_paleologus_godscall = { 2544.1.12 = { birth = yes } 2625.1.1 = { death = yes } } + +britannia_zarg_o_thrax = { + name = "Zarg" + dynasty = thrax_dynasty + rite = old_thelemite_rite + culture = irish + trait = education_intrigue_4 + trait = ambitious + trait = callous + trait = vengeful + trait = witch + trait = intellect_good_2 + dna=dna_zarg + portrait_override={ + portrait_modifier_overrides={ + custom_beards=m_beard_ep3_byzantine_02 + custom_hair=m_hair_fp3_iranian_01 + custom_special=male_headgear_special_spectacles_01 + custom_headgear=male_empty + custom_clothes=male_clothes_religious_catholic_devoted_02_benedictine + } + } + 2521.1.12 = { birth = yes } + 2554.1.1 = { + set_relation_nemesis={target=character:britannia_angus_fife} + add_pressed_claim = title:d_albany + effect = { + spawn_army = { + name = event_troop_default_name + men_at_arms = { + type = light_footmen + stacks = 15 + } + men_at_arms = { + type = bowmen + stacks = 15 + } + location = province:1724 + origin = province:1724 + inheritable = yes + war_keep_on_attacker_victory = yes + } + } + } + 2600.1.1 = { death = yes } +} diff --git a/history/provinces/e_britannia.txt b/history/provinces/e_britannia.txt index 07c3e2fca..e30a49398 100644 --- a/history/provinces/e_britannia.txt +++ b/history/provinces/e_britannia.txt @@ -1087,8 +1087,8 @@ ###c_lennox 1696 = { holding = city_holding - culture = strafclideg - rite = old_thelemite_rite + culture = scottish + rite = presbyterian_rite special_building_slot = glasgow_cathedral_01 } 1687 = { diff --git a/history/provinces/e_iberia.txt b/history/provinces/e_iberia.txt index 687ba1503..0111e320c 100644 --- a/history/provinces/e_iberia.txt +++ b/history/provinces/e_iberia.txt @@ -3,11 +3,10 @@ ##d_cordoba ###c_cordoba 1995 = { - rite = compostelan_rite + rite = penitente_rite holding = castle_holding special_building = cathedral_mosque_cordoba_01 - 800.1.1 = { culture = NEOW_andalusian} - 812.1.1 = { rite = compostelan_rite } + culture = NEOW_andalusian 867.1.1 = { buildings = { farm_estates_01 @@ -21,10 +20,6 @@ farm_estates_02 } } - 1245.3.19 = { - culture = NEOW_andalusian - rite = compostelan_rite - } } 1988 = { holding = none @@ -159,7 +154,7 @@ ###c_malaga 1846 = { culture = NEOW_andalusian - rite = compostelan_rite + rite = penitente_rite holding = castle_holding special_building_slot = fortified_port_of_malaga_01 } @@ -181,10 +176,10 @@ ##d_sevilla ###c_sevilla 1981 = { - rite = compostelan_rite + rite = penitente_rite holding = castle_holding special_building = cathedral_seville_01 - 800.1.1 = { culture = NEOW_andalusian} + culture = NEOW_andalusian 867.1.1 = { buildings = { farm_estates_01 @@ -197,10 +192,6 @@ curtain_walls_01 } } - 1263.1.1 = { - culture = NEOW_andalusian - rite = compostelan_rite - } } 1841 = { holding = city_holding @@ -224,13 +215,9 @@ } ###c_cadiz 1843 = { - rite = compostelan_rite + rite = penitente_rite holding = castle_holding - 800.1.1 = { culture = NEOW_andalusian} - 1263.1.1 = { culture = NEOW_andalusian - rite = compostelan_rite - } } 1844 = { holding = city_holding @@ -246,7 +233,7 @@ 1840 = { holding = castle_holding culture = NEOW_andalusian - rite = compostelan_rite + rite = iberian_rite } 1839 = { culture = NEOW_andalusian @@ -1117,10 +1104,10 @@ ##d_galicia ###c_coruna 1787 = { - rite = iberian_rite + rite = compostelan_rite + culture = galician holding = castle_holding special_building = tower_of_hercules_01 - 800.1.1 = { culture = galician } } 1788 = { holding = city_holding @@ -1145,7 +1132,7 @@ } ###c_tui 1782 = { - rite = iberian_rite + rite = compostelan_rite holding = castle_holding culture = galician } @@ -1157,12 +1144,12 @@ } ###c_astorga 1792 = { - rite = iberian_rite + rite = compostelan_rite holding = castle_holding 276.1.1 = { special_building = roman_wall_of_lugo_01 } - 800.1.1 = { culture = galician } + culture = galician } 1821 = { holding = city_holding @@ -1182,7 +1169,7 @@ ###c_monterrei 1800 = { culture = galician - rite = iberian_rite + rite = compostelan_rite holding = castle_holding } 1818 = { @@ -1199,7 +1186,7 @@ 1797 = { rite = compostelan_rite holding = castle_holding - 800.1.1 = { culture = asturleonese } + culture = asturleonese } 1798 = { holding = none @@ -1240,7 +1227,7 @@ ###c_porto 1760 = { culture = portuguese - rite = iberian_rite + rite = compostelan_rite holding = castle_holding special_building = fortified_port_of_porto_01 } @@ -1252,7 +1239,7 @@ } ###c_braganza 1763 = { - rite = iberian_rite + rite = compostelan_rite holding = castle_holding culture = portuguese } @@ -1275,7 +1262,7 @@ ###c_lisboa 1754 = { culture = portuguese - rite = iberian_rite + rite = sebastianist_rite holding = castle_holding special_building = belem_tower_01 } @@ -1290,7 +1277,7 @@ ###c_ribatejo 1749 = { culture = portuguese - rite = iberian_rite + rite = sebastianist_rite holding = castle_holding } 1772 = { @@ -1317,14 +1304,9 @@ } ###c_moura 1837 = { - rite = compostelan_rite + rite = iberian_rite holding = castle_holding - 800.1.1 = { culture = NEOW_andalusian} - 812.1.1 = { rite = compostelan_rite } - 1245.3.19 = { culture = portuguese - rite = compostelan_rite - } } 1838 = { holding = city_holding @@ -1388,7 +1370,7 @@ ###c_coimbra 1757 = { culture = portuguese - rite = iberian_rite + rite = sebastianist_rite holding = castle_holding special_building = university_coimbra_01 } @@ -1404,7 +1386,7 @@ ###c_viseu 1769 = { culture = portuguese - rite = iberian_rite + rite = compostelan_rite holding = castle_holding } 1770 = { @@ -1416,7 +1398,7 @@ ###c_castelo_branco 1773 = { culture = portuguese - rite = iberian_rite + rite = compostelan_rite holding = castle_holding } 1771 = { diff --git a/history/titles/NEOW_laamp_titles.txt b/history/titles/NEOW_laamp_titles.txt index 224e68177..9f6ccd91a 100644 --- a/history/titles/NEOW_laamp_titles.txt +++ b/history/titles/NEOW_laamp_titles.txt @@ -311,3 +311,16 @@ d_laamp_firebrands_of_the_ice = { } } } + +d_laamp_keepers_of_the_celestial_flame = { + 2555.1.1 = { + liege = 0 + holder = britannia_zarg_o_thrax + government = landless_adventurer_government + succession_laws = { landless_adventurer_succession_law } + effect = { + create_landless_adventurer_title_history_effect = yes + set_variable = { name = adventurer_creation_reason value = flag:voluntary } + } + } +} \ No newline at end of file diff --git a/history/titles/k_scotland.txt b/history/titles/k_scotland.txt index 0fcb06aba..9420d653c 100644 --- a/history/titles/k_scotland.txt +++ b/history/titles/k_scotland.txt @@ -115,7 +115,7 @@ c_inner_hebrides = { c_argyll = { 2540.1.1 = { holder = britannia_duns_john # John Duns - liege = d_albany + liege = d_highlands } } d_northern_isles = { @@ -154,7 +154,7 @@ c_atholl = { } d_moray = { 2539.1.1 = { - holder = britannia_keith_malcolm # Malcolm Keith + holder = britannia_angus_fife } } c_gowrie = { @@ -165,13 +165,13 @@ c_gowrie = { } c_angus = { 2539.1.1 = { - holder = britannia_keith_malcolm # Malcolm Keith + holder = britannia_angus_fife change_development_level = 9 } } c_mearns = { 2539.1.1 = { - holder = britannia_keith_malcolm # Malcolm Keith + holder = britannia_angus_fife change_development_level = 10 } } diff --git a/history/wars/00_wars.txt b/history/wars/00_wars.txt index 3c48ec169..e62937eeb 100644 --- a/history/wars/00_wars.txt +++ b/history/wars/00_wars.txt @@ -84,3 +84,18 @@ war = { defenders = { france0018 } claimant = france_jerome_chevalier } + +# Unicorn Invasion of Dundee + +war = { + name = "dundee_war" + start_date = 2554.5.12 + end_date = 2556.9.25 + targeted_titles={ + d_albany + } + casus_belli = claim_cb + attackers = { britannia_zarg_o_thrax } + defenders = { britannia_angus_fife } + claimant = britannia_zarg_o_thrax +} diff --git a/localization/english/replace/religion/zz_NEOW_religion_occidentalist_l_english.yml b/localization/english/replace/religion/zz_NEOW_religion_occidentalist_l_english.yml new file mode 100644 index 000000000..7eb98e215 --- /dev/null +++ b/localization/english/replace/religion/zz_NEOW_religion_occidentalist_l_english.yml @@ -0,0 +1,19 @@ +l_english: + + occidentalist_religion:1 "Occidentalist" + occidentalist_religion_adj:1 "Occidentalist" + occidentalist_religion_adherent:1 "Occidentalist" + occidentalist_religion_adherent_plural:1 "Occidentalists" + occidentalist_religion_desc:1 "WRITE ME" + + sebastianist_faith:0 "Sebastianism" + sebastianist_faith_adj:0 "Sebastianist" + sebastianist_faith_adherent:0 "Sebastianist" + sebastianist_faith_adherent_plural:0 "Sebastianist" + sebastianist_faith_desc:0 "Old World legends describe the mythical rule of King Sebastian, who once commanded all the mightiest warriors of the Occident to war against invading heathens. One day, however, the King rode into battle, never to be seen again. While most dismiss this tale as being just an old legend, the Sebastianist faithful hold that King Sebastian was not merely felled in battle, but was called to ascend to Heaven in order to fulfil his role as the Son of God and the prophesied Messiah. It is said that the King will return to save the world in its darkest hour, descending from Heaven on a foggy day. With the support of his loyal followers, he will herald the Quinto Império, the next kingdom of God on Earth." + + sebastianist_rite:0 "Sebastianism" + sebastianist_rite_adj:0 "Sebastianist" + sebastianist_rite_adherent:0 "Sebastianist" + sebastianist_rite_adherent_plural:0 "Sebastianist" + sebastianist_rite_desc:0 "Old World legends describe the mythical rule of King Sebastian, who once commanded all the mightiest warriors of the Occident to war against invading heathens. One day, however, the King rode into battle, never to be seen again. While most dismiss this tale as being just an old legend, the Sebastianist faithful hold that King Sebastian was not merely felled in battle, but was called to ascend to Heaven in order to fulfil his role as the Son of God and the prophesied Messiah. It is said that the King will return to save the world in its darkest hour, descending from Heaven on a foggy day. With the support of his loyal followers, he will herald the Quinto Império, the next kingdom of God on Earth." \ No newline at end of file diff --git a/localization/english/replace/zz_NEOW_dynasty_names_l_english.yml b/localization/english/replace/zz_NEOW_dynasty_names_l_english.yml index 4cb3fe135..1c9ac57bd 100644 --- a/localization/english/replace/zz_NEOW_dynasty_names_l_english.yml +++ b/localization/english/replace/zz_NEOW_dynasty_names_l_english.yml @@ -2684,6 +2684,7 @@ dynn_Ficheroux:0 "Ficheroux" dynn_Fiedle_r_act_:0 "Fiedleŕ" dynn_Fier_a_uml_dt:0 "Fierädt" + dynn_fife:0 "Fife" dynn_fifor:0 "Fifor" dynn_Figueiredo:0 "Figueiredo" dynn_Figueiroa:0 "Figueiroa" @@ -7592,6 +7593,7 @@ dynn_Thor:0 "Thor" dynn_Thorn:0 "Thorn" dynn_Thorslund:0 "Thorslund" + dynn_thrax:0 "O'Thrax" dynn_Thrige:0 "Thrige" dynn_tiahnyriadno:0 "Tiahnyriadno" dynn_tich:0 "Tich" @@ -8557,4 +8559,3 @@ dynn_bogarne:0 "Boarnua" dynn_Paleologus_Cornwall:0 "Palalegis" - NEOW_paleologus_cornwall_motto:0 "Fe ddewch chi fel mellten." diff --git a/localization/english/replace/zz_NEOW_mottos_l_english.yml b/localization/english/replace/zz_NEOW_mottos_l_english.yml index 2817743bf..d9c69268f 100644 --- a/localization/english/replace/zz_NEOW_mottos_l_english.yml +++ b/localization/english/replace/zz_NEOW_mottos_l_english.yml @@ -30,6 +30,9 @@ dynn_pulya_motto:0 "Idleness — is a toy of Devil, so is." dynn_eidelsteinn_motoo:0 "Enough bearing this!" dynn_henriksen_motto:0 "All or nothing!" + dynn_fife_motto:0 "For the eternal glory of Dundee!" + dynn_thrax_motto:0 "A wizard did it." + NEOW_paleologus_cornwall_motto:0 "Fe ddewch chi fel mellten." motto_we_swear_by_x_theomach:0 "We Swear by $1$" motto_with_x_and_y_theomach:0 "With $1$ and $2$" diff --git a/localization/english/replace/zz_NEOW_titles_l_english.yml b/localization/english/replace/zz_NEOW_titles_l_english.yml index 873ed3028..a8956cc56 100644 --- a/localization/english/replace/zz_NEOW_titles_l_english.yml +++ b/localization/english/replace/zz_NEOW_titles_l_english.yml @@ -25619,6 +25619,8 @@ d_laamp_klepht_article: "Oi " d_laamp_last_of_blood: "Ýstatos tou Palaioú Aímatos" d_laamp_last_of_blood_article: "O " + d_laamp_keepers_of_the_celestial_flame: "Keepers of the Celestial Flame" + d_laamp_keepers_of_the_celestial_flame_article: "$DEFAULT_TITLE_NAME_ARTICLE$" #Special c_new_england: "New England" diff --git a/localization/english/replace/zz_NEOW_wars_l_english.yml b/localization/english/replace/zz_NEOW_wars_l_english.yml index 28342cd42..5a99d8d4e 100644 --- a/localization/english/replace/zz_NEOW_wars_l_english.yml +++ b/localization/english/replace/zz_NEOW_wars_l_english.yml @@ -4,4 +4,5 @@ ukraine_independence_war: "Ukrainian Rebellion" nistrenian_civil_war: "Nistrenian Civil War" lithuanian_crusade: "Lithuanian Crusade" sungazer_war: "Sungazer Restoration" -hungol_civil_war: "Hungarian Civil War" \ No newline at end of file +hungol_civil_war: "Hungarian Civil War" +dundee_war: "Epic War" \ No newline at end of file