Using foundry's monkeypatched slugify instead

This commit is contained in:
WBHarry 2026-05-20 22:47:34 +02:00
parent ed53d9ed4c
commit d5da36a1e1
2 changed files with 3 additions and 8 deletions

View file

@ -453,10 +453,6 @@ export async function createEmbeddedItemsWithEffects(actor, baseData) {
await actor.createEmbeddedDocuments('Item', effectData);
}
export const slugify = name => {
return name.toLowerCase().replaceAll(' ', '-').replaceAll('.', '');
};
export function shuffleArray(array) {
let currentIndex = array.length;
while (currentIndex != 0) {