diff --git a/changelog.md b/changelog.md
index c2af909..7dd317d 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,4 +1,21 @@
# Changelog Material Deck Module
+### v1.4.6 - 07-09-2021
+Fixes:
+
+- Token Action => Move token: If the user is not the GM, tokens can no longer move if game is paused, and they can no longer move through walls
+- Modifications made in the Property Inspector now immediately get saved, instead of when user deselects the setting (changed 'onchange' to 'oninput' event)
+
+
+Additions:
+
+- Playlist Action: Added a 'Pause All' option
+
+
+Other:
+
+- PF2E compatibility updated (thanks @kyamsil)
+
+
### v1.4.5 - 27-07-2021
Fixes:
diff --git a/img/playlist/.thumb/pause.png.jpg b/img/playlist/.thumb/pause.png.jpg
new file mode 100644
index 0000000..fbab102
Binary files /dev/null and b/img/playlist/.thumb/pause.png.jpg differ
diff --git a/img/playlist/SOURCES.txt b/img/playlist/SOURCES.txt
index 51f6fc6..fe5b287 100644
--- a/img/playlist/SOURCES.txt
+++ b/img/playlist/SOURCES.txt
@@ -1,2 +1,3 @@
play.png: Edited from https://fontawesome.com/icons/play?style=solid
-stop.png: Edited from https://fontawesome.com/icons/stop?style=solid
\ No newline at end of file
+stop.png: Edited from https://fontawesome.com/icons/stop?style=solid
+pause.png: Edited from https://fontawesome.com/v5.15/icons/pause?style=solid
\ No newline at end of file
diff --git a/img/playlist/pause.png b/img/playlist/pause.png
new file mode 100644
index 0000000..0779c8a
Binary files /dev/null and b/img/playlist/pause.png differ
diff --git a/img/token/abilities/.thumb/fort.png.jpg b/img/token/abilities/.thumb/fort.png.jpg
new file mode 100644
index 0000000..f122e0c
Binary files /dev/null and b/img/token/abilities/.thumb/fort.png.jpg differ
diff --git a/img/token/abilities/.thumb/ref.png.jpg b/img/token/abilities/.thumb/ref.png.jpg
new file mode 100644
index 0000000..32626e7
Binary files /dev/null and b/img/token/abilities/.thumb/ref.png.jpg differ
diff --git a/img/token/abilities/.thumb/will.png.jpg b/img/token/abilities/.thumb/will.png.jpg
new file mode 100644
index 0000000..2145c73
Binary files /dev/null and b/img/token/abilities/.thumb/will.png.jpg differ
diff --git a/img/token/skills/.thumb/cra.png.jpg b/img/token/skills/.thumb/cra.png.jpg
new file mode 100644
index 0000000..f2c2a0f
Binary files /dev/null and b/img/token/skills/.thumb/cra.png.jpg differ
diff --git a/img/token/skills/.thumb/dip.png.jpg b/img/token/skills/.thumb/dip.png.jpg
new file mode 100644
index 0000000..de84338
Binary files /dev/null and b/img/token/skills/.thumb/dip.png.jpg differ
diff --git a/img/token/skills/.thumb/occ.png.jpg b/img/token/skills/.thumb/occ.png.jpg
new file mode 100644
index 0000000..6ca0926
Binary files /dev/null and b/img/token/skills/.thumb/occ.png.jpg differ
diff --git a/img/token/skills/.thumb/soc.png.jpg b/img/token/skills/.thumb/soc.png.jpg
new file mode 100644
index 0000000..24a0730
Binary files /dev/null and b/img/token/skills/.thumb/soc.png.jpg differ
diff --git a/img/token/skills/.thumb/thi.png.jpg b/img/token/skills/.thumb/thi.png.jpg
new file mode 100644
index 0000000..77517e3
Binary files /dev/null and b/img/token/skills/.thumb/thi.png.jpg differ
diff --git a/module.json b/module.json
index 3bb51ba..8e679c3 100644
--- a/module.json
+++ b/module.json
@@ -2,7 +2,7 @@
"name": "MaterialDeck",
"title": "Material Deck",
"description": "Material Deck allows you to control Foundry using an Elgato Stream Deck",
- "version": "1.4.5",
+ "version": "1.4.6",
"author": "CDeenen",
"authors": {
"name": "CDeenen",
@@ -22,7 +22,7 @@
],
"socket": true,
"minimumCoreVersion": "0.7.5",
- "compatibleCoreVersion": "0.8.8",
+ "compatibleCoreVersion": "0.8.9",
"languages": [
{
"lang": "en",
diff --git a/src/playlist.js b/src/playlist.js
index 64271a6..ab36827 100644
--- a/src/playlist.js
+++ b/src/playlist.js
@@ -36,7 +36,7 @@ export class PlaylistControl{
this.updateTrack(settings,context,device);
}
else {
- const src = 'modules/MaterialDeck/img/playlist/stop.png';
+ const src = mode == 'stopAll' ? 'modules/MaterialDeck/img/playlist/stop.png' : 'modules/MaterialDeck/img/playlist/pause.png';
const background = settings.background ? settings.background : '#000000';
const ringColor = (game.playlists.playing.length > 0) ? '#00FF00' : '#000000';
const ring = (game.playlists.playing.length > 0) ? 2 : 1;
@@ -167,6 +167,27 @@ export class PlaylistControl{
}
}
+ pauseAll(){
+ if (game.user.isGM == false) {
+ const payload = {
+ "msgType": "pauseAllPlaylists"
+ };
+ game.socket.emit(`module.MaterialDeck`, payload);
+ return;
+ }
+
+ /*
+ let playing = game.playlists.playing;
+ for (let i=0; i