maple-v206/scripts/item/consume_2430875.py

11 lines
429 B
Python

# Honey Train Mount 7-Day Coupon | (2430875)
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 'Bee Train' mount.")
else:
sm.consumeItem()
sm.giveSkill(sm.getSkillByItem())
sm.chat("Successfully added the 'Bee Train' mount.")
sm.dispose()