Files
NGECore2/scripts/radial/item/lightsaber.py
T
Seefo 8dd5f5d053 Initial commit of lightsaber customization - see extended
The majority of lightsaber customization now works.

All that I can think of that needs to be done is:

* Rare/Unique color crystals names/palette index to
resources.datatables.LightsaberColors
* Weapon element types and damage bonus based on color crystal
* Random stats when tuning power crystals/krayt dragon pearls
* Checks to see if lightsaber is full - container size is in IFFs, we
should implement it for all containers
2014-05-05 20:19:07 -04:00

12 lines
343 B
Python

from resources.common import RadialOptions
import sys
def createRadial(core, owner, target, radials):
radials.add(RadialOptions(0, 21, 1, 'Open Lightsaber'))
return
def handleSelection(core, owner, target, option):
if option == 21 and target:
core.simulationService.openContainer(owner, target.getSlottedObject("saber_inv"))
return