Ghost in the Machine
v1.0.0by KingoftheAbyssCustomDifficulty:
"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.
PixieYou start knowing 1 in-play Townsfolk. If you were mad that you were this character, you gain their ability when they die.
High PriestessEach night, learn which player the Storyteller believes you should talk to most.
Village IdiotEach night, choose a player: you learn their alignment. [+0 to +2 Village Idiots. 1 of the extras is drunk]
DreamerEach night, choose a player (not yourself or Travellers): you learn 1 good and 1 evil character, 1 of which is correct.
Town CrierEach night*, you learn if a Minion nominated today.
LycanthropeEach night*, choose a living player: if good, they die, but they are the only player that can die tonight.
SavantEach day, you may visit the Storyteller to learn 2 things in private: 1 is true & 1 is false.
EngineerOnce per game, at night, choose which Minions or which Demon is in play.
NightwatchmanOnce per game, at night, choose a player: they learn who you are.
AmnesiacYou do not know what your ability is. Each day, privately guess what it is: you learn how accurate you are.
Magician

The Demon thinks you are a Minion. Minions think you are a Demon.
Poppy GrowerMinions & Demons do not know each other. If you die, they learn who each other are that night.
Outsider
OgreOn your 1st night, choose a player (not yourself): you become their alignment (you don't know which) even if drunk or poisoned.
LunaticYou think you are a Demon, but you are not. The Demon knows who you are & who you choose at night.
Plague Doctor
When you die, the Storyteller gains a Minion ability.
MutantIf you are "mad" about being an Outsider, you might be executed.
Minion
HarpyEach night, choose 2 players: tomorrow, the 1st player is mad that the 2nd is evil, or one or both might die.
Pit-Hag

Each night*, choose a player & a character they become (if not-in-play). If a Demon is made, deaths tonight are arbitrary.
Widow
On your 1st night, look at the Grimoire and choose a player: they are poisoned. 1 good player knows a Widow is in play.
WraithYou may choose to open your eyes at night. You wake when other evil players do.
Demon
ImpEach night*, choose a player: they die. If you kill yourself this way, a Minion becomes the Imp.
OjoEach night*, choose a character: they die. If they are not in play, the Storyteller chooses who dies.
KazaliEach night*, choose a player: they die. [You choose which players are which Minions. -? to +? Outsiders]
VortoxEach night*, choose a player: they die. Townsfolk abilities yield false info. Each day, if no-one is executed, evil wins.
Fabled & Loric
Spirit of IvoryThere can't be more than 1 extra evil player.
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
Poppy GrowerDo not inform the Demon/Minions who each other are
- 5
Magician - 6
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.
- 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
WidowShow the Grimoire to the Widow for as long as they need. The Widow points to a player. That player is poisoned. Wake a good player. Show the 'These characters are in play' card, then the Widow character token.
- 9
PixieShow the Pixie 1 in-play Townsfolk character token.
- 10
AmnesiacDecide the Amnesiac's entire ability. If the Amnesiac's ability causes them to wake tonight: Wake the Amnesiac and run their ability.
- 11
DreamerThe Dreamer points to a player. Show 1 good and 1 evil character token; one of these is correct.
- 12
NightwatchmanThe Nightwatchman may point to a player. Wake that player, show the 'This character selected you' card and the Nightwatchman token, then point to the Nightwatchman player.
- 13DDawn
Wait for a few seconds. End the Night Phase.
Other nights
- 1DDusk
Start the Night Phase.
- 2
Poppy GrowerIf the Poppy Grower has died, show the Minions/Demon who each other are.
- 3
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.
- 4
Pit-HagThe Pit-Hag points to a player and a character on the sheet. If this character is not in play, wake that player and show them the 'You are' card and the relevant character token. If the character is in play, nothing happens.
- 5
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.
- 6
LycanthropeThe Lycanthrope points to a living player: if good, they die and no one else can die tonight.
- 7
ImpThe Imp points to a player. That player dies. If the Imp chose themselves: Replace the character of 1 alive minion with a spare Imp token. Show the 'You are' card, then the Imp token.
- 8
VortoxThe Vortox points to a player. That player dies.
- 9
AmnesiacIf the Amnesiac's ability causes them to wake tonight: Wake the Amnesiac and run their ability.
- 10
DreamerThe Dreamer points to a player. Show 1 good and 1 evil character token; one of these is correct.
- 11
Town CrierNod 'yes' or shake head 'no' for whether a Minion nominated today. Place the 'Minion not nominated' marker (remove 'Minion nominated', if any).
- 12
NightwatchmanThe Nightwatchman may point to a player. Wake that player, show the 'This character selected you' card and the Nightwatchman token, then point to the Nightwatchman player.
- 13DDawn
Wait for a few seconds. End the Night Phase.
Knight, High Priestess, Village Idiot, Ogre, Plague Doctor, Harpy, Wraith, Ojo, Kazali, Spirit of Ivory, Djinn don't have night-order data in BOTChub yet — check the printed script or Script Tool for exact placement.
Jinxes

Pit-Hag & Village IdiotIf there is a spare token, the Pit-Hag can create an extra Village Idiot. If so, the drunk Village Idiot might change.

Pit-Hag & OgreIf the Pit-Hag turns an evil player into the Ogre, they can't turn good due to their own ability.

Magician & WraithAfter each execution, the living Magician may publicly guess a living player as the Wraith. If correct, the Demon must choose the Wraith tonight.

Plague Doctor & WraithIf the Storyteller would gain the Wraith ability, a Minion gains it, and learns this.

Widow & Poppy GrowerIf the Poppy Grower has their ability, the Widow does not see the Grimoire.

Magician & WidowWhen the Widow sees the Grimoire, the Demon and Magician's character tokens are removed.