generated from League-of-Foundry-Developers/FoundryVTT-Module-Template
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SWADE and treat attributes as numbers
- Loading branch information
Showing
10 changed files
with
56 additions
and
20 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export default { | ||
// The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. | ||
"ACTOR_CLASS_TYPE": "character", | ||
|
||
// The item quantity attribute is the path to the attribute on items that denote how many of that item that exists | ||
"ITEM_QUANTITY_ATTRIBUTE": "data.quantity", | ||
|
||
// Item types and the filters actively remove items from the item pile inventory UI that users cannot loot, such as spells, feats, and classes | ||
"ITEM_TYPE_ATTRIBUTE": "type", | ||
"ITEM_TYPE_FILTERS": "edge,hindrance,skill,power,ability", | ||
|
||
// Dynamic attributes are things like currencies or transferable powers that exist as editable number fields on character sheets | ||
"DYNAMIC_ATTRIBUTES": [ | ||
{ | ||
name: "SWADE.Currency", | ||
path: "data.details.currency", | ||
img: "icons/svg/coins.svg" | ||
} | ||
] | ||
} |