Untitled
unknown
plain_text
a year ago
1.0 kB
13
Indexable
set_name_from_father = {
scope:newborn = {
father = { employer = { create_family = prev } } # the father becomes a major character temporary
father = { add_to_list = minor_family_list }
set_family = father.family # the daughter becomes part of the same temporary family
adapt_family_name = yes # the daughter gets her Name from the gentile Name like Julia if the father is Julius
add_to_list = minor_family_list
every_sibling = { # in case of twins
limit = { age < 1 this.father = scope:newborn.father }
set_family = father.family
adapt_family_name = yes
add_to_list = minor_family_list
}
set_variable = {
name = temp_family
value = father.family
}
every_in_list = {
list = minor_family_list
set_as_minor_character = THIS
remove_from_list = minor_family_list
}
if = {
limit = { var:temp_family = { num_of_members = 0 } }
var:temp_family = {
remove_family = employer
}
}
}
}
Editor is loading...
Leave a Comment