mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
Picking up sampling a previously sampled resource, will add the stack to the according container.
18 lines
546 B
Python
18 lines
546 B
Python
from resources.common import RadialOptions
|
|
import sys
|
|
|
|
def createRadial(core, owner, target, radials):
|
|
radials.add(RadialOptions(0, 49, 0, 'Split'))
|
|
radials.add(RadialOptions(0, 7, 0, 'Examine'))
|
|
radials.add(RadialOptions(0, 15, 0, 'Destroy'))
|
|
return
|
|
|
|
def handleSelection(core, owner, target, option):
|
|
#if option == 21 and target:
|
|
#core.objectService.useObject(owner, target)
|
|
if option == 15 and target:
|
|
if target == player.getRecentContainer():
|
|
player.setRecentContainer(None)
|
|
|
|
core.objectService.destroyObject(target)
|
|
return |