Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Commit 52e2fa1

Browse files
committed
more robust ring-finger prompt handling
1 parent 91cd641 commit 52e2fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bothack/scraper.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
#"^What do you want to drink\?" drink-what
203203
#"^Drink from .*\?" drink-here
204204
#"^What do you want to zap\?" zap-what
205-
#"^Which ring-finger," which-finger
205+
#"^Which .*, [Rr]ight or [Ll]eft\?" which-finger
206206
#"^\"Cad! You did [0-9]+ zorkmids worth of damage!\" Pay\?" pay-damage
207207
#"^There (?:is|are) ([^;]+) here; eat (?:it|one)\?"
208208
:>> (partial apply list eat-it)

0 commit comments

Comments
 (0)