N3OW/common/religion/rite_names/_rite_names.info
2026-09-30 22:06:15 +02:00

31 lines
1.2 KiB
Text

########################
# Rite Creation Names
########################
# When making a new dynamic (non-scripted) rite, its name will be picked from here if possible.
#
# The logic works like this:
# 1. Find an unused name from here if there is one whose trigger we meet
# 2. Go through d_dynamic_rite_<number> until we find one that's unused
# 3. Use the last d_dynamic_rite_<number> if we were unable to find anything
# There can be up to 1000 d_dynamic_rite_<number> names (from 0 to 999 included) as long as there's no gaps.
#
# Checking if a name is in used is purely based on the localized name; the other fields are derived from the name key.
#
# IMPORTANT NOTE
# Rite, Founder and Faith scopes are available when localizing the dynamic names. Only use the provided Rite to check for e.g.
# Tenets and Doctrines, and DO NOT rely on Rite.GetName - you'll get either empty strings or the founder's old rite as a result.
#
key = {
# Optional. Defaults to <key>_name.
name = dynamic_desc
# Checks if this name can be used with this Rite.
# * root: the Rite being created
# * scope:founder Founder of the Rite
# * scope:faith the parent Faith
#
trigger = {
...
}
}