diff --git a/CHANGELOG.md b/CHANGELOG.md
index a618feb..f9ce95c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# Release Notes
+### Version 2.15.3
+- add Add Player by comma separated list
+
### Version 2.15.3
- add Huntsman/Damsel, Noble, Al-Hadikhia to list of available characters
diff --git a/src/components/Menu.vue b/src/components/Menu.vue
index 46133ca..dd8f23a 100644
--- a/src/components/Menu.vue
+++ b/src/components/Menu.vue
@@ -118,9 +118,7 @@
{{ session.isSpectator ? "Playing" : "Hosting" }}
-
- Live Session
-
+ Live Session
Host (Storyteller)[H]
Join (Player)[J]
@@ -155,6 +153,9 @@
Players
Add[A]
+
+ Add (List)[A]
+
Randomize
@@ -318,6 +319,22 @@ export default {
this.$store.commit("players/add", name);
}
},
+ addPlayerList() {
+ if (this.session.isSpectator) return;
+ if (confirm("This will clear all players. Are you sure you want to remove all players?")) {
+ // abort vote if in progress
+ if (this.session.nomination) {
+ this.$store.commit("session/nomination");
+ }
+ this.$store.commit("players/clear");
+ const names = prompt("Player names (separated by commas)");
+ if (names) {
+ names.split(',').map(name => {
+ this.$store.commit("players/add", name);
+ })
+ }
+ }
+ },
randomizeSeatings() {
if (this.session.isSpectator) return;
if (confirm("Are you sure you want to randomize seatings?")) {