v12 support

This commit is contained in:
2024-07-26 12:51:32 +02:00
parent 3aab5959fb
commit 193c097882
20 changed files with 133 additions and 127 deletions

View File

@@ -3,17 +3,17 @@ export default class RMSSArmorSheet extends ItemSheet {
// Set the height and width
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
return foundry.utils.mergeObject(super.defaultOptions, {
width: 530,
height: 440,
template: "systems/rmss/templates/sheets/items/rmss-armor-sheet.html",
template: "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-armor-sheet.html",
classes: ["rmss", "sheet", "item"]
});
}
// If our sheet is called here it is.
get template() {
return "systems/rmss/templates/sheets/items/rmss-armor-sheet.html";
return "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-armor-sheet.html";
}
// Make the data available to the sheet template

View File

@@ -3,17 +3,17 @@ export default class RMSSHerbAndPoisonSheet extends ItemSheet {
// Set the height and width
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
return foundry.utils.mergeObject(super.defaultOptions, {
width: 530,
height: 440,
template: "systems/rmss/templates/sheets/items/rmss-herb-or-poison-sheet.html",
template: "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-herb-or-poison-sheet.html",
classes: ["rmss", "sheet", "item"]
});
}
// If our sheet is called here it is.
get template() {
return "systems/rmss/templates/sheets/items/rmss-herb-or-poison-sheet.html";
return "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-herb-or-poison-sheet.html";
}
// Make the data available to the sheet template

View File

@@ -3,17 +3,17 @@ export default class RMSSItemSheet extends ItemSheet {
// Set the height and width
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
return foundry.utils.mergeObject(super.defaultOptions, {
width: 530,
height: 440,
template: "systems/rmss/templates/sheets/items/rmss-item-sheet.html",
template: "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-item-sheet.html",
classes: ["rmss", "sheet", "item"]
});
}
// If our sheet is called here it is.
get template() {
return "systems/rmss/templates/sheets/items/rmss-item-sheet.html";
return "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-item-sheet.html";
}
// Make the data available to the sheet template

View File

@@ -3,17 +3,17 @@ export default class RMSSTransportSheet extends ItemSheet {
// Set the height and width
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
return foundry.utils.mergeObject(super.defaultOptions, {
width: 530,
height: 440,
template: "systems/rmss/templates/sheets/items/rmss-transport-sheet.html",
template: "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-transport-sheet.html",
classes: ["rmss", "sheet", "item"]
});
}
// If our sheet is called here it is.
get template() {
return "systems/rmss/templates/sheets/items/rmss-transport-sheet.html";
return "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-transport-sheet.html";
}
// Make the data available to the sheet template

View File

@@ -3,17 +3,17 @@ export default class RMSSWeaponSheet extends ItemSheet {
// Set the height and width
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
return foundry.utils.mergeObject(super.defaultOptions, {
width: 530,
height: 440,
template: "systems/rmss/templates/sheets/items/rmss-weapon-sheet.html",
template: "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-weapon-sheet.html",
classes: ["rmss", "sheet", "item"]
});
}
// If our sheet is called here it is.
get template() {
return "systems/rmss/templates/sheets/items/rmss-weapon-sheet.html";
return "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-weapon-sheet.html";
}
// Make the data available to the sheet template