31 lines
1.3 KiB
Text
31 lines
1.3 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 (rite_no_name if there are none)
|
|
# 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, Character (the founder) and Faith scopes are available when localizing the dynamic names (Rite is not provided for the name uniqueness check). 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. Base localization key for the name. Defaults to <key>.
|
|
name = loc_key
|
|
|
|
# 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 = {
|
|
...
|
|
}
|
|
}
|