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 ...@@ -11,9 +11,9 @@ full name: Before 8th edition
icon: card-sample.png icon: card-sample.png
position hint: 101 position hint: 101
card width: 312 card width: 337
card height: 444 card height: 469
card dpi: 127.34225621414913957934990439771 card dpi: 134.98
############################################################## Set info fields ############################################################## Set info fields
set info style: set info style:
...@@ -62,7 +62,22 @@ init script: ...@@ -62,7 +62,22 @@ init script:
else else
rgb(255,255,255) 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 ############################################################## Extra style options
...@@ -76,6 +91,11 @@ styling field: ...@@ -76,6 +91,11 @@ styling field:
name: popup mana symbols name: popup mana symbols
description: Use the symbols of the casting cost line inside the text box as well description: Use the symbols of the casting cost line inside the text box as well
initial: no initial: no
styling field:
type: boolean
name: alpha style blending
description: Use Alpha-style dual blending
initial: no
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
...@@ -107,17 +127,17 @@ card style: ...@@ -107,17 +127,17 @@ card style:
border color: border color:
left: 0 left: 0
top : 0 top : 0
width: 312 width: 337
height: 444 height: 468
radius: 0 radius: 18
left width: 6 left width: 18
right width: 6 right width: 19
top width: 6 top width: 18
bottom width: 6 bottom width: 19
z index: -1 z index: -1
card color: card color:
left: 0 left: 12
top: 0 top: 12
width: 312 width: 312
height: 444 height: 444
z index: -2 z index: -2
...@@ -127,8 +147,8 @@ card style: ...@@ -127,8 +147,8 @@ card style:
############################# Name line ############################# Name line
name: name:
left: 27 left: 39
top : 9 top : 21
width: 210 width: 210
height: 22 height: 22
alignment: bottom shrink-overflow alignment: bottom shrink-overflow
...@@ -142,8 +162,8 @@ card style: ...@@ -142,8 +162,8 @@ card style:
shadow displacement x: 1 shadow displacement x: 1
shadow displacement y: 1 shadow displacement y: 1
casting cost: casting cost:
left: 238 left: 250
top : 9 top : 21
width: 54 width: 54
height: 22 height: 22
alignment: middle right alignment: middle right
...@@ -155,8 +175,8 @@ card style: ...@@ -155,8 +175,8 @@ card style:
z index: 2 z index: 2
padding top: 0 padding top: 0
card symbol: card symbol:
left: 10 left: 22
top : 9 top : 21
height: 20 height: 20
width: 14 width: 14
render style: image render style: image
...@@ -165,8 +185,8 @@ card style: ...@@ -165,8 +185,8 @@ card style:
############################# Image ############################# Image
image: image:
left: 29 left: 41
top: 35 top: 47
width: 255 width: 255
height: 207 height: 207
z index: 1 z index: 1
...@@ -174,8 +194,8 @@ card style: ...@@ -174,8 +194,8 @@ card style:
############################# Card type ############################# Card type
type: type:
left: 25 left: 37
top : 248 top : 260
width: 240 width: 240
height: 18 height: 18
alignment: top left alignment: top left
...@@ -190,8 +210,8 @@ card style: ...@@ -190,8 +210,8 @@ card style:
separator color: rgb(192,192,192) separator color: rgb(192,192,192)
rarity: rarity:
left: 265 left: 277
top : 245 top : 257
width: 22 width: 22
height: 22 height: 22
z index: 1 z index: 1
...@@ -206,9 +226,9 @@ card style: ...@@ -206,9 +226,9 @@ card style:
############################# Text box ############################# Text box
text: text:
left: 29 left: 43
top : 271 top : 283
width: 255 width: 253
height: 128 height: 128
font: font:
name: MPlantin name: MPlantin
...@@ -232,10 +252,9 @@ card style: ...@@ -232,10 +252,9 @@ card style:
line height hard: 1.2 line height hard: 1.2
line height line: 1.5 line height line: 1.5
line height soft: 0.9 line height soft: 0.9
watermark: watermark:
left: 99 left: 111
top : 265 top : 277
width: 124 width: 124
height: 140 height: 140
z index: 1 z index: 1
...@@ -246,8 +265,8 @@ card style: ...@@ -246,8 +265,8 @@ card style:
############################# PT ############################# PT
pt: pt:
z index: 4 z index: 4
left: 254 left: 266
top: 408 top: 420
width: 42 width: 42
height: 28 height: 28
alignment: right top alignment: right top
...@@ -265,8 +284,8 @@ card style: ...@@ -265,8 +284,8 @@ card style:
############################# Copyright stuff ############################# Copyright stuff
illustrator: illustrator:
left: 56 left: 68
top : 407 top : 419
width: 200 width: 200
height: 14 height: 14
z index: 1 z index: 1
...@@ -280,8 +299,8 @@ card style: ...@@ -280,8 +299,8 @@ card style:
shadow displacement y: 1 shadow displacement y: 1
copyright line: copyright line:
left: 56 left: 68
top : 422 top : 434
width: 200 width: 200
height: 9 height: 9
z index: 1 z index: 1
......
mse version: 0.3.3 mse version: 0.3.3
short name: Magic short name: Magic
full name: Magic the Gathering full name: Magic the Gathering
icon: card-back.png icon: card-back.png
...@@ -1139,7 +1139,7 @@ keyword mode: ...@@ -1139,7 +1139,7 @@ keyword mode:
description: Expert level keywords (Cycling, Vanishing, etc.) description: Expert level keywords (Cycling, Vanishing, etc.)
keyword mode: keyword mode:
name: pseudo name: pseudo
description: Pseudo keyword / named ability (Hellbent, Threshold, etc.) description: Pseudo keyword / ability word (Hellbent, Threshold, etc.)
keyword mode: keyword mode:
name: action name: action
description: Keyword actions, reminder text at end of line (Scry, Regenerate, etc.) description: Keyword actions, reminder text at end of line (Scry, Regenerate, etc.)
...@@ -1151,6 +1151,14 @@ keyword mode: ...@@ -1151,6 +1151,14 @@ keyword mode:
keyword parameter type: keyword parameter type:
name: mana name: mana
match: [STXYZ0-9WUBRG/|]+ 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 # By pichoro and bunnierein
keyword parameter type: keyword parameter type:
name: cost 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