added setting options for chaning sheet background
This commit is contained in:
+23
-6
@@ -6,14 +6,31 @@ export const registerSystemSettings = function() {
|
||||
config: true, // This specifies that the setting appears in the configuration view
|
||||
type: String,
|
||||
choices: { // If choices are defined, the resulting setting will be a select menu
|
||||
"TypeWriterCondensed": "Condensed Typewriter",
|
||||
"atwriter": "Another Typewriter",
|
||||
"Martel": "Martel",
|
||||
"Signika": "Signika"
|
||||
"TypeWriterCondensed": "Condensed Typewriter (Modern, small typewriter font)",
|
||||
"atwriter": "Another Typewriter (Older-style typewriter font)",
|
||||
"Martel": "Martel (Delta Green system default)",
|
||||
"Signika": "Signika (Foundry Default Font)"
|
||||
},
|
||||
default: "TypeWriterCondensed", // The default value for the setting
|
||||
default: "Martel", // The default value for the setting
|
||||
onChange: value => { // A callback function which triggers when the setting is changed
|
||||
console.log(value)
|
||||
//console.log(value)
|
||||
}
|
||||
});
|
||||
|
||||
game.settings.register('deltagreen', 'characterSheetBackgroundImageSetting', {
|
||||
name: "World Sheet Background Image",
|
||||
hint: "Choose background image for use throughout this world. (Refresh page to see change.)",
|
||||
scope: "world", // This specifies a world-stored setting
|
||||
config: true, // This specifies that the setting appears in the configuration view
|
||||
type: String,
|
||||
choices: { // If choices are defined, the resulting setting will be a select menu
|
||||
"DefaultParchment": "Default Parchment",
|
||||
"OldPaper1": "Old Dirty Paper",
|
||||
"IvoryPaper": "Ivory White Paper"
|
||||
},
|
||||
default: "IvoryPaper", // The default value for the setting
|
||||
onChange: value => { // A callback function which triggers when the setting is changed
|
||||
//console.log(value)
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user