maple-v206/scripts/field/enter_867200402.py

62 lines
2.6 KiB
Python

# id 867200402 (Abrup Basin : Kaptafel Ashes), field 867200402
sm.lockInGameUI(True, False)
sm.spawnNpc(9400569, 1696, 362)
sm.showNpcSpecialActionByTemplateId(9400569, "summon", 0)
sm.spawnNpc(9400577, 1175, 92)
sm.showNpcSpecialActionByTemplateId(9400577, "summon", 0)
sm.spawnNpc(9400578, 1440, 312)
sm.showNpcSpecialActionByTemplateId(9400578, "summon", 0)
sm.setMapTaggedObjectVisible("guide136", False, 0, 0)
sm.setMapTaggedObjectVisible("guide137", False, 0, 0)
sm.setMapTaggedObjectVisible("guide135", False, 0, 0)
sm.spawnNpc(9400591, 1180, 253)
sm.showNpcSpecialActionByTemplateId(9400591, "summon", 0)
sm.flipNpcByTemplateId(9400591, False)
sm.startQuest(64160)
sm.spawnNpc(9400593, 1055, 200)
sm.showNpcSpecialActionByTemplateId(9400593, "summon", 0)
sm.startQuest(64166)
sm.spawnNpc(9400580, 1350, 280)
sm.showNpcSpecialActionByTemplateId(9400580, "summon", 0)
sm.spawnNpc(9400582, 1400, 280)
sm.showNpcSpecialActionByTemplateId(9400582, "summon", 0)
sm.forcedFlip(True)
sm.sendDelay(1000)
sm.playSound("Sound/PL_MONAD.img/EP1/ACT1/hawaru2", 128)
sm.sendDelay(2500)
sm.speechBalloon(True, 0, 0, "Waaah, Mom! Stop...", 2000, 1, 0, 0, 0, 4, 9400593, 4878499)
sm.sendDelay(2500)
sm.speechBalloon(True, 0, 0, "Mom... waaaah!", 2000, 1, 0, 0, 0, 4, 9400593, 4878499)
sm.moveNpcByTemplateId(9400580, True, 80, 50)
sm.sendDelay(1000)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(9400580) # Alika
sm.sendNext("#face5#What are you looking for, Shulla? You're going to hurt yourself. ")
sm.sendDelay(2000)
sm.setInnerOverrideSpeakerTemplateID(9400591) # Shulla
sm.sendNext("My daughter...")
sm.sendDelay(2000)
sm.sendNext("My daughter's picture... her hat...")
sm.setInnerOverrideSpeakerTemplateID(9400580) # Alika
sm.sendSay("#face5#Shulla, really... Don't hurt yourself. Here, I'll help. ")
sm.moveNpcByTemplateId(9400580, True, 100, 70)
sm.setParam(57)
sm.sendSay("#b...What is she looking for? ")
sm.setParam(37)
sm.setInnerOverrideSpeakerTemplateID(9400582) # Cayne
sm.sendSay("#face0#Her daughter went missing some time ago. ")
sm.sendSay("#face0#Since then she always carries her daughter's picture and hat. If she loses those... Well, I can't imagine the pain.")
sm.sendDelay(1000)
sm.flipNpcByTemplateId(9400580, False)
sm.sendDelay(500)
sm.moveNpcByTemplateId(9400582, True, 100, 50)
sm.setParam(57)
sm.sendNext("#b(The old lady in the letter also mentioned her granddaughter was missing.) ")
res = sm.sendNext("#b(Does this mean multiple people are missing?)#b\r\n#L0# I'll help Shulla and then ask her about what happened.#l")
sm.completeQuestNoCheck(64017)
sm.startQuest(64018)
sm.lockInGameUI(False, True)
sm.warp(867200400)