maple-v206/scripts/npc/open_herb.py

8 lines
199 B
Python

from net.swordie.ms.enums import UIType
HERBALISM_SKILL = 92000000
if sm.hasSkill(HERBALISM_SKILL):
sm.openUI(UIType.UI_MAKING_SKILL)
else:
sm.systemMessage("Only Herbalists can use this.")