Files
foundry-Slamother/module/settings.js
T
Martin Jencka 89521a1371 'Roll Stat' Macro + Size Adjustments 0.1.2
-Added 'Roll Stat' Macro
-Adjusted sizing on inventory tabs.
2020-11-25 21:57:41 -07:00

25 lines
861 B
JavaScript

export const registerSettings = function () {
game.settings.register('mosh', 'useCalm', {
name: "Use Calm?",
hint: "Uses the traaa.sh Calm system instead of Stress.",
default: false,
scope: 'world',
type: Boolean,
config: true,
onChange: value => { // A callback function which triggers when the setting is changed
console.log("useCalm set to " + value)
}
});
game.settings.register('mosh', 'hideWeight', {
name: "Hide Weight",
hint: "Hide weight in the items list for players and ships?",
default: false,
scope: 'world',
type: Boolean,
config: true,
onChange: value => { // A callback function which triggers when the setting is changed
console.log("hideWeight set to " + value)
}
});
};