From 5ac88448a74d48d16b369d880764073aa951c6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Lundeg=C3=A5rd=20Kylander?= Date: Sun, 29 Mar 2026 20:57:59 +0200 Subject: [PATCH] [required] Add orange field --- data/magic.mse-game/language_map | 1 + data/magic.mse-game/script | 6 ++++-- data/magic.mse-game/statistics_script | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/data/magic.mse-game/language_map b/data/magic.mse-game/language_map index 3d254f229..b62c36ec3 100644 --- a/data/magic.mse-game/language_map +++ b/data/magic.mse-game/language_map @@ -846,6 +846,7 @@ languages := [ is_black : match@(match: "(?i)black") is_red : match@(match: "(?i)red") is_green : match@(match: "(?i)green") + is_orange : match@(match: "(?i)orange") is_colorless : match@(match: "(?i)colorless") is_cda_colorless : match@(match: "(?i)is colorless") diff --git a/data/magic.mse-game/script b/data/magic.mse-game/script index 796757705..2d08f57d9 100644 --- a/data/magic.mse-game/script +++ b/data/magic.mse-game/script @@ -1102,7 +1102,8 @@ primary_card_color := { black := chosen(choice:"black") red := chosen(choice:"red") green := chosen(choice:"green") - multi_color := count_chosen(choices:"white, blue, black, red, green") + orange := chosen(choice:"orange") + multi_color := count_chosen(choices:"white, blue, black, red, green, orange") if land then "land" else if multi then "multicolor" else if multi_color == 2 and chosen(choice:"artifact") then "hybrid" #### hybrid artifacts would show as their first color @@ -1133,7 +1134,8 @@ sparker_card_color := { black := chosen(choice:"black") red := chosen(choice:"red") green := chosen(choice:"green") - multi_color := count_chosen(choices:"white, blue, black, red, green") + orange := chosen(choice:"orange") + multi_color := count_chosen(choices:"white, blue, black, red, green, orange") if land then "colorless" else if multi then "multicolor" else if multi_color >= 2 then "multicolor" diff --git a/data/magic.mse-game/statistics_script b/data/magic.mse-game/statistics_script index d19061516..547fef7d2 100644 --- a/data/magic.mse-game/statistics_script +++ b/data/magic.mse-game/statistics_script @@ -235,7 +235,8 @@ face_color_category_statistic := black := chosen(choice:"black") red := chosen(choice:"red") green := chosen(choice:"green") - multi_color := count_chosen(choices:"white, blue, black, red, green") + orange := chosen(choice:"orange") + multi_color := count_chosen(choices:"white, blue, black, red, green, orange") if land then all_en_space_statistic(lang_setting("land")) else if multi then all_en_space_statistic(lang_setting("multicolor")) else if multi_color == 2