Added preset decks
This commit is contained in:
parent
f96935d85d
commit
0c07c5590c
13
hench.mjs
13
hench.mjs
@ -64,6 +64,19 @@ Hooks.once("init", () => {
|
||||
};
|
||||
CONFIG.Cards.documentClass = HenchCards;
|
||||
|
||||
CONFIG.Cards.presets = {
|
||||
henchDark: {
|
||||
label: 'CARDS.HenchPresetDark',
|
||||
src: 'systems/hench/presets/dark.json',
|
||||
type: 'deck',
|
||||
},
|
||||
henchLight: {
|
||||
label: 'CARDS.HenchPresetLight',
|
||||
src: 'systems/hench/presets/light.json',
|
||||
type: 'deck',
|
||||
}
|
||||
};
|
||||
|
||||
// ABSOLUTE FUCKING CLUDGE:
|
||||
// For some reason, the Card embedded doc in Cards is filed under "cards" and not "Card",
|
||||
// And/or the lookup to create embedded documents is fucked beyond belief.
|
||||
|
1038
presets/dark.json
Normal file
1038
presets/dark.json
Normal file
File diff suppressed because it is too large
Load Diff
1038
presets/light.json
Normal file
1038
presets/light.json
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user