Local copy of the nice blood on the clocktower webapp in case it ever disappears.
Go to file
David Lorant dbb4c1a1ef
Updated the Snitch/Marionette jinx
This change was announced in Expansion-Chat on 03/18/2022

https://discord.com/channels/569683781800296501/696695228496871436/954305424096636948
2022-03-31 21:35:05 -07:00
.github Update deploy.yml 2022-02-20 20:24:16 +01:00
public added mobile web app capabilities 2021-07-14 14:00:10 +02:00
server fixed local server (closes #240) 2022-01-25 12:25:48 +01:00
src Updated the Snitch/Marionette jinx 2022-03-31 21:35:05 -07:00
.eslintrc.js eslint added 2020-04-05 19:50:33 +02:00
.gitignore added custom socket server 2020-05-27 22:33:51 +02:00
CHANGELOG.md 2.15.3 2022-02-20 20:06:28 +01:00
CNAME server readme and cname added 2020-12-18 21:05:14 +01:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2020-05-24 22:35:28 +02:00
CONTRIBUTING.md v2.13.0 (#168) 2021-05-15 20:07:54 +02:00
LICENSE Create LICENSE 2020-05-11 23:45:16 +02:00
README.md script tool url fixed 2022-01-30 12:12:51 +01:00
package-lock.json npm audit 2022-02-20 20:09:08 +01:00
package.json 2.15.3 2022-02-20 20:06:28 +01:00
vue.config.js optimized ping and gamestate messages 2021-01-29 21:54:27 +01:00

README.md

Blood on the Clocktower Grimoire & Town Square

⚠️ This project is no longer actively maintained and will only receive critical bug fixes and the remaining Kickstarter preview roles. ⚠️

social

This is an unofficial online tool to run Blood on the Clocktower games through Discord or other digital means. It is supposed to aid storytellers and players by allowing them to quickly set up games, run votes and much more.

You can try it online!

If you want to learn more about how to use the app as a player, JayBotC kindly created two tutorial videos.

How to host a game

How to host a game

How to play a game

How to play a game

Features

  • Public Town Square and Storyteller Grimoire (toggle with shortcut [G])
  • Supports custom script JSON generated by the Script Tool
  • Live Session for Storyteller / Players including live voting and character distribution!
  • Includes all 3 base editions, Travelers and Fabled plus all officially spoiled characters so far!
  • Night sheet and reminder text for each character ability to help storytellers
  • Full homebrew support for hosting and playing games with your own sets of characters
  • Many other customization options!

Custom Script Support

Any custom script generated by the official Script Tool is supported out of the box and you only need to upload it to get the selected set of characters into your grimoire. If you want to customize your script further, there is an additional "_meta" object that you can add to the script like you would add a normal character:

[
  {
    "id": "_meta",
    "name": "Deadly Penance Day",
    "author": "TPI",
    "logo": "https://url.to/your/logo.png"
  }
]

This will provide your local Grimoire (and those of your live session players) with more information to show about your custom script - instead of "Custom Script" it would show "Deadly Penance Day" on the character reference sheet, for example. The logo will be shown to your players after they have enabled custom images in the Grimoire menu.

Custom Character Support

In order to add custom characters to your local Grimoire, you need to create a JSON definition for them, similar to what is provided in the roles.json for the 3 base editions. Here's an example of how such a character definition file might be written:

[
  {
    "id": "acrobat",
    "image": "https://github.com/bra1n/townsquare/blob/main/src/assets/icons/acrobat.png?raw=true",
    "edition": "custom",
    "firstNight": 0,
    "firstNightReminder": "",
    "otherNight": 49,
    "otherNightReminder": "If either good living neighbor is drunk or poisoned, the Acrobat dies.",
    "reminders": ["Die"],
    "remindersGlobal": [],
    "setup": false,
    "name": "Acrobat",
    "team": "outsider",
    "ability": "Each night*, if either good living neighbor is drunk or poisoned, you die."
  },
  { 
    "id": "investigator" 
  },
  { 
    "id": "imp" 
  }
]

This definition JSON includes a custom character, the Acrobat, and 2 base game characters, the Investigator and the Imp. For base game characters, it is sufficient to only provide the ID, similar to what you get from the Script Tool.

Required properties: id, name, team, ability

  • id: the internal ID for this character, without spaces or special characters
    Note: this ID needs to be unique and can't be the same as any ID already used by an existing character, otherwise the custom character will be overwritten with the existing role!
  • image: a URL to a PNG of the character token icon (should have a transparent background!)
    Note: custom images will only be visible after enabling them in the Grimoire menu!
  • edition: the ID of the edition for this character. can be left blank or "custom"
  • firstNight / otherNight: the position that this character acts on the first / other nights, compared to all other characters
    Note: must be a positive number or zero, with zero being treated as "does not act during the night"
  • firstNightReminder / otherNightReminder: reminder text for first / other nights
  • reminders: reminder tokens, should be an empty array [] if none
  • remindersGlobal: global reminder tokens that will always be available, no matter if the character is assigned to a player or not
  • setup: whether this token affects setup (orange leaf), like the Drunk or Baron
  • name: the displayed name of this character
  • team: the team of the character, has to be one of townsfolk, outsider, minion, demon, traveler or fabled
    Note: if you create a custom Fabled character, it will be automatically added to the game when the custom script is loaded
  • ability: the displayed ability text of the character

Code of Conduct

Contributing

Acknowledgements and Copyrights

This project and its website are provided free of charge and not affiliated with The Pandemonium Institute in any way.

Donations

This project will always be available free of charge, since I love building cool things and playing Blood on the Clocktower. If you still want to support me with a donation, you can do that here:

Donate