maple-v206/scripts/field/enter_867200852.py

43 lines
1.6 KiB
Python

# id 867200852 (Abrup Basin : Abandoned Village Camp), field 867200852
sm.lockInGameUI(True, False)
sm.blind(True, 255, 0, 0, 0, 0)
sm.spawnNpc(9400582, -320, 300)
sm.showNpcSpecialActionByTemplateId(9400582, "summon", 0)
sm.spawnNpc(9400580, -150, 300)
sm.showNpcSpecialActionByTemplateId(9400580, "summon", 0)
sm.showNpcSpecialActionByTemplateId(9400580, "sleep", -1)
sm.forcedInput(4)
sm.sendDelay(1000)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(9400582) # Cayne
sm.sendNext("#face0##h0#! #h0#! ")
sm.setParam(57)
sm.sendSay("#bAh... is it morning already? ")
sm.setParam(37)
sm.sendSay("#face0#Morning? What are you talking about? It's your turn on night watch! ")
sm.setParam(57)
sm.sendSay("#bUhhh...? ")
sm.blind(True, 255, 0, 0, 0, 0)
sm.sendDelay(1200)
sm.blind(False, 0, 0, 0, 0, 1000)
sm.sendDelay(1400)
sm.setParam(37)
sm.sendNext("#face0#Did... did no one tell you? The most capable warriors among us are taking turns keeping watch over the camp! We need your might to help us ensure the safety of- ")
sm.sendDelay(1000)
sm.forcedInput(0)
sm.sendDelay(2000)
sm.forcedFlip(True)
sm.setParam(57)
sm.sendNext("#bCayne... pipe down. You're going to wake everyone. ")
sm.setParam(37)
sm.sendSay("#face0#Ahh! My apologies... I was overcome by my noble vigor. ")
sm.sendSay("#face0#You take the east line. Our scouts report no monster groups out that way, but you might get one or two wanderers. Stay awake, and stay alert! ")
sm.setParam(57)
sm.sendSay("#bRight. Gotcha.")
sm.startQuest(64040)
sm.sendDelay(1000)
sm.lockInGameUI(False, True)
sm.warp(867200860)