maple-v206/scripts/item/consume_2433682.py

11 lines
442 B
Python

# Dong Dong Chiang Mount Coupon | (2433682)
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 'Dong Dong Chiang' mount.")
else:
sm.consumeItem()
sm.giveSkill(sm.getSkillByItem())
sm.chat("Successfully added the 'Dong Dong Chiang' mount.")
sm.dispose()