def _getImages(cls, vehicle, isRent=False): result = {} for size in AWARDS_SIZES.ALL(): image = '../maps/icons/quests/bonuses/{}/{}'.format(size, getItemIconName(vehicle.name)) if image in RES_ICONS.MAPS_ICONS_QUESTS_BONUSES_ALL_ENUM: result[size] = image if isRent: image = RES_ICONS.getRentVehicleAwardIcon(size) else: image = RES_ICONS.getVehicleAwardIcon(size) result[size] = image return result
def getUniqueIconPath(vehicleName, withLightning=False): if withLightning: return '../maps/icons/vehicle/unique/%s' % getItemIconName(vehicleName) else: return '../maps/icons/vehicle/unique/normal_%s' % getItemIconName( vehicleName)
def getSmallIconPath(vehicleName): return '../maps/icons/vehicle/small/%s' % getItemIconName(vehicleName)
def getContourIconPath(vehicleName): return '../maps/icons/vehicle/contour/%s' % getItemIconName(vehicleName)
def getUniqueIconPath(vehicleName, withLightning = False): if withLightning: return '../maps/icons/vehicle/unique/%s' % getItemIconName(vehicleName) else: return '../maps/icons/vehicle/unique/normal_%s' % getItemIconName(vehicleName)