Пример #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
Пример #2
0
 def isOn(self, *args):
     index = self.getVar()
     return game_vars.getTankmanCurrentPrice(index) != game_vars.getTankmanDefaultPrice(index)
Пример #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
Пример #4
0
 def isOn(self, *args):
     index = self.getVar()
     return game_vars.getTankmanCurrentPrice(
         index) != game_vars.getTankmanDefaultPrice(index)