diff --git a/src/module/utils/rolls/rollEngine.mjs b/src/module/utils/rolls/rollEngine.mjs index 8a80bc32..00546e98 100644 --- a/src/module/utils/rolls/rollEngine.mjs +++ b/src/module/utils/rolls/rollEngine.mjs @@ -10,7 +10,7 @@ export async function rollAttributeForActor(actor, attribute, modifier, mode = f let resultRoll = result.results[0] let success = attribute.wert >= resultRoll - let message = await foundry.applications.handlebars.renderTemplate("templates/chatMessage/attributeCheckMessage.hbs", { + let message = await foundry.applications.handlebars.renderTemplate("templates/chat-messages/attributeCheckMessage.hbs", { attribute: { name: attribute.name, value: attribute.wert, diff --git a/src/style/chat-messages.scss b/src/style/chat-messages.scss index b9db9c4e..ea4d23a2 100644 --- a/src/style/chat-messages.scss +++ b/src/style/chat-messages.scss @@ -1 +1 @@ -@use "chatmessages/attribute-check-message"; \ No newline at end of file +@use "chat-messages/attribute-check-message"; \ No newline at end of file diff --git a/src/style/chatmessages/attribute-check-message.scss b/src/style/chat-messages/attribute-check-message.scss similarity index 100% rename from src/style/chatmessages/attribute-check-message.scss rename to src/style/chat-messages/attribute-check-message.scss diff --git a/src/style/dialogs.scss b/src/style/dialogs.scss new file mode 100644 index 00000000..c7800b8d --- /dev/null +++ b/src/style/dialogs.scss @@ -0,0 +1 @@ +@use "dialogs/attribute-roll-dialog"; \ No newline at end of file diff --git a/src/style/dialogs/attribute-roll-dialog.scss b/src/style/dialogs/attribute-roll-dialog.scss new file mode 100644 index 00000000..e69de29b diff --git a/src/style/styles.scss b/src/style/styles.scss index 87a51a80..3ea74be5 100644 --- a/src/style/styles.scss +++ b/src/style/styles.scss @@ -1,6 +1,7 @@ $bgcolor: FFF; @use "chat-messages"; +@use "dialogs"; html { background-color: $bgcolor; diff --git a/src/templates/chatMessage/attributeCheckMessage.hbs b/src/templates/chat-messages/attributeCheckMessage.hbs similarity index 100% rename from src/templates/chatMessage/attributeCheckMessage.hbs rename to src/templates/chat-messages/attributeCheckMessage.hbs diff --git a/src/templates/dialogs/attribute-roll-dialog.hbs b/src/templates/dialogs/attribute-roll-dialog.hbs new file mode 100644 index 00000000..e69de29b