# id 867201690 (Abrup Basin : Eyeful Treasure Trove), field 867201690
sm.lockInGameUI(True, False)
sm.spawnNpc(9400590, 50, 230)
sm.showNpcSpecialActionByTemplateId(9400590, "summon", 0)
sm.spawnNpc(9400597, 130, 230)
sm.showNpcSpecialActionByTemplateId(9400597, "summon", 0)
sm.forcedInput(4)
sm.showNpcSpecialActionByTemplateId(9400597, "die", 0)
sm.showNpcSpecialActionByTemplateId(9400590, "die", 0)
sm.sendDelay(1000)
sm.sendDelay(1500)
sm.speechBalloon(True, 0, 0, "Aaaaargh!", 3000, 1, 0, 0, 0, 4, 9400597, 4878499)
sm.forcedInput(0)
sm.sendDelay(500)
sm.sendDelay(2000)
sm.speechBalloon(True, 0, 0, "Whoa! What's going on? ", 3000, 1, 0, 0, 0, 4, 9400590, 4878499)
sm.moveNpcByTemplateId(9400597, False, 80, 50)
sm.sendDelay(1000)
sm.moveNpcByTemplateId(9400590, False, 30, 40)
sm.sendDelay(2000)
sm.sendDelay(500)
sm.speechBalloon(True, 0, 0, "What's this?", 3000, 1, 0, 0, 0, 4, 9400597, 4878499)
sm.flipNpcByTemplateId(9400597, True)
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400597, False)
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400597, True)
sm.sendDelay(500)
sm.sendDelay(2000)
sm.speechBalloon(True, 0, 0, "Treasure?!", 3000, 1, 0, 0, 0, 4, 9400590, 4878499)
sm.setSpeakerType(3)
sm.setParam(37)
sm.setColor(1)
sm.setInnerOverrideSpeakerTemplateID(9400590) # Slaka
sm.sendNext("#face0#Aha! So this is where the Eyeful's been stashing all its treasure! ")
sm.sendSay("#face0#No wonder nobody's found it until now... That sneaky little thief! ")
sm.sendDelay(500)
sm.flipNpcByTemplateId(9400597, True)
sm.sendDelay(500)
sm.moveNpcByTemplateId(9400597, True, 20, 50)
sm.sendDelay(1000)
sm.setInnerOverrideSpeakerTemplateID(9400597) # Gurnardson
sm.sendNext("#face0#Gold watches... necklaces... ")
sm.setInnerOverrideSpeakerTemplateID(9400590) # Slaka
sm.sendSay("#face0#Earrings! Silver rings! An... arrowhead? Heh, forget this. ")
sm.sendDelay(500)
sm.showEffect("Effect/OnUserEff.img/emotion/oh", 0, 0, 0, 0, 34647009, 0, 0)
sm.setInnerOverrideSpeakerTemplateID(9400597) # Gurnardson
sm.sendNext("#face0#A cattle name tag... Eh? A cattle name tag?! ")
sm.sendDelay(500)
sm.showEffect("Effect/OnUserEff.img/emotion/whatl", 0, 0, 0, 0, 34647008, 0, 0)
sm.setInnerOverrideSpeakerTemplateID(9400590) # Slaka
sm.sendNext("#face0#What was that? ")
sm.setInnerOverrideSpeakerTemplateID(9400597) # Gurnardson
sm.sendSay("#face0#Hmm... Why would this be here? ")
sm.setInnerOverrideSpeakerTemplateID(9400590) # Slaka
sm.sendSay("#face0#There's only one explanation. The monsters ate the cattle, and then this one brought the tag back to its nest! ")
sm.sendSay("#face0#And to think, all this time you've been blaming Kaptafel folk for stealing your livestock. ")
sm.sendSay("#face0#Been barking up the wrong tree, haven't you? ")
sm.setInnerOverrideSpeakerTemplateID(9400597) # Gurnardson
sm.sendSay("#face0#Why... I don't understand... ")
sm.setInnerOverrideSpeakerTemplateID(9400590) # Slaka
sm.sendSay("#face0#You owe us an apology, Chief! Right now! ")
sm.setInnerOverrideSpeakerTemplateID(9400597) # Gurnardson
sm.sendSay("#face0#... ")
sm.createQuestWithQRValue(64122, "dir01=1")
sm.lockInGameUI(False, True)
