From b200c9da9d5f09c319b5270c5a7690eb803a3212 Mon Sep 17 00:00:00 2001 From: Sumpfork Date: Tue, 3 Nov 2015 14:34:19 -0800 Subject: [PATCH] simplify language mapping to always use english card type tags - we never show them in the generated pdf anyway --- card_db/de/mapping.json | 15 - card_db/en_us/mapping.json | 15 - card_db/it/cards.json | 580 ++++++++++++++++++------------------- card_db/it/mapping.json | 11 - dominion_tabs.py | 6 +- 5 files changed, 291 insertions(+), 336 deletions(-) diff --git a/card_db/de/mapping.json b/card_db/de/mapping.json index 40b12ca..2c63c08 100644 --- a/card_db/de/mapping.json +++ b/card_db/de/mapping.json @@ -1,17 +1,2 @@ { - "Action": "Action", - "Victory": "Victory", - "Attack": "Attack", - "Treasure": "Treasure", - "Reaction": "Reaction", - "Duration": "Duration", - "Prize": "Prize", - "Shelter": "Shelter", - "Ruins": "Ruins", - "Looter": "Looter", - "Curse": "Curse", - "Blank": "Blank", - "Reserve": "Reserve", - "Traveller": "Traveller", - "Event": "Event" } diff --git a/card_db/en_us/mapping.json b/card_db/en_us/mapping.json index 40b12ca..2c63c08 100644 --- a/card_db/en_us/mapping.json +++ b/card_db/en_us/mapping.json @@ -1,17 +1,2 @@ { - "Action": "Action", - "Victory": "Victory", - "Attack": "Attack", - "Treasure": "Treasure", - "Reaction": "Reaction", - "Duration": "Duration", - "Prize": "Prize", - "Shelter": "Shelter", - "Ruins": "Ruins", - "Looter": "Looter", - "Curse": "Curse", - "Blank": "Blank", - "Reserve": "Reserve", - "Traveller": "Traveller", - "Event": "Event" } diff --git a/card_db/it/cards.json b/card_db/it/cards.json index 028df9e..c2aba14 100644 --- a/card_db/it/cards.json +++ b/card_db/it/cards.json @@ -7,7 +7,7 @@ "name": "Sotterraneo", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -18,7 +18,7 @@ "name": "Cappella", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -29,8 +29,8 @@ "name": "Fossato", "potcost": 0, "types": [ - "Azione", - "Reazione" + "Action", + "Reaction" ] }, { @@ -41,7 +41,7 @@ "name": "Cancelliere", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -52,7 +52,7 @@ "name": "Villaggio", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -63,7 +63,7 @@ "name": "Taglialegna", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -74,7 +74,7 @@ "name": "Officina", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -85,8 +85,8 @@ "name": "Burocrate", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -97,7 +97,7 @@ "name": "Banchetto", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -108,7 +108,7 @@ "name": "Giardini", "potcost": 0, "types": [ - "Vittoria" + "Victory" ] }, { @@ -119,8 +119,8 @@ "name": "Milizia", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -131,7 +131,7 @@ "name": "Usuraio", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -142,7 +142,7 @@ "name": "Miglioria", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -153,7 +153,7 @@ "name": "Fucina", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -164,8 +164,8 @@ "name": "Spia", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -176,8 +176,8 @@ "name": "Ladro", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -188,7 +188,7 @@ "name": "Sala del Trono", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -199,7 +199,7 @@ "name": "Sala del Consiglio", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -210,7 +210,7 @@ "name": "Fiera", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -221,7 +221,7 @@ "name": "Laboratorio", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -232,7 +232,7 @@ "name": "Biblioteca", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -243,7 +243,7 @@ "name": "Mercato", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -254,7 +254,7 @@ "name": "Miniera", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -265,8 +265,8 @@ "name": "Strega", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -277,7 +277,7 @@ "name": "Esploratore", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -288,7 +288,7 @@ "name": "Cortile di Campagna", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -299,7 +299,7 @@ "name": "Pedina", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -310,8 +310,8 @@ "name": "Stanza Segreta", "potcost": 0, "types": [ - "Azione", - "Reazione" + "Action", + "Reaction" ] }, { @@ -322,8 +322,8 @@ "name": "Grande Salone", "potcost": 0, "types": [ - "Azione", - "Vittoria" + "Action", + "Victory" ] }, { @@ -334,7 +334,7 @@ "name": "Ballo in Maschera", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -345,7 +345,7 @@ "name": "Baraccopoli", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -356,7 +356,7 @@ "name": "Maggiordomo", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -367,8 +367,8 @@ "name": "Truffatore", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -379,7 +379,7 @@ "name": "Pozzo dei Desideri", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -390,7 +390,7 @@ "name": "Barone", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -401,7 +401,7 @@ "name": "Ponte", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -412,7 +412,7 @@ "name": "Cospiratore", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -423,7 +423,7 @@ "name": "Battirame", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -434,7 +434,7 @@ "name": "Fonderia", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -445,7 +445,7 @@ "name": "Villaggio Minerario", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -456,7 +456,7 @@ "name": "Scout", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -467,7 +467,7 @@ "name": "Duca", "potcost": 0, "types": [ - "Vittoria" + "Victory" ] }, { @@ -478,8 +478,8 @@ "name": "Tirapiedi", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -490,8 +490,8 @@ "name": "Sabotatore", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -502,8 +502,8 @@ "name": "Carceriere", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -514,7 +514,7 @@ "name": "Stazione Commerciale", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -525,7 +525,7 @@ "name": "Tributo", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -536,7 +536,7 @@ "name": "Potenziameno", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -547,8 +547,8 @@ "name": "Harem", "potcost": 0, "types": [ - "Tesoro", - "Vittoria" + "Treasure", + "Victory" ] }, { @@ -559,8 +559,8 @@ "name": "Nobili", "potcost": 0, "types": [ - "Azione", - "Vittoria" + "Action", + "Victory" ] }, { @@ -571,7 +571,7 @@ "name": "Embargo", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -582,8 +582,8 @@ "name": "Rada", "potcost": 0, "types": [ - "Azione", - "Durata" + "Action", + "Duration" ] }, { @@ -594,8 +594,8 @@ "name": "Faro", "potcost": 0, "types": [ - "Azione", - "Durata" + "Action", + "Duration" ] }, { @@ -606,7 +606,7 @@ "name": "Villaggio Indigeno", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -617,7 +617,7 @@ "name": "Pescatore di Perle", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -628,8 +628,8 @@ "name": "Ambasciatore", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -640,8 +640,8 @@ "name": "Villaggio di Pescatori", "potcost": 0, "types": [ - "Azione", - "Durata" + "Action", + "Duration" ] }, { @@ -652,7 +652,7 @@ "name": "Vedetta", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -663,7 +663,7 @@ "name": "Contrabbandieri", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -674,7 +674,7 @@ "name": "Magazzino", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -685,8 +685,8 @@ "name": "Carovana", "potcost": 0, "types": [ - "Azione", - "Durata" + "Action", + "Duration" ] }, { @@ -697,8 +697,8 @@ "name": "Borseggiatore", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -709,8 +709,8 @@ "name": "Isola", "potcost": 0, "types": [ - "Azione", - "Vittoria" + "Action", + "Victory" ] }, { @@ -721,7 +721,7 @@ "name": "Navigatore", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -732,8 +732,8 @@ "name": "Nave Pirata", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -744,7 +744,7 @@ "name": "Recupero", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -755,8 +755,8 @@ "name": "Megera dei Mari", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -767,7 +767,7 @@ "name": "Mappa del Tesoro", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -778,7 +778,7 @@ "name": "Bazaar", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -789,7 +789,7 @@ "name": "Avventuriero", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -800,8 +800,8 @@ "name": "Nave Fantasma", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -812,8 +812,8 @@ "name": "Nave Mercantile", "potcost": 0, "types": [ - "Azione", - "Durata" + "Action", + "Duration" ] }, { @@ -824,8 +824,8 @@ "name": "Avamposto", "potcost": 0, "types": [ - "Azione", - "Durata" + "Action", + "Duration" ] }, { @@ -836,8 +836,8 @@ "name": "Stratega", "potcost": 0, "types": [ - "Azione", - "Durata" + "Action", + "Duration" ] }, { @@ -848,7 +848,7 @@ "name": "Tesoro", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -859,8 +859,8 @@ "name": "Molo", "potcost": 0, "types": [ - "Azione", - "Durata" + "Action", + "Duration" ] }, { @@ -871,7 +871,7 @@ "name": "Trasmutazione", "potcost": 1, "types": [ - "Azione" + "Action" ] }, { @@ -882,7 +882,7 @@ "name": "Vigna", "potcost": 1, "types": [ - "Vittoria" + "Victory" ] }, { @@ -893,7 +893,7 @@ "name": "Farmacista", "potcost": 1, "types": [ - "Azione" + "Action" ] }, { @@ -904,7 +904,7 @@ "name": "Erborista", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -915,8 +915,8 @@ "name": "Divinazione", "potcost": 1, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -927,7 +927,7 @@ "name": "Università", "potcost": 1, "types": [ - "Azione" + "Action" ] }, { @@ -938,7 +938,7 @@ "name": "Alchimista", "potcost": 1, "types": [ - "Azione" + "Action" ] }, { @@ -949,8 +949,8 @@ "name": "Famiglio", "potcost": 1, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -961,7 +961,7 @@ "name": "Pietra Filosofale", "potcost": 1, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -972,7 +972,7 @@ "name": "Golem", "potcost": 1, "types": [ - "Azione" + "Action" ] }, { @@ -983,7 +983,7 @@ "name": "Apprendista", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -994,7 +994,7 @@ "name": "Possessione", "potcost": 1, "types": [ - "Azione" + "Action" ] }, { @@ -1005,7 +1005,7 @@ "name": "Prestito", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1016,7 +1016,7 @@ "name": "Mercante", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1027,7 +1027,7 @@ "name": "Torre di Guardia", "potcost": 0, "types": [ - "Reazione" + "Reaction" ] }, { @@ -1038,7 +1038,7 @@ "name": "Vescovo", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1049,7 +1049,7 @@ "name": "Monumento", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1060,7 +1060,7 @@ "name": "Cava", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1071,7 +1071,7 @@ "name": "Talismano", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1082,7 +1082,7 @@ "name": "Cantiere", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1093,7 +1093,7 @@ "name": "Città", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1104,7 +1104,7 @@ "name": "Contrabbando", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1115,7 +1115,7 @@ "name": "Contabilità", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1126,7 +1126,7 @@ "name": "Zecca", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1137,8 +1137,8 @@ "name": "Ciarlatano", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -1149,8 +1149,8 @@ "name": "Tumulto", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -1161,7 +1161,7 @@ "name": "Sigillo Reale", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1172,7 +1172,7 @@ "name": "Nascondiglio", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1183,7 +1183,7 @@ "name": "Soldo", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1194,8 +1194,8 @@ "name": "Scagnozzi", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -1206,7 +1206,7 @@ "name": "Mercato di Lusso", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1217,7 +1217,7 @@ "name": "Mucchio", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1228,7 +1228,7 @@ "name": "Banca", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1239,7 +1239,7 @@ "name": "Ampliamento", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1250,7 +1250,7 @@ "name": "Incastonare", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1261,7 +1261,7 @@ "name": "Corte", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1272,7 +1272,7 @@ "name": "Ambulante", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1283,7 +1283,7 @@ "name": "Black Market", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1294,7 +1294,7 @@ "name": "Envoy", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1305,7 +1305,7 @@ "name": "Stash", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1316,7 +1316,7 @@ "name": "Walled Village", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1327,7 +1327,7 @@ "name": "Governor", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1338,7 +1338,7 @@ "name": "Prince", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1349,7 +1349,7 @@ "name": "Rame", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1360,7 +1360,7 @@ "name": "Argento", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1371,7 +1371,7 @@ "name": "Oro", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1382,7 +1382,7 @@ "name": "Platino", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1393,7 +1393,7 @@ "name": "Pozione", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1404,7 +1404,7 @@ "name": "Maledizione", "potcost": 0, "types": [ - "Maledizione" + "Curse" ] }, { @@ -1415,7 +1415,7 @@ "name": "Tenuta", "potcost": 0, "types": [ - "Vittoria" + "Victory" ] }, { @@ -1426,7 +1426,7 @@ "name": "Ducato", "potcost": 0, "types": [ - "Vittoria" + "Victory" ] }, { @@ -1437,7 +1437,7 @@ "name": "Provincia", "potcost": 0, "types": [ - "Vittoria" + "Victory" ] }, { @@ -1448,7 +1448,7 @@ "name": "Colonia", "potcost": 0, "types": [ - "Vittoria" + "Victory" ] }, { @@ -1459,7 +1459,7 @@ "name": "Carte Eliminate", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1470,8 +1470,8 @@ "name": "Borsa d'Oro", "potcost": 0, "types": [ - "Azione", - "Premio" + "Action", + "Prize" ] }, { @@ -1482,8 +1482,8 @@ "name": "Diadema", "potcost": 0, "types": [ - "Tesoro", - "Premio" + "Treasure", + "Prize" ] }, { @@ -1494,9 +1494,9 @@ "name": "Seguaci", "potcost": 0, "types": [ - "Azione", - "Attacco", - "Premio" + "Action", + "Attack", + "Prize" ] }, { @@ -1507,8 +1507,8 @@ "name": "Principessa", "potcost": 0, "types": [ - "Azione", - "Premio" + "Action", + "Prize" ] }, { @@ -1519,8 +1519,8 @@ "name": "Destriero Fedele", "potcost": 0, "types": [ - "Azione", - "Premio" + "Action", + "Prize" ] }, { @@ -1531,7 +1531,7 @@ "name": "Borgo", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1542,8 +1542,8 @@ "name": "Indovina", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -1554,7 +1554,7 @@ "name": "Serraglio", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1565,7 +1565,7 @@ "name": "Villaggio Agricolo", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1576,8 +1576,8 @@ "name": "Mercante di Cavalli", "potcost": 0, "types": [ - "Azione", - "Reazione" + "Action", + "Reaction" ] }, { @@ -1588,7 +1588,7 @@ "name": "Rifacimento", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1599,7 +1599,7 @@ "name": "Torneo", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1610,8 +1610,8 @@ "name": "Giovane Strega", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -1622,7 +1622,7 @@ "name": "Mietitura", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1633,7 +1633,7 @@ "name": "Cornucopia", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1644,7 +1644,7 @@ "name": "Battuta di Caccia", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1655,8 +1655,8 @@ "name": "Giullare", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -1667,7 +1667,7 @@ "name": "Mercatino", "potcost": 0, "types": [ - "Vittoria" + "Victory" ] }, { @@ -1678,7 +1678,7 @@ "name": "Incrocio", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1689,7 +1689,7 @@ "name": "Duchessa", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1700,8 +1700,8 @@ "name": "Oro dello Stolto", "potcost": 0, "types": [ - "Tesoro", - "Reazione" + "Treasure", + "Reaction" ] }, { @@ -1712,7 +1712,7 @@ "name": "Sviluppo", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1723,7 +1723,7 @@ "name": "Oasi", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1734,8 +1734,8 @@ "name": "Oracolo", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -1746,7 +1746,7 @@ "name": "Macchinazione", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1757,8 +1757,8 @@ "name": "Galleria", "potcost": 0, "types": [ - "Vittoria", - "Reazione" + "Victory", + "Reaction" ] }, { @@ -1769,7 +1769,7 @@ "name": "Tuttofare", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1780,8 +1780,8 @@ "name": "Ladro Gentiluomo", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -1792,7 +1792,7 @@ "name": "Campo Nomadi", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1803,7 +1803,7 @@ "name": "Via della Seta", "potcost": 0, "types": [ - "Vittoria" + "Victory" ] }, { @@ -1814,7 +1814,7 @@ "name": "Mercante di Spezia", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1825,8 +1825,8 @@ "name": "Commerciante", "potcost": 0, "types": [ - "Azione", - "Reazione" + "Action", + "Reaction" ] }, { @@ -1837,7 +1837,7 @@ "name": "Forziere", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1848,7 +1848,7 @@ "name": "Cartografo", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1859,7 +1859,7 @@ "name": "Diplomatico", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1870,7 +1870,7 @@ "name": "Contrattazione", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1881,7 +1881,7 @@ "name": "Strada Maestra", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1892,7 +1892,7 @@ "name": "Infame Profitto", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -1903,7 +1903,7 @@ "name": "Locanda", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1914,7 +1914,7 @@ "name": "Mandarino", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1925,8 +1925,8 @@ "name": "Margravio", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -1937,7 +1937,7 @@ "name": "Stalla", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1948,7 +1948,7 @@ "name": "Villaggio di Frontiera", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1959,7 +1959,7 @@ "name": "Terra Coltivata", "potcost": 0, "types": [ - "Vittoria" + "Victory" ] }, { @@ -1970,7 +1970,7 @@ "name": "Ruins", "potcost": 0, "types": [ - "Azione", + "Action", "Ruins" ] }, @@ -1982,7 +1982,7 @@ "name": "Madman", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -1993,7 +1993,7 @@ "name": "Spoils", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -2004,7 +2004,7 @@ "name": "Hovel", "potcost": 0, "types": [ - "Reazione", + "Reaction", "Shelter" ] }, @@ -2016,7 +2016,7 @@ "name": "Necropolis", "potcost": 0, "types": [ - "Azione", + "Action", "Shelter" ] }, @@ -2028,7 +2028,7 @@ "name": "Overgrown Estate", "potcost": 0, "types": [ - "Vittoria", + "Victory", "Shelter" ] }, @@ -2040,7 +2040,7 @@ "name": "Poor House", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2051,7 +2051,7 @@ "name": "Squire", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2062,7 +2062,7 @@ "name": "Vagrant", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2073,7 +2073,7 @@ "name": "Hermit", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2084,7 +2084,7 @@ "name": "Sage", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2095,7 +2095,7 @@ "name": "Feodum", "potcost": 0, "types": [ - "Vittoria" + "Victory" ] }, { @@ -2106,7 +2106,7 @@ "name": "Fortress", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2117,7 +2117,7 @@ "name": "Ironmonger", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2128,7 +2128,7 @@ "name": "Procession", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2139,7 +2139,7 @@ "name": "Rats", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2150,7 +2150,7 @@ "name": "Band of Misfits", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2161,7 +2161,7 @@ "name": "Bandit Camp", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2172,7 +2172,7 @@ "name": "Count", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2183,8 +2183,8 @@ "name": "Cultist", "potcost": 0, "types": [ - "Azione", - "Attacco", + "Action", + "Attack", "Looter" ] }, @@ -2196,7 +2196,7 @@ "name": "Graverobber", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2207,8 +2207,8 @@ "name": "Pillage", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -2219,7 +2219,7 @@ "name": "Scavenger", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2230,7 +2230,7 @@ "name": "Altar", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2241,7 +2241,7 @@ "name": "Armory", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2252,8 +2252,8 @@ "name": "Beggar", "potcost": 0, "types": [ - "Azione", - "Reazione" + "Action", + "Reaction" ] }, { @@ -2264,7 +2264,7 @@ "name": "Catacombs", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2275,7 +2275,7 @@ "name": "Counterfeit", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -2286,7 +2286,7 @@ "name": "Death Cart", "potcost": 0, "types": [ - "Azione", + "Action", "Looter" ] }, @@ -2298,7 +2298,7 @@ "name": "Forager", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2309,7 +2309,7 @@ "name": "Junk Dealer", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2320,7 +2320,7 @@ "name": "Knights", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2331,7 +2331,7 @@ "name": "Marauder", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2342,8 +2342,8 @@ "name": "Market Square", "potcost": 0, "types": [ - "Azione", - "Reazione" + "Action", + "Reaction" ] }, { @@ -2354,7 +2354,7 @@ "name": "Rebuild", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2365,8 +2365,8 @@ "name": "Rogue", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -2377,7 +2377,7 @@ "name": "Storeroom", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2388,8 +2388,8 @@ "name": "Urchin", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -2400,7 +2400,7 @@ "name": "Wandering Minstrel", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2411,7 +2411,7 @@ "name": "Hunting Grounds", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2422,8 +2422,8 @@ "name": "Mercenary", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -2434,7 +2434,7 @@ "name": "Mystic", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2445,7 +2445,7 @@ "name": "Shelters", "potcost": 0, "types": [ - "Azione", + "Action", "Shelter" ] }, @@ -2457,7 +2457,7 @@ "name": "Urchin / Mercenary", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2468,7 +2468,7 @@ "name": "Hermit / Madman", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2479,7 +2479,7 @@ "name": "Advisor", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2490,7 +2490,7 @@ "name": "Baker", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2501,7 +2501,7 @@ "name": "Butcher", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2512,7 +2512,7 @@ "name": "Candlestick Maker", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2523,7 +2523,7 @@ "name": "Doctor", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2534,7 +2534,7 @@ "name": "Herald", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2545,7 +2545,7 @@ "name": "Journeyman", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2556,7 +2556,7 @@ "name": "Masterpiece", "potcost": 0, "types": [ - "Tesoro" + "Treasure" ] }, { @@ -2567,7 +2567,7 @@ "name": "Merchant Guild", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2578,7 +2578,7 @@ "name": "Plaza", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2589,8 +2589,8 @@ "name": "Soothsayer", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] }, { @@ -2601,7 +2601,7 @@ "name": "Stonemason", "potcost": 0, "types": [ - "Azione" + "Action" ] }, { @@ -2612,8 +2612,8 @@ "name": "Taxman", "potcost": 0, "types": [ - "Azione", - "Attacco" + "Action", + "Attack" ] } ] \ No newline at end of file diff --git a/card_db/it/mapping.json b/card_db/it/mapping.json index a08c885..c0b5788 100644 --- a/card_db/it/mapping.json +++ b/card_db/it/mapping.json @@ -1,15 +1,4 @@ { - "Azione": "Action", - "Vittoria": "Victory", - "Attacco": "Attack", - "Tesoro": "Treasure", - "Reazione": "Reaction", - "Durata": "Duration", - "Premio": "Prize", - "Looter": "Looter", - "Shelter": "Shelter", - "Ruins": "Ruins", - "Maledizione": "Curse", "alchimia": "alchemy", "intrigo": "intrigue", "nuovi orizzonti": "hinterlands", diff --git a/dominion_tabs.py b/dominion_tabs.py index 347baf7..4a89e31 100755 --- a/dominion_tabs.py +++ b/dominion_tabs.py @@ -162,11 +162,7 @@ class DominionTabs: @classmethod def getType(cls, typespec): - # Expansion is a custom tag inserted by code below - if typespec == ('Expansion',): - return cls.cardTypes[typespec] - mapped_spec = tuple([cls.language_mapping[t] for t in typespec]) - return cls.cardTypes[mapped_spec] + return cls.cardTypes[tuple(typespec)] setImages = { 'dominion': 'base_set.png',