Fix icons and script and version
@@ -18,7 +18,7 @@ debug = False
|
||||
saveInRoot = False
|
||||
|
||||
# Version data
|
||||
version = "1.22.1"
|
||||
version = "1.22.2"
|
||||
tag = "git"
|
||||
expansionName = "YC 118.6"
|
||||
expansionVersion = "1.0"
|
||||
|
||||
BIN
imgs/icons/123_10.png
Normal file
|
After Width: | Height: | Size: 894 B |
BIN
imgs/icons/123_11.png
Normal file
|
After Width: | Height: | Size: 904 B |
BIN
imgs/icons/123_5.png
Normal file
|
After Width: | Height: | Size: 861 B |
BIN
imgs/icons/123_6.png
Normal file
|
After Width: | Height: | Size: 1006 B |
BIN
imgs/icons/123_8.png
Normal file
|
After Width: | Height: | Size: 818 B |
BIN
imgs/icons/123_9.png
Normal file
|
After Width: | Height: | Size: 900 B |
BIN
imgs/icons/127_1.png
Normal file
|
After Width: | Height: | Size: 742 B |
BIN
imgs/icons/127_10.png
Normal file
|
After Width: | Height: | Size: 841 B |
BIN
imgs/icons/127_2.png
Normal file
|
After Width: | Height: | Size: 781 B |
BIN
imgs/icons/127_3.png
Normal file
|
After Width: | Height: | Size: 738 B |
BIN
imgs/icons/127_4.png
Normal file
|
After Width: | Height: | Size: 793 B |
BIN
imgs/icons/127_7.png
Normal file
|
After Width: | Height: | Size: 823 B |
BIN
imgs/icons/127_9.png
Normal file
|
After Width: | Height: | Size: 874 B |
BIN
imgs/icons/45_12.png
Normal file
|
After Width: | Height: | Size: 735 B |
|
Before Width: | Height: | Size: 732 B After Width: | Height: | Size: 731 B |
|
Before Width: | Height: | Size: 800 B After Width: | Height: | Size: 800 B |
@@ -38,7 +38,8 @@ ITEM_CATEGORIES = (
|
||||
16, # Skill
|
||||
18, # Drone
|
||||
20, # Implant
|
||||
32 # Subsystem
|
||||
32, # Subsystem
|
||||
66 # Structure Module
|
||||
)
|
||||
|
||||
MARKET_ROOTS = {
|
||||
@@ -48,7 +49,8 @@ MARKET_ROOTS = {
|
||||
11, # Ammo
|
||||
1112, # Subsystems
|
||||
24, # Implants & Boosters
|
||||
404 # Deployables
|
||||
404, # Deployables
|
||||
2202 # Structure Equipment
|
||||
}
|
||||
|
||||
# Add children to market group list
|
||||
@@ -153,7 +155,7 @@ for fname in os.listdir(icons_dir):
|
||||
print fname,"exists"
|
||||
existing.add(fname)
|
||||
|
||||
# Get a list of all the icons currently available
|
||||
# Get a list of all the icons currently available in export
|
||||
for dir in dirs:
|
||||
for fname in os.listdir(dir):
|
||||
if not os.path.isfile(os.path.join(dir, fname)):
|
||||
@@ -164,7 +166,7 @@ for dir in dirs:
|
||||
# convention without size specification
|
||||
sizeless = re.sub('^(?P<prefix>[^_]+)_(?P<size>\d+)_(?P<suffix>[^_]+)$', r'\1_\3', stripped)
|
||||
# Often items referred to with 01_01 format,
|
||||
fnames = export.setdefault(stripped.lower(), set())
|
||||
fnames = export.setdefault(sizeless.lower(), set())
|
||||
fnames.add(fname)
|
||||
|
||||
def crop_image(img):
|
||||
|
||||