how many hats
v1.0.0by chris aCustomDifficulty:
"Open Script Tool" pre-loads this script's characters directly on script.bloodontheclocktower.com, the same way it works from other script libraries.
Characters
Townsfolk
KnightYou start knowing 2 players that are not the Demon.
ChefYou start knowing how many pairs of evil players there are.
Bounty Hunter
You start knowing 1 evil player. If the player you know dies, you learn another evil player tonight. [1 Townsfolk is evil]
KingEach night, if the dead outnumber the living, you learn 1 alive character. The Demon knows who you are.
Cult LeaderEach night, you become the alignment of an alive neighbour. If all good players choose to join your cult, your team wins.
FlowergirlEach night*, you learn if a Demon voted today.
InnkeeperEach night*, choose 2 players: they can't die tonight, but 1 is drunk until dusk.
MonkEach night*, choose a player (not yourself): they are safe from the Demon tonight.
LycanthropeEach night*, choose a living player: if good, they die, but they are the only player that can die tonight.
EngineerOnce per game, at night, choose which Minions or which Demon is in play.
FoolThe first time you die, you don't.
Magician
The Demon thinks you are a Minion. Minions think you are a Demon.
AtheistThe Storyteller can break the game rules & if executed, good wins, even if you are dead. [No evil characters]
Outsider
Plague Doctor
When you die, the Storyteller gains a Minion ability.
DrunkYou do not know you are the Drunk. You think you are a Townsfolk character, but you are not.
LunaticYou think you are a Demon, but you are not. The Demon knows who you are & who you choose at night.
HatterIf you died today or tonight, the Minion & Demon players may choose new Minion & Demon characters to be.
Minion
WitchEach night, choose a player: if they nominate tomorrow, they die. If just 3 players live, you lose this ability.
BaronThere are extra Outsiders in play. [+2 Outsiders]
Organ GrinderAll players keep their eyes closed when voting and the vote tally is secret. Each night, choose if you are drunk until dusk.
VizierAll players know you are the Vizier. You cannot die during the day. If good voted, you may choose to execute immediately.
Demon
KazaliEach night*, choose a player: they die. [You choose which players are which Minions. -? to +? Outsiders]
Lil' Monsta


Each night, Minions choose who babysits Lil' Monsta's token & "is the Demon". A player dies each night*. [+1 Minion]
OjoEach night*, choose a character: they die. If they are not in play, the Storyteller chooses who dies.
Al-HadikhiaEach night*, choose 3 players (all players learn who): each silently chooses to live or die, but if all live, all die.
Fabled & Loric
DjinnUse the Djinn's special rule. All players know what it is.
Night order
First night
- 1DDusk
Start the Night Phase.
- 2MMinion Info
If there are 7 or more players, wake all Minions: Show the THIS IS THE DEMON token. Point to the Demon. Show THESE ARE YOUR MINIONS token. Point to the other Minions.
- 3DDemon Info
If there are 7 or more players, wake the Demon. Show the Demon token. Show all Minions. Show the THESE CHARACTERS ARE NOT IN PLAY token. Show 3 not-in-play good character tokens.
- 4
Magician - 5
LunaticIf 7 or more players: Show the Lunatic a number of arbitrary 'Minions', players equal to the number of Minions in play. Show 3 character tokens of arbitrary good characters. If the token received by the Lunatic is a Demon that would wake tonight: Allow the Lunatic to do the Demon actions. Place their 'attack' markers. Wake the Demon. Show the Demon’s real character token. Show them the Lunatic player. If the Lunatic attacked players: Show the real demon each marked player. Remove any Lunatic 'attack' markers.
- 6
KingWake the Demon, show them the 'This character selected you' card, show the King token and point to the King player.
- 7
EngineerThe Engineer shows a 'no' head signal, or points to a Demon or points to the relevant number of Minions. If the Engineer chose characters, replace the Demon or Minions with the choices, then wake the relevant players and show them the You are card and the relevant character tokens.
- 8
Lil' MonstaWake all Minions together, allow them to vote by pointing at who they want to babysit Lil' Monsta.
- 9
WitchThe Witch points to a player. If that player nominates tomorrow they die immediately.
- 10
ChefShow the finger signal (0, 1, 2, …) for the number of pairs of neighbouring evil players.
- 11
Bounty HunterPoint to 1 evil player. Wake the townsfolk who is evil and show them the 'You are' card and the thumbs down evil sign.
- 12
Cult LeaderIf the cult leader changed alignment, show them the thumbs up good signal of the thumbs down evil signal accordingly.
- 13DDawn
Wait for a few seconds. End the Night Phase.
Other nights
- 1DDusk
Start the Night Phase.
- 2
EngineerThe Engineer shows a 'no' head signal, or points to a Demon or points to the relevant number of Minions. If the Engineer chose characters, replace the Demon or Minions with the choices, then wake the relevant players and show them the 'You are' card and the relevant character tokens.
- 3
InnkeeperThe previously protected and drunk players lose those markers. The Innkeeper points to two players. Those players are protected. One is drunk.
- 4
MonkThe previously protected player is no longer protected. The Monk points to a player not themself. Mark that player 'Protected'.
- 5
WitchIf there are 4 or more players alive: The Witch points to a player. If that player nominates tomorrow they die immediately.
- 6
LunaticAllow the Lunatic to do the actions of the Demon. Place their 'attack' markers. If the Lunatic selected players: Wake the Demon. Show the 'attack' marker, then point to each marked player. Remove any Lunatic 'attack' markers.
- 7
LycanthropeThe Lycanthrope points to a living player: if good, they die and no one else can die tonight.
- 8
Al-HadikhiaThe Al-Hadikhia chooses 3 players. Announce the first player, wake them to nod yes to live or shake head no to die, kill or resurrect accordingly, then put to sleep and announce the next player. If all 3 are alive after this, all 3 die.
- 9
Lil' MonstaWake all Minions together, allow them to vote by pointing at who they want to babysit Lil' Monsta. Choose a player, that player dies.
- 10
FlowergirlNod 'yes' or shake head 'no' for whether the Demon voted today. Place the 'Demon not voted' marker (remove 'Demon voted', if any).
- 11
KingIf there are more dead than living, show the King a character token of a living player.
- 12
Bounty HunterIf the known evil player has died, point to another evil player.
- 13
Cult LeaderIf the cult leader changed alignment, show them the thumbs up good signal of the thumbs down evil signal accordingly.
- 14DDawn
Wait for a few seconds. End the Night Phase.
Knight, Plague Doctor, Hatter, Organ Grinder, Vizier, Kazali, Ojo, Djinn don't have night-order data in BOTChub yet — check the printed script or Script Tool for exact placement.
Jinxes

Lil' Monsta & HatterIf the Hatter dies & the Demon chooses Lil' Monsta, they also choose a Minion to become.

Lil' Monsta & VizierIf the Vizier is babysitting Lil' Monsta, they die when executed.

Magician & VizierIf the Vizier is in play, the Magician has no ability but is immune to the Vizier's ability.

Bounty Hunter & KazaliIf the Kazali turns the Bounty Hunter into a Minion, an evil Townsfolk is not created.

Lil' Monsta & MagicianIf the Magician is alive, the Storyteller chooses which Minion babysits Lil' Monsta.

Plague Doctor & BaronIf the Storyteller would gain the Baron ability, up to two players become Outsiders.