Skip to content

Commit

Permalink
Change chat button icon to d10.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickburk1988 committed Mar 6, 2024
1 parent 4000afd commit e1c5d28
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v1.2.7

- Changed chat button icon to d10.

## v1.2.6

- Added functionality to otherwise useless chat button (rolls 1d100).
Expand Down
1 change: 1 addition & 0 deletions module/unknown-armies.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ Hooks.on("renderDialog", (dialog, html) => {

Hooks.on("renderSidebarTab", (app, html) => {
if (app.tabName === "chat") {
html.find(".chat-control-icon i").removeClass("fa-dice-d20").addClass("fa-dice-d10");
html.find(".chat-control-icon").on("click", async () => {
let roll = new Roll("1d100");
await roll.evaluate();
Expand Down
2 changes: 1 addition & 1 deletion system.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "unknownarmies",
"version": "1.2.6",
"version": "1.2.7",
"title": "Unknown Armies",
"description": "An occult game about broken people conspiring to fix the world.",
"background": "systems/unknownarmies/image/system-background.webp",
Expand Down

0 comments on commit e1c5d28

Please sign in to comment.