Files
NGECore2/scripts/radial/vehicleDeed.py
T
CharonInferar 5345e8c031 Work on bikes
Further work will be in another branch
2014-03-31 19:53:55 +02:00

19 lines
541 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 == 7 and target:
owner.sendSystemMessage('7', 0)
if option == 61 and target:
owner.sendSystemMessage('61', 0)
core.objectService.useObject(owner, target)
if option == 15 and target:
core.objectService.destroyObject(target)
return