-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
292 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,91 @@ | ||
|
||
types = { | ||
## type_key_filter <> ethic_categories | ||
type[ethos] = { | ||
path = "game/common/ethics" | ||
|
||
## type_key_filter = ethic_categories | ||
subtype[ethic_categories] = { | ||
} | ||
|
||
subtype[actual_ethics] = { | ||
category_value = int | ||
localisation = { | ||
## required | ||
Name = "$" | ||
## required | ||
Description = "$_desc" | ||
} | ||
} | ||
## type_key_filter = ethic_categories | ||
type[ethic_categories] = { | ||
path = "game/common/ethics" | ||
} | ||
} | ||
|
||
# TODO Confirm | ||
# TODO Document | ||
ethos = { | ||
subtype[ethic_categories] = { | ||
## cardinality = 0..100 | ||
scalar = {} | ||
} | ||
subtype[actual_ethics] = { | ||
cost = int | ||
|
||
#theoretically this should link to the ethic categories, not sure how to do that though (or whether it is worth it) | ||
category = scalar | ||
category_value = int[0..4] | ||
ethic_categories = { | ||
## cardinality = 0..100 | ||
scalar = {} | ||
} | ||
ethos = { | ||
cost = int | ||
|
||
## cardinality = 0..1 | ||
###Yes by default | ||
use_for_pops = bool | ||
#theoretically this should link to the ethic categories, not sure how to do that though (or whether it is worth it) | ||
category = scalar | ||
category_value = int[0..4] | ||
|
||
## cardinality = 0..1 | ||
category_opposite = bool | ||
## cardinality = 0..1 | ||
###Yes by default | ||
use_for_pops = bool | ||
|
||
## cardinality = 0..1 | ||
regular_variant = <ethos> | ||
## cardinality = 0..1 | ||
category_opposite = bool | ||
|
||
## cardinality = 0..1 | ||
fanatic_variant = <ethos> | ||
## cardinality = 0..1 | ||
regular_variant = <ethos> | ||
|
||
## cardinality = 0..1 | ||
###always = yes by default | ||
playable = { | ||
alias_name[trigger] = alias_match_left[trigger] | ||
} | ||
## cardinality = 0..1 | ||
fanatic_variant = <ethos> | ||
|
||
## replace_scope = { this = country root = country } | ||
country_modifier = { | ||
alias_name[modifier] = alias_match_left[modifier] | ||
} | ||
## cardinality = 0..1 | ||
###always = yes by default | ||
playable = { | ||
alias_name[trigger] = alias_match_left[trigger] | ||
} | ||
|
||
tags = { | ||
## cardinality = 0..inf | ||
localisation | ||
} | ||
## replace_scope = { this = country root = country } | ||
country_modifier = { | ||
alias_name[modifier] = alias_match_left[modifier] | ||
} | ||
|
||
random_weight = { | ||
value = int | ||
alias_name[modifier_rule] = alias_match_left[modifier_rule] | ||
} | ||
tags = { | ||
## cardinality = 0..inf | ||
localisation | ||
} | ||
|
||
## cardinality = 0..100 | ||
pop_attraction_tag = { | ||
desc = localisation | ||
## replace_scope = { root = country this = country } | ||
###Scope = country | ||
trigger = { | ||
alias_name[trigger] = alias_match_left[trigger] | ||
} | ||
} | ||
random_weight = { | ||
value = int | ||
alias_name[modifier_rule] = alias_match_left[modifier_rule] | ||
} | ||
|
||
## cardinality = 0..1 | ||
###Root = country | ||
## cardinality = 0..100 | ||
pop_attraction_tag = { | ||
desc = localisation | ||
## replace_scope = { root = country this = country } | ||
country_attraction = { | ||
value = float | ||
alias_name[modifier_rule] = alias_match_left[modifier_rule] | ||
} | ||
## cardinality = 0..1 | ||
###Root = pop, from = planet | ||
## replace_scope = { root = pop this = pop from = planet } | ||
pop_attraction = { | ||
value = float | ||
alias_name[modifier_rule] = alias_match_left[modifier_rule] | ||
###Scope = country | ||
trigger = { | ||
alias_name[trigger] = alias_match_left[trigger] | ||
} | ||
} | ||
|
||
## cardinality = 0..1 | ||
###Root = country | ||
## replace_scope = { root = country this = country } | ||
country_attraction = { | ||
value = float | ||
alias_name[modifier_rule] = alias_match_left[modifier_rule] | ||
} | ||
## cardinality = 0..1 | ||
###Root = pop, from = planet | ||
## replace_scope = { root = pop this = pop from = planet } | ||
pop_attraction = { | ||
value = float | ||
alias_name[modifier_rule] = alias_match_left[modifier_rule] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.