Import RMFRP tables + properly rename all files

This commit is contained in:
2024-08-15 22:52:36 +02:00
parent fe36edfeff
commit 45ee08e6c2
17 changed files with 92 additions and 47 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
import { RFRPUtility } from "../../rfrp-utility.js";
import { RMFRPUtility } from "../../rmfrp-utility.js";
export default class RMFRPToolsSCImporter extends FormApplication {
@ -50,7 +50,7 @@ export default class RMFRPToolsSCImporter extends FormApplication {
console.log("Importing New Skills/Skill Categories.");
let newDocuments = [];
let gameSystem = RFRPUtility.getGameSystem();
let gameSystem = RMFRPUtility.getGameSystem();
for (const sc of skillCategoryData) {
const newitem = await pack.getDocument(sc._id);
if (newitem.type === itemType && (newitem.system.game_system === "common" || newitem.system.game_system === gameSystem)) {