Esempio n. 1
0
    def getWeaponCounts(self, weaponIds=[]):
        if weaponIds:
            countsDict = {}
            for currWeapon in weaponIds:
                countsDict[currWeapon] = self.getItemQuantity(getWeaponCategory(), currWeapon)

            return countsDict
        else:
            return self.getItemQuantity(getWeaponCategory())
    def getWeaponCounts(self, weaponIds = []):
        if weaponIds:
            countsDict = { }
            for currWeapon in weaponIds:
                countsDict[currWeapon] = self.getItemQuantity(getWeaponCategory(), currWeapon)

            return countsDict
        else:
            return self.getItemQuantity(getWeaponCategory())
Esempio n. 3
0
 def getWeapons(self):
     return self.getItemsInCategory(getWeaponCategory())
 def getWeapons(self):
     return self.getItemsInCategory(getWeaponCategory())