maple-v206/scripts/field/lightning_tuto_12_0.py

27 lines
754 B
Python

LANIA = 1032201
sm.lockInGameUI(True)
sm.spawnNpc(LANIA, 340, 0)
sm.showNpcSpecialActionByTemplateId(LANIA, "summon", 0)
sm.forcedInput(2)
sm.sendDelay(30)
sm.forcedInput(0)
sm.removeEscapeButton()
sm.setSpeakerID(LANIA)
sm.sendNext("The weather's beautiful! We should have a picnic before winter comes! Would you like that?")
sm.flipDialoguePlayerAsSpeaker()
sm.sendSay("Let's buy some ingredients from the market. I feel like cooking!")
sm.setSpeakerID(LANIA)
sm.sendSay("Yes! I'll make a cream cheese spread and we can make fancy sandwiches!")
sm.flipDialoguePlayerAsSpeaker()
sm.sendSay("(Yes, a home cooked meal is what I need to calm this turmoil inside.)")
sm.moveNpcByTemplateId(LANIA, True, 400, 100)
sm.sendDelay(1500)
sm.forcedInput(1)