Compare commits
5 Commits
temp
...
a53014bec5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a53014bec5 | ||
|
|
7f0236243a | ||
|
|
53a0875ab1 | ||
|
|
0948bd0dc6 | ||
|
|
92ebc53a26 |
15
.gitignore
vendored
@@ -6,18 +6,3 @@
|
|||||||
/sets/*
|
/sets/*
|
||||||
/files/*
|
/files/*
|
||||||
/set symbols/*
|
/set symbols/*
|
||||||
|
|
||||||
# ignore everything with magic-mainframe-extras
|
|
||||||
/data/magic-mainframe-extras.mse-include/*
|
|
||||||
|
|
||||||
# include the include file and readme
|
|
||||||
!/data/magic-mainframe-extras.mse-include/include
|
|
||||||
!/data/magic-mainframe-extras.mse-include/readme.txt
|
|
||||||
|
|
||||||
# include the specific example files
|
|
||||||
!/data/magic-mainframe-extras.mse-include/examples
|
|
||||||
!/data/magic-mainframe-extras.mse-include/examples/*
|
|
||||||
|
|
||||||
# include mainframe shared files until we relocate them
|
|
||||||
!/data/magic-mainframe-extras.mse-include/mfsfiles
|
|
||||||
!/data/magic-mainframe-extras.mse-include/mfsfiles/*
|
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ watermark_colors := {
|
|||||||
else if trim_colors(check_colors) == "black" then "bb"
|
else if trim_colors(check_colors) == "black" then "bb"
|
||||||
else if trim_colors(check_colors) == "red" then "rr"
|
else if trim_colors(check_colors) == "red" then "rr"
|
||||||
else if trim_colors(check_colors) == "green" then "gg"
|
else if trim_colors(check_colors) == "green" then "gg"
|
||||||
else if trim_colors(check_colors) == "orange" then "oo"
|
|
||||||
else if contains(check_colors, match:"multi") or
|
else if contains(check_colors, match:"multi") or
|
||||||
contains(check_colors, match:"hybrid") or
|
contains(check_colors, match:"hybrid") or
|
||||||
contains(check_colors, match:", land") then hybrid_color(face:face)
|
contains(check_colors, match:", land") then hybrid_color(face:face)
|
||||||
@@ -42,37 +41,27 @@ hybrid_color := {
|
|||||||
check_colors := card.card_color
|
check_colors := card.card_color
|
||||||
if face != "" then check_colors := face
|
if face != "" then check_colors := face
|
||||||
trimmed := trim_colors(check_colors)
|
trimmed := trim_colors(check_colors)
|
||||||
if trimmed == "white, blue" then "wu"
|
if trimmed == "white, blue" then "wu"
|
||||||
else if trimmed == "white, black" then "wb"
|
else if trimmed == "white, black" then "wb"
|
||||||
else if trimmed == "white, red" then "rw"
|
else if trimmed == "white, red" then "rw"
|
||||||
else if trimmed == "white, green" then "gw"
|
else if trimmed == "white, green" then "gw"
|
||||||
else if trimmed == "white, orange" then "wo"
|
else if trimmed == "blue, black" then "ub"
|
||||||
else if trimmed == "blue, black" then "ub"
|
else if trimmed == "blue, red" then "ur"
|
||||||
else if trimmed == "blue, red" then "ur"
|
else if trimmed == "blue, green" then "gu"
|
||||||
else if trimmed == "blue, green" then "gu"
|
else if trimmed == "black, red" then "br"
|
||||||
else if trimmed == "blue, orange" then "uo"
|
else if trimmed == "black, green" then "bg"
|
||||||
else if trimmed == "black, red" then "br"
|
else if trimmed == "red, green" then "rg"
|
||||||
else if trimmed == "black, green" then "bg"
|
else if trimmed == "white, blue, reversed" then "uw"
|
||||||
else if trimmed == "black, orange" then "bo"
|
else if trimmed == "white, black, reversed" then "bw"
|
||||||
else if trimmed == "red, green" then "rg"
|
else if trimmed == "white, red, reversed" then "wr"
|
||||||
else if trimmed == "red, orange" then "ro"
|
else if trimmed == "white, green, reversed" then "wg"
|
||||||
else if trimmed == "green, orange" then "go"
|
else if trimmed == "blue, black, reversed" then "bu"
|
||||||
else if trimmed == "white, blue, reversed" then "uw"
|
else if trimmed == "blue, red, reversed" then "ru"
|
||||||
else if trimmed == "white, black, reversed" then "bw"
|
else if trimmed == "blue, green, reversed" then "ug"
|
||||||
else if trimmed == "white, red, reversed" then "wr"
|
else if trimmed == "black, red, reversed" then "rb"
|
||||||
else if trimmed == "white, green, reversed" then "wg"
|
else if trimmed == "black, green, reversed" then "bg"
|
||||||
else if trimmed == "white, orange, reversed" then "ow"
|
else if trimmed == "red, green, reversed" then "gr"
|
||||||
else if trimmed == "blue, black, reversed" then "bu"
|
else "mm"
|
||||||
else if trimmed == "blue, red, reversed" then "ru"
|
|
||||||
else if trimmed == "blue, green, reversed" then "ug"
|
|
||||||
else if trimmed == "blue, orange, reversed" then "ou"
|
|
||||||
else if trimmed == "black, red, reversed" then "rb"
|
|
||||||
else if trimmed == "black, green, reversed" then "gb"
|
|
||||||
else if trimmed == "black, orange, reversed" then "ob"
|
|
||||||
else if trimmed == "red, green, reversed" then "gr"
|
|
||||||
else if trimmed == "red, orange, reversed" then "or"
|
|
||||||
else if trimmed == "green, orange, reversed" then "og"
|
|
||||||
else "mm"
|
|
||||||
}@(face:"")
|
}@(face:"")
|
||||||
########################################################################
|
########################################################################
|
||||||
# Combining multiple colors (hybrids)
|
# Combining multiple colors (hybrids)
|
||||||
@@ -829,14 +818,12 @@ stamp_hybrid := [
|
|||||||
# Putting it all together.
|
# Putting it all together.
|
||||||
########################################################################
|
########################################################################
|
||||||
blend_colors := {
|
blend_colors := {
|
||||||
colors := sort_text( order: if card_is_wedge(input) then "(wbguro)" else "(wubrgo)"
|
colors := sort_text( order: if card_is_wedge(input) then "(wbgur)" else "(wubrg)"
|
||||||
, (if chosen(choice:"white" ) then "w")
|
, (if chosen(choice:"white" ) then "w")
|
||||||
+ (if chosen(choice:"blue" ) then "u")
|
+ (if chosen(choice:"blue" ) then "u")
|
||||||
+ (if chosen(choice:"black" ) then "b")
|
+ (if chosen(choice:"black" ) then "b")
|
||||||
+ (if chosen(choice:"red" ) then "r")
|
+ (if chosen(choice:"red" ) then "r")
|
||||||
+ (if chosen(choice:"green" ) then "g")
|
+ (if chosen(choice:"green" ) then "g"))
|
||||||
+ (if chosen(choice:"orange") then "o")
|
|
||||||
)
|
|
||||||
if multi and (hybrid or colors == "") then (
|
if multi and (hybrid or colors == "") then (
|
||||||
colors := colors + "m"
|
colors := colors + "m"
|
||||||
)
|
)
|
||||||
@@ -1116,14 +1103,13 @@ font_color_positions := [
|
|||||||
font_white := {
|
font_white := {
|
||||||
hybrid := chosen(choice:"hybrid" )
|
hybrid := chosen(choice:"hybrid" )
|
||||||
artifact := chosen(choice:"artifact" )
|
artifact := chosen(choice:"artifact" )
|
||||||
colors := sort_text( order: "(wubrgo)"
|
colors := sort_text( order: "(wubrg)"
|
||||||
, (if chosen(choice:"white" ) then "w")
|
, (if chosen(choice:"white" ) then "w")
|
||||||
+ (if chosen(choice:"blue" ) then "u")
|
+ (if chosen(choice:"blue" ) then "u")
|
||||||
+ (if chosen(choice:"black" ) then "b")
|
+ (if chosen(choice:"black" ) then "b")
|
||||||
+ (if chosen(choice:"red" ) then "r")
|
+ (if chosen(choice:"red" ) then "r")
|
||||||
+ (if chosen(choice:"green" ) then "g")
|
+ (if chosen(choice:"green" ) then "g"))
|
||||||
+ (if chosen(choice:"orange" ) then "o")
|
+ (if artifact then "a")
|
||||||
) + (if artifact then "a")
|
|
||||||
font_colors_white(
|
font_colors_white(
|
||||||
if chosen(choice:"land") then "l"
|
if chosen(choice:"land") then "l"
|
||||||
else if input == "artifact, multicolor" then "a"
|
else if input == "artifact, multicolor" then "a"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 28 KiB |
@@ -10,7 +10,6 @@ default_images := [
|
|||||||
b: "/magic-default-image.mse-include/black.jpg"
|
b: "/magic-default-image.mse-include/black.jpg"
|
||||||
r: "/magic-default-image.mse-include/red.jpg"
|
r: "/magic-default-image.mse-include/red.jpg"
|
||||||
g: "/magic-default-image.mse-include/green.jpg"
|
g: "/magic-default-image.mse-include/green.jpg"
|
||||||
o: "/magic-default-image.mse-include/orange.jpg"
|
|
||||||
l: "/magic-default-image.mse-include/land.jpg"
|
l: "/magic-default-image.mse-include/land.jpg"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ depends on:
|
|||||||
depends on:
|
depends on:
|
||||||
package: magic-mana-small.mse-symbol-font
|
package: magic-mana-small.mse-symbol-font
|
||||||
version: 2007-09-23
|
version: 2007-09-23
|
||||||
|
depends on:
|
||||||
|
package: magic-mainframe-extras.mse-include
|
||||||
|
version: 2018-01-01
|
||||||
|
|
||||||
|
|
||||||
card width: 375
|
card width: 375
|
||||||
|
|||||||
BIN
data/magic-mainframe-extras.mse-include/dnd/rarity/dndc.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
data/magic-mainframe-extras.mse-include/dnd/rarity/dndr.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
data/magic-mainframe-extras.mse-include/dnd/rarity/dndu.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 7.6 KiB |
@@ -790,9 +790,6 @@ symbol:
|
|||||||
symbol:
|
symbol:
|
||||||
code: G
|
code: G
|
||||||
image: mana_g.png
|
image: mana_g.png
|
||||||
symbol:
|
|
||||||
code: O
|
|
||||||
image: mana_o.png
|
|
||||||
symbol:
|
symbol:
|
||||||
code: C
|
code: C
|
||||||
image: mana_c.png
|
image: mana_c.png
|
||||||
@@ -806,7 +803,7 @@ symbol:
|
|||||||
text margin right: .21
|
text margin right: .21
|
||||||
text margin top: -.15
|
text margin top: -.15
|
||||||
text margin bottom: -.06
|
text margin bottom: -.06
|
||||||
code: [0-9](?!/[WUBRGOCSTQ2])|.
|
code: [0-9](?!/[WUBRGCSTQ2])|.
|
||||||
regex: yes
|
regex: yes
|
||||||
draw text: 0
|
draw text: 0
|
||||||
text font:
|
text font:
|
||||||
@@ -864,7 +861,6 @@ insert symbol menu:
|
|||||||
item: B
|
item: B
|
||||||
item: R
|
item: R
|
||||||
item: G
|
item: G
|
||||||
item: O
|
|
||||||
item: S
|
item: S
|
||||||
item:
|
item:
|
||||||
type: line
|
type: line
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 162 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 101 KiB |
|
Before Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 446 KiB |
|
Before Width: | Height: | Size: 447 KiB |
|
Before Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 103 KiB |
|
Before Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 119 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 395 B |
|
Before Width: | Height: | Size: 388 B |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 101 B |
|
Before Width: | Height: | Size: 101 B |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB |