Added invertedcommon styling choice to magic-extendedart, magic-future, and magic-future-textless.
More font color cleanup in futureshifts. Added some scripting to magic-future; working towards scripting type symbol. Big Yu-Gi-Oh update courtesy of artfreakwiu. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@667 0fc631ac-6414-0410-93d0-97cfa31319b6
@@ -37,6 +37,16 @@ init script:
|
||||
# Use guild mana symbols?
|
||||
guild_mana := { styling.use_guild_mana_symbols }
|
||||
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
variation:
|
||||
name: invertedcommon
|
||||
border radius: 0.10
|
||||
fill type: solid
|
||||
fill color: rgb(255,255,255)
|
||||
border color: rgb(0,0,0)
|
||||
|
||||
############################################################## Extra style
|
||||
|
||||
styling field:
|
||||
@@ -73,6 +83,11 @@ styling field:
|
||||
choice: short text only
|
||||
choice: never
|
||||
initial: never
|
||||
styling field:
|
||||
type: boolean
|
||||
name: inverted common symbol
|
||||
description: Should the common rarity symbol be inverted, like in Coldsnap?
|
||||
initial: no
|
||||
|
||||
styling style:
|
||||
popup mana symbols:
|
||||
@@ -173,15 +188,21 @@ card style:
|
||||
rarity:
|
||||
right: 344
|
||||
top : 445
|
||||
width: 44
|
||||
height: 22
|
||||
width: 40
|
||||
height: 20
|
||||
z index: 3
|
||||
alignment: middle right
|
||||
render style: image
|
||||
choice images:
|
||||
# Images based on the set symbol
|
||||
basic land: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
basic land:
|
||||
script:
|
||||
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common:
|
||||
script:
|
||||
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
|
||||
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
|
||||
special: script: symbol_variation(symbol: set.symbol, variation: "special")
|
||||
|
||||
@@ -77,6 +77,16 @@ init script:
|
||||
else "white"
|
||||
}
|
||||
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
variation:
|
||||
name: invertedcommon
|
||||
border radius: 0.10
|
||||
fill type: solid
|
||||
fill color: rgb(255,255,255)
|
||||
border color: rgb(0,0,0)
|
||||
|
||||
############################################################## Extra style options
|
||||
|
||||
styling field:
|
||||
@@ -97,13 +107,10 @@ styling field:
|
||||
choice: old
|
||||
choice: diagonal T
|
||||
styling field:
|
||||
type: choice
|
||||
name: font color
|
||||
description: What color should the font on cards be?
|
||||
initial: automatic
|
||||
choice: automatic
|
||||
choice: black
|
||||
choice: white
|
||||
type: boolean
|
||||
name: inverted common symbol
|
||||
description: Should the common rarity symbol be inverted, like in Coldsnap?
|
||||
initial: no
|
||||
|
||||
styling style:
|
||||
use guild mana symbols:
|
||||
@@ -156,13 +163,19 @@ card style:
|
||||
size: 18
|
||||
color:
|
||||
script:
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"horizontal") or
|
||||
contains(card.card_color, match:"radial") or
|
||||
contains(card.card_color, match:"vertical") and
|
||||
not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"artifact") then (
|
||||
if contains(card.card_color, match:"blue") or
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
else rgb(0,0,0)
|
||||
) else font_color(card.card_color)
|
||||
casting cost:
|
||||
@@ -213,13 +226,19 @@ card style:
|
||||
size: 14
|
||||
color:
|
||||
script:
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"horizontal") or
|
||||
contains(card.card_color, match:"radial") or
|
||||
contains(card.card_color, match:"vertical") and
|
||||
not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"artifact") then (
|
||||
if contains(card.card_color, match:"blue") or
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
else rgb(0,0,0)
|
||||
) else font_color(card.card_color)
|
||||
separator color: rgb(128,128,128)
|
||||
@@ -233,8 +252,14 @@ card style:
|
||||
render style: image
|
||||
choice images:
|
||||
# Images based on the set symbol
|
||||
basic land: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
basic land:
|
||||
script:
|
||||
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common:
|
||||
script:
|
||||
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
|
||||
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
|
||||
special: script: symbol_variation(symbol: set.symbol, variation: "special")
|
||||
@@ -253,13 +278,19 @@ card style:
|
||||
weight: bold
|
||||
color:
|
||||
script:
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"horizontal") or
|
||||
contains(card.card_color, match:"radial") or
|
||||
contains(card.card_color, match:"vertical") and
|
||||
not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"artifact") then (
|
||||
if contains(card.card_color, match:"blue") or
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
else rgb(0,0,0)
|
||||
) else font_color(card.card_color)
|
||||
separator color: rgb(200,0,0)
|
||||
|
||||
@@ -103,10 +103,56 @@ init script:
|
||||
)
|
||||
}
|
||||
|
||||
paintbrush_font:= { if contains(card.card_color, match:"land") then "white"
|
||||
paintbrush_color:= { if contains(card.card_color, match:"land") then "white"
|
||||
else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black"
|
||||
else "white"
|
||||
}
|
||||
|
||||
typesymbol_color:= { if contains(card.card_color, match:"artifact") then "black"
|
||||
else if card.card_color == "multicolor" then "black"
|
||||
else if card.card_color == "white" then "black"
|
||||
else if card.card_color == "land" then (
|
||||
if contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"blue") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then "white"
|
||||
else "black"
|
||||
) else "white"
|
||||
}
|
||||
|
||||
#Use of "Enchant" rather than "Enchantment" below is intentional, to allow functionality for users who wish to use "Enchant Creature" and the like.
|
||||
typesymbol_type:= { if contains(card.type, match:"Instant") then "instant"
|
||||
else if contains(card.type, match:"Sorcery") then "sorcery"
|
||||
else if contains(card.type, match:"Tribal") then "multitype"
|
||||
else if contains(card.type, match:"Planeswalker") then "multitype"
|
||||
else if contains(card.type, match:"Creature") and
|
||||
not contains(card.type, match:"Land") and
|
||||
not contains(card.type, match:"Artifact") and
|
||||
not contains(card.type, match:"Enchant") then "creature"
|
||||
else if contains(card.type, match:"Artifact") and
|
||||
not contains(card.type, match:"Land") and
|
||||
not contains(card.type, match:"Creature") and
|
||||
not contains(card.type, match:"Enchant") then "artifact"
|
||||
else if contains(card.type, match:"Land") and
|
||||
not contains(card.type, match:"Creature") and
|
||||
not contains(card.type, match:"Artifact") and
|
||||
not contains(card.type, match:"Enchant") then "land"
|
||||
else if contains(card.type, match:"Enchant") and
|
||||
not contains(card.type, match:"Land") and
|
||||
not contains(card.type, match:"Artifact") and
|
||||
not contains(card.type, match:"Creature") then "enchantment"
|
||||
else "multitype"
|
||||
}
|
||||
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
variation:
|
||||
name: invertedcommon
|
||||
border radius: 0.10
|
||||
fill type: solid
|
||||
fill color: rgb(255,255,255)
|
||||
border color: rgb(0,0,0)
|
||||
|
||||
############################################################## Extra style options
|
||||
|
||||
@@ -140,6 +186,11 @@ styling field:
|
||||
choice: short text only
|
||||
choice: never
|
||||
initial: never
|
||||
styling field:
|
||||
type: boolean
|
||||
name: inverted common symbol
|
||||
description: Should the common rarity symbol be inverted, like in Coldsnap?
|
||||
initial: no
|
||||
|
||||
styling style:
|
||||
use guild mana symbols:
|
||||
@@ -196,13 +247,19 @@ card style:
|
||||
size: 18
|
||||
color:
|
||||
script:
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"horizontal") or
|
||||
contains(card.card_color, match:"radial") or
|
||||
contains(card.card_color, match:"vertical") and
|
||||
not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"artifact") then (
|
||||
if contains(card.card_color, match:"blue") or
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
else rgb(0,0,0)
|
||||
) else font_color(card.card_color)
|
||||
casting cost:
|
||||
@@ -254,13 +311,19 @@ card style:
|
||||
size: 14
|
||||
color:
|
||||
script:
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"horizontal") or
|
||||
contains(card.card_color, match:"radial") or
|
||||
contains(card.card_color, match:"vertical") and
|
||||
not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"artifact") then (
|
||||
if contains(card.card_color, match:"blue") or
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
else rgb(0,0,0)
|
||||
) else font_color(card.card_color)
|
||||
separator color: rgb(128,128,128)
|
||||
@@ -274,8 +337,14 @@ card style:
|
||||
render style: image
|
||||
choice images:
|
||||
# Images based on the set symbol
|
||||
basic land: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
basic land:
|
||||
script:
|
||||
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common:
|
||||
script:
|
||||
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
|
||||
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
|
||||
special: script: symbol_variation(symbol: set.symbol, variation: "special")
|
||||
@@ -341,13 +410,19 @@ card style:
|
||||
weight: bold
|
||||
color:
|
||||
script:
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
if styling.grey_hybrid_name and contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"horizontal") or
|
||||
contains(card.card_color, match:"radial") or
|
||||
contains(card.card_color, match:"vertical") and
|
||||
not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"artifact") then (
|
||||
if contains(card.card_color, match:"blue") or
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
contains(card.card_color, match:"green") then rgb(255,255,255)
|
||||
else rgb(0,0,0)
|
||||
) else font_color(card.card_color)
|
||||
separator color: rgb(200,0,0)
|
||||
@@ -432,7 +507,7 @@ extra card field:
|
||||
extra card field:
|
||||
type: choice
|
||||
name: paintbrush
|
||||
script: paintbrush_font(value)
|
||||
script: paintbrush_color(value)
|
||||
editable: false
|
||||
choice: black
|
||||
choice: white
|
||||
@@ -487,7 +562,7 @@ extra card style:
|
||||
black multitype: /magic-future-common.mse-include/multitype_black.png
|
||||
white sorcery: /magic-future-common.mse-include/sorcery_white.png
|
||||
black sorcery: /magic-future-common.mse-include/sorcery_black.png
|
||||
paintbrush:
|
||||
paintbrush
|
||||
right: { ( if card.pt != "" then 275 else 338 ) - card_style.illustrator.content_width }
|
||||
top : 476
|
||||
width: 40
|
||||
|
||||
|
After Width: | Height: | Size: 242 B |
|
After Width: | Height: | Size: 252 B |
@@ -1,4 +1,4 @@
|
||||
mse version: 0.3.2
|
||||
mse version: 0.3.4
|
||||
# Symbol font for level symbols
|
||||
|
||||
image font size: 16
|
||||
@@ -21,6 +21,14 @@ symbol:
|
||||
symbol:
|
||||
code: #
|
||||
image: ritual.png
|
||||
symbol:
|
||||
code: [
|
||||
image: leftbracket.png
|
||||
image font size: 24
|
||||
symbol:
|
||||
code: ]
|
||||
image: rightbracket.png
|
||||
image font size: 24
|
||||
symbol:
|
||||
code: *
|
||||
image: star.png
|
||||
|
||||
|
After Width: | Height: | Size: 605 B |
|
Before Width: | Height: | Size: 159 KiB After Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 121 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 182 KiB After Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 211 KiB After Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 205 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 119 KiB |
|
After Width: | Height: | Size: 450 KiB |
|
After Width: | Height: | Size: 170 KiB |
@@ -1,24 +1,47 @@
|
||||
mse version: 0.3.2
|
||||
mse version: 0.3.4
|
||||
game: yugioh
|
||||
short name: Standard
|
||||
icon: card-sample.png
|
||||
|
||||
card width: 361
|
||||
card width: 375
|
||||
card height: 523
|
||||
card dpi: 152.6265
|
||||
card dpi: 300
|
||||
|
||||
############################################################## Extra scripts
|
||||
|
||||
|
||||
############################################################## Extra style
|
||||
|
||||
styling field:
|
||||
type: choice
|
||||
name: foil image
|
||||
description: What foil should be on the cards?
|
||||
initial: none
|
||||
choice: none
|
||||
choice: holo image
|
||||
choice: secret holo image
|
||||
choice: parallel holo image
|
||||
styling field:
|
||||
type: choice
|
||||
name: foil name
|
||||
description: What color foil should be used on the name?
|
||||
initial: normal
|
||||
choice: normal
|
||||
choice: silver
|
||||
choice: gold
|
||||
|
||||
styling style:
|
||||
foil image:
|
||||
render style: text
|
||||
foil name:
|
||||
render style: text
|
||||
|
||||
############################################################## Card fields
|
||||
card style:
|
||||
############################# Background stuff
|
||||
card type:
|
||||
left: 0
|
||||
top: 0
|
||||
width: 361
|
||||
width: 375
|
||||
height: 523
|
||||
z index: -2
|
||||
render style: image
|
||||
@@ -34,180 +57,211 @@ card style:
|
||||
legendary dragons: card-dragons.jpg
|
||||
spell card: card-spell.jpg
|
||||
trap card: card-trap.jpg
|
||||
foils:
|
||||
left: { if styling.foil_image=="parallel holo image" then 0 else 53}
|
||||
top: { if styling.foil_image=="parallel holo image" then 0 else 113}
|
||||
width: { if styling.foil_image=="parallel holo image" then 375 else 269}
|
||||
height: { if styling.foil_image=="parallel holo image" then 523 else 261}
|
||||
z index: 5
|
||||
visible: { styling.foil_image!="none" }
|
||||
render style: image
|
||||
popup style: in place
|
||||
image:
|
||||
script: if styling.foil_image=="parallel holo image" then "parallelfoil.png" else
|
||||
if styling.foil_image=="secret holo image" then "secretfoil.png" else "superfoil.png"
|
||||
|
||||
############################# Name line
|
||||
name:
|
||||
left: 34
|
||||
top : 31
|
||||
width: 250
|
||||
left: 35
|
||||
top : 28
|
||||
width: 265
|
||||
height: 35
|
||||
alignment: bottom shrink-overflow
|
||||
padding bottom: 0
|
||||
z index: 2
|
||||
font:
|
||||
name: MatrixRegularSmallCaps
|
||||
size: 24
|
||||
size: 24
|
||||
color:
|
||||
script: if is_nmonster() then rgb(255,255,255)
|
||||
else rgb(0,0,0)
|
||||
script: if is_nmonster() then rgb(255,255,255)
|
||||
else if styling.foil_name=="silver" then rgb(230,230,230)
|
||||
else if styling.foil_name=="gold" then rgb(216,199,53)
|
||||
else rgb(0,0,0)
|
||||
attribute:
|
||||
left: 290
|
||||
top : 31
|
||||
width: 37
|
||||
height: 37
|
||||
left: 302
|
||||
top : 32
|
||||
width: 35
|
||||
height: 35
|
||||
z index: 2
|
||||
render style: image
|
||||
popup style: in place
|
||||
choice images:
|
||||
earth: earth.png
|
||||
water: water.png
|
||||
fire: fire.png
|
||||
wind: wind.png
|
||||
fire: fire.png
|
||||
wind: wind.png
|
||||
light: light.png
|
||||
dark: dark.png
|
||||
dark: dark.png
|
||||
divine: divine.png
|
||||
spell: spell.png
|
||||
trap: trap.png
|
||||
trap: trap.png
|
||||
level:
|
||||
left: 43
|
||||
left: 45
|
||||
top : 78
|
||||
height: 25
|
||||
width: 275
|
||||
width: 285
|
||||
z index: 2
|
||||
alignment: middle right
|
||||
font:
|
||||
name: MatrixBoldSmallCaps
|
||||
italic name: Matrix-Bold
|
||||
scale down to: 17
|
||||
size: 17
|
||||
name: MatrixRegularSmallCaps
|
||||
italic name: Matrix
|
||||
size: 18
|
||||
color: rgb(0,0,0)
|
||||
symbol font:
|
||||
name: yugioh-standard-levels
|
||||
alignment: middle center
|
||||
size: 7
|
||||
scale down to: 1
|
||||
size: 8
|
||||
|
||||
############################# Image
|
||||
image:
|
||||
left: 51
|
||||
top: 114
|
||||
width: 257
|
||||
left: 53
|
||||
top: 113
|
||||
width: 269
|
||||
height: 261
|
||||
z index: 1
|
||||
|
||||
############################# Card type
|
||||
|
||||
monster type:
|
||||
left: 37
|
||||
top : 401
|
||||
width: 193
|
||||
left: 38
|
||||
top : 399
|
||||
width: 200
|
||||
height: 14
|
||||
alignment: top left
|
||||
z index: 2
|
||||
font:
|
||||
name: MatrixBoldSmallCaps
|
||||
name: MatrixRegularSmallCaps
|
||||
italic name: Matrix
|
||||
size: 12
|
||||
color: rgb(0,0,0)
|
||||
symbol font:
|
||||
name: yugioh-text-replacements
|
||||
alignment: middle center
|
||||
size: 3
|
||||
visible: script: if is_nmonster() then false else true
|
||||
|
||||
############################# Edition and Card ID
|
||||
|
||||
number:
|
||||
left: 202
|
||||
top : 383
|
||||
width: 116
|
||||
left: 210
|
||||
top : 380
|
||||
width: 120
|
||||
height: 28
|
||||
z index: 2
|
||||
alignment: top right
|
||||
font:
|
||||
name: Times New Roman
|
||||
name: Palatino Linotype
|
||||
size: 8
|
||||
color: rgb(0,0,0)
|
||||
edition:
|
||||
left: 43
|
||||
top: 383
|
||||
width: 116
|
||||
left: 45
|
||||
top: 380
|
||||
width: 120
|
||||
height: 18
|
||||
z index: 2
|
||||
font:
|
||||
name: Times New Roman
|
||||
name: Palatino Linotype
|
||||
size: 8
|
||||
color: rgb(0,0,0)
|
||||
|
||||
############################# Text box
|
||||
rule text:
|
||||
left: 34
|
||||
left: 35
|
||||
top :
|
||||
script: if is_nmonster() then 400 else 413
|
||||
width: 287
|
||||
width: 304
|
||||
height:
|
||||
script: if is_nmonster() then 90 else 63
|
||||
font:
|
||||
name: Times New Roman
|
||||
italic name: Times New Roman Italic
|
||||
name: Palatino Linotype
|
||||
italic name: Palatino Linotype Italic
|
||||
size: 9
|
||||
scale down to: 4
|
||||
color: rgb(0,0,0)
|
||||
symbol font:
|
||||
name: yugioh-text-replacements
|
||||
alignment: middle center
|
||||
size: 8
|
||||
alignment: top left
|
||||
z index: 3
|
||||
padding left: 2
|
||||
padding top: 2
|
||||
padding right: -3
|
||||
padding bottom: 0
|
||||
line height hard: 1.1
|
||||
line height hard: 1.2
|
||||
line height line: 1.5
|
||||
line height soft: 0.9
|
||||
|
||||
############################# Attack/Defense
|
||||
attack:
|
||||
left: 194
|
||||
top: 477
|
||||
width: 48
|
||||
left: 209
|
||||
top: 474
|
||||
width: 50
|
||||
height: 18
|
||||
z index: 2
|
||||
alignment: left middle
|
||||
alignment: right middle
|
||||
font:
|
||||
name: MatrixBoldSmallCaps
|
||||
name: MatrixRegularSmallCaps
|
||||
size: 12
|
||||
color: rgb(0,0,0)
|
||||
symbol font:
|
||||
name: yugioh-text-replacements
|
||||
alignment: middle center
|
||||
size: 8
|
||||
visible: script: if is_nmonster() then false else true
|
||||
|
||||
defense:
|
||||
z index: 4
|
||||
left: 263
|
||||
top: 477
|
||||
width: 48
|
||||
left: 283
|
||||
top: 474
|
||||
width: 50
|
||||
height: 18
|
||||
z index: 2
|
||||
alignment: left middle
|
||||
alignment: right middle
|
||||
font:
|
||||
name: MatrixBoldSmallCaps
|
||||
name: MatrixRegularSmallCaps
|
||||
size: 12
|
||||
color: rgb(0,0,0)
|
||||
symbol font:
|
||||
name: yugioh-text-replacements
|
||||
alignment: middle center
|
||||
size: 8
|
||||
visible: script: if is_nmonster() then false else true
|
||||
|
||||
############################# Card sorting / numbering
|
||||
############################# Copyright stuff
|
||||
|
||||
gamecode:
|
||||
left: 14
|
||||
top : 499
|
||||
width: 96
|
||||
left: 15
|
||||
top : 497
|
||||
width: 100
|
||||
height: 18
|
||||
alignment: top left
|
||||
z index: 2
|
||||
font:
|
||||
name: Times New Roman
|
||||
name: Palatino Linotype
|
||||
size: 8
|
||||
color: rgb(0,0,0)
|
||||
|
||||
copyright:
|
||||
left: 188
|
||||
top : 499
|
||||
width: 145
|
||||
left: 195
|
||||
top : 497
|
||||
width: 150
|
||||
height: 18
|
||||
z index: 2
|
||||
alignment: top right
|
||||
font:
|
||||
name: Times New Roman
|
||||
name: Palatino Linotype
|
||||
size: 8
|
||||
color: rgb(0,0,0)
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 647 B |
|
After Width: | Height: | Size: 888 B |
|
After Width: | Height: | Size: 242 B |
|
After Width: | Height: | Size: 252 B |
@@ -0,0 +1,17 @@
|
||||
mse version: 0.3.4
|
||||
# Symbol font for missing characters
|
||||
|
||||
image font size: 16
|
||||
horizontal space: 2
|
||||
symbol:
|
||||
code: [
|
||||
image: leftbracket.png
|
||||
symbol:
|
||||
code: ]
|
||||
image: rightbracket.png
|
||||
symbol:
|
||||
code: @
|
||||
image: infinity.png
|
||||
symbol:
|
||||
code: `
|
||||
image: dot.png
|
||||
@@ -1,14 +1,14 @@
|
||||
mse version: 0.3.2
|
||||
mse version: 0.3.4
|
||||
short name: Yu-Gi-Oh!
|
||||
icon: card-back.png
|
||||
position hint: 04
|
||||
position hint: 4
|
||||
|
||||
############################################################## Functions & filters
|
||||
## Copied and Pasted from vs.mse-game, with a few modifications
|
||||
# General functions
|
||||
init script:
|
||||
# level codes
|
||||
level_sort := sort_rule(order: "%!+&$#*")
|
||||
level_sort := sort_rule(order: "[%!+&$#*@]")
|
||||
# the rule text filter
|
||||
# - adds continuous symbols
|
||||
# - adds counter symbols
|
||||
@@ -17,27 +17,58 @@ init script:
|
||||
# - adds quickplay symbols
|
||||
# - adds ritual symbols
|
||||
# - adds level symbols
|
||||
# - adds infinity symbols
|
||||
# - makes text in parentheses italic
|
||||
text_filter :=
|
||||
# step 1 : remove all automatic tags
|
||||
tag_remove_rule(tag: "<sym-auto>") +
|
||||
tag_remove_rule(tag: "<i-auto>") +
|
||||
# step 2 : fill in atom fields
|
||||
# step 2a : fill in atom fields
|
||||
tag_contents_rule(
|
||||
tag: "<atom-cardname>",
|
||||
contents: { if card.name=="" then "CARDNAME" else card.name }
|
||||
) +
|
||||
# step 3a : explict non symbols
|
||||
# step 2b : explict non symbols
|
||||
replace_rule(
|
||||
match: "\\][%!+&$#*]+\\[",
|
||||
match: "\\][\\[@\\]]+\\[",
|
||||
replace: {"<nosym>" +level_sort() + "</nosym>"} ) +
|
||||
# step 3b : add symbols
|
||||
# step 2c : add symbols
|
||||
replace_rule(
|
||||
match: "[%!+&$#*]+",
|
||||
match: "[\\[@\\]]+",
|
||||
replace: {"<sym-auto>" + level_sort() + "</sym-auto>"} ) +
|
||||
# step 3c : add explict symbols
|
||||
# step 2d : add explict symbols
|
||||
replace_rule(
|
||||
match: "\\[[%!+&$#*]+\\]",
|
||||
match: "\\[[\\[@\\]]+\\]",
|
||||
replace: {"<sym>" + level_sort() + "</sym>"} );
|
||||
level_filter :=
|
||||
# step 1 : remove all automatic tags
|
||||
tag_remove_rule(tag: "<sym-auto>") +
|
||||
# step 3b : explict non symbols
|
||||
replace_rule(
|
||||
match: "\\][\\[%!+&$#*\\]]+\\[",
|
||||
replace: {"<nosym>" +level_sort() + "</nosym>"} ) +
|
||||
# step 3c : add symbols
|
||||
replace_rule(
|
||||
match: "[\\[%!+&$#*\\]]+",
|
||||
replace: {"<sym-auto>" + level_sort() + "</sym-auto>"} ) +
|
||||
# step 3d : add explict symbols
|
||||
replace_rule(
|
||||
match: "\\[[\\[%!+&$#*\\]]+\\]",
|
||||
replace: {"<sym>" + level_sort() + "</sym>"} );
|
||||
a_and_d_filter :=
|
||||
# step 1 : remove all automatic tags
|
||||
tag_remove_rule(tag: "<sym-auto>") +
|
||||
# step 2b : explict non symbols
|
||||
replace_rule(
|
||||
match: "\\][\\[@\\]]+\\[",
|
||||
replace: {"<nosym>" +level_sort() + "</nosym>"} ) +
|
||||
# step 2c : add symbols
|
||||
replace_rule(
|
||||
match: "[\\[@\\]]+",
|
||||
replace: {"<sym-auto>" + level_sort() + "</sym-auto>"} ) +
|
||||
# step 2d : add explict symbols
|
||||
replace_rule(
|
||||
match: "\\[[\\[@\\]]+\\]",
|
||||
replace: {"<sym>" + level_sort() + "</sym>"} );
|
||||
|
||||
# the flavor text filter
|
||||
@@ -49,14 +80,35 @@ init script:
|
||||
|
||||
# Determine type of card
|
||||
card_type := {
|
||||
if card.attribute == "spell" then "spell card"
|
||||
else if card.attribute == "trap" then "trap card"
|
||||
else "normal monster"
|
||||
if card.type2 == "Effect]" then "effect monster"
|
||||
else if card.type2 == "Fusion]" then "fusion monster"
|
||||
else if card.type2 == "Fusion/Effect]" then "fusion monster"
|
||||
else if card.type2 == "Ritual]" then "ritual monster"
|
||||
else if card.type2 == "Ritual/Effect]" then "ritual monster"
|
||||
else if card.type1 == "[Legendary Dragon" then "legendary dragon"
|
||||
else if card.type1 == "[Divine-Beast" then "obelisk"
|
||||
else if card.attribute == "spell" then "spell card"
|
||||
else if card.level == "[Spell Card]" then "spell card"
|
||||
else if card.level == "[Spell Card%]" then "spell card"
|
||||
else if card.level == "[Spell Card!]" then "spell card"
|
||||
else if card.level == "[Spell Card+]" then "spell card"
|
||||
else if card.level == "[Spell Card&]" then "spell card"
|
||||
else if card.level == "[Spell Card$]" then "spell card"
|
||||
else if card.level == "[Spell Card#]" then "spell card"
|
||||
else if card.attribute == "trap" then "trap card"
|
||||
else if card.level == "[Trap Card]" then "trap card"
|
||||
else if card.level == "[Trap Card%]" then "trap card"
|
||||
else if card.level == "[Trap Card!]" then "trap card"
|
||||
else if card.level == "[Trap Card+]" then "trap card"
|
||||
else if card.level == "[Trap Card&]" then "trap card"
|
||||
else if card.level == "[Trap Card$]" then "trap card"
|
||||
else if card.level == "[Trap Card#]" then "trap card"
|
||||
else "normal monster"
|
||||
}
|
||||
# Default 'attribute' of card
|
||||
attribute := {
|
||||
if is_spell_card() then "spell"
|
||||
else if is_trap_card() then "trap"
|
||||
if is_spell_card() then "Spell"
|
||||
else if is_trap_card() then "Trap"
|
||||
else ""
|
||||
}
|
||||
|
||||
@@ -84,10 +136,14 @@ init script:
|
||||
card.card_type == "legendary dragons"
|
||||
}
|
||||
is_spell_card := {
|
||||
card.card_type == "spell card"
|
||||
card.card_type == "spell card" or
|
||||
card.attribute == "spell" or
|
||||
card.level == "Spell"
|
||||
}
|
||||
is_trap_card := {
|
||||
card.card_type == "trap card"
|
||||
card.card_type == "trap card" or
|
||||
card.attribute == "trap" or
|
||||
card.level == "Trap"
|
||||
}
|
||||
|
||||
############################################################## Set fields
|
||||
@@ -158,6 +214,14 @@ card field:
|
||||
legendary dragons: rgb(26,26,26)
|
||||
spell card: rgb(80,80,80)
|
||||
trap card: rgb(30,110,0)
|
||||
card field:
|
||||
type: choice
|
||||
name: foils
|
||||
editable: false
|
||||
choice: none
|
||||
choice: holo image
|
||||
choice: secret holo image
|
||||
choice: parallel holo card
|
||||
|
||||
############################# Name line
|
||||
card field:
|
||||
@@ -186,7 +250,7 @@ card field:
|
||||
type: text
|
||||
name: level
|
||||
description: Level, * = star, % = continuous, ! = counter, + = equipment, & = field, $ = quickplay, # = ritual
|
||||
script: text_filter(value)
|
||||
script: level_filter(value)
|
||||
|
||||
############################# Image
|
||||
card field:
|
||||
@@ -198,10 +262,12 @@ card field:
|
||||
card field:
|
||||
type: text
|
||||
name: type1
|
||||
script: a_and_d_filter(value)
|
||||
editable: false
|
||||
card field:
|
||||
type: text
|
||||
name: type2
|
||||
script: a_and_d_filter(value)
|
||||
editable: false
|
||||
card field:
|
||||
type: text
|
||||
@@ -210,12 +276,10 @@ card field:
|
||||
# Either just monster, monster / type1
|
||||
combined_editor(
|
||||
field1: card.type1,
|
||||
separator: " ",
|
||||
separator: "/",
|
||||
field2: card.type2,
|
||||
grey_until_needed: true,
|
||||
hide_when_both_empty: true,
|
||||
type_over1: "/",
|
||||
type_over2: "/"
|
||||
soft_before_empty: true,
|
||||
hide_when_empty: true,
|
||||
)
|
||||
card list visible: true
|
||||
card list column: 3
|
||||
@@ -276,7 +340,7 @@ card field:
|
||||
type: text
|
||||
name: attack
|
||||
save value: true
|
||||
script: to_upper(value)
|
||||
script: a_and_d_filter(value)
|
||||
card list visible: true
|
||||
card list column: 4
|
||||
card list width: 33
|
||||
@@ -285,7 +349,7 @@ card field:
|
||||
type: text
|
||||
name: defense
|
||||
save value: true
|
||||
script: to_upper(value)
|
||||
script: a_and_d_filter(value)
|
||||
card list visible: true
|
||||
card list column: 5
|
||||
card list width: 33
|
||||
|
||||