Skip to content

Commit

Permalink
A fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre du Plessis committed Jan 9, 2019
1 parent a041727 commit 4a2febd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions effects.cwt
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,14 @@ alias[effect:add_dip_power] = int
alias[effect:add_mil_power] = int

## scope = country
###Saves a name to an unique key for usage in other effects. Usable with define_admiral, define_explorer, define_conquistador, define_general, define_ruler, define_consort, define_heir, define_advisor and spawn_rebels.
###Saves a name to an unique key for usage in other effects. Usable with define_admiral, define_explorer, define_conquistador, define_general, define_ruler, define_consort, define_heir, define_advisor and spawn_rebels. Note: Does not work with country tags as scope, also type = simple does not work with spawn_rebels.
alias[effect:set_saved_name] = {
key = value_set[saved_name]
type = advisor
type = simple
## cardinality = 0..1
###Only with type = advisor
scope = scope[country]
## cardinality = 0..1
###Only with type = advisor
scope = enum[country_tags]

## cardinality = 0..1
name = scalar
Expand Down

0 comments on commit 4a2febd

Please sign in to comment.