Skip to content

Commit

Permalink
Merge pull request #187 from Kaiserreich/master
Browse files Browse the repository at this point in the history
Peace conference triggers hotfix
  • Loading branch information
Pelmen323 authored Apr 26, 2024
2 parents 1a06f25 + 004d868 commit e71c4d6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 22 deletions.
1 change: 1 addition & 0 deletions Config/common/consolidated_ai.cwt
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ ai_equipment_design_group = {
type = value[nsb_armor_variants]
type = value[bba_air_variants]
type = enum[md_unique_dupe_archetypes] # TODO: Remove this once we have system for creating custom duplicate archetype things
type = enum[equipment_bonus_type]

### The matching requirements on individual module slots.
## cardinality = 0..1
Expand Down
40 changes: 18 additions & 22 deletions Config/common/peace_conference.cwt
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ peace_ai_desires = {
enable = {
## cardinality 0..inf
alias_name[trigger] = alias_match_left[trigger]
## cardinality 0..inf
alias_name[pc_trigger] = alias_match_left[pc_trigger]
}
ai_desire = int
}
Expand All @@ -68,8 +66,6 @@ peace_action_modifiers = {
enable = {
## cardinality 0..inf
alias_name[trigger] = alias_match_left[trigger]
## cardinality 0..inf
alias_name[pc_trigger] = alias_match_left[pc_trigger]
}
cost_multiplier = float[0..inf]
}
Expand All @@ -87,68 +83,68 @@ enums = {

### Checks if country is a winner in peace conference
## scope = country
alias[pc_trigger:pc_is_winner] = bool
alias[trigger:pc_is_winner] = bool

### Checks if the current scope is on the winning side within the peace conference.
## scope = country
alias[pc_trigger:pc_is_on_winning_side] = bool
alias[trigger:pc_is_on_winning_side] = bool

### Checks if country is a loser in peace conference
## scope = country
alias[pc_trigger:pc_is_loser] = bool
alias[trigger:pc_is_loser] = bool

### Checks if the current scope is an untouched loser within the peace conference.
## scope = country
alias[pc_trigger:c_is_untouched_loser] = bool
alias[trigger:c_is_untouched_loser] = bool

### Checks if the current scope is on the same side of the peace conference as the specified country.
## scope = country
alias[pc_trigger:pc_is_on_same_side_as] = enum[country_tags]
alias[trigger:pc_is_on_same_side_as] = enum[country_tags]
### Checks if the current scope is on the same side of the peace conference as the specified country.
## scope = country
alias[pc_trigger:pc_is_on_same_side_as] = scope[country]
alias[trigger:pc_is_on_same_side_as] = scope[country]

### Checks if the current scope has been liberated within the peace conference.
## scope = country
alias[pc_trigger:pc_is_liberated] = bool
alias[trigger:pc_is_liberated] = bool

### Checks if the current scope has been liberated within the peace conference by the specified country.
## scope = country
alias[pc_trigger:pc_is_liberated_by] = enum[country_tags]
alias[trigger:pc_is_liberated_by] = enum[country_tags]
### Checks if the current scope has been liberated within the peace conference by the specified country.
## scope = country
alias[pc_trigger:pc_is_liberated_by] = scope[country]
alias[trigger:pc_is_liberated_by] = scope[country]

### Checks if the current scope has been puppeted within the peace conference.
## scope = country
alias[pc_trigger:pc_is_puppeted] = bool
alias[trigger:pc_is_puppeted] = bool

### Checks if the current scope has been puppeted within the peace conference by the specified country.
## scope = country
alias[pc_trigger:pc_is_puppeted_by] = enum[country_tags]
alias[trigger:pc_is_puppeted_by] = enum[country_tags]
### Checks if the current scope has been puppeted within the peace conference by the specified country.
## scope = country
alias[pc_trigger:pc_is_puppeted_by] = scope[country]
alias[trigger:pc_is_puppeted_by] = scope[country]

### Checks if the current scope has had an enforced government change within the peace conference.
## scope = country
alias[pc_trigger:pc_is_forced_government] = bool
alias[trigger:pc_is_forced_government] = bool

### Checks if the current scope has had an enforced government change within the peace conference demanded by the specified country.
## scope = country
alias[pc_trigger:pc_is_forced_government_by] = enum[country_tags]
alias[trigger:pc_is_forced_government_by] = enum[country_tags]
### Checks if the current scope has had an enforced government change within the peace conference demanded by the specified country.
## scope = country
alias[pc_trigger:pc_is_forced_government_by] = scope[country]
alias[trigger:pc_is_forced_government_by] = scope[country]

### Checks if the current scope has had an enforced government change to the specified ideology group.
## scope = country
alias[pc_trigger:pc_is_forced_government_to] = <ideology>
alias[trigger:pc_is_forced_government_to] = <ideology>

### Checks if the current scope has the specified amount in total score within the peace conference. Can only be used for the winning countries. 1.12
## scope = country
alias[pc_trigger:pc_total_score] = int
alias[trigger:pc_total_score] = int

### Checks if the current scope has the specified amount in current score within the peace conference.
## scope = country
alias[pc_trigger:pc_current_score] = int
alias[trigger:pc_current_score] = int

0 comments on commit e71c4d6

Please sign in to comment.