Skip to content

Commit e90670d

Browse files
committed
Revert thing where dulla doesn't need to kill targets in sleepy
The targets on dulla list now need to properly all die again for dulla to win. Nightmares were a bit pointless otherwise.
1 parent ea66d8a commit e90670d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

messages/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,8 +1232,8 @@
12321232
"sleepy_nightmare_escape_hide": "You momentarily break line of sight with your {=pursuer,pursuers:plural({0})} and take the opportunity to dive for cover. You hold your breath for what feels like an eternity as they finally rush past you. After a few more minutes, you gather enough courage to sneak back to the village.",
12331233
"sleepy_nightmare_caught": "Your attempts to evade your {=pursuer,pursuers:plural({0})} fail as they catch you...",
12341234
"sleepy_nightmare_kill": "You catch up with {0:@} with an evil grin on your face as you raise your whip...",
1235-
"sleepy_nightmare_fail_river": "Certain that your quarry has chosen to lay down in the grassy plains, you slow your pace to check for signs of movement or unnaturally flat grass. Looking up, you spot your target on the bridge, crossing to the other side of the river. Now that your target has successfully evaded you, you feel no compulsion to attack them in the future.",
1236-
"sleepy_nightmare_fail_hide": "As you continue thundering down the path, you realise something is amiss as your quarry is nowhere to be seen! You search around for some time, but are unable to find them. Now that your target has successfully evaded you, you feel no compulsion to attack them in the future.",
1235+
"sleepy_nightmare_fail_river": "Certain that your quarry has chosen to lay down in the grassy plains, you slow your pace to check for signs of movement or unnaturally flat grass. Looking up, you spot your target on the bridge, crossing to the other side of the river.",
1236+
"sleepy_nightmare_fail_hide": "As you continue thundering down the path, you realise something is amiss as your quarry is nowhere to be seen! You search around for some time, but are unable to find them.",
12371237
"sleepy_nightmare_success": "You have chosen to {0!command:bold}.",
12381238
"sleepy_nightmare_acted": "You have already made your choice!",
12391239
"sleepy_nightmare_dullahan_idle": "Because you did not act in time, you are consumed by the thrill of the hunt as you give chase to your target.",

src/gamemodes/sleepy.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def nightmare_timer(self, timer_type: str, var: GameState):
158158
self.nightmare_step(var)
159159

160160
def nightmare_step(self, var: GameState):
161-
from src.roles.dullahan import KILLS, TARGETS
161+
from src.roles.dullahan import KILLS
162162
# keep track of who was already sent messages in case they're being chased by multiple dullahans
163163
notified = set()
164164
dulla_counts = defaultdict(int)
@@ -184,15 +184,13 @@ def nightmare_step(self, var: GameState):
184184
notified.add(target)
185185
target.send(messages["sleepy_nightmare_escape_hide"].format(dulla_counts[target]))
186186
dulla.send(messages["sleepy_nightmare_fail_hide"])
187-
TARGETS[dulla].discard(target)
188187
elif self.nightmare_progress[target] == 4:
189188
# target escapes
190189
del self.having_nightmare[dulla]
191190
if target not in notified:
192191
notified.add(target)
193192
target.send(messages["sleepy_nightmare_escape_run"].format(dulla_counts[target]))
194193
dulla.send(messages["sleepy_nightmare_fail_river"])
195-
TARGETS[dulla].discard(target)
196194
else:
197195
# target still being chased
198196
if target not in notified:

0 commit comments

Comments
 (0)