Skip to content

Commit

Permalink
Few more from user feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tboby committed Apr 23, 2019
1 parent 7c1d493 commit e44ceca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/common/new/jobs_and_social_strata.cwt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ job = {
can_set_priority = bool
## cardinality = 0..1
is_pre_sapient = bool
## cardinality = 0..1
purge = enum[purge_types]

possible = {
alias_name[trigger] = alias_match_left[trigger]
Expand Down Expand Up @@ -101,7 +103,7 @@ job = {
## push_scope = pop
social_strata = {
rank = int

## cardinality = 0..1
clothes_texture_index = int

Expand Down
3 changes: 3 additions & 0 deletions config/common/species_consolidated.cwt
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ species_rights = {
## replace_scope = { this = pop root = pop }
pop_modifier = {
alias_name[modifier] = alias_match_left[modifier]
## cardinality = 0..1
custom_tooltip = localisation
}

## cardinality = 0..1
Expand All @@ -226,6 +228,7 @@ species_rights = {
alias_name[trigger] = alias_match_left[trigger]
}

## cardinality = 0..1
## replace_scope = { this = species root = species from = country }
allow = {
alias_name[trigger] = alias_match_left[trigger]
Expand Down
5 changes: 4 additions & 1 deletion config/triggers.cwt
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,10 @@ alias[trigger:has_casus_belli] = {
}

### Checks if the pop is prevented from migrating
alias[trigger:has_colonization_control] = bool
alias[trigger:has_colonization_control] = {
value = bool
country = scope[country]
}

### Checks the planet's progress towards completing colonization
alias[trigger:has_colony_progress] = int
Expand Down

0 comments on commit e44ceca

Please sign in to comment.