aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-10-28 20:10:17 +0200
committernea <nea@nea.moe>2023-10-28 20:10:17 +0200
commit685478c4f09f41635ff73dc87e5aa5b739c5cb8c (patch)
tree21d850e3effddfc277d53ebea38639de1e2463b3
parent862ca27a37a898d6600828ebc70cca0ebf1d1db6 (diff)
downloadNotEnoughUpdates-685478c4f09f41635ff73dc87e5aa5b739c5cb8c.tar.gz
NotEnoughUpdates-685478c4f09f41635ff73dc87e5aa5b739c5cb8c.tar.bz2
NotEnoughUpdates-685478c4f09f41635ff73dc87e5aa5b739c5cb8c.zip
Make Cake Timer in todo overlay reset when eating a refreshment cakefixyummycakeyumyum
Fixes #907
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java
index 4efdb977..bf73e2ec 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java
@@ -69,7 +69,7 @@ public class TimersOverlay extends TextTabOverlay {
private static final Pattern PATTERN_ACTIVE_EFFECTS = Pattern.compile(
"\u00a7r\u00a7r\u00a77You have a \u00a7r\u00a7cGod Potion \u00a7r\u00a77active! \u00a7r\u00a7d([1-5][0-9]|[0-9])[\\s|^\\S]?(Seconds|Second|Minutes|Minute|Hours|Hour|Day|Days|h|m|s) ?([1-5][0-9]|[0-9])?([ms])?\u00a7r");
private static final Pattern CAKE_PATTERN = Pattern.compile(
- "\u00a7r\u00a7d\u00a7lYum! \u00a7r\u00a7eYou gain .+ \u00a7r\u00a7efor \u00a7r\u00a7a48 \u00a7r\u00a7ehours!\u00a7r");
+ "§r§d§l(?:Big )?Yum! §r§eYou (?:refresh|gain) §r§.+ §r§efor §r§a48 §r§ehours!§r");
private static final Pattern PUZZLER_PATTERN =
Pattern.compile("\u00a7r\u00a7dPuzzler\u00a7r\u00a76 gave you .+ \u00a7r\u00a76for solving the puzzle!\u00a7r");
private static final Pattern FETCHUR_PATTERN =