# id 867201005 (Abrup Basin : Svarti Entrance), field 867201005
sm.completeQuestNoCheck(64048)
sm.lockInGameUI(True, False)
sm.spawnNpc(9400581, 640, 0)
sm.showNpcSpecialActionByTemplateId(9400581, "summon", 0)
sm.spawnNpc(9400580, 550, 0)
sm.showNpcSpecialActionByTemplateId(9400580, "summon", 0)
sm.spawnNpc(9400587, 500, 0)
sm.showNpcSpecialActionByTemplateId(9400587, "summon", 0)
sm.spawnNpc(9400593, 440, -35)
sm.showNpcSpecialActionByTemplateId(9400593, "summon", 0)
sm.spawnNpc(9400591, 380, -35)
sm.showNpcSpecialActionByTemplateId(9400591, "summon", 0)
sm.spawnNpc(9400588, 325, -35)
sm.showNpcSpecialActionByTemplateId(9400588, "summon", 0)
sm.spawnNpc(9400597, 420, 0)
sm.showNpcSpecialActionByTemplateId(9400597, "summon", 0)
sm.spawnNpc(9400598, 370, 0)
sm.showNpcSpecialActionByTemplateId(9400598, "summon", 0)
sm.spawnNpc(9400599, 330, 0)
sm.showNpcSpecialActionByTemplateId(9400599, "summon", 0)
sm.spawnNpc(9400592, 260, 0)
sm.showNpcSpecialActionByTemplateId(9400592, "summon", 0)
sm.spawnNpc(9400589, 200, 0)
sm.showNpcSpecialActionByTemplateId(9400589, "summon", 0)
sm.spawnNpc(9400584, 136, 0)
sm.showNpcSpecialActionByTemplateId(9400584, "summon", 0)
sm.spawnNpc(9400585, 80, 0)
sm.showNpcSpecialActionByTemplateId(9400585, "summon", 0)
sm.spawnNpc(9400585, 30, 0)
sm.showNpcSpecialActionByTemplateId(9400585, "summon", 0)
sm.spawnNpc(9400582, 950, 0)
sm.showNpcSpecialActionByTemplateId(9400582, "summon", 0)
sm.forcedFlip(True)
sm.spawnNpc(9400583, 1060, -35)
sm.showNpcSpecialActionByTemplateId(9400583, "summon", 0)
sm.sendDelay(1000)
sm.showEffect("Effect/OnUserEff.img/emotion/oh", 0, 0, 0, 0, 33337019, 0, 0)
sm.sendDelay(500)
sm.moveNpcByTemplateId(9400597, False, 350, 150)
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400587, False)
sm.sendDelay(250)
sm.flipNpcByTemplateId(9400580, False)
sm.sendDelay(250)
sm.flipNpcByTemplateId(9400581, False)
sm.sendDelay(250)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(9400597) # Gurnardson
sm.sendNext("#face0#Whoa! Ahh, yes... Glad to see you're okay! ")
sm.sendSay("#face0#I was so worried about you in there... Ah, is anyone injured? ")
sm.setInnerOverrideSpeakerTemplateID(9400582) # Cayne
sm.sendSay("#face0#...What's he on about now? ")
sm.setParam(57)
sm.sendSay("#b... ")
sm.moveNpcByTemplateId(9400597, False, 50, 50)
sm.sendDelay(500)
sm.setParam(37)
sm.setInnerOverrideSpeakerTemplateID(9400597) # Gurnardson
sm.sendNext("#face0#You must be tired. Please, come in, come in. ")
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400597, True)
sm.sendDelay(500)
sm.sendNext("#face0#Chief Kan! Inside, quickly! ")
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400597, False)
sm.sendDelay(500)
sm.moveNpcByTemplateId(9400597, False, 100, 50)
sm.sendDelay(500)
sm.moveNpcByTemplateId(9400581, False, 100, 50)
sm.moveNpcByTemplateId(9400580, False, 100, 50)
sm.moveNpcByTemplateId(9400587, False, 100, 50)
sm.moveNpcByTemplateId(9400593, False, 100, 50)
sm.moveNpcByTemplateId(9400591, False, 100, 50)
sm.moveNpcByTemplateId(9400588, False, 100, 50)
sm.moveNpcByTemplateId(9400598, False, 100, 50)
sm.moveNpcByTemplateId(9400599, False, 100, 50)
sm.moveNpcByTemplateId(9400592, False, 100, 50)
sm.moveNpcByTemplateId(9400589, False, 100, 50)
sm.moveNpcByTemplateId(9400584, False, 100, 50)
sm.moveNpcByTemplateId(9400585, False, 100, 50)
sm.moveNpcByTemplateId(9400585, False, 100, 50)
sm.sendDelay(500)
sm.blind(True, 255, 0, 0, 0, 500)
sm.sendDelay(500)
sm.lockInGameUI(False, True)
sm.setInnerOverrideSpeakerTemplateID(9400587) # Kan
sm.sendNext("#face1#Chief Gurnardson... seems I have forgotten the value of one's word. ")
sm.playExclSoundWithDownBGM("Field.img/masteryBook/EnchantSuccess", 100)
sm.sendSay("#face1#I have been selfish in our dealings, and have taken your kindness and sacrifice for granted. ")
sm.sendSay("#face1#This is hardly enough to repay your kindness, but my people have gathered these to give to you. Accept them with my apologies, for I feel like the most incompetent person in Kaptafel now.")
sm.completeQuestNoCheck(64049)
sm.completeQuestNoCheck(64051)
sm.createQuestWithQRValue(64150, "cnt=1")
sm.warp(867201011)
