Esempio n. 1
0
 def isOn(self, *args):
     index = self.getVar()
     currentGoldPrice = game_vars.getTankmanCurrentPrice(index)
     defaultGoldPrice = game_vars.getTankmanDefaultPrice(index)
     return currentGoldPrice != defaultGoldPrice and currentGoldPrice[0] == 0
Esempio n. 2
0
 def isOn(self, *args):
     index = self.getVar()
     return game_vars.getTankmanCurrentPrice(index) != game_vars.getTankmanDefaultPrice(index)
Esempio n. 3
0
 def isOn(self, *args):
     index = self.getVar()
     currentGoldPrice = game_vars.getTankmanCurrentPrice(index)
     defaultGoldPrice = game_vars.getTankmanDefaultPrice(index)
     return currentGoldPrice != defaultGoldPrice and currentGoldPrice.gold == 0
Esempio n. 4
0
 def isOn(self, *args):
     index = self.getVar()
     return game_vars.getTankmanCurrentPrice(
         index) != game_vars.getTankmanDefaultPrice(index)