7 cp=VS.getCurrentPlayer()
22 callsign = inputs[
'logged_in_users']
23 if callsign==
'' or callsign==
'OR, Type in a user:':
24 callsign = inputs[
'callsign']
26 print 'I would now place a bounty on '+
str(callsign)+
' for '+
str(float(inputs[
'credits']))+
' credits.'
27 print 'User value IS: '+
str(inputs[
'logged_in_users'])
33 'text',
"Place a bounty on someone's head",
35 items+=[
'height',0.05,
37 'textwidth',
'Credits:',0.3,
38 'textinput',
'credits',(
'%g'%
max(1000.,un.getCredits()/100.)),
44 logged_in_users.append(
'OR, Type in a user:')
45 items+=[
'text',
'Select a player in this system:',
46 'list',
'logged_in_users',len(logged_in_users)]+logged_in_users
48 'textwidth',
'Other Player:',0.3,
49 'textinput',
'callsign',
'',
52 items+=[
'list',
'logged_in_users',15,
'a',
'b',
'c',
'd',
'e',
'f',
'g',
'h',
'i',
'j',
'k',
'l',
'm',
'n',
'o']
74 print 'test clicked!!!!'
75 if action==
'Bounty Hunt':
76 print 'hunting bounty'
78 if action==
'OK' or action==
"Exit Menu" or action==
"Cancel":
85 'text',
'Public Computer Menu',
88 'button',
'View Score',
89 'button',
'Bounty Hunt',
90 'button',
'Exit Menu']
92 print 'id is set to: ',id