maple-v206/scripts/quest/q37161s.py

50 lines
2.1 KiB
Python

# id 37161 ([Elodin] Small Issue, Big Misunderstanding), field 101082000
sm.setSpeakerID(1501001) # Ruenna the Fairy
sm.setParam(3)
sm.sendNext("And... Why is it that you live in total darkness?")
sm.setParam(5)
sm.setInnerOverrideSpeakerTemplateID(1501013) # Ruenna the Fairy
sm.sendSay("Oh, well, you see...")
sm.lockInGameUI(True, False)
sm.removeAdditionalEffect()
sm.blind(True, 255, 0, 0, 0, 0)
sm.sendDelay(1000)
sm.onLayer(1500, "00", 0, 0, 12, "Effect/Direction21.img/Elodin/birdgrow/0", 4, True, -1, False)
sm.sendDelay(3000)
sm.sendNext("One day in the forest, I discovered a lonely bird crying his eyes out...")
sm.sendDelay(1000)
sm.onLayer(1500, "01", 0, 0, 12, "Effect/Direction21.img/Elodin/birdgrow/1", 4, True, -1, False)
sm.sendDelay(3000)
sm.sendNext("His parents were nowhere to be seen, and I couldn't bear to leave him there. So I brought him home with me.")
sm.sendDelay(1000)
sm.onLayer(1500, "02", 0, 0, 12, "Effect/Direction21.img/Elodin/birdgrow/2", 4, True, -1, False)
sm.sendDelay(3000)
sm.sendNext("Eventually, I taught him how I speak with the trees. I didn't see the harm in it, and it made him so happy...")
sm.sendDelay(1000)
sm.onLayer(1500, "03", 0, 0, 12, "Effect/Direction21.img/Elodin/birdgrow/3", 4, True, -1, False)
sm.sendDelay(3000)
sm.sendNext("But I quickly regretted it.")
sm.sendDelay(2000)
sm.offLayer(500, "00", False)
sm.offLayer(500, "01", False)
sm.offLayer(500, "02", False)
sm.offLayer(500, "03", False)
sm.sendDelay(2000)
sm.blind(True, 150, 0, 0, 0, 1300)
sm.showFadeTransition(0, 1000, 3000)
sm.zoomCamera(0, 1000, 2147483647, 2147483647, 2147483647)
sm.moveCamera(True, 0, 0, 0)
sm.sendDelay(300)
sm.removeOverlapScreen(1000)
sm.moveCamera(True, 0, 0, 0)
sm.lockInGameUI(False, True)
sm.sendNext("As for living in the dark, well...")
sm.setInnerOverrideSpeakerTemplateID(1501010) # Baby Bird
sm.sendSay("Ruenna said she sings better in the forest's natural light! I want to be just like her!")
sm.setInnerOverrideSpeakerTemplateID(1501013) # Ruenna the Fairy
sm.sendSay("Yes. But I never thought he'd take it so literally.")
sm.setParam(3)
sm.sendSay("......")
sm.startQuest(parentID)
sm.completeQuestNoCheck(parentID)