Files
NGECore2/scripts/radial/npc/untamed.py
T
CharonInferar 0985451d7d Fix for #958, #959
- Added a way to obtain a pet without BEing
- Attempted to figure out how to bring up the pet tool bar
2014-07-05 18:10:39 +02:00

18 lines
434 B
Python

from resources.common import RadialOptions
import sys
def createRadial(core, owner, target, radials):
radials.clear()
# and check if owner is a beast master!
#owner.sendSystemMessage('UNTAMED', 1)
#if target.getAttachment('tamed'):
radials.add(RadialOptions(0, 159, 3, '@pet/pet_menu:menu_tame'))
return
def handleSelection(core, owner, target, option):
if option == 159:
core.petService.tame(owner, target)
return