Skip to content

[CK3] Title parsing #149

Description

@robmart

CK3 titles are structured like this

e_<empire_name> = {
	k_<kingdom_name> = {
		d_<duchy_name> = {
			c_<county_name> = {
				b_<barony_name> = {
				}
			}
		}
	}
}

However... Any title tier can be the root, and none of the of the tiers are required. The only requirement is that a title can only be the root or inside a higher tier title, which means that

k_<kingdom_name> = {
	d_<duchy_name> = {
		b_<barony_name> = {
		}
	}
}
e_<empire_name> = {
	d_<duchy_name> = {
		b_<barony_name> = {
		}
	}
}

are a valid definitions, though

e_<empire_name> = {
	e_<empire_name> = {
		d_<duchy_name> = {
			c_<county_name> = {
				b_<barony_name> = {
				}
			}
		}
	}
}

is invalid.

As far as I know there is no way to accurately represent this in configs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

config-systemInvolves the plugin's config systemenhancementNew feature or requestlanguage-constructsSupport for various language constructs (e.g., complex expressions)questionFurther information is requested

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions