maple-v206/scripts/quest/q20031e.py

38 lines
974 B
Python

# Manual Labor
# Constants
LIMBERT = 1106002
ITEM1 = 4033194
ITEM2 = 4033195
sm.setSpeakerID(LIMBERT)
selection1 = sm.sendNext("What took you so long?! You better not have been rooting through my things!\r\n#b\r\n#L0#I wasn't, but I found this letter up there by the potion box... It's from some guy named Chromile.#l")
if selection1 == 0:
sm.sendNext("What?! Who told you you could touch that?!")
else:
sm.dispose()
sm.consumeItem(ITEM1)
sm.consumeItem(ITEM2)
sm.giveItem(2001500, 10)
sm.giveItem(2001503, 10)
sm.completeQuestNoRewards(20031)
sm.addLevel(2)
sm.lockInGameUI(True)
sm.localEmotion(4, 2000, False)
sm.sendDelay(2000)
sm.removeEscapeButton()
sm.setPlayerAsSpeaker()
sm.sendNext("Another great day with the old man...")
sm.sendSay("Huh? What's that?")
sm.showBalloonMsg("Effect/Direction7.img/effect/tuto/soul/0", 4000)
sm.sendDelay(5000)
sm.sendNext("It was like... a small shining light...")
sm.warpInstanceIn(913070002, 0)
sm.dispose()