diff --git a/messages/en.json b/messages/en.json index 1fbca27e..baf71977 100644 --- a/messages/en.json +++ b/messages/en.json @@ -1446,7 +1446,7 @@ "pactbreaker_vigilante_notify": "You are {=vigilante!role:article} {=vigilante!role:bold}. It is your job to eliminate the {=wolf!role:plural} and {=vampire!role:plural} to end their threat over the village.\n{=pactbreaker_notify!message}.\nFinally, you can use \"{=kill!command} \" to kill someone in the stocks or a known {=wolf!role} or {=vampire!role} instead of visting a location. If the person you kill is not {=wolf!role:article} {=wolf!role} or {=wolf!role:article} {=vampire!role}, you will die alongside your victim.", "pactbreaker_villager_notify": "You are {=villager!role:article} {=villager!role:bold}. It is your job to either re-establish the pact with the {=wolf!role:plural} by killing the {=vigilante!role:plural} and {=vampire!role:plural} or to help the {=vigilante!role:plural} end the threat the {=wolf!role:plural} and {=vampire!role:plural} cause.\n{=pactbreaker_notify!message}", "pactbreaker_notify": "You may visit the {=forest!command:bold}, {=square!command:bold}, {=streets!command:bold}, or {=graveyard!command:bold} by using \"{=visit!command} \". Visiting allows you to collect evidence about other players.", - "pactbreaker_clue_notify": "You have {0:bold} clue {=token,tokens:plural({0})}. You may spend all of your clue tokens during the day (minimum 2) by using \"{=id!command} \" in PM to gain evidence on someone.", + "pactbreaker_clue_notify": "You have {0:bold} clue {=token,tokens:plural({0})}. You may spend all of your clue tokens during the day (minimum {1}) by using \"{=id!command} \" in PM to gain evidence on someone.", "pactbreaker_info_clues": "You have {0:bold} clue {=token,tokens:plural({0})}.", "pactbreaker_info_evidence": "You have collected evidence on the following people: {0:join}", "pactbreaker_info_evidence_entry": "{0} ({1!role})", diff --git a/src/gamemodes/pactbreaker.py b/src/gamemodes/pactbreaker.py index a76ad197..bbd81336 100644 --- a/src/gamemodes/pactbreaker.py +++ b/src/gamemodes/pactbreaker.py @@ -538,10 +538,11 @@ def on_begin_day(self, evt: Event, var: GameState): if self.last_voted is not None: add_lynch_immunity(var, self.last_voted, "pactbreaker") # alert people about clue tokens they have + threshold = config.Main.get("gameplay.modes.pactbreaker.clue.identify") for player, amount in self.clue_tokens.items(): if amount == 0: continue - player.send(messages["pactbreaker_clue_notify"].format(amount)) + player.send(messages["pactbreaker_clue_notify"].format(amount, threshold)) def on_lynch(self, evt: Event, var: GameState, votee: User, voters: Iterable[User]): self.last_voted = votee