mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
16 lines
444 B
Python
16 lines
444 B
Python
from resources.common import RadialOptions
|
|
import sys
|
|
|
|
def createRadial(core, owner, target, radials):
|
|
radials.add(RadialOptions(0, 7, 1, ''))
|
|
radials.add(RadialOptions(0, 15, 1, ''))
|
|
radials.add(RadialOptions(0, 61, 1, ''))
|
|
return
|
|
|
|
def handleSelection(core, owner, target, option):
|
|
if option == 61 and target:
|
|
core.objectService.useObject(owner, target)
|
|
if option == 15 and target:
|
|
core.objectService.destroyObject(target)
|
|
return
|
|
|