diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-25 14:37:37 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-25 14:37:37 -0500 |
commit | c6c0c1a5a553c66796418b07077465c0c7a89069 (patch) | |
tree | f1b4bc860ce8761a7632e16ee511cf026b8e5ab5 /res | |
parent | 941eb33f0dd787c891c55c2d798b310a8469b1fa (diff) | |
download | tanetane-c6c0c1a5a553c66796418b07077465c0c7a89069.tar.gz tanetane-c6c0c1a5a553c66796418b07077465c0c7a89069.tar.bz2 tanetane-c6c0c1a5a553c66796418b07077465c0c7a89069.zip |
Ionia randomly appears in the water
Diffstat (limited to 'res')
-rw-r--r-- | res/scripts/hallucination_hot_spring.lua | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ | |||
1 | hallucination_hot_spring = {} | 1 | hallucination_hot_spring = {} |
2 | 2 | ||
3 | function hallucination_hot_spring.init() | 3 | function hallucination_hot_spring.init() |
4 | ShowExpression("water_ionia", "surprise") | 4 | if randomChance(3.0/4.0) then |
5 | DestroyNamedSprite("water_ionia") | ||
6 | gamestate.ionia_in_water = false | ||
7 | else | ||
8 | gamestate.ionia_in_water = true | ||
9 | end | ||
5 | end | 10 | end |
6 | 11 | ||
7 | function hallucination_hot_spring.off_right() | 12 | function hallucination_hot_spring.off_right() |