From c6c0c1a5a553c66796418b07077465c0c7a89069 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 25 Feb 2021 14:37:37 -0500 Subject: Ionia randomly appears in the water --- res/scripts/hallucination_hot_spring.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'res') diff --git a/res/scripts/hallucination_hot_spring.lua b/res/scripts/hallucination_hot_spring.lua index 5251ab6..6713e0c 100644 --- a/res/scripts/hallucination_hot_spring.lua +++ b/res/scripts/hallucination_hot_spring.lua @@ -1,7 +1,12 @@ hallucination_hot_spring = {} function hallucination_hot_spring.init() - ShowExpression("water_ionia", "surprise") + if randomChance(3.0/4.0) then + DestroyNamedSprite("water_ionia") + gamestate.ionia_in_water = false + else + gamestate.ionia_in_water = true + end end function hallucination_hot_spring.off_right() -- cgit 1.4.1