mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
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
12 lines
343 B
Python
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
|
|
|