maple-v206/scripts/item/consume_2431656.py

9 lines
326 B
Python

# Prison Guard Ani Soul
souls = [2591096, 2591097, 2591098, 2591099, 2591100, 2591101, 2591102]
rand = sm.getRandomIntBelow(len(souls))
if not sm.hasItem(2431656, 10):
sm.sendSayOkay("You need at least 10 soul fragments to create a soul.")
else:
soul = souls[rand]
sm.consumeItem(2431656, 10)
sm.giveItem(soul)