From fe183f027a1683403c8dfdcc3bbc15f645b7abc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Lundeg=C3=A5rd=20Kylander?= Date: Sun, 29 Mar 2026 18:59:00 +0200 Subject: [PATCH] Revert renaming write_wubrg to write_wubrgo --- data/magic-m15-mainframe-dfc.mse-style/style | 4 ++-- data/magic-m15-saga.mse-style/style | 2 +- data/magic.mse-game/script | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/magic-m15-mainframe-dfc.mse-style/style b/data/magic-m15-mainframe-dfc.mse-style/style index e76a15436..6f00b8694 100644 --- a/data/magic-m15-mainframe-dfc.mse-style/style +++ b/data/magic-m15-mainframe-dfc.mse-style/style @@ -4642,7 +4642,7 @@ extra card style: render style: image image: bookmarks/stripe.png z index: 835 - visible: {length(write_wubrgo(card.card_color))==2 and front_saga()} + visible: {length(write_wubrg(card.card_color))==2 and front_saga()} stripe 2: left: 392 top: 60 @@ -4651,7 +4651,7 @@ extra card style: render style: image image: bookmarks/stripe.png z index: 835 - visible: {length(write_wubrgo(card.card_color_2))==2 and back_saga()} + visible: {length(write_wubrg(card.card_color_2))==2 and back_saga()} alias bar: left: 34 top: {if front_normal() then 55 else if mythic_edition() then 47 else 49} diff --git a/data/magic-m15-saga.mse-style/style b/data/magic-m15-saga.mse-style/style index 4be5811b2..ee907e377 100644 --- a/data/magic-m15-saga.mse-style/style +++ b/data/magic-m15-saga.mse-style/style @@ -1406,7 +1406,7 @@ extra card style: render style: image image: bookmark/stripe.png z index: 820 - visible: {length(write_wubrgo(card.card_color))==2 and not un_marked()} + visible: {length(write_wubrg(card.card_color))==2 and not un_marked()} paper: left: {if is_saga() then 28 else 186} top: 58 diff --git a/data/magic.mse-game/script b/data/magic.mse-game/script index b622bb07e..16e6ff94d 100644 --- a/data/magic.mse-game/script +++ b/data/magic.mse-game/script @@ -1074,7 +1074,7 @@ remove_type := replace@(match: "(Artifact|Creature|Enchantment|Instant|Land|Plan replace@(match: "[ ]+", in_context: "^", replace: "")+ replace@(match: "[ ]+", in_context: "$", replace: "") -write_wubrgo := { +write_wubrg := { (if match(input, match:"white") then "W" else "")+ (if match(input, match:"blue") then "U" else "")+ (if match(input, match:"black") then "B" else "")+