-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsettings.js
More file actions
78 lines (69 loc) · 2.84 KB
/
Copy pathsettings.js
File metadata and controls
78 lines (69 loc) · 2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import { i18n } from "./monks-pf2e-encounter-aftermath.js";
export const registerSettings = function () {
// Register any custom module settings here
let modulename = "monks-pf2e-encounter-aftermath";
game.settings.register(modulename, "show-after-combat", {
name: i18n("monks-pf2e-encounter-aftermath.settings.show-after-combat.name"),
hint: i18n("monks-pf2e-encounter-aftermath.settings.show-after-combat.hint"),
scope: "world",
config: true,
default: true,
type: Boolean,
});
game.settings.register(modulename, "clear-after-combat", {
name: i18n("monks-pf2e-encounter-aftermath.settings.clear-after-combat.name"),
hint: i18n("monks-pf2e-encounter-aftermath.settings.clear-after-combat.hint"),
scope: "world",
config: true,
default: true,
type: Boolean,
});
game.settings.register(modulename, "open-after-combat", {
name: i18n("monks-pf2e-encounter-aftermath.settings.open-after-combat.name"),
hint: i18n("monks-pf2e-encounter-aftermath.settings.open-after-combat.hint"),
scope: "client",
config: true,
default: true,
type: Boolean,
});
game.settings.register(modulename, "notification-on-advance", {
name: i18n("monks-pf2e-encounter-aftermath.settings.notification-on-advance.name"),
hint: i18n("monks-pf2e-encounter-aftermath.settings.notification-on-advance.hint"),
scope: "client",
config: true,
default: true,
type: Boolean,
});
game.settings.register(modulename, "track-previous", {
name: i18n("monks-pf2e-encounter-aftermath.settings.track-previous.name"),
hint: i18n("monks-pf2e-encounter-aftermath.settings.track-previous.hint"),
scope: "client",
config: true,
default: true,
type: Boolean,
});
game.settings.register(modulename, "auto-increase-interval", {
name: i18n("monks-pf2e-encounter-aftermath.settings.auto-increase-interval.name"),
hint: i18n("monks-pf2e-encounter-aftermath.settings.auto-increase-interval.hint"),
scope: "client",
config: true,
default: true,
type: Boolean,
});
game.settings.register(modulename, "chat-summary", {
name: i18n("monks-pf2e-encounter-aftermath.settings.chat-summary.name"),
hint: i18n("monks-pf2e-encounter-aftermath.settings.chat-summary.hint"),
scope: "world",
config: true,
default: false,
type: Boolean,
});
game.settings.register(modulename, "resolve-whisper", {
name: i18n("monks-pf2e-encounter-aftermath.settings.resolve-whisper.name"),
hint: i18n("monks-pf2e-encounter-aftermath.settings.resolve-whisper.hint"),
scope: "client",
config: true,
default: false,
type: Boolean,
});
}