Import RMFRP tables + properly rename all files

This commit is contained in:
2024-08-15 22:25:07 +02:00
parent aad90144fe
commit fe36edfeff
110 changed files with 158657 additions and 462 deletions

View File

@ -1,18 +1,18 @@
// Our Item Sheet extends the default
export default class RMSSSpellSheet extends ItemSheet {
export default class RMFRPSpellSheet extends ItemSheet {
// Set the height and width
static get defaultOptions() {
return foundry.utils.mergeObject(super.defaultOptions, {
width: 530,
height: 440,
classes: ["rmss", "sheet", "item"]
classes: ["rmfrp", "sheet", "item"]
});
}
// If our sheet is called here it is.
get template() {
return "systems/fvtt-rolemaster-frp/templates/sheets/spells/rmss-spell-sheet.html";
return "systems/fvtt-rolemaster-frp/templates/sheets/spells/rmfrp-spell-sheet.html";
}
// Make the data available to the sheet template
@ -26,7 +26,7 @@ export default class RMSSSpellSheet extends ItemSheet {
editable: this.isEditable,
item: baseData.item,
system: baseData.item.system,
config: CONFIG.rmss,
config: CONFIG.rmfrp,
enrichedDescription: enrichedDescription
};