-
Notifications
You must be signed in to change notification settings - Fork 4
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
0 parents
commit a2ef3f7
Showing
2 changed files
with
78 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# cwtools-eu4-config | ||
.cwt config files for Europa Universalis IV | ||
|
||
To use these copy the contents of this repository and place it in a folder called `.cwtools` in the folder you open in vscode. E.g. if your mod is located at `Europa Universalis IV\mod\my_mod`, you would extract this folder into `Europa Universalis IV\mod\my_mod\.cwtools`. | ||
|
||
See https://github.com/tboby/cwtools/wiki/.cwt-config-file-guidance for guidance on the file format | ||
|
||
### Contributing | ||
If you'd like to contribute, press the pen icon on any file, then press "Create a new branch for this commit and start a pull request". You can then make further changes as a "pull request". When done, mention it in the pull request and your changes will be included. |
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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
enums = { | ||
complex_enum[artifact_slot] = { | ||
path = "game/common/artifacts" | ||
start_from_root = yes | ||
name = { | ||
slots = { | ||
enum_name = scalar | ||
} | ||
} | ||
} | ||
} | ||
|
||
types = { | ||
type[artifact] = { | ||
path = "game/common/artifact" | ||
localisation = { | ||
name = "$" | ||
description = "$_desc" | ||
} | ||
} | ||
} | ||
|
||
artifact = { | ||
## cardinality = 0..inf | ||
### Modifiers the artifact applies to its owner. | ||
alias_name[modifier] = alias_match_left[modifier] | ||
|
||
## cardinality = 0..1 | ||
### The artifact's quality. Vanilla uses 1-5. | ||
quality = int | ||
|
||
## cardinality = 0..1 | ||
## replace_scope = { this = character root = character } | ||
### Conditions for the artifact to be active. Unowned artifacts are active only if they don't have this block. | ||
active = { | ||
## cardinality = 0..inf | ||
alias_name[trigger] = alias_match_left[trigger] | ||
} | ||
|
||
## cardinality = 0..1 | ||
### Flags automatically assigned to each created artifact of this type. | ||
flags = { | ||
## cardinality = 0..inf | ||
set_value[artifact_flag] | ||
} | ||
|
||
## cardinality = 0..1 | ||
### If no, can only have a single artifact of this type in a character's inventory. Defaults to "yes". | ||
stacking = bool | ||
|
||
## cardinality = 0..1 | ||
### If yes, destroy_artifact has no effect on this artifact. Defaults to "no". | ||
indestructible = bool | ||
|
||
### 118x118px picture; also uses this value plus "_small" (59x59px) | ||
picture = value[gfx_resource] | ||
|
||
## cardinality = 0..1 | ||
### Associated slot to equip the artifact. | ||
slot = value[artifact_slot] | ||
|
||
## cardinality = 0..1 | ||
## replace_scope = { this = character root = character } | ||
### Conditions for the artifact_can_be_gifted_to trigger. | ||
allowed_gift = { | ||
## cardinality = 0..inf | ||
alias_name[trigger] = alias_match_left[trigger] | ||
} | ||
} |