Files
NGECore2/scripts/radial/npc/corpse.py
T
CharonInferar 221f9a93fc Loot radial and power crystal items
Connected loot radial to corpse. Made powercrystal scripts.
Allowed the mobile scripts to drop loot now.
2014-04-10 04:22:54 +02:00

16 lines
390 B
Python

from resources.common import RadialOptions
import sys
def createRadial(core, owner, target, radials):
radials.clear()
radials.add(RadialOptions(0, 36, 0, 'Loot'))
return
def handleSelection(core, owner, target, option):
if option == 36 and target:
core.lootService.handleLootRequest(owner,target)
if option == 15 and target:
core.objectService.destroyObject(target)
return