diff --git a/src/App.vue b/src/App.vue index 7eb2419..67ce290 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,15 +8,14 @@ static: grimoire.isStatic }" :style="{ - backgroundImage: grimoire.background - ? `url('${grimoire.background}')` - : '' + backgroundImage: `url('${background}')`, + backgroundColor: `${backgroundColor}` }" > @@ -74,8 +73,19 @@ export default { Gradients }, computed: { - ...mapState(["grimoire", "session"]), - ...mapState("players", ["players"]) + ...mapState(["grimoire", "session", "edition"]), + ...mapState("players", ["players"]), + background: function() { + if (this.grimoire.isStreamerMode) { + return "none"; + } + return this.grimoire.background || this.edition.background || "none"; + }, + backgroundColor: function() { + return this.grimoire.isStreamerMode + ? "#00FF00" + : "transparent" + } }, data() { return { diff --git a/src/assets/scripts/reykjaviks_scheme.bg.png b/src/assets/scripts/reykjaviks_scheme.bg.png new file mode 100644 index 0000000..7eb209a Binary files /dev/null and b/src/assets/scripts/reykjaviks_scheme.bg.png differ diff --git a/src/assets/scripts/reykjaviks_scheme.json b/src/assets/scripts/reykjaviks_scheme.json index 2529754..7b15142 100644 --- a/src/assets/scripts/reykjaviks_scheme.json +++ b/src/assets/scripts/reykjaviks_scheme.json @@ -2,7 +2,8 @@ { "id": "_meta", "name": "Reykjavik's Scheme", - "author": "Gordon Fitzgerald" + "author": "Gordon Fitzgerald", + "background": "https://raw.githubusercontent.com/Pingumask/townsquare/develop/src/assets/scripts/reykjaviks_scheme.bg.png" }, { "id": "slayer" diff --git a/src/assets/scripts/storytellers_vengeance.json b/src/assets/scripts/storytellers_vengeance.json new file mode 100644 index 0000000..64b0355 --- /dev/null +++ b/src/assets/scripts/storytellers_vengeance.json @@ -0,0 +1,81 @@ +[ + { + "id": "_meta", + "name": "Storyteller's Vengeance" + }, + { + "id": "investigator" + }, + { + "id": "chambermaid" + }, + { + "id": "empath" + }, + { + "id": "fortune_teller" + }, + { + "id": "innkeeper" + }, + { + "id": "town_crier" + }, + { + "id": "undertaker" + }, + { + "id": "artist" + }, + { + "id": "seamstress" + }, + { + "id": "slayer" + }, + { + "id": "virgin" + }, + { + "id": "mayor" + }, + { + "id": "atheist" + }, + { + "id": "drunk" + }, + { + "id": "lunatic" + }, + { + "id": "puzzlemaster" + }, + { + "id": "klutz" + }, + { + "id": "evil_twin" + }, + { + "id": "marionette" + }, + { + "id": "witch" + }, + { + "id": "scarlet_woman" + }, + { + "id": "fang_gu" + }, + { + "id": "imp" + }, + { + "id": "no_dashii" + }, + { + "id": "vigormortis" + } +] \ No newline at end of file diff --git a/src/assets/scripts/trouble_brewing_advanced.json b/src/assets/scripts/trouble_brewing_advanced.json new file mode 100644 index 0000000..2233e50 --- /dev/null +++ b/src/assets/scripts/trouble_brewing_advanced.json @@ -0,0 +1,78 @@ +[ + { + "id": "_meta", + "name": "Trouble brewing Advanced" + }, + { + "id": "noble" + }, + { + "id": "chef" + }, + { + "id": "washerwoman" + }, + { + "id": "librarian" + }, + { + "id": "empath" + }, + { + "id": "fortune_teller" + }, + { + "id": "undertaker" + }, + { + "id": "monk" + }, + { + "id": "slayer" + }, + { + "id": "soldier" + }, + { + "id": "ravenkeeper" + }, + { + "id": "virgin" + }, + { + "id": "mayor" + }, + { + "id": "goon" + }, + { + "id": "saint" + }, + { + "id": "recluse" + }, + { + "id": "lunatic" + }, + { + "id": "poisoner" + }, + { + "id": "spy" + }, + { + "id": "baron" + }, + { + "id": "scarlet_woman" + }, + { + "id": "marionette" + }, + { + "id": "imp" + }, + { + "id": "fang_gu" + } +] \ No newline at end of file diff --git a/src/assets/scripts/trouble_with_violets.bg.png b/src/assets/scripts/trouble_with_violets.bg.png new file mode 100644 index 0000000..7555600 Binary files /dev/null and b/src/assets/scripts/trouble_with_violets.bg.png differ diff --git a/src/assets/scripts/trouble_with_violets.json b/src/assets/scripts/trouble_with_violets.json index ddae6fa..ffba073 100644 --- a/src/assets/scripts/trouble_with_violets.json +++ b/src/assets/scripts/trouble_with_violets.json @@ -2,7 +2,8 @@ { "id": "_meta", "name": "Trouble with Violets", - "author": "The Pandemonium Institute" + "author": "The Pandemonium Institute", + "background": "https://raw.githubusercontent.com/Pingumask/townsquare/develop/src/assets/scripts/trouble_with_violets.bg.png" }, { "id": "washerwoman" diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 2b16b97..dda3b8a 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -101,6 +101,16 @@ ]" /> +
  • + {{ locale.menu.grimoire.streamerMode }} + +
  • {{ locale.menu.grimoire.animations }}