else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black"
else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black"
else "white"
else "white"
}
}
typesymbol_color:= { if contains(card.card_color, match:"artifact") then "black"
else if card.card_color == "multicolor" then "white"
else if card.card_color == "white" then "black"
else if contains(card.card_color, match:"land") then (
if contains(card.card_color, match:"green") then "white"
else if contains(card.card_color, match:"red") then "white"
else if contains(card.card_color, match:"black") then "white"
else if contains(card.card_color, match:"blue") then "white"
else "black"
) else if card.card_color == "colorless" then "black"
else "white"
}
typesymbol_type:= { if contains(card.type, match:"Tribal") then "multitype"
else if contains(card.type, match:"Sorcery") then "sorcery"
else if contains(card.type, match:"Instant") then "instant"
else if contains(card.type, match:"Planeswalker") then "multitype"
else if contains(card.type, match:"Creature") and
not contains(card.type, match:"Land") and
not contains(card.type, match:"Artifact") and
not contains(card.type, match:"Enchantment") then "creature"
else if contains(card.type, match:"Artifact") and
not contains(card.type, match:"Land") and
not contains(card.type, match:"Creature") and
not contains(card.type, match:"Enchantment") then "artifact"
else if contains(card.type, match:"Land") and
not contains(card.type, match:"Creature") and
not contains(card.type, match:"Artifact") and
not contains(card.type, match:"Enchantment") then "land"
else if contains(card.type, match:"Enchantment") and
not contains(card.type, match:"Land") and
not contains(card.type, match:"Artifact") and
not contains(card.type, match:"Creature") then "enchantment"
else "multitype"
}
card_shape := { "shifted" }
card_shape := { "shifted" }
...
@@ -345,24 +380,14 @@ extra card field:
...
@@ -345,24 +380,14 @@ extra card field:
extra card field:
extra card field:
type: choice
type: choice
name: type symbol
name: type symbol
choice:
default: typesymbol_type()
name: white
choice: artifact
choice: artifact
choice: creature
choice: creature
choice: enchantment
choice: enchantment
choice: instant
choice: instant
choice: land
choice: land
choice: multitype
choice: multitype
choice: sorcery
choice: sorcery
choice:
name: black
choice: artifact
choice: creature
choice: enchantment
choice: instant
choice: land
choice: multitype
choice: sorcery
extra card field:
extra card field:
type: choice
type: choice
name: paintbrush
name: paintbrush
...
@@ -370,7 +395,6 @@ extra card field:
...
@@ -370,7 +395,6 @@ extra card field:
editable: false
editable: false
choice: black
choice: black
choice: white
choice: white
extra card style:
extra card style:
pt box:
pt box:
right: 357
right: 357
...
@@ -390,20 +414,13 @@ extra card style:
...
@@ -390,20 +414,13 @@ extra card style:
z index: 2
z index: 2
render style: image
render style: image
choice images:
choice images:
white artifact: /magic-future-common.mse-include/artifact_white.png
else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black"
else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black"
else "white"
else "white"
}
}
typesymbol_color:= { if contains(card.card_color, match:"artifact") then "black"
typesymbol_color:= { if contains(card.card_color, match:"artifact") then "black"
else if card.card_color == "multicolor" then "black"
else if card.card_color == "multicolor" then "white"
else if card.card_color == "white" then "black"
else if card.card_color == "white" then "black"
else if card.card_color == "land" then (
else if contains(card.card_color, match:"land") then (
if contains(card.card_color, match:"black") or
if contains(card.card_color, match:"green") then "white"
contains(card.card_color, match:"blue") or
else if contains(card.card_color, match:"red") then "white"
contains(card.card_color, match:"red") or
else if contains(card.card_color, match:"black") then "white"
contains(card.card_color, match:"green") then "white"
else if contains(card.card_color, match:"blue") then "white"
else "black"
else "black"
) else "white"
) else if card.card_color == "colorless" then "black"
else "white"
}
}
#Use of "Enchant" rather than "Enchantment" below is intentional, to allow functionality for users who wish to use "Enchant Creature" and the like.
typesymbol_type:= { if contains(card.type, match:"Tribal") then "multitype"
typesymbol_type:= { if contains(card.type, match:"Instant") then "instant"
else if contains(card.type, match:"Sorcery") then "sorcery"
else if contains(card.type, match:"Sorcery") then "sorcery"
else if contains(card.type, match:"Tribal") then "multitype"
else if contains(card.type, match:"Instant") then "instant"
else if contains(card.type, match:"Planeswalker") then "multitype"
else if contains(card.type, match:"Planeswalker") then "multitype"
else if contains(card.type, match:"Creature") and
else if contains(card.type, match:"Creature") and
not contains(card.type, match:"Land") and
not contains(card.type, match:"Land") and
not contains(card.type, match:"Artifact") and
not contains(card.type, match:"Artifact") and
not contains(card.type, match:"Enchant") then "creature"
not contains(card.type, match:"Enchantment") then "creature"
else if contains(card.type, match:"Artifact") and
else if contains(card.type, match:"Artifact") and
not contains(card.type, match:"Land") and
not contains(card.type, match:"Land") and
not contains(card.type, match:"Creature") and
not contains(card.type, match:"Creature") and
not contains(card.type, match:"Enchant") then "artifact"
not contains(card.type, match:"Enchantment") then "artifact"
else if contains(card.type, match:"Land") and
else if contains(card.type, match:"Land") and
not contains(card.type, match:"Creature") and
not contains(card.type, match:"Creature") and
not contains(card.type, match:"Artifact") and
not contains(card.type, match:"Artifact") and
not contains(card.type, match:"Enchant") then "land"
not contains(card.type, match:"Enchantment") then "land"
else if contains(card.type, match:"Enchant") and
else if contains(card.type, match:"Enchantment") and
not contains(card.type, match:"Land") and
not contains(card.type, match:"Land") and
not contains(card.type, match:"Artifact") and
not contains(card.type, match:"Artifact") and
not contains(card.type, match:"Creature") then "enchantment"
not contains(card.type, match:"Creature") then "enchantment"
else "multitype"
else "multitype"
}
}
card_shape := { "shifted" }
card_shape := { "shifted" }
...
@@ -489,24 +488,14 @@ extra card field:
...
@@ -489,24 +488,14 @@ extra card field:
extra card field:
extra card field:
type: choice
type: choice
name: type symbol
name: type symbol
choice:
default: typesymbol_type(value)
name: white
choice: artifact
choice: artifact
choice: creature
choice: creature
choice: enchantment
choice: enchantment
choice: instant
choice: instant
choice: land
choice: land
choice: multitype
choice: multitype
choice: sorcery
choice: sorcery
choice:
name: black
choice: artifact
choice: creature
choice: enchantment
choice: instant
choice: land
choice: multitype
choice: sorcery
extra card field:
extra card field:
type: choice
type: choice
name: paintbrush
name: paintbrush
...
@@ -514,7 +503,6 @@ extra card field:
...
@@ -514,7 +503,6 @@ extra card field:
editable: false
editable: false
choice: black
choice: black
choice: white
choice: white
extra card style:
extra card style:
textbox:
textbox:
left: 23
left: 23
...
@@ -551,20 +539,13 @@ extra card style:
...
@@ -551,20 +539,13 @@ extra card style:
z index: 4
z index: 4
render style: image
render style: image
choice images:
choice images:
white artifact: /magic-future-common.mse-include/artifact_white.png