Skip to content

Commit

Permalink
Fix vigilante turn message
Browse files Browse the repository at this point in the history
  • Loading branch information
skizzerz committed Nov 9, 2023
1 parent 11df9fa commit 8469e60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@
"pactbreaker_drain_turn": "While out last night, you spot {0:@} alone and unaware of your presence. You quickly close in for a quick meal, draining them fully. Before they die, you give them a bit of your own blood, turning them into {=vampire!role:article} {=vampire!role}.",
"pactbreaker_drained": "While out last night, you are suddenly overtaken by a vampire! They drain your blood, and your vision blurs to the point where you cannot make out your assailant before they retreat. You feel lightheaded and think that another similar encounter may kill you.",
"pactbreaker_drained_dead": "While out last night, you are suddenly overtaken by a vampire! They drain the rest of your blood as your consciousness fades away...",
"pactbreaker_drained_vigilante": "While out last night, you are suddenly overtaken by a vampire again! They drain the rest of your blood as your consciousness fades away. Shortly after, you reawaken in your own home with an unnatural hunger. It seems you have become {=vampire!role:article} {=vampire!role:bold} yourself!",
"pactbreaker_drained_vigilante": "While out last night, you are suddenly overtaken by a vampire again! They drain the rest of your blood as your consciousness fades away. Shortly after, you reawaken in your own home with an unnatural hunger. It seems you have become {0!role:article} {0!role:bold} yourself!",
"pactbreaker_stocks": "Examining {0:@} while they are in the stocks leads you to the conclusion that they are {1!role:article} {1!role:bold}!",
"pactbreaker_exposed": "You spot {0:@} while out last night and note the silver crossbow they appear to be carrying. It seems they are {=vigilante!role:article} {=vigilante!role:bold}!",
"pactbreaker_house_kill": "Knowing that {0:@} is {1!role:article} {1!role:bold}, you sneak into their house and fire a silver crossbow bolt at them before they have the chance to react.",
Expand Down
2 changes: 1 addition & 1 deletion src/gamemodes/pactbreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def on_night_kills(self, evt: Event, var: GameState):
elif killer_role == "vampire" and victim_role == "vigilante":
# if the vampire fully drains a vigilante, they turn into a vampire instead of dying
killer.send(messages["pactbreaker_drain_turn"].format(victim))
change_role(var, victim, victim_role, "vampire", message="pactbreaker_drain_turn")
change_role(var, victim, victim_role, "vampire", message="pactbreaker_drained_vigilante")
# get rid of the new vampire's drained condition and all hard evidence against the former vigilante
self.drained.discard(victim)
for collector, evidence in self.collected_evidence.items():
Expand Down

0 comments on commit 8469e60

Please sign in to comment.