#Childhood childhood_personality_age = 3 childhood_education_start_age = 6 adulthood_start_age = 16 age_plus_1 = { value = age add = 1 } age_plus_3 = { value = age add = 3 } age_plus_5 = { value = age add = 5 } age_plus_10 = { value = age add = 10 } age_plus_25 = { value = age add = 25 } age_minus_1 = { value = age subtract = 1 } age_minus_3 = { value = age subtract = 3 } age_minus_5 = { value = age subtract = 5 } age_minus_10 = { value = age subtract = 10 } age_minus_25 = { value = age subtract = 25 } age_dif_child_up = { value = age multiply = 1.4 } age_dif_child_down = { value = age divide = 1.2 } age_dif_child_up_friend = { value = age multiply = 1.3 } age_dif_child_down_friend = { value = age divide = 1.3 } years_to_adulthood = { value = adulthood_start_age subtract = age min = 0 } less_than_two_years_to_adulthood_value = { value = adulthood_start_age subtract = 2 } # Calculates the difference between the current scope and scope:comparator, with greater age difference resulting in lower negative numbers. Made to use with ordered lists to find characters close in age. age_difference = { value = age subtract = scope:comparator.age abs = yes multiply = -1 } grand_wedding_timeout = { value = 3 #please update GRAND_WEDDING_PROMISE_INFO loc if this changes if = { limit = { scope:spouse_1.age <= scope:spouse_2.age } add = scope:spouse_1.years_to_adulthood } else = { add = scope:spouse_2.years_to_adulthood } } grand_wedding_timeout_alt = { value = 3 #please update GRAND_WEDDING_PROMISE_INFO loc if this changes if = { limit = { scope:temp_marriage_scope.age <= scope:temp_marriage_scope.betrothed.age } add = scope:temp_marriage_scope.years_to_adulthood } else = { add = scope:temp_marriage_scope.betrothed.years_to_adulthood } } grand_wedding_timeout_notification = { value = grand_wedding_timeout multiply = 365 subtract = 1 } grand_wedding_timeout_notification_alt = { value = grand_wedding_timeout_alt multiply = 365 subtract = 1 }