Commit c47db652 authored by pichoro's avatar pichoro

Fixed a Print Size error in Yu-gi-oh.

Monocolor artifacts now sort correctly.
Fixed dark/light artifacts in Magic-new-split.
Removed dark/light artifacts from Magic-new-textless. (we have no dark artifact frame)
Fixed dark/light artifacts in Magic-new-token. (the file names were reversed)
Polished Magic and Vanguard keywords.
Added required hybrid_blend_card pngs to magic-new-token. (to make grey typeline masking work)
parent 5e583dd3
...@@ -23,9 +23,12 @@ init script: ...@@ -23,9 +23,12 @@ init script:
# Which artifact template should be used? # Which artifact template should be used?
artifact_template := { artifact_template := {
if styling.darker_artifacts then "a" else "oa" if input == "a" and not styling.darker_artifacts
then "oa"
else input
} }
template := { artifact_template() + "{type}.jpg" }
# Use the normal tap symbol # Use the normal tap symbol
mana_t := { mana_t := {
if styling.tap_symbol == "old" then "old" if styling.tap_symbol == "old" then "old"
......
data/magic-new-token.mse-style/apt0.jpg

1.83 KB | W: | H:

data/magic-new-token.mse-style/apt0.jpg

9.89 KB | W: | H:

data/magic-new-token.mse-style/apt0.jpg
data/magic-new-token.mse-style/apt0.jpg
data/magic-new-token.mse-style/apt0.jpg
data/magic-new-token.mse-style/apt0.jpg
  • 2-up
  • Swipe
  • Onion skin
data/magic-new-token.mse-style/apt1.jpg

1.79 KB | W: | H:

data/magic-new-token.mse-style/apt1.jpg

9.88 KB | W: | H:

data/magic-new-token.mse-style/apt1.jpg
data/magic-new-token.mse-style/apt1.jpg
data/magic-new-token.mse-style/apt1.jpg
data/magic-new-token.mse-style/apt1.jpg
  • 2-up
  • Swipe
  • Onion skin
data/magic-new-token.mse-style/apt2.jpg

1.61 KB | W: | H:

data/magic-new-token.mse-style/apt2.jpg

9.74 KB | W: | H:

data/magic-new-token.mse-style/apt2.jpg
data/magic-new-token.mse-style/apt2.jpg
data/magic-new-token.mse-style/apt2.jpg
data/magic-new-token.mse-style/apt2.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -34,10 +34,6 @@ init script: ...@@ -34,10 +34,6 @@ init script:
############################################################## Extra style options ############################################################## Extra style options
styling field:
type: boolean
name: darker artifacts
description: Use darker artifacts, as used by Wizards since Fifth Dawn.
styling field: styling field:
type: boolean type: boolean
name: grey hybrid name name: grey hybrid name
......
...@@ -132,17 +132,18 @@ init script: ...@@ -132,17 +132,18 @@ init script:
is_multicolor := { chosen(choice: "multicolor") and input != "artifact, multicolor" } is_multicolor := { chosen(choice: "multicolor") and input != "artifact, multicolor" }
is_hybrid := { chosen(choice: "hybrid") } is_hybrid := { chosen(choice: "hybrid") }
is_land := { chosen(choice: "land") } is_land := { chosen(choice: "land") }
sort_index := { sort_index := {
if card.casting_cost_2 !="" and card.card_color != card.card_color_2 then "H" if card.casting_cost_2 !="" and card.card_color != card.card_color_2 then "H"
else if card.card_color=="white" then "A"
else if card.card_color=="blue" then "B"
else if card.card_color=="black" then "C"
else if card.card_color=="red" then "D"
else if card.card_color=="green" then "E"
else if is_land (card.card_color) then (if card.rarity != "basic land" then "J" else "K") else if is_land (card.card_color) then (if card.rarity != "basic land" then "J" else "K")
else if is_multicolor(card.card_color) then "F" else if is_multicolor(card.card_color) then "F"
else if is_hybrid (card.card_color) then "G" else if is_hybrid (card.card_color) then "G"
else "I" # colorless else if chosen(choice:"white", card.card_color) then "A"
else if chosen(choice:"blue", card.card_color) then "B"
else if chosen(choice:"black", card.card_color) then "C"
else if chosen(choice:"red", card.card_color) then "D"
else if chosen(choice:"green", card.card_color) then "E"
else "I" # colorless, artifacts
}; };
# The color of a card # The color of a card
...@@ -1393,7 +1394,7 @@ keyword: ...@@ -1393,7 +1394,7 @@ keyword:
keyword: Banding keyword: Banding
match: Banding match: Banding
mode: old mode: old
reminder: When declaring attackers or blockers this creature may group with other creatures with banding and one creature without banding. When damage is dealt, you decide where damage is dealt. reminder: When declaring attackers or blockers, this creature may group with other creatures with banding and one creature without banding. When damage is dealt, you decide where damage is dealt.
keyword: keyword:
keyword: Landwalk keyword: Landwalk
match: <atom-param>prefix</atom-param>walk match: <atom-param>prefix</atom-param>walk
...@@ -1413,7 +1414,7 @@ keyword: ...@@ -1413,7 +1414,7 @@ keyword:
keyword: Bands with other keyword: Bands with other
match: Bands with other <atom-param>name</atom-param> match: Bands with other <atom-param>name</atom-param>
mode: old mode: old
reminder: When declaring attackers or blockers this creature may group with other creatures with banding or bands with {param1}. When damage is dealt, you decide where damage is dealt. reminder: When declaring attackers or blockers, this creature may group with other creatures with banding or bands with other {param1}. When damage is dealt, you decide where damage is dealt.
keyword: keyword:
keyword: Rampage keyword: Rampage
match: Rampage <atom-param>number</atom-param> match: Rampage <atom-param>number</atom-param>
...@@ -1652,7 +1653,7 @@ keyword: ...@@ -1652,7 +1653,7 @@ keyword:
keyword: Haunt keyword: Haunt
match: Haunt match: Haunt
mode: expert mode: expert
reminder: When this card is put into a graveyard from play, remove it from the game haunting target creature. reminder: When this { if contains(card.type,match:"Instant") or contains(card.type,match:"Sorcery") then "spell card is put into a graveyard after resolving," else "card is put into a graveyard from play," } remove it from the game haunting target creature.
keyword: keyword:
keyword: Bloodthirst keyword: Bloodthirst
match: Bloodthirst <atom-param>number</atom-param> match: Bloodthirst <atom-param>number</atom-param>
......
...@@ -505,7 +505,7 @@ keyword: ...@@ -505,7 +505,7 @@ keyword:
keyword: Banding keyword: Banding
match: banding match: banding
mode: old mode: old
reminder: When declaring attackers or blockers it may group with other creatures with banding and one creature without banding. When damage is dealt, you decide where damage is dealt. reminder: When declaring attackers or blockers, it may group with other creatures with banding and one creature without banding. When damage is dealt, you decide where damage is dealt.
keyword: keyword:
keyword: Landwalk keyword: Landwalk
match: <atom-param>prefix</atom-param>walk match: <atom-param>prefix</atom-param>walk
...@@ -525,7 +525,7 @@ keyword: ...@@ -525,7 +525,7 @@ keyword:
keyword: Bands with other keyword: Bands with other
match: bands with other <atom-param>name</atom-param> match: bands with other <atom-param>name</atom-param>
mode: old mode: old
reminder: When declaring attackers or blockers it may group with other creatures with banding or bands with {param1}. When damage is dealt, you decide where damage is dealt. reminder: When declaring attackers or blockers, it may group with other creatures with banding or bands with {param1}. When damage is dealt, you decide where damage is dealt.
keyword: keyword:
keyword: Rampage keyword: Rampage
match: rampage <atom-param>number</atom-param> match: rampage <atom-param>number</atom-param>
...@@ -774,7 +774,7 @@ keyword: ...@@ -774,7 +774,7 @@ keyword:
keyword: Haunt keyword: Haunt
match: haunt match: haunt
mode: expert mode: expert
reminder: When it is put into a graveyard from play, remove it from the game haunting target creature. reminder: When it is put into a graveyard from play, or when it resolves if it is not a permanent, remove it from the game haunting target creature.
keyword: keyword:
keyword: Bloodthirst keyword: Bloodthirst
match: bloodthirst <atom-param>number</atom-param> match: bloodthirst <atom-param>number</atom-param>
......
...@@ -3,9 +3,10 @@ game: yugioh ...@@ -3,9 +3,10 @@ game: yugioh
short name: Standard short name: Standard
icon: card-sample.png icon: card-sample.png
card width: 375 card width: 361
card height: 523 card height: 523
card dpi: 300 card dpi: 152.6265
############################################################## Extra scripts ############################################################## Extra scripts
...@@ -18,7 +19,7 @@ card style: ...@@ -18,7 +19,7 @@ card style:
card type: card type:
left: 0 left: 0
top: 0 top: 0
width: 375 width: 361
height: 523 height: 523
z index: -2 z index: -2
render style: image render style: image
...@@ -37,9 +38,9 @@ card style: ...@@ -37,9 +38,9 @@ card style:
############################# Name line ############################# Name line
name: name:
left: 35 left: 34
top : 31 top : 31
width: 265 width: 250
height: 35 height: 35
alignment: bottom shrink-overflow alignment: bottom shrink-overflow
padding bottom: 0 padding bottom: 0
...@@ -51,7 +52,7 @@ card style: ...@@ -51,7 +52,7 @@ card style:
script: if is_nmonster() then rgb(255,255,255) script: if is_nmonster() then rgb(255,255,255)
else rgb(0,0,0) else rgb(0,0,0)
attribute: attribute:
left: 302 left: 290
top : 32 top : 32
width: 35 width: 35
height: 35 height: 35
...@@ -69,10 +70,10 @@ card style: ...@@ -69,10 +70,10 @@ card style:
spell: spell.png spell: spell.png
trap: trap.png trap: trap.png
level: level:
left: 45 left: 43
top : 78 top : 78
height: 25 height: 25
width: 285 width: 275
z index: 2 z index: 2
alignment: middle right alignment: middle right
font: font:
...@@ -88,18 +89,18 @@ card style: ...@@ -88,18 +89,18 @@ card style:
############################# Image ############################# Image
image: image:
left: 53 left: 51
top: 114 top: 114
width: 267 width: 257
height: 261 height: 261
z index: 1 z index: 1
############################# Card type ############################# Card type
monster type: monster type:
left: 38 left: 37
top : 403 top : 403
width: 200 width: 193
height: 14 height: 14
alignment: top left alignment: top left
z index: 2 z index: 2
...@@ -113,9 +114,9 @@ card style: ...@@ -113,9 +114,9 @@ card style:
############################# Edition and Card ID ############################# Edition and Card ID
number: number:
left: 210 left: 202
top : 383 top : 383
width: 120 width: 116
height: 28 height: 28
z index: 2 z index: 2
alignment: top right alignment: top right
...@@ -124,9 +125,9 @@ card style: ...@@ -124,9 +125,9 @@ card style:
size: 8 size: 8
color: rgb(0,0,0) color: rgb(0,0,0)
edition: edition:
left: 45 left: 43
top: 383 top: 383
width: 120 width: 116
height: 18 height: 18
z index: 2 z index: 2
font: font:
...@@ -136,10 +137,10 @@ card style: ...@@ -136,10 +137,10 @@ card style:
############################# Text box ############################# Text box
rule text: rule text:
left: 35 left: 34
top : top :
script: if is_nmonster() then 400 else 413 script: if is_nmonster() then 400 else 413
width: 301 width: 290
height: height:
script: if is_nmonster() then 90 else 63 script: if is_nmonster() then 90 else 63
font: font:
...@@ -158,9 +159,9 @@ card style: ...@@ -158,9 +159,9 @@ card style:
############################# Attack/Defense ############################# Attack/Defense
attack: attack:
left: 205 left: 197
top: 477 top: 477
width: 50 width: 48
height: 18 height: 18
z index: 2 z index: 2
alignment: left middle alignment: left middle
...@@ -171,10 +172,9 @@ card style: ...@@ -171,10 +172,9 @@ card style:
visible: script: if is_nmonster() then false else true visible: script: if is_nmonster() then false else true
defense: defense:
z index: 4 left: 266
left: 276
top: 477 top: 477
width: 50 width: 48
height: 18 height: 18
z index: 2 z index: 2
alignment: left middle alignment: left middle
...@@ -188,9 +188,9 @@ card style: ...@@ -188,9 +188,9 @@ card style:
############################# Copyright stuff ############################# Copyright stuff
gamecode: gamecode:
left: 15 left: 14
top : 499 top : 499
width: 100 width: 96
height: 18 height: 18
alignment: top left alignment: top left
z index: 2 z index: 2
...@@ -200,9 +200,9 @@ card style: ...@@ -200,9 +200,9 @@ card style:
color: rgb(0,0,0) color: rgb(0,0,0)
copyright: copyright:
left: 195 left: 188
top : 499 top : 499
width: 150 width: 145
height: 18 height: 18
z index: 2 z index: 2
alignment: top right alignment: top right
......
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