mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
- Added a way to obtain a pet without BEing - Attempted to figure out how to bring up the pet tool bar
18 lines
434 B
Python
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
|
|
|