maple-v206/scripts/item/consume_2435090.py

11 lines
460 B
Python

# Steam Cylinder Wing Mount (90 Day) Coupon | (2435090)
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 'Steam Cylinder Wing' mount.")
else:
sm.consumeItem()
sm.giveSkill(sm.getSkillByItem())
sm.chat("Successfully added the 'Steam Cylinder Wing' mount.")
sm.dispose()