maple-v206/scripts/item/consume_2432527.py

11 lines
452 B
Python

# Hot-Air Balloon O Mount 90-day Coupon | (2432527)
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 'Hot Air Balloon O' mount.")
else:
sm.consumeItem()
sm.giveSkill(sm.getSkillByItem())
sm.chat("Successfully added the 'Hot Air Balloon O' mount.")
sm.dispose()