Surveying debugging

Improved surveying
This commit is contained in:
CharonInferar
2014-03-31 19:50:02 +02:00
parent f4527d60f4
commit e692120b8f
9 changed files with 276 additions and 116 deletions
+2 -4
View File
@@ -9,18 +9,16 @@ import sys
def createRadial(core, owner, target, radials):
radials.clear()
radials.add(RadialOptions(0, 21, 1, 'Use'))
radials.add(RadialOptions(0, 133, 4, 'Tool Options'))
radials.add(RadialOptions(0, 134, 6, 'Tool Resolution'))
radials.add(RadialOptions(0, 132, 1, 'Tool Options'))
return
def handleSelection(core, owner, target, option):
owner.sendSystemMessage('Distance to nearest Deposit : ' ,0)
if option == 21 and target:
if owner is not None:
rlfsm = ResourceListForSurveyMessage(core,target,owner)
owner.getClient().getSession().write(rlfsm.serialize())
return
if option == 133:
if option == 132:
if owner is not None:
surSvc = core.surveyService
surSvc.createSurveyRangeSUIWindow(owner, target)