Initial commit
BIN
data/magic-default-image.mse-include/artifact.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
data/magic-default-image.mse-include/black.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
data/magic-default-image.mse-include/blue.jpg
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
data/magic-default-image.mse-include/colorless.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
data/magic-default-image.mse-include/green.jpg
Normal file
|
After Width: | Height: | Size: 45 KiB |
3
data/magic-default-image.mse-include/include
Normal file
@@ -0,0 +1,3 @@
|
||||
mse version: 0.3.5
|
||||
full name: Magic The Gathering, placeholder images
|
||||
version: 2007-09-23
|
||||
BIN
data/magic-default-image.mse-include/land.jpg
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
data/magic-default-image.mse-include/multicolor.jpg
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
data/magic-default-image.mse-include/red.jpg
Normal file
|
After Width: | Height: | Size: 63 KiB |
33
data/magic-default-image.mse-include/scripts
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
# default image if there is none
|
||||
|
||||
default_images := [
|
||||
c: "/magic-default-image.mse-include/colorless.jpg"
|
||||
a: "/magic-default-image.mse-include/artifact.jpg"
|
||||
m: "/magic-default-image.mse-include/multicolor.jpg"
|
||||
w: "/magic-default-image.mse-include/white.jpg"
|
||||
u: "/magic-default-image.mse-include/blue.jpg"
|
||||
b: "/magic-default-image.mse-include/black.jpg"
|
||||
r: "/magic-default-image.mse-include/red.jpg"
|
||||
g: "/magic-default-image.mse-include/green.jpg"
|
||||
l: "/magic-default-image.mse-include/land.jpg"
|
||||
]
|
||||
|
||||
default_image := {
|
||||
color_background(color_combination: {
|
||||
combine := "symmetric overlay"
|
||||
base :=
|
||||
if color_count == 0 then if land then default_images.l else default_images.c
|
||||
else if color_count == 1 then default_images[colors]
|
||||
else if color_count == 2 then combine_blend(
|
||||
image1: default_images[colors.0],
|
||||
image2: default_images[colors.1],
|
||||
)
|
||||
else default_images.m
|
||||
|
||||
if land then if color_count == 0 then default_images.l else combine_blend(image1: default_images.l, image2: base)
|
||||
else if multi then combine_blend(image1: default_images.m, image2: base)
|
||||
else if artifact then combine_blend(image1: default_images.a, image2: base)
|
||||
else base
|
||||
})
|
||||
}
|
||||
BIN
data/magic-default-image.mse-include/white.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |