From 81893c9de960cf2409ff4dd03bf9a1efb5b7f8ef Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Sun, 3 Mar 2024 23:59:29 -0600 Subject: [PATCH] Allow forcing of rain --- pageUpdater.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageUpdater.js b/pageUpdater.js index a174cc7..ea5136c 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -86,7 +86,7 @@ function converter(html, query) { var weather = weathers[time.getDate() % weathers.length] - if (weather == "rain") { + if (weather == "rain" || "rain" in query || "hardRain" in query) { html = html.replaceAll("{WEATHER_MODIFIER}", weatherGenerator.makeRain("hardRain" in query)) html = html.replaceAll("{WEATHER_TEXT}", `The rain is so pretty... I wish I saw it more...`)