diff --git a/Tools/iconsmooth.py b/Tools/iconsmooth.py index ddc5578dc6..4cd53ca8b8 100644 --- a/Tools/iconsmooth.py +++ b/Tools/iconsmooth.py @@ -49,8 +49,8 @@ src_img = PIL.Image.open(input_name) input_row = src_img.size[0] // tile_w tiles = [] -# 48 is the amount of tiles that usually exist -for i in range(48): +# 48 is the amount of tiles that usually exist, but 56 covers walls with diagonal variants. +for i in range(56): tile = PIL.Image.new("RGBA", (tile_w, tile_h)) tx = i % input_row ty = i // input_row diff --git a/Tools/iconsmooth_lib.py b/Tools/iconsmooth_lib.py index 012385b6c2..370238b1b1 100644 --- a/Tools/iconsmooth_lib.py +++ b/Tools/iconsmooth_lib.py @@ -49,6 +49,21 @@ conversion_modes = { [ 46, 46, 46, 46], # 7 : Full ] ), + # TG + "tg_shuttle": ConversionMode( + 7, 9, + [ + # BR, TL, TR, BL + [ 0, 0, 0, 0], + [ 16, 16, 3, 3], + [ 0, 0, 0, 0], + [ 16, 16, 3, 3], + [ 3, 3, 16, 16], + [ 19, 19, 19, 19], + [ 3, 3, 16, 16], + [ 54, 54, 54, 54], + ] + ), # Citadel Station "citadel": ConversionMode( 7, 3,