# id 867200407 (Abrup Basin : Kaptafel Ashes), field 867200407
sm.lockInGameUI(True, False)
sm.spawnNpc(9400677, 2684, 400)
sm.showNpcSpecialActionByTemplateId(9400677, "summon", 0)
sm.spawnNpc(9400678, 2388, 400)
sm.showNpcSpecialActionByTemplateId(9400678, "summon", 0)
sm.spawnNpc(9400679, 2130, 400)
sm.showNpcSpecialActionByTemplateId(9400679, "summon", 0)
sm.spawnNpc(9400588, 2637, 410)
sm.showNpcSpecialActionByTemplateId(9400588, "summon", 0)
sm.spawnNpc(9400589, 2485, 400)
sm.showNpcSpecialActionByTemplateId(9400589, "summon", 0)
sm.spawnNpc(9400591, 2288, 404)
sm.showNpcSpecialActionByTemplateId(9400591, "summon", 0)
sm.startQuest(64160)
sm.spawnNpc(9400581, 2564, 406)
sm.showNpcSpecialActionByTemplateId(9400581, "summon", 0)
sm.startQuest(64163)
sm.spawnNpc(9400592, 2239, 408)
sm.showNpcSpecialActionByTemplateId(9400592, "summon", 0)
sm.spawnNpc(9400582, 3318, 350)
sm.showNpcSpecialActionByTemplateId(9400582, "summon", 0)
sm.spawnNpc(9400590, 3384, 332)
sm.showNpcSpecialActionByTemplateId(9400590, "summon", 0)
sm.sendDelay(500)
sm.showEffect("Effect/OnUserEff.img/emotionBalloon/exclamation", 1000, 0, 0, 0, 18283625, 0, 0)
sm.sendDelay(3000)
sm.avatarOriented("Effect/OnUserEff.img/emotionBalloon/exclamation")
sm.moveNpcByTemplateId(9400582, True, 250, 300)
sm.forcedMove(True, 300)
sm.sendDelay(1000)
sm.showNpcSpecialActionByTemplateId(9400582, "movingattack", 0)
sm.forcedAction(5, 0)
sm.sendDelay(1000)
sm.moveNpcByTemplateId(9400588, False, 200, 200)
sm.sendDelay(1000)
sm.moveNpcByTemplateId(9400590, True, 200, 100)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(9400588) # Ullan
sm.sendNext("Wah! What are you all doing?! You're scaring Elle! ")
sm.sendDelay(1000)
sm.setInnerOverrideSpeakerTemplateID(9400589) # Peytour
sm.sendNext("#face0#Hah, good! These will be pulling the wagon. Just what we needed. ")
sm.setParam(57)
sm.sendSay("#bElle? ")
sm.setParam(37)
sm.setInnerOverrideSpeakerTemplateID(9400582) # Cayne
sm.sendSay("#face0#Is it, perchance... A female? ")
sm.setInnerOverrideSpeakerTemplateID(9400588) # Ullan
sm.sendSay("What do you mean by 'perchance'? ")
sm.spawnNpc(9400587, 3318, 350)
sm.showNpcSpecialActionByTemplateId(9400587, "summon", 0)
sm.spawnNpc(9400596, 3384, 332)
sm.showNpcSpecialActionByTemplateId(9400596, "summon", 0)
sm.sendDelay(500)
sm.moveNpcByTemplateId(9400587, True, 100, 100)
sm.moveNpcByTemplateId(9400596, True, 100, 100)
sm.sendDelay(3000)
sm.setInnerOverrideSpeakerTemplateID(9400587) # Kan
sm.sendNext("#face0#I believe that we have everyone. ")
sm.setInnerOverrideSpeakerTemplateID(9400591) # Shulla
sm.sendSay("I don't like this... abandoning our homes. ")
sm.setInnerOverrideSpeakerTemplateID(9400589) # Peytour
sm.sendSay("#face0#We will return soon. I promise. ")
sm.setInnerOverrideSpeakerTemplateID(9400592) # Aruhi
sm.sendSay("#face1#Ha ha ha, serves you right. HIC! I told you, didn't I? You should have HIC! listened to me! HIC! ")
sm.setInnerOverrideSpeakerTemplateID(9400589) # Peytour
sm.sendSay("#face0#Aruhi! ")
sm.setParam(57)
sm.sendSay("#bHmm, hmm. Shall we get going, then? ")
sm.sendDelay(1000)
sm.moveNpcByTemplateId(9400581, False, 600, 100)
sm.setParam(37)
sm.setInnerOverrideSpeakerTemplateID(9400581) # Butler
sm.sendNext("#face0#Vanguards, move out! ")
sm.sendDelay(2000)
sm.lockInGameUI(False, True)
sm.setInnerOverrideSpeakerTemplateID(9400589) # Peytour
sm.sendNext("#face0#People were right to say that disaster comes without warning. I still can't believe it... ")
sm.playExclSoundWithDownBGM("Field.img/masteryBook/EnchantSuccess", 100)
sm.sendSay("#face0#Regardless, we got everyone together and supplied ahead of the storm. You played a big part in that, and I thank you for your efforts.")
sm.completeQuestNoCheck(64031)
sm.createQuestWithQRValue(64005, "")
sm.createQuestWithQRValue(64006, "")
sm.createQuestWithQRValue(64007, "")
sm.createQuestWithQRValue(64006, "Ec=0")
sm.createQuestWithQRValue(64006, "prog=0;Ec=0")
sm.createQuestWithQRValue(64006, "prog=0;Ec=0;max=0")
sm.createQuestWithQRValue(64006, "prog=0;Ec=0;max=0;food=450")
sm.createQuestWithQRValue(64006, "prog=0;Ec=0;weather=0;max=0;food=450")
sm.createQuestWithQRValue(64006, "WC=0;prog=0;Ec=0;weather=0;max=0;food=450")
sm.createQuestWithQRValue(64007, "happy0=50")
sm.createQuestWithQRValue(64007, "happy0=50;happy1=50")
sm.createQuestWithQRValue(64007, "happy0=50;happy1=50;happy2=60")
sm.createQuestWithQRValue(64007, "happy0=50;happy1=50;happy2=60;happy3=55")
sm.createQuestWithQRValue(64007, "happy0=50;happy1=50;happy2=60;happy3=55;man0=56")
sm.createQuestWithQRValue(64007, "happy0=50;happy1=50;happy2=60;happy3=55;man0=56;man1=33")
sm.createQuestWithQRValue(64007, "happy0=50;happy1=50;happy2=60;happy3=55;man0=56;man1=33;man2=38")
sm.createQuestWithQRValue(64007, "happy0=50;happy1=50;happy2=60;happy3=55;man0=56;man1=33;man2=38;man3=73")
sm.createQuestWithQRValue(64006, "WC=0;man=200;prog=0;Ec=0;weather=0;max=0;food=450")
sm.warp(867200501)
