maple-v206/scripts/item/consume_2432582.py

11 lines
437 B
Python

# Flying Feet Mount Permanent Coupon | (2432582)
if sm.getSkillByItem() == 0:# Check whether item has an vehicleID stored, 0 if false.
sm.chat("An Error occurred whilst trying to find the mount.")
elif sm.hasSkill(sm.getSkillByItem()):
sm.chat("You already have the 'Flying Feet' mount.")
else:
sm.consumeItem()
sm.giveSkill(sm.getSkillByItem())
sm.chat("Successfully added the 'Flying Feet' mount.")
sm.dispose()