Skip to content

Commit

Permalink
fix: Added setting for naming advantage/disadvantage. But, mostly to …
Browse files Browse the repository at this point in the history
…force a rerelease now that npmjs.com is supposedly up again.
  • Loading branch information
xdy committed Aug 6, 2020
1 parent 163e692 commit 407803c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/module/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,22 @@ export const registerSettings = function ():void {
type: Number,
});

game.settings.register('twodsix', 'termForAdvantage', {
name: 'What you want to call rolls with advantage (3d6kh2).',
hint: "Don't use the same as for termForDisadvantage. :) Not currently used.",
scope: 'world',
config: true,
default: 'advantage',
});

game.settings.register('twodsix', 'termForDisadvantage', {
name: 'What you want to call rolls with disadvantage (3d6kl2).',
hint: "Don't use the same as for termForAdvantage. :) Not currently used.",
scope: 'world',
config: true,
default: 'disadvantage',
});

//TODO Tons of settings to come. Skill-list to use, assorted rules that differ between different 2d6 rules sets (CE, CE FTL, etc)

}

0 comments on commit 407803c

Please sign in to comment.