-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcreate_title_effects.cwt
46 lines (44 loc) · 1.8 KB
/
create_title_effects.cwt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# TODO: Docs, figure cardinality out
## scope = title
### Creates a dynamic title with specified parameters. Landless dynamic titles require a landed home province to both hold prisoners and to act as a fallback if the title gets destroyed. This command should be run from the home province scope, otherwise the whole court will end up stuck in province 0 when the holder dies.
alias[effect:create_title] = {
tier = enum[title_tiers]
landless = bool
enum[create_title_effects_temporary_adventurer] = bool
rebel = bool
culture = <culture>
name = localisation
holder = scope[character]
base_title = scope[title]
custom_created = bool
copy_title_laws = bool
ruler = localisation
ruler_female = localisation
foa = localisation
nomad = bool
short_name = bool
}
## scope = title
### Creates a dynamic mercenary title with specified parameters. Landless dynamic titles require a landed home province to both hold prisoners and to act as a fallback if the title gets destroyed. This command should be run from the home province scope, otherwise the whole court will end up stuck in province 0 when the holder dies.
alias[effect:create_title] = {
tier = DUKE
mercenary = yes
landless = bool
enum[create_title_effects_temporary_adventurer] = bool
rebel = bool
culture = <culture>
name = localisation
holder = scope[character]
base_title = scope[title]
custom_created = bool
copy_title_laws = bool
ruler = localisation
ruler_female = localisation
foa = localisation
nomad = bool
short_name = bool
replace_captain_on_death = bool
### Percentage of income given to creator for dynamic mercenary titles
siphons_income_to_creator = float
army_template = <mercenary_type>
}