summary refs log tree commit diff stats
path: root/res/scripts/hallucination_cliff.lua
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-03-08 13:18:50 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-03-08 13:18:50 -0500
commit8227f9f2ecde583b2c4d40b233cd45611819574d (patch)
tree91db8e30fec8cceb1ab279fcfa961b72797a3fea /res/scripts/hallucination_cliff.lua
parent1c995f2e6c589df9da28c5534c7128e1da64bb89 (diff)
downloadtanetane-8227f9f2ecde583b2c4d40b233cd45611819574d.tar.gz
tanetane-8227f9f2ecde583b2c4d40b233cd45611819574d.tar.bz2
tanetane-8227f9f2ecde583b2c4d40b233cd45611819574d.zip
Added more Nana dialogue if you talk to her repeatedly
Diffstat (limited to 'res/scripts/hallucination_cliff.lua')
-rw-r--r--res/scripts/hallucination_cliff.lua20
1 files changed, 19 insertions, 1 deletions
diff --git a/res/scripts/hallucination_cliff.lua b/res/scripts/hallucination_cliff.lua index 35da0b1..910d614 100644 --- a/res/scripts/hallucination_cliff.lua +++ b/res/scripts/hallucination_cliff.lua
@@ -15,11 +15,29 @@ function hallucination_cliff.enter_door()
15end 15end
16 16
17function hallucination_cliff.talk_to_nana() 17function hallucination_cliff.talk_to_nana()
18 if not gamestate.talked_to_nana_times then
19 gamestate.talked_to_nana_times = 0
20 end
21
18 StartCutscene() 22 StartCutscene()
19 SetAnimation("nana", "talk") 23 SetAnimation("nana", "talk")
20 DisplayMessage("* Don't talk to me.", "Nana", SpeakerType.WOMAN) 24
25 if gamestate.talked_to_nana_times == 0 then
26 DisplayMessage("* Don't talk to me.", "Nana", SpeakerType.WOMAN)
27 elseif gamestate.talked_to_nana_times == 1 then
28 DisplayMessage("* Go bother someone else.", "Nana", SpeakerType.WOMAN)
29 elseif gamestate.talked_to_nana_times == 2 then
30 DisplayMessage("* I only talked to you out of pity.", "Nana", SpeakerType.WOMAN)
31 elseif gamestate.talked_to_nana_times >= 3 and gamestate.talked_to_nana_times < 6 then
32 DisplayMessage("* ...", "Nana", SpeakerType.WOMAN)
33 elseif gamestate.talked_to_nana_times >= 6 then
34 DisplayMessage("* Shut up shut up shut up!\n\f* Can't you take a hint, you stupid boy?", "Nana", SpeakerType.WOMAN)
35 end
36
21 WaitForEndOfMessage() 37 WaitForEndOfMessage()
22 38
39 gamestate.talked_to_nana_times = gamestate.talked_to_nana_times + 1
40
23 SetAnimation("nana", "still") 41 SetAnimation("nana", "still")
24 SetDirection("nana", Direction.RIGHT) 42 SetDirection("nana", Direction.RIGHT)
25 HideCutsceneBars() 43 HideCutsceneBars()