Add ability to let players who own a document edit the attributes for it via the UI

This commit is contained in:
Oliver-Akins 2025-06-29 15:56:03 -06:00
parent 0cc202e48d
commit e1f173dde7
4 changed files with 40 additions and 10 deletions

12
module/settings/world.mjs Normal file
View file

@ -0,0 +1,12 @@
import { __ID__ } from "../consts.mjs";
export function registerWorldSettings() {
game.settings.register(__ID__, `canPlayersManageAttributes`, {
name: `taf.settings.canPlayersManageAttributes.name`,
hint: `taf.settings.canPlayersManageAttributes.hint`,
config: true,
type: Boolean,
default: false,
scope: `world`,
});
};