From 7390a5c12f2f0a714da668447d74b37e742a9b81 Mon Sep 17 00:00:00 2001 From: GenevensiS <66968533+G-e-n-e-v-e-n-s-i-S@users.noreply.github.com> Date: Sat, 11 Jan 2025 23:57:23 +0100 Subject: [PATCH] Longer Stats Names (#106) --- data/magic.mse-game/statistics | 36 ++++++++++----------- data/magic.mse-game/statistics_fr | 46 +++++++++++++-------------- data/magic.mse-game/statistics_script | 2 ++ 3 files changed, 43 insertions(+), 41 deletions(-) diff --git a/data/magic.mse-game/statistics b/data/magic.mse-game/statistics index 8820a934a..d9f425eb4 100644 --- a/data/magic.mse-game/statistics +++ b/data/magic.mse-game/statistics @@ -133,7 +133,7 @@ statistics dimension: script: if filter_from_statistic() == "Filtered" or trim_from_statistic() then "" else mana_value_statistic() statistics dimension: - name: permanent/non + name: permanent / nonpermanent position hint: 0200 icon: stats/type.png description: Counts the number of creatures, noncreature permanents, and nonpermanents. Counts each side/face separately. @@ -689,8 +689,8 @@ statistics dimension: statistics dimension: - name: all mana production - position hint: 0500 + name: mana production (All) + position hint: 0520 icon: stats/land_production.png description: Counts how many cards can produce white mana. Repeat for all other colors. Then counts how many cards can produce mana of any color, and mana of a chosen color. split list: true @@ -715,8 +715,8 @@ statistics dimension: Chosen : rgb(112,38,128) statistics dimension: - name: land mana prod. - position hint: 0510 + name: mana production (Lands) + position hint: 0500 icon: stats/land_production.png description: Counts how many lands can produce white mana. Repeat for all other colors. Then counts how many lands can produce mana of any color, and mana of a chosen color. If either side/face is a land, the card will be counted here. split list: true @@ -741,8 +741,8 @@ statistics dimension: Chosen : rgb(112,38,128) statistics dimension: - name: nonland mana prod. - position hint: 0520 + name: mana production (Nonlands) + position hint: 0510 icon: stats/land_production.png description: Counts how many non-land cards can produce white mana. Repeat for all other colors. Then counts how many non-land cards can produce mana of any color, and mana of a chosen color. split list: true @@ -767,7 +767,7 @@ statistics dimension: Chosen : rgb(112,38,128) statistics dimension: - name: pip count (Casting) + name: pip count (Casting Costs) position hint: 0600 icon: stats/color_pips.png description: Counts the number of casting costs that contain one colored pip. Repeat for all other amounts. @@ -795,7 +795,7 @@ statistics dimension: 8+ : rgb(197,24,214) statistics dimension: - name: pip colors (Casting) + name: pip colors (Casting Costs) position hint: 0630 icon: stats/color_pips.png description: Counts how many cards have a single white pip in their casting cost. Repeat for two white pips. Then three, then four+, then for all other colors. Counts each side/face separately. @@ -829,7 +829,7 @@ statistics dimension: ​​​​​​GGGG+ : rgb(18,102,0) statistics dimension: - name: total pips (Casting) + name: total pips (Casting Costs) position hint: 0660 icon: stats/color_pips.png description: Counts the total number of white pips in all the casting costs. Repeat for all other colors. @@ -851,7 +851,7 @@ statistics dimension: G : rgb(68,144,15) statistics dimension: - name: pip count (Ability) + name: pip count (Ability Costs) position hint: 0610 icon: stats/color_pips.png description: Counts the number of activated/triggered/keyworded ability costs that contain one colored pip. Repeat for all other amounts. @@ -879,7 +879,7 @@ statistics dimension: 8+ : rgb(197,24,214) statistics dimension: - name: pip colors (Ability) + name: pip colors (Ability Costs) position hint: 0640 icon: stats/color_pips.png description: Counts how many activated/triggered/keyworded abilities have a single white pip in their cost. Repeat for two white pips. Then three, then four+, then for all other colors. Counts each ability on each side/face separately. @@ -913,7 +913,7 @@ statistics dimension: ​​​​​​GGGG+ : rgb(18,102,0) statistics dimension: - name: total pips (Ability) + name: total pips (Ability Costs) position hint: 0670 icon: stats/color_pips.png description: Counts the total number of white pips in all the activated/triggered/keyworded ability costs. Repeat for all other colors. @@ -935,7 +935,7 @@ statistics dimension: G : rgb(68,144,15) statistics dimension: - name: pip count (Combined) + name: pip count (All Costs) position hint: 0620 icon: stats/color_pips.png description: Counts the number of costs that contain one colored pip. Repeat for all other amounts. @@ -963,7 +963,7 @@ statistics dimension: 8+ : rgb(197,24,214) statistics dimension: - name: pip color (Combined) + name: pip color (All Costs) position hint: 0650 icon: stats/color_pips.png description: Counts how many costs contain a single white pip. Repeat for two white pips. Then three, then four+, then for all other colors. Counts each cost on each side/face separately. @@ -997,7 +997,7 @@ statistics dimension: ​​​​​​GGGG+ : rgb(18,102,0) statistics dimension: - name: total pips (Combined) + name: total pips (All Costs) position hint: 0680 icon: stats/color_pips.png description: Counts the total number of white pips in all the costs. Repeat for all other colors. @@ -1119,7 +1119,7 @@ statistics dimension: script: if trim_from_draw_statistic() then "" else average_opening_hand_statistic() statistics dimension: - name: land drop hit % (Play) + name: land drop hit % (On The Play) position hint: 1100 icon: stats/land_drops.png description: If the set is a deck, probability of hitting every single land drop up to the given turn, when on the play. Always excludes cards with the word 'commander' in their card notes, as well as tokens, emblems, dungeons, conspiracies, heroes, vanguards, schemes, planes and phenomenons. @@ -1128,7 +1128,7 @@ statistics dimension: script: land_drop_hit_percentage_statistic(start: 6) statistics dimension: - name: land drop hit % (Draw) + name: land drop hit % (On The Draw) position hint: 1110 icon: stats/land_drops.png description: If the set is a deck, probability of hitting every single land drop up to the given turn, when on the draw. Always excludes cards with the word 'commander' in their card notes, as well as tokens, emblems, dungeons, conspiracies, heroes, vanguards, schemes, planes and phenomenons. diff --git a/data/magic.mse-game/statistics_fr b/data/magic.mse-game/statistics_fr index 7f1e930ce..e72ec68c0 100644 --- a/data/magic.mse-game/statistics_fr +++ b/data/magic.mse-game/statistics_fr @@ -133,7 +133,7 @@ statistics dimension: script: if filter_from_statistic() == "Filtré" or trim_from_statistic() then "" else mana_value_statistic() statistics dimension: - name: Permanent/Non + name: Permanent / Nonpermanent position hint: 0200 icon: stats/type.png description: Counts the number of creatures, noncreature permanents, and nonpermanents. Counts each side/face separately. @@ -220,7 +220,7 @@ statistics dimension: script: if filter_from_statistic() == "Filtré" or trim_from_statistic() then "" else combined_subtype_statistic() statistics dimension: - name: Sous-Type (Noncréature) + name: Sous-Type De Noncréature position hint: 0260 icon: stats/noncreature_subtype.png description: Subtypes of all types except creature/tribal/kindred. @@ -690,7 +690,7 @@ statistics dimension: statistics dimension: name: Production de Mana (Tout) - position hint: 0500 + position hint: 0520 icon: stats/land_production.png description: Counts how many cards can produce white mana. Repeat for all other colors. Then counts how many cards can produce mana of any color, and mana of a chosen color. split list: true @@ -715,8 +715,8 @@ statistics dimension: Choisie : rgb(112,38,128) statistics dimension: - name: Prod. de Mana (Terrain) - position hint: 0510 + name: Production de Mana (Terrain) + position hint: 0500 icon: stats/land_production.png description: Counts how many lands can produce white mana. Repeat for all other colors. Then counts how many lands can produce mana of any color, and mana of a chosen color. If either side/face is a land, the card will be counted here. split list: true @@ -741,8 +741,8 @@ statistics dimension: Choisie : rgb(112,38,128) statistics dimension: - name: Prod. de Mana (Nonterrain) - position hint: 0520 + name: Production de Mana (Nonterrain) + position hint: 0510 icon: stats/land_production.png description: Counts how many non-land cards can produce white mana. Repeat for all other colors. Then counts how many non-land cards can produce mana of any color, and mana of a chosen color. split list: true @@ -767,7 +767,7 @@ statistics dimension: Choisie : rgb(112,38,128) statistics dimension: - name: # de Pépins (Lancement) + name: # de Pépins (Coût de Lancement) position hint: 0600 icon: stats/color_pips.png description: Counts the number of casting costs that contain one colored pip. Repeat for all other amounts. @@ -795,7 +795,7 @@ statistics dimension: 8+ : rgb(197,24,214) statistics dimension: - name: Pépins (Lancement) + name: Pépins (Coût de Lancement) position hint: 0630 icon: stats/color_pips.png description: Counts how many cards have a single white pip in their casting cost. Repeat for two white pips. Then three, then four+, then for all other colors. Counts each side/face separately. @@ -829,7 +829,7 @@ statistics dimension: ​​​​​​GGGG+ : rgb(18,102,0) statistics dimension: - name: Pépins Totaux (Lancement) + name: Pépins Totaux (Coût de Lancement) position hint: 0660 icon: stats/color_pips.png description: Counts the total number of white pips in all the casting costs. Repeat for all other colors. @@ -851,7 +851,7 @@ statistics dimension: G : rgb(68,144,15) statistics dimension: - name: # De Pépins (Capacités) + name: # De Pépins (Coût de Capacités) position hint: 0610 icon: stats/color_pips.png description: Counts the number of activated/triggered/keyworded ability costs that contain one colored pip. Repeat for all other amounts. @@ -879,7 +879,7 @@ statistics dimension: 8+ : rgb(197,24,214) statistics dimension: - name: Pépins (Capacités) + name: Pépins (Coût de Capacités) position hint: 0640 icon: stats/color_pips.png description: Counts how many activated/triggered/keyworded abilities have a single white pip in their cost. Repeat for two white pips. Then three, then four+, then for all other colors. Counts each ability on each side/face separately. @@ -913,7 +913,7 @@ statistics dimension: ​​​​​​GGGG+ : rgb(18,102,0) statistics dimension: - name: Pépins Totaux (Capacités) + name: Pépins Totaux (Coût de Capacités) position hint: 0670 icon: stats/color_pips.png description: Counts the total number of white pips in all the activated/triggered/keyworded ability costs. Repeat for all other colors. @@ -935,7 +935,7 @@ statistics dimension: G : rgb(68,144,15) statistics dimension: - name: # de Pépins (Tout) + name: # de Pépins (Tout les Coûts) position hint: 0620 icon: stats/color_pips.png description: Counts the number of costs that contain one colored pip. Repeat for all other amounts. @@ -963,7 +963,7 @@ statistics dimension: 8+ : rgb(197,24,214) statistics dimension: - name: Pépins (Tout) + name: Pépins (Tout les Coûts) position hint: 0650 icon: stats/color_pips.png description: Counts how many costs contain a single white pip. Repeat for two white pips. Then three, then four+, then for all other colors. Counts each cost on each side/face separately. @@ -997,7 +997,7 @@ statistics dimension: ​​​​​​GGGG+ : rgb(18,102,0) statistics dimension: - name: Pépins Totaux (Tout) + name: Pépins Totaux (Tout les Coûts) position hint: 0680 icon: stats/color_pips.png description: Counts the total number of white pips in all the costs. Repeat for all other colors. @@ -1019,7 +1019,7 @@ statistics dimension: G : rgb(68,144,15) statistics dimension: - name: # De Mots + name: Nombre De Mots position hint: 0700 icon: stats/text_length.png description: How many words are in the card’s various rule texts. @@ -1029,7 +1029,7 @@ statistics dimension: script: if filter_from_statistic() == "Filtré" or trim_from_statistic() then "" else total_word_count_statistic() #statistics dimension: -# name: # De Lignes +# name: Nombre De Lignes # position hint: 1110 # icon: stats/text_length.png # description: How many lines are in the card’s various rule texts. @@ -1038,7 +1038,7 @@ statistics dimension: # script: if filter_from_statistic() == "Filtré" or trim_from_statistic() then "" else total_line_count_statistic() # Not reliable atm. statistics dimension: - name: # De Paragraphes + name: Nombre De Paragraphes position hint: 0710 icon: stats/text_length.png description: How many paragraphs are in the card’s various rule texts. @@ -1119,7 +1119,7 @@ statistics dimension: script: if trim_from_draw_statistic() then "" else average_opening_hand_statistic() statistics dimension: - name: % D’Avoir Un Terrain (1er) + name: % D’Avoir Un Terrain (Jouant 1er) position hint: 1100 icon: stats/land_drops.png description: If the set is a deck, probability of hitting every single land drop up to the given turn, when on the play. Always excludes cards with the word 'commander' in their card notes, as well as tokens, emblems, dungeons, conspiracies, heroes, vanguards, schemes, planes and phenomenons. @@ -1128,7 +1128,7 @@ statistics dimension: script: land_drop_hit_percentage_statistic(start: 6) statistics dimension: - name: % D’Avoir Un Terrain (2ème) + name: % D’Avoir Un Terrain (Jouant 2ème) position hint: 1110 icon: stats/land_drops.png description: If the set is a deck, probability of hitting every single land drop up to the given turn, when on the draw. Always excludes cards with the word 'commander' in their card notes, as well as tokens, emblems, dungeons, conspiracies, heroes, vanguards, schemes, planes and phenomenons. @@ -1137,7 +1137,7 @@ statistics dimension: script: land_drop_hit_percentage_statistic(start: 7) statistics dimension: - name: # De Couleurs + name: Nombre De Couleurs position hint: 1500 icon: stats/color.png description: How many cards have one color, how many have two, three, etc... @@ -1159,7 +1159,7 @@ statistics dimension: 5 : rgb(161,54,169) statistics dimension: - name: # De Couleurs (Identité) + name: Nombre De Couleurs (Identité) position hint: 1510 icon: stats/color.png description: How many cards have one color in their color identity, how many have two, three, etc... diff --git a/data/magic.mse-game/statistics_script b/data/magic.mse-game/statistics_script index 7340b6603..4a897e748 100644 --- a/data/magic.mse-game/statistics_script +++ b/data/magic.mse-game/statistics_script @@ -1380,6 +1380,8 @@ filter_field_map_statistic := color_identity_count: {color_identity_count_statistic()}, mana_production: {mana_production_list_statistic(check_type: "all")}, "permanent/non": {replace_en_spaces_statistic(remove_zero_width_spaces_statistic(permanent_statistic()))}, + "permanent/nonpermanent": {replace_en_spaces_statistic(remove_zero_width_spaces_statistic(permanent_statistic()))}, + "permanent / nonpermanent": {replace_en_spaces_statistic(remove_zero_width_spaces_statistic(permanent_statistic()))}, mana_value: {cmc(card.casting_cost)}, mana_value_2: {cmc(card.casting_cost_2)}, supertype: {keep_only_supertypes_statistic(card.super_type)},