Revert renaming write_wubrg to write_wubrgo

This commit is contained in:
Sebastian Lundegård Kylander
2026-03-29 18:59:00 +02:00
parent 66a2ba6994
commit fe183f027a
3 changed files with 4 additions and 4 deletions

View File

@@ -4642,7 +4642,7 @@ extra card style:
render style: image render style: image
image: bookmarks/stripe.png image: bookmarks/stripe.png
z index: 835 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: stripe 2:
left: 392 left: 392
top: 60 top: 60
@@ -4651,7 +4651,7 @@ extra card style:
render style: image render style: image
image: bookmarks/stripe.png image: bookmarks/stripe.png
z index: 835 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: alias bar:
left: 34 left: 34
top: {if front_normal() then 55 else if mythic_edition() then 47 else 49} top: {if front_normal() then 55 else if mythic_edition() then 47 else 49}

View File

@@ -1406,7 +1406,7 @@ extra card style:
render style: image render style: image
image: bookmark/stripe.png image: bookmark/stripe.png
z index: 820 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: paper:
left: {if is_saga() then 28 else 186} left: {if is_saga() then 28 else 186}
top: 58 top: 58

View File

@@ -1074,7 +1074,7 @@ remove_type := replace@(match: "(Artifact|Creature|Enchantment|Instant|Land|Plan
replace@(match: "[ ]+", in_context: "^<match>", replace: "")+ replace@(match: "[ ]+", in_context: "^<match>", replace: "")+
replace@(match: "[ ]+", in_context: "<match>$", replace: "") replace@(match: "[ ]+", in_context: "<match>$", replace: "")
write_wubrgo := { write_wubrg := {
(if match(input, match:"white") then "W" else "")+ (if match(input, match:"white") then "W" else "")+
(if match(input, match:"blue") then "U" else "")+ (if match(input, match:"blue") then "U" else "")+
(if match(input, match:"black") then "B" else "")+ (if match(input, match:"black") then "B" else "")+