fixed edition loading

This commit is contained in:
Steffen 2020-04-10 11:37:06 +02:00
parent 59ec2e8467
commit d85e2ed6d1
No known key found for this signature in database
GPG Key ID: 764D74E98267DFC6
3 changed files with 114 additions and 108 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<div id="app" @keyup="keyup" tabindex="-1"> <div id="app" @keyup="keyup" tabindex="-1">
<TownInfo :players="players" :set="set"></TownInfo> <TownInfo :players="players" :edition="edition"></TownInfo>
<TownSquare <TownSquare
:is-public="isPublic" :is-public="isPublic"
:players="players" :players="players"
@ -32,12 +32,15 @@ import TownSquare from "./components/TownSquare";
import TownInfo from "./components/TownInfo"; import TownInfo from "./components/TownInfo";
import rolesJSON from "./roles"; import rolesJSON from "./roles";
const roles = new Map( const getRolesByEdition = (edition = "TB") =>
rolesJSON new Map(
.filter(r => r.set === (window.location.hash.substr(1) || "TB")) rolesJSON
.sort((a, b) => b.team.localeCompare(a.team)) .filter(r => r.edition === edition)
.map(role => [role.id, role]) .sort((a, b) => b.team.localeCompare(a.team))
); .map(role => [role.id, role])
);
console.log(getRolesByEdition());
export default { export default {
components: { components: {
@ -48,8 +51,8 @@ export default {
isPublic: true, isPublic: true,
isControlOpen: false, isControlOpen: false,
players: [], players: [],
roles, roles: getRolesByEdition(),
set: "TB" edition: "TB"
}), }),
methods: { methods: {
togglePublic() { togglePublic() {
@ -92,15 +95,17 @@ export default {
} }
}, },
mounted() { mounted() {
if (localStorage.edition) {
this.edition = localStorage.edition;
this.roles = getRolesByEdition(this.edition);
console.log('edition set');
}
if (localStorage.players) { if (localStorage.players) {
this.players = JSON.parse(localStorage.players).map(player => ({ this.players = JSON.parse(localStorage.players).map(player => ({
...player, ...player,
role: roles.get(player.role) || {} role: this.roles.get(player.role) || {}
})); }));
} }
if (localStorage.set) {
this.set = localStorage.set;
}
}, },
watch: { watch: {
players: { players: {
@ -114,8 +119,9 @@ export default {
}, },
deep: true deep: true
}, },
set(newSet) { edition(newEdition) {
localStorage.set = newSet; localStorage.edition = newEdition;
console.log('edition saved');
} }
} }
}; };

View File

@ -1,6 +1,6 @@
<template> <template>
<ul class="info"> <ul class="info">
<li class="set" v-bind:class="['set-' + set]"></li> <li class="edition" v-bind:class="['edition-' + edition]"></li>
<li v-if="players.length < 5">Please add more players!</li> <li v-if="players.length < 5">Please add more players!</li>
<li> <li>
{{ players.length }} <font-awesome-icon class="players" icon="users" /> {{ players.length }} <font-awesome-icon class="players" icon="users" />
@ -45,7 +45,7 @@ export default {
type: Array, type: Array,
required: true required: true
}, },
set: { edition: {
type: String, type: String,
required: true required: true
} }
@ -131,7 +131,7 @@ export default {
} }
} }
li.set { li.edition {
width: 220px; width: 220px;
height: 200px; height: 200px;
background: 0 center no-repeat; background: 0 center no-repeat;
@ -139,13 +139,13 @@ export default {
position: absolute; position: absolute;
top: -50px; top: -50px;
&.set-TB { &.edition-TB {
background-image: url("../assets/set-tb.png"); background-image: url("../assets/set-tb.png");
} }
&.set-BMR { &.edition-BMR {
background-image: url("../assets/set-bmr.png"); background-image: url("../assets/set-bmr.png");
} }
&.set-SNV { &.edition-SNV {
background-image: url("../assets/set-snv.png"); background-image: url("../assets/set-snv.png");
} }
} }

View File

@ -2,7 +2,7 @@
{ {
"id": "washerwoman", "id": "washerwoman",
"name": "Washerwoman", "name": "Washerwoman",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": true, "firstNight": true,
"otherNight": false, "otherNight": false,
@ -16,7 +16,7 @@
{ {
"id": "librarian", "id": "librarian",
"name": "Librarian", "name": "Librarian",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": true, "firstNight": true,
"otherNight": false, "otherNight": false,
@ -30,7 +30,7 @@
{ {
"id": "investigator", "id": "investigator",
"name": "Investigator", "name": "Investigator",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": true, "firstNight": true,
"otherNight": false, "otherNight": false,
@ -44,7 +44,7 @@
{ {
"id": "chef", "id": "chef",
"name": "Chef", "name": "Chef",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": true, "firstNight": true,
"otherNight": false, "otherNight": false,
@ -55,7 +55,7 @@
{ {
"id": "empath", "id": "empath",
"name": "Empath", "name": "Empath",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
@ -66,7 +66,7 @@
{ {
"id": "fortuneteller", "id": "fortuneteller",
"name": "Fortune Teller", "name": "Fortune Teller",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
@ -79,7 +79,7 @@
{ {
"id": "undertaker", "id": "undertaker",
"name": "Undertaker", "name": "Undertaker",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
@ -92,7 +92,7 @@
{ {
"id": "monk", "id": "monk",
"name": "Monk", "name": "Monk",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
@ -105,7 +105,7 @@
{ {
"id": "ravenkeeper", "id": "ravenkeeper",
"name": "Ravenkeeper", "name": "Ravenkeeper",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
@ -116,7 +116,7 @@
{ {
"id": "mayor", "id": "mayor",
"name": "Mayor", "name": "Mayor",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
@ -127,7 +127,7 @@
{ {
"id": "slayer", "id": "slayer",
"name": "Slayer", "name": "Slayer",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
@ -140,7 +140,7 @@
{ {
"id": "soldier", "id": "soldier",
"name": "Soldier", "name": "Soldier",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
@ -151,7 +151,7 @@
{ {
"id": "virgin", "id": "virgin",
"name": "Virgin", "name": "Virgin",
"set": "TB", "edition": "TB",
"team": "townsfolk", "team": "townsfolk",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
@ -164,7 +164,7 @@
{ {
"id": "butler", "id": "butler",
"name": "Butler", "name": "Butler",
"set": "TB", "edition": "TB",
"team": "outsider", "team": "outsider",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
@ -177,7 +177,7 @@
{ {
"id": "drunk", "id": "drunk",
"name": "Drunk", "name": "Drunk",
"set": "TB", "edition": "TB",
"team": "outsider", "team": "outsider",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
@ -190,7 +190,7 @@
{ {
"id": "recluse", "id": "recluse",
"name": "Recluse", "name": "Recluse",
"set": "TB", "edition": "TB",
"team": "outsider", "team": "outsider",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
@ -201,7 +201,7 @@
{ {
"id": "saint", "id": "saint",
"name": "Saint", "name": "Saint",
"set": "TB", "edition": "TB",
"team": "outsider", "team": "outsider",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
@ -212,7 +212,7 @@
{ {
"id": "baron", "id": "baron",
"name": "Baron", "name": "Baron",
"set": "TB", "edition": "TB",
"team": "minion", "team": "minion",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
@ -223,7 +223,7 @@
{ {
"id": "poisoner", "id": "poisoner",
"name": "Poisoner", "name": "Poisoner",
"set": "TB", "edition": "TB",
"team": "minion", "team": "minion",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
@ -236,7 +236,7 @@
{ {
"id": "spy", "id": "spy",
"name": "Spy", "name": "Spy",
"set": "TB", "edition": "TB",
"team": "minion", "team": "minion",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
@ -247,7 +247,7 @@
{ {
"id": "scarletwoman", "id": "scarletwoman",
"name": "Scarlet Woman", "name": "Scarlet Woman",
"set": "TB", "edition": "TB",
"team": "minion", "team": "minion",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
@ -260,7 +260,7 @@
{ {
"id": "imp", "id": "imp",
"name": "Imp", "name": "Imp",
"set": "TB", "edition": "TB",
"team": "demon", "team": "demon",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
@ -272,7 +272,7 @@
}, },
{ {
"id": "grandmother", "id": "grandmother",
"set": "BMR", "edition": "BMR",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Grandchild"], "reminders": ["Grandchild"],
@ -283,7 +283,7 @@
}, },
{ {
"id": "sailor", "id": "sailor",
"set": "BMR", "edition": "BMR",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Drunk"], "reminders": ["Drunk"],
@ -294,7 +294,7 @@
}, },
{ {
"id": "chambermaid", "id": "chambermaid",
"set": "BMR", "edition": "BMR",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": [], "reminders": [],
@ -305,7 +305,7 @@
}, },
{ {
"id": "exorcist", "id": "exorcist",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Chosen"], "reminders": ["Chosen"],
@ -316,7 +316,7 @@
}, },
{ {
"id": "innkeeper", "id": "innkeeper",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Protected", "Drunk"], "reminders": ["Protected", "Drunk"],
@ -327,7 +327,7 @@
}, },
{ {
"id": "gambler", "id": "gambler",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die"], "reminders": ["Die"],
@ -338,7 +338,7 @@
}, },
{ {
"id": "gossip", "id": "gossip",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die"], "reminders": ["Die"],
@ -349,7 +349,7 @@
}, },
{ {
"id": "courtier", "id": "courtier",
"set": "BMR", "edition": "BMR",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Drunk 1", "Drunk 2", "Drunk 3", "Used"], "reminders": ["Drunk 1", "Drunk 2", "Drunk 3", "Used"],
@ -360,7 +360,7 @@
}, },
{ {
"id": "professor", "id": "professor",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Alive", "Used"], "reminders": ["Alive", "Used"],
@ -371,7 +371,7 @@
}, },
{ {
"id": "minstrel", "id": "minstrel",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Everyone drunk"], "reminders": ["Everyone drunk"],
@ -382,7 +382,7 @@
}, },
{ {
"id": "tealady", "id": "tealady",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": ["Protected"], "reminders": ["Protected"],
@ -393,7 +393,7 @@
}, },
{ {
"id": "pacifist", "id": "pacifist",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -404,7 +404,7 @@
}, },
{ {
"id": "fool", "id": "fool",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": ["Used"], "reminders": ["Used"],
@ -415,7 +415,7 @@
}, },
{ {
"id": "tinker", "id": "tinker",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die"], "reminders": ["Die"],
@ -426,7 +426,7 @@
}, },
{ {
"id": "moonchild", "id": "moonchild",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die"], "reminders": ["Die"],
@ -437,7 +437,7 @@
}, },
{ {
"id": "goon", "id": "goon",
"set": "BMR", "edition": "BMR",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Drunk"], "reminders": ["Drunk"],
@ -448,7 +448,7 @@
}, },
{ {
"id": "lunatic", "id": "lunatic",
"set": "BMR", "edition": "BMR",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Attack 1", "Attack 2", "Attack 3", "Decoy"], "reminders": ["Attack 1", "Attack 2", "Attack 3", "Decoy"],
@ -459,7 +459,7 @@
}, },
{ {
"id": "godfather", "id": "godfather",
"set": "BMR", "edition": "BMR",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Died today", "Die"], "reminders": ["Died today", "Die"],
@ -470,7 +470,7 @@
}, },
{ {
"id": "devilsadvocate", "id": "devilsadvocate",
"set": "BMR", "edition": "BMR",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Survives execution"], "reminders": ["Survives execution"],
@ -481,7 +481,7 @@
}, },
{ {
"id": "assassin", "id": "assassin",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die", "Used"], "reminders": ["Die", "Used"],
@ -492,7 +492,7 @@
}, },
{ {
"id": "mastermind", "id": "mastermind",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -503,7 +503,7 @@
}, },
{ {
"id": "po", "id": "po",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die 1", "Die 2", "Die 3", "Attack x3"], "reminders": ["Die 1", "Die 2", "Die 3", "Attack x3"],
@ -514,7 +514,7 @@
}, },
{ {
"id": "zombuul", "id": "zombuul",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["No death today", "Die"], "reminders": ["No death today", "Die"],
@ -525,7 +525,7 @@
}, },
{ {
"id": "pukka", "id": "pukka",
"set": "BMR", "edition": "BMR",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Poisoned", "Die"], "reminders": ["Poisoned", "Die"],
@ -536,7 +536,7 @@
}, },
{ {
"id": "shabaloth", "id": "shabaloth",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die 1", "Die 2", "Alive"], "reminders": ["Die 1", "Die 2", "Alive"],
@ -547,7 +547,7 @@
}, },
{ {
"id": "clockmaker", "id": "clockmaker",
"set": "SNV", "edition": "SNV",
"firstNight": true, "firstNight": true,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -558,7 +558,7 @@
}, },
{ {
"id": "dreamer", "id": "dreamer",
"set": "SNV", "edition": "SNV",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": [], "reminders": [],
@ -569,7 +569,7 @@
}, },
{ {
"id": "snakecharmer", "id": "snakecharmer",
"set": "SNV", "edition": "SNV",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Poisoned"], "reminders": ["Poisoned"],
@ -580,7 +580,7 @@
}, },
{ {
"id": "mathematician", "id": "mathematician",
"set": "SNV", "edition": "SNV",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Abnormal effect"], "reminders": ["Abnormal effect"],
@ -591,7 +591,7 @@
}, },
{ {
"id": "flowergirl", "id": "flowergirl",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Demon did vote", "Demon did not vote"], "reminders": ["Demon did vote", "Demon did not vote"],
@ -602,7 +602,7 @@
}, },
{ {
"id": "towncrier", "id": "towncrier",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["No Minion nominated", "Minion nominated"], "reminders": ["No Minion nominated", "Minion nominated"],
@ -613,7 +613,7 @@
}, },
{ {
"id": "oracle", "id": "oracle",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": [], "reminders": [],
@ -624,7 +624,7 @@
}, },
{ {
"id": "savant", "id": "savant",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -635,7 +635,7 @@
}, },
{ {
"id": "seamstress", "id": "seamstress",
"set": "SNV", "edition": "SNV",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Used"], "reminders": ["Used"],
@ -646,7 +646,7 @@
}, },
{ {
"id": "philosopher", "id": "philosopher",
"set": "SNV", "edition": "SNV",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Used", "Drunk"], "reminders": ["Used", "Drunk"],
@ -657,7 +657,7 @@
}, },
{ {
"id": "artist", "id": "artist",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": ["Used"], "reminders": ["Used"],
@ -668,7 +668,7 @@
}, },
{ {
"id": "juggler", "id": "juggler",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Correct"], "reminders": ["Correct"],
@ -679,7 +679,7 @@
}, },
{ {
"id": "sage", "id": "sage",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": [], "reminders": [],
@ -690,7 +690,7 @@
}, },
{ {
"id": "mutant", "id": "mutant",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -701,7 +701,7 @@
}, },
{ {
"id": "sweetheart", "id": "sweetheart",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Drunk"], "reminders": ["Drunk"],
@ -712,7 +712,7 @@
}, },
{ {
"id": "barber", "id": "barber",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Swap"], "reminders": ["Swap"],
@ -723,7 +723,7 @@
}, },
{ {
"id": "klutz", "id": "klutz",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -734,7 +734,7 @@
}, },
{ {
"id": "eviltwin", "id": "eviltwin",
"set": "SNV", "edition": "SNV",
"firstNight": true, "firstNight": true,
"otherNight": false, "otherNight": false,
"reminders": ["Twin"], "reminders": ["Twin"],
@ -745,7 +745,7 @@
}, },
{ {
"id": "witch", "id": "witch",
"set": "SNV", "edition": "SNV",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Cursed"], "reminders": ["Cursed"],
@ -756,7 +756,7 @@
}, },
{ {
"id": "cerenovus", "id": "cerenovus",
"set": "SNV", "edition": "SNV",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Mad"], "reminders": ["Mad"],
@ -767,7 +767,7 @@
}, },
{ {
"id": "pithag", "id": "pithag",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": [], "reminders": [],
@ -778,7 +778,7 @@
}, },
{ {
"id": "fanggu", "id": "fanggu",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die"], "reminders": ["Die"],
@ -789,7 +789,7 @@
}, },
{ {
"id": "vigormortis", "id": "vigormortis",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die", "Poisoned", "Ability active"], "reminders": ["Die", "Poisoned", "Ability active"],
@ -800,7 +800,7 @@
}, },
{ {
"id": "nodashii", "id": "nodashii",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die", "Poisoned"], "reminders": ["Die", "Poisoned"],
@ -811,7 +811,7 @@
}, },
{ {
"id": "vortox", "id": "vortox",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die"], "reminders": ["Die"],
@ -822,7 +822,7 @@
}, },
{ {
"id": "scapegoat", "id": "scapegoat",
"set": "TB", "edition": "TB",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -833,7 +833,7 @@
}, },
{ {
"id": "gunslinger", "id": "gunslinger",
"set": "TB", "edition": "TB",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -844,7 +844,7 @@
}, },
{ {
"id": "beggar", "id": "beggar",
"set": "TB", "edition": "TB",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -855,7 +855,7 @@
}, },
{ {
"id": "bureaucrat", "id": "bureaucrat",
"set": "TB", "edition": "TB",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Vote x3"], "reminders": ["Vote x3"],
@ -866,7 +866,7 @@
}, },
{ {
"id": "thief", "id": "thief",
"set": "TB", "edition": "TB",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Negative vote"], "reminders": ["Negative vote"],
@ -877,7 +877,7 @@
}, },
{ {
"id": "apprentice", "id": "apprentice",
"set": "BMR", "edition": "BMR",
"firstNight": true, "firstNight": true,
"otherNight": false, "otherNight": false,
"reminders": ["Apprentice ability"], "reminders": ["Apprentice ability"],
@ -888,7 +888,7 @@
}, },
{ {
"id": "matron", "id": "matron",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -899,7 +899,7 @@
}, },
{ {
"id": "voudon", "id": "voudon",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -910,7 +910,7 @@
}, },
{ {
"id": "judge", "id": "judge",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": ["Used"], "reminders": ["Used"],
@ -921,7 +921,7 @@
}, },
{ {
"id": "bishop", "id": "bishop",
"set": "BMR", "edition": "BMR",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": ["Nominate Good", "Nominate Evil"], "reminders": ["Nominate Good", "Nominate Evil"],
@ -932,7 +932,7 @@
}, },
{ {
"id": "butcher", "id": "butcher",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],
@ -943,7 +943,7 @@
}, },
{ {
"id": "bonecollector", "id": "bonecollector",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Used", "Ability active"], "reminders": ["Used", "Ability active"],
@ -954,7 +954,7 @@
}, },
{ {
"id": "harlot", "id": "harlot",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": true, "otherNight": true,
"reminders": ["Die"], "reminders": ["Die"],
@ -965,7 +965,7 @@
}, },
{ {
"id": "barista", "id": "barista",
"set": "SNV", "edition": "SNV",
"firstNight": true, "firstNight": true,
"otherNight": true, "otherNight": true,
"reminders": ["Ability x2", "Healthy & Sober"], "reminders": ["Ability x2", "Healthy & Sober"],
@ -976,7 +976,7 @@
}, },
{ {
"id": "deviant", "id": "deviant",
"set": "SNV", "edition": "SNV",
"firstNight": false, "firstNight": false,
"otherNight": false, "otherNight": false,
"reminders": [], "reminders": [],