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,19 +1,19 @@
// Our Item Sheet extends the default
export default class RMSSWeaponSheet extends ItemSheet {
export default class RMFRPArmorSheet extends ItemSheet {
// Set the height and width
static get defaultOptions() {
return foundry.utils.mergeObject(super.defaultOptions, {
width: 530,
height: 440,
template: "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-weapon-sheet.html",
classes: ["rmss", "sheet", "item"]
template: "systems/fvtt-rolemaster-frp/templates/sheets/items/rmfrp-armor-sheet.html",
classes: ["rmfrp", "sheet", "item"]
});
}
// If our sheet is called here it is.
get template() {
return "systems/fvtt-rolemaster-frp/templates/sheets/items/rmss-weapon-sheet.html";
return "systems/fvtt-rolemaster-frp/templates/sheets/items/rmfrp-armor-sheet.html";
}
// Make the data available to the sheet template
@@ -27,7 +27,7 @@ export default class RMSSWeaponSheet extends ItemSheet {
editable: this.isEditable,
item: baseData.item,
system: baseData.item.system,
config: CONFIG.rmss,
config: CONFIG.rmfrp,
enrichedDescription: enrichedDescription
};

View File

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

View File

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

View File

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

View File

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