From 6f070eb17a3c2fe5e4087eb6a8434dc31071691a Mon Sep 17 00:00:00 2001 From: Pacman Ghost Date: Mon, 14 Nov 2022 20:12:05 +1100 Subject: [PATCH] Correctly flag pieces from extensions as small. --- vasl_templates/tools/get_piece_info.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vasl_templates/tools/get_piece_info.py b/vasl_templates/tools/get_piece_info.py index 6b7d1dd..d0aabcb 100755 --- a/vasl_templates/tools/get_piece_info.py +++ b/vasl_templates/tools/get_piece_info.py @@ -64,6 +64,14 @@ for piece_info in doc.getroot(): if info: report[ gpid ] = info +# FUDGE! These are from extensions - it's not worth trying to figure these out programtically. +report[ "adf:1948" ] = { "is_small": True } # BFP Blood & Jungle: Dutch Brandt 47mm Mortar +report[ "adf:75" ] = { "is_small": True } # BFP Blood & Jungle: Indonesian Type 89 Heavy Grenade Launcher +report[ "adf:77" ] = { "is_small": True } # BFP Blood & Jungle: Indonesian Type 97 Automatic Gun +report[ "adf:76" ] = { "is_small": True } # BFP Blood & Jungle: Indonesian Year-11 Flat-Trajectory INF Gun +report[ "adf:1407" ] = { "is_small": True } # BFP Poland In Flames: German 2cm Tankbusche S-18 +report[ "08d:75" ] = { "is_small": True } # Fight For Seoul: American M20(L) 75mm Recoilless Rifle + # output the final report print( "{" ) lines = []