Finishing the Sync sheet and some other stuffs
This commit is contained in:
parent
a28718b115
commit
554fae5a93
26 changed files with 494 additions and 105 deletions
25
module/settings/world_settings.mjs
Normal file
25
module/settings/world_settings.mjs
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
export default function() {
|
||||
game.settings.register(`dotdungeon`, `playersCanChangeGroup`, {
|
||||
name: `dotdungeon.settings.playersCanChangeGroup.name`,
|
||||
hint: `dotdungeon.settings.playersCanChangeGroup.description`,
|
||||
scope: `world`,
|
||||
config: true,
|
||||
type: Boolean,
|
||||
default: false,
|
||||
requiresReload: false,
|
||||
});
|
||||
|
||||
game.settings.register(`dotdungeon`, `resourcesOrSupplies`, {
|
||||
name: `dotdungeon.settings.resourcesOrSupplies.name`,
|
||||
hint: `dotdungeon.settings.resourcesOrSupplies.description`,
|
||||
scope: `world`,
|
||||
config: true,
|
||||
type: String,
|
||||
choices: {
|
||||
"supplies": "dotdungeon.settings.resourcesOrSupplies.option.supplies",
|
||||
"resources": "dotdungeon.settings.resourcesOrSupplies.option.resources"
|
||||
},
|
||||
default: "resources",
|
||||
requiresReload: false,
|
||||
});
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue