Skip to content

Commit

Permalink
Let mystics see win stealer counts too
Browse files Browse the repository at this point in the history
Also remove an unnecessary addition at high player counts in sleepy
  • Loading branch information
skizzerz committed Dec 24, 2024
1 parent a15acac commit ea66d8a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,6 @@
"sleepy_nightmare_target_idle": "Because you did not act in time, your fight-or-flight response urges you to run away as fast as you can.",
"sleepy_priest_death": "The sky suddenly darkens as a thunderstorm appears from nowhere. The bell on the newly-abandoned church starts ringing in sinister tones before the building is struck repeatedly by lightning, setting it alight in a raging inferno...",
"sleepy_doomsayer_turn": "You feel something rushing into you and taking control over your mind and body. It causes you to rapidly start transforming into a werewolf, and you realize your vision powers can now be used to inflict malady on the unwary. You are now {=doomsayer!role:article} {=doomsayer!role:bold}.",
"sleepy_succubus_turn": "You feel something rushing into you and taking control over your mind and body. You are now {=succubus!role:article} {=succubus!role:bold}. Your job is to entrance the village, bringing them all under your absolute control.",
"sleepy_demoniac_turn": "You feel something rushing into you and taking control over your mind and body, showing you your new purpose in life. There are far greater evils than the wolves lurking in the shadows, and by sacrificing all of the wolves, you can unleash those evils upon the world. You are now {=demoniac!role:article} {=demoniac!role:bold}.",
"sleepy_jester_turn": "You hear dark whispers promising you power and the ability to fight back against all that is wrong with the world. You need only to shuffle off your mortal coil, they say. You cackle madly, thinking that to be a small price to pay. You are now {=jester!role:article} {=jester!role:bold}.",
"sleepy_monster_turn": "You feel something rushing into you and taking control over your mind and body. You don't need the wolves in order to ruin the village, you can do it all yourself! You are now {=monster!role:article} {=monster!role:bold}.",
Expand Down
2 changes: 1 addition & 1 deletion src/defaultsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ gameplay: &gameplay
_default: 20
turn:
_desc: >
How likely certain roles (seer, harlot) are to change into other roles when priest dies.
How likely certain roles are to change into other roles when priest dies.
A value between 0 and 1 is the percentage chance for these roles to turn (e.g. 0.42 is a 42% chance).
_type:
- float
Expand Down
3 changes: 1 addition & 2 deletions src/gamemodes/sleepy.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, arg=""):
21: ["monster", "hunter"],
22: ["augur", "amnesiac(2)"],
23: ["insomniac", "cultist"],
24: ["wolf(3)", "harlot"]
24: ["wolf(2)"]
}

self.TURN_CHANCE = config.Main.get("gameplay.modes.sleepy.turn")
Expand Down Expand Up @@ -259,7 +259,6 @@ def happy_fun_times(self, evt: Event, var: GameState, player, all_roles, death_t
channels.Main.send(messages["sleepy_priest_death"])

mapping = {"seer": "doomsayer",
"harlot": "succubus",
"cultist": "demoniac",
"vengeful ghost": "jester"}
for old, new in mapping.items():
Expand Down
2 changes: 1 addition & 1 deletion src/roles/mystic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from src.gamestate import GameState
from src.roles.helper.mystics import register_mystic

register_mystic("mystic", send_role=True, types=("Evil",))
register_mystic("mystic", send_role=True, types=("Evil", "Win Stealer"))

@event_listener("get_role_metadata")
def on_get_role_metadata(evt: Event, var: Optional[GameState], kind: str):
Expand Down

0 comments on commit ea66d8a

Please sign in to comment.