Commit 23c4fd02 authored by pichoro's avatar pichoro

Added cmc mode for mana cost param.

Changed resolution and print out size for magic-old.
Added alpha style dual land blends to magic-old.
parent ae47bd3e
......@@ -11,9 +11,9 @@ full name: Before 8th edition
icon: card-sample.png
position hint: 101
card width: 312
card height: 444
card dpi: 127.34225621414913957934990439771
card width: 337
card height: 469
card dpi: 134.98
############################################################## Set info fields
set info style:
......@@ -62,7 +62,22 @@ init script:
else
rgb(255,255,255)
}
land_hybrid_2 := { if styling.alpha_style_blending then
masked_blend(
mask: "alpha_blend.png",
dark: land_template(input[0]),
light: land_template(input[1]),
)
else
card_hybrid_nt(
linear_blend(
image1: land_template(input[0])
image2: land_template(input[1])
x1: 0.4, y1: 0
x2: 0.6, y2: 0
)
)
}
############################################################## Extra style options
......@@ -76,6 +91,11 @@ styling field:
name: popup mana symbols
description: Use the symbols of the casting cost line inside the text box as well
initial: no
styling field:
type: boolean
name: alpha style blending
description: Use Alpha-style dual blending
initial: no
styling field:
type: choice
name: tap symbol
......@@ -107,17 +127,17 @@ card style:
border color:
left: 0
top : 0
width: 312
height: 444
radius: 0
left width: 6
right width: 6
top width: 6
bottom width: 6
width: 337
height: 468
radius: 18
left width: 18
right width: 19
top width: 18
bottom width: 19
z index: -1
card color:
left: 0
top: 0
left: 12
top: 12
width: 312
height: 444
z index: -2
......@@ -127,8 +147,8 @@ card style:
############################# Name line
name:
left: 27
top : 9
left: 39
top : 21
width: 210
height: 22
alignment: bottom shrink-overflow
......@@ -142,8 +162,8 @@ card style:
shadow displacement x: 1
shadow displacement y: 1
casting cost:
left: 238
top : 9
left: 250
top : 21
width: 54
height: 22
alignment: middle right
......@@ -155,8 +175,8 @@ card style:
z index: 2
padding top: 0
card symbol:
left: 10
top : 9
left: 22
top : 21
height: 20
width: 14
render style: image
......@@ -165,8 +185,8 @@ card style:
############################# Image
image:
left: 29
top: 35
left: 41
top: 47
width: 255
height: 207
z index: 1
......@@ -174,8 +194,8 @@ card style:
############################# Card type
type:
left: 25
top : 248
left: 37
top : 260
width: 240
height: 18
alignment: top left
......@@ -190,8 +210,8 @@ card style:
separator color: rgb(192,192,192)
rarity:
left: 265
top : 245
left: 277
top : 257
width: 22
height: 22
z index: 1
......@@ -206,9 +226,9 @@ card style:
############################# Text box
text:
left: 29
top : 271
width: 255
left: 43
top : 283
width: 253
height: 128
font:
name: MPlantin
......@@ -232,10 +252,9 @@ card style:
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
watermark:
left: 99
top : 265
left: 111
top : 277
width: 124
height: 140
z index: 1
......@@ -246,8 +265,8 @@ card style:
############################# PT
pt:
z index: 4
left: 254
top: 408
left: 266
top: 420
width: 42
height: 28
alignment: right top
......@@ -265,8 +284,8 @@ card style:
############################# Copyright stuff
illustrator:
left: 56
top : 407
left: 68
top : 419
width: 200
height: 14
z index: 1
......@@ -280,8 +299,8 @@ card style:
shadow displacement y: 1
copyright line:
left: 56
top : 422
left: 68
top : 434
width: 200
height: 9
z index: 1
......
mse version: 0.3.3
mse version: 0.3.3
short name: Magic
full name: Magic the Gathering
icon: card-back.png
......@@ -1139,7 +1139,7 @@ keyword mode:
description: Expert level keywords (Cycling, Vanishing, etc.)
keyword mode:
name: pseudo
description: Pseudo keyword / named ability (Hellbent, Threshold, etc.)
description: Pseudo keyword / ability word (Hellbent, Threshold, etc.)
keyword mode:
name: action
description: Keyword actions, reminder text at end of line (Scry, Regenerate, etc.)
......@@ -1151,6 +1151,14 @@ keyword mode:
keyword parameter type:
name: mana
match: [STXYZ0-9WUBRG/|]+
refer script:
name: normal
description: No changes made
script: \{{input}\}
refer script:
name: converted mana cost
description: Converts mana to number
script: \{cmc({input}) + 1\}
# By pichoro and bunnierein
keyword parameter type:
name: cost
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment