diff --git a/data/en.mse-locale/locale b/data/en.mse-locale/locale index 69b1bae1..7d2673df 100644 --- a/data/en.mse-locale/locale +++ b/data/en.mse-locale/locale @@ -1,4 +1,5 @@ -full name: English +mse version: 0.3.1 +full name: English ############################################################## Menu items menu: diff --git a/data/magic-blends.mse-include/include b/data/magic-blends.mse-include/include index ed420979..7387fb2c 100644 --- a/data/magic-blends.mse-include/include +++ b/data/magic-blends.mse-include/include @@ -1,3 +1,4 @@ +mse version: 0.3.1 full name: Magic The Gathering, card blend utilities version: 2006.01.17 diff --git a/data/magic-mana-large.mse-symbol-font/symbol-font b/data/magic-mana-large.mse-symbol-font/symbol-font index 28f924bd..36da1e9c 100644 --- a/data/magic-mana-large.mse-symbol-font/symbol-font +++ b/data/magic-mana-large.mse-symbol-font/symbol-font @@ -1,4 +1,4 @@ -mse version: 0.3.0 +mse version: 0.3.1 # Symbol font in the 'popup' style, used for casting costs on modern cards image font size: 135 diff --git a/data/magic-mana-small.mse-symbol-font/symbol-font b/data/magic-mana-small.mse-symbol-font/symbol-font index 0d1246ee..7a077613 100644 --- a/data/magic-mana-small.mse-symbol-font/symbol-font +++ b/data/magic-mana-small.mse-symbol-font/symbol-font @@ -1,4 +1,4 @@ -mse version: 0.3.0 +mse version: 0.3.1 # Symbol font in the normal, flat, style, used for text boxes and on old style cards # Note: # Define mana_t := {"new|old|older"} in the init script of the style diff --git a/data/magic-new-flip.mse-style/style b/data/magic-new-flip.mse-style/style index 9f98d1ab..250bba83 100644 --- a/data/magic-new-flip.mse-style/style +++ b/data/magic-new-flip.mse-style/style @@ -1,4 +1,4 @@ -mse version: 0.3.0 +mse version: 0.3.1 game: magic short name: Flip Cards full name: Modern flip cards diff --git a/data/magic-new-promo.mse-style/style b/data/magic-new-promo.mse-style/style index c814d2ae..1a3aa188 100644 --- a/data/magic-new-promo.mse-style/style +++ b/data/magic-new-promo.mse-style/style @@ -1,4 +1,4 @@ -mse version: 0.3.0 +mse version: 0.3.1 game: magic short name: Promotional full name: Large image diff --git a/data/magic-new-split.mse-style/style b/data/magic-new-split.mse-style/style index 2ab66c0e..56bcf2b6 100644 --- a/data/magic-new-split.mse-style/style +++ b/data/magic-new-split.mse-style/style @@ -1,9 +1,13 @@ -mse version: 0.2.7 +mse version: 0.3.1 game: magic short name: Split Cards full name: Modern split cards icon: card-sample.png +card width: 523 +card height: 375 +card dpi: 150 + # Author: Wolfwood # Lots of copy/paste from magic-new.mse-style @@ -119,7 +123,7 @@ card style: width: script: if card.card_symbol=="none" then 175 else 168 height: 17 - align: top shrink-overflow + alignment: top shrink-overflow padding bottom: 0 z index: 1 font: @@ -134,7 +138,7 @@ card style: width: script: if card.card_symbol_2=="none" then 215 else 227 height: 17 - align: top shrink-overflow + alignment: top shrink-overflow padding bottom: 0 z index: 1 font: @@ -147,11 +151,11 @@ card style: top : 27 width: 35 height: 16 - align: bottom right + alignment: bottom right symbol font: name: magic-mana-large size: 12 - align: bottom right + alignment: bottom right always symbol: true z index: 2 padding top: 0 @@ -161,11 +165,11 @@ card style: top : 27 width: 35 height: 16 - align: bottom right + alignment: bottom right symbol font: name: magic-mana-large size: 12 - align: bottom right + alignment: bottom right always symbol: true z index: 2 padding top: 0 @@ -192,7 +196,7 @@ card style: top : 211 width: 197 height: 17 - align: top shrink-overflow + alignment: top shrink-overflow z index: 1 font: name: Matrix @@ -205,7 +209,7 @@ card style: top : 211 width: 197 height: 17 - align: top shrink-overflow + alignment: top shrink-overflow z index: 1 font: name: Matrix @@ -262,7 +266,7 @@ card style: then "magic-mana-large" else "magic-mana-small" size: 14 - align: middle left + alignment: middle left z index: 2 padding left: 2 padding top: 2 @@ -289,7 +293,7 @@ card style: then "magic-mana-large" else "magic-mana-small" size: 14 - align: middle left + alignment: middle left z index: 2 padding left: 2 padding top: 2 @@ -305,7 +309,7 @@ card style: top: 328 width: 48 height: 25 - align: center middle + alignment: center middle font: name: Mplantin size: 14 @@ -319,7 +323,7 @@ card style: top: 328 width: 48 height: 25 - align: center middle + alignment: center middle font: name: Mplantin size: 14 @@ -399,7 +403,3 @@ card style: size: 6 color: script: font_color(card.card_color_2) - -width: 523 -height: 375 -dpi: 150 diff --git a/data/magic-new.mse-style/style b/data/magic-new.mse-style/style index b368cc5c..3841c2df 100644 --- a/data/magic-new.mse-style/style +++ b/data/magic-new.mse-style/style @@ -1,4 +1,4 @@ -mse version: 0.3.0 +mse version: 0.3.1 game: magic short name: Modern style full name: After 8th edition diff --git a/data/magic-old-token.mse-style/style b/data/magic-old-token.mse-style/style index 1e0f3a69..90fc9aef 100644 --- a/data/magic-old-token.mse-style/style +++ b/data/magic-old-token.mse-style/style @@ -4,12 +4,16 @@ ############################################################## ############################################################## -mse version: 0.2.7 +mse version: 0.3.1 game: magic short name: Tokens full name: Old style icon: card-sample.png +card width: 312 +card height: 444 +card dpi: 127.34225621414913957934990439771 + ############################################################## Extra scripts ## COPY/PASTE from magic-old.mse-style/style @@ -108,7 +112,7 @@ card style: top : 16 width: 250 height: 22 - align: middle center + alignment: middle center padding bottom: 0 z index: 1 font: @@ -134,7 +138,7 @@ card style: top : 296 width: 199 height: 18 - align: top left + alignment: top left z index: 1 font: name: MPlantin @@ -179,7 +183,7 @@ card style: then "magic-mana-large" else "magic-mana-small" size: 13 - align: middle center + alignment: middle center z index: 2 padding left: 2 padding top: 2 @@ -195,7 +199,7 @@ card style: top: 391 width: 42 height: 28 - align: right top + alignment: right top font: name: Mplantin size: 16 @@ -215,7 +219,7 @@ card style: width: 160 height: 13 z index: 1 - align: middle left + alignment: middle left font: name: Mplantin size: 9 @@ -230,12 +234,8 @@ card style: width: 160 height: 10 z index: 1 - align: middle left + alignment: middle left font: name: MPlantin size: 6 color: script: font_color() - -width: 312 -height: 444 -dpi: 127.34225621414913957934990439771 diff --git a/data/magic-old.mse-style/style b/data/magic-old.mse-style/style index 0214e29a..db8ea19a 100644 --- a/data/magic-old.mse-style/style +++ b/data/magic-old.mse-style/style @@ -4,12 +4,16 @@ ############################################################## ############################################################## -mse version: 0.2.7 +mse version: 0.3.1 game: magic short name: Old style full name: Before 8th edition icon: card-sample.png +card width: 312 +card height: 444 +card dpi: 127.34225621414913957934990439771 + ############################################################## Extra scripts ## COPY/PASTE from magic-new.mse-style/style @@ -109,7 +113,7 @@ card style: top : 9 width: 210 height: 22 - align: bottom shrink-overflow + alignment: bottom shrink-overflow padding bottom: 0 z index: 1 font: @@ -124,11 +128,11 @@ card style: top : 9 width: 54 height: 22 - align: middle right + alignment: middle right symbol font: name: magic-mana-small size: 14 - align: middle right + alignment: middle right always symbol: true z index: 2 padding top: 0 @@ -156,7 +160,7 @@ card style: top : 248 width: 240 height: 18 - align: top left + alignment: top left z index: 1 font: name: MPlantin @@ -201,7 +205,7 @@ card style: then "magic-mana-large" else "magic-mana-small" size: 13 - align: middle left + alignment: middle left z index: 2 padding left: 2 padding top: 2 @@ -217,7 +221,7 @@ card style: height: 140 z index: 1 render style: image - align: middle center + alignment: middle center include file: magic-watermarks.mse-include/watermarks ############################# PT @@ -227,7 +231,7 @@ card style: top: 408 width: 42 height: 28 - align: right top + alignment: right top font: name: Mplantin size: 16 @@ -247,7 +251,7 @@ card style: width: 200 height: 14 z index: 1 - align: center + alignment: center font: name: Mplantin size: 9 @@ -262,12 +266,8 @@ card style: width: 200 height: 9 z index: 1 - align: center + alignment: center font: name: MPlantin size: 6 color: script: font_color() - -width: 312 -height: 444 -dpi: 127.34225621414913957934990439771 diff --git a/data/magic-textless.mse-style/style b/data/magic-textless.mse-style/style index 2c3e7112..f4a5a011 100644 --- a/data/magic-textless.mse-style/style +++ b/data/magic-textless.mse-style/style @@ -1,9 +1,13 @@ -mse version: 0.2.7 +mse version: 0.3.1 game: magic short name: Textless full name: Modern style icon: card-sample.png +card width: 375 +card height: 523 +card dpi: 150 + #By: Wolfwood ############################################################## Extra scripts @@ -97,7 +101,7 @@ card style: width: script: if card.card_symbol=="none" then 246 else 227 height: 23 - align: bottom shrink-overflow + alignment: bottom shrink-overflow padding bottom: 0 z index: 1 font: @@ -110,11 +114,11 @@ card style: top : 29 width: 63 height: 23 - align: bottom right + alignment: bottom right symbol font: name: magic-mana-large size: 15 - align: bottom right + alignment: bottom right always symbol: true z index: 2 padding top: 0 @@ -160,7 +164,7 @@ card style: top: 448 width: 60 height: 28 - align: center middle + alignment: center middle font: name: Mplantin size: 18 @@ -206,7 +210,3 @@ card style: size: 8 color: script: font_color() - -width: 375 -height: 523 -dpi: 150 diff --git a/data/magic-watermarks.mse-include/include b/data/magic-watermarks.mse-include/include index bbb2e62c..cffc336f 100644 --- a/data/magic-watermarks.mse-include/include +++ b/data/magic-watermarks.mse-include/include @@ -1,3 +1,4 @@ +mse version: 0.3.1 full name: Magic The Gathering, textbox watermarks version: 2006.08.03 diff --git a/data/magic.mse-game/game b/data/magic.mse-game/game index c44c1203..93ddcb27 100644 --- a/data/magic.mse-game/game +++ b/data/magic.mse-game/game @@ -1,4 +1,4 @@ -mse version: 0.3.0 +mse version: 0.3.1 short name: Magic full name: Magic the Gathering icon: card-back.png diff --git a/data/vanguard-standard.mse-style/style b/data/vanguard-standard.mse-style/style index da3d5a3e..0409bd87 100644 --- a/data/vanguard-standard.mse-style/style +++ b/data/vanguard-standard.mse-style/style @@ -1,8 +1,12 @@ -mse version: 0.2.7 +mse version: 0.3.1 game: vanguard short name: Standard icon: card-sample.png +card width: 375 +card height: 523 +card dpi: 150 + # Author: Wolfwood # Based on: magic-new @@ -18,12 +22,6 @@ init script: # Use guild mana symbols? guild_mana := { styling.use_guild_mana_symbols } -############################################################## Set info fields -info style: - title: - padding left: 2 - font: - size: 16 ############################################################## Extra style options @@ -92,7 +90,7 @@ card style: top : 30 width: 224 height: 23 - align: bottom center shrink-overflow + alignment: bottom center shrink-overflow padding bottom: 0 z index: 1 font: @@ -116,7 +114,7 @@ card style: top : 306 width: 268 height: 18 - align: top center shrink-overflow + alignment: top center shrink-overflow z index: 1 font: name: Matrix @@ -142,7 +140,7 @@ card style: then "magic-mana-large" else "magic-mana-small" size: 14 - align: middle center + alignment: middle center z index: 2 padding left: 4 padding top: 2 @@ -162,7 +160,7 @@ card style: size: 10 scale down to: 6 color: rgb(0,0,0) - align: bottom left + alignment: bottom left z index: 2 padding left: 2 padding top: 2 @@ -176,7 +174,7 @@ card style: top: 433 width: 22 height: 32 - align: center middle shrink-overflow + alignment: center middle shrink-overflow font: name: Mplantin size: 12 @@ -188,7 +186,7 @@ card style: top: 433 width: 22 height: 32 - align: center middle shrink-overflow + alignment: center middle shrink-overflow font: name: Mplantin size: 12 @@ -202,7 +200,7 @@ card style: top : 466 width: 295 height: 16 - align: center + alignment: center z index: 1 font: name: Matrix @@ -214,13 +212,9 @@ card style: top : 476 width: 295 height: 12 - align: center + alignment: center z index: 1 font: name: MPlantin size: 6 color: rgb(0,0,0) - -width: 375 -height: 523 -dpi: 150 diff --git a/data/vanguard.mse-game/game b/data/vanguard.mse-game/game index 783b6fde..40da88a1 100644 --- a/data/vanguard.mse-game/game +++ b/data/vanguard.mse-game/game @@ -1,4 +1,4 @@ -mse version: 0.2.7 +mse version: 0.3.1 short name: Vanguard full name: Magic Vanguard icon: card-sample.png diff --git a/data/vs-extended-art.mse-style/style b/data/vs-extended-art.mse-style/style index ef72438f..a8daeb0e 100644 --- a/data/vs-extended-art.mse-style/style +++ b/data/vs-extended-art.mse-style/style @@ -1,4 +1,4 @@ -mse version: 0.3.0 +mse version: 0.3.1 game: vs short name: Promotional full name: Extended Art Promo diff --git a/data/vs-standard-arrow.mse-symbol-font/symbol-font b/data/vs-standard-arrow.mse-symbol-font/symbol-font index 7dfcf5b5..8086aa00 100644 --- a/data/vs-standard-arrow.mse-symbol-font/symbol-font +++ b/data/vs-standard-arrow.mse-symbol-font/symbol-font @@ -1,4 +1,4 @@ -mse version: 0.2.7 +mse version: 0.3.1 # Symbol font for arrow symbol image font size: 135 diff --git a/data/vs-standard.mse-style/style b/data/vs-standard.mse-style/style index 9f2e95c6..d95f5b14 100644 --- a/data/vs-standard.mse-style/style +++ b/data/vs-standard.mse-style/style @@ -1,4 +1,4 @@ -mse version: 0.3.0 +mse version: 0.3.1 game: vs short name: Standard full name: Normal VS cards diff --git a/data/vs.mse-game/game b/data/vs.mse-game/game index ee21d88b..d83c0b38 100644 --- a/data/vs.mse-game/game +++ b/data/vs.mse-game/game @@ -1,4 +1,4 @@ -mse version: 0.3.0 +mse version: 0.3.1 short name: VS System icon: card-back.png diff --git a/data/yugioh-standard-levels.mse-symbol-font/continuous.png b/data/yugioh-standard-levels.mse-symbol-font/continuous.png new file mode 100644 index 00000000..729206ec Binary files /dev/null and b/data/yugioh-standard-levels.mse-symbol-font/continuous.png differ diff --git a/data/yugioh-standard-levels.mse-symbol-font/counter.png b/data/yugioh-standard-levels.mse-symbol-font/counter.png new file mode 100644 index 00000000..56215dcd Binary files /dev/null and b/data/yugioh-standard-levels.mse-symbol-font/counter.png differ diff --git a/data/yugioh-standard-levels.mse-symbol-font/equipment.png b/data/yugioh-standard-levels.mse-symbol-font/equipment.png new file mode 100644 index 00000000..a9f5c499 Binary files /dev/null and b/data/yugioh-standard-levels.mse-symbol-font/equipment.png differ diff --git a/data/yugioh-standard-levels.mse-symbol-font/field.png b/data/yugioh-standard-levels.mse-symbol-font/field.png new file mode 100644 index 00000000..6e74d216 Binary files /dev/null and b/data/yugioh-standard-levels.mse-symbol-font/field.png differ diff --git a/data/yugioh-standard-levels.mse-symbol-font/quickplay.png b/data/yugioh-standard-levels.mse-symbol-font/quickplay.png new file mode 100644 index 00000000..5f214eca Binary files /dev/null and b/data/yugioh-standard-levels.mse-symbol-font/quickplay.png differ diff --git a/data/yugioh-standard-levels.mse-symbol-font/ritual.png b/data/yugioh-standard-levels.mse-symbol-font/ritual.png new file mode 100644 index 00000000..30b7b473 Binary files /dev/null and b/data/yugioh-standard-levels.mse-symbol-font/ritual.png differ diff --git a/data/yugioh-standard-levels.mse-symbol-font/star.png b/data/yugioh-standard-levels.mse-symbol-font/star.png new file mode 100644 index 00000000..77386638 Binary files /dev/null and b/data/yugioh-standard-levels.mse-symbol-font/star.png differ diff --git a/data/yugioh-standard-levels.mse-symbol-font/symbol-font b/data/yugioh-standard-levels.mse-symbol-font/symbol-font new file mode 100644 index 00000000..85e272a1 --- /dev/null +++ b/data/yugioh-standard-levels.mse-symbol-font/symbol-font @@ -0,0 +1,27 @@ +mse version: 0.3.1 +# Symbol font for level symbols + +image font size: 16 +horizontal space: 2 +symbol: + code: c + image: continuous.png +symbol: + code: t + image: counter.png +symbol: + code: e + image: equipment.png +symbol: + code: f + image: field.png +symbol: + code: q + image: quickplay.png +symbol: + code: r + image: ritual.png +symbol: + code: s + image: star.png + image font size: 25 \ No newline at end of file diff --git a/data/yugioh-standard.mse-style/card-dragons.jpg b/data/yugioh-standard.mse-style/card-dragons.jpg new file mode 100644 index 00000000..3609ef68 Binary files /dev/null and b/data/yugioh-standard.mse-style/card-dragons.jpg differ diff --git a/data/yugioh-standard.mse-style/card-effect.jpg b/data/yugioh-standard.mse-style/card-effect.jpg new file mode 100644 index 00000000..57636ca4 Binary files /dev/null and b/data/yugioh-standard.mse-style/card-effect.jpg differ diff --git a/data/yugioh-standard.mse-style/card-fusion.jpg b/data/yugioh-standard.mse-style/card-fusion.jpg new file mode 100644 index 00000000..9933c498 Binary files /dev/null and b/data/yugioh-standard.mse-style/card-fusion.jpg differ diff --git a/data/yugioh-standard.mse-style/card-normal.jpg b/data/yugioh-standard.mse-style/card-normal.jpg new file mode 100644 index 00000000..4838be6f Binary files /dev/null and b/data/yugioh-standard.mse-style/card-normal.jpg differ diff --git a/data/yugioh-standard.mse-style/card-obelisk.jpg b/data/yugioh-standard.mse-style/card-obelisk.jpg new file mode 100644 index 00000000..887b98c0 Binary files /dev/null and b/data/yugioh-standard.mse-style/card-obelisk.jpg differ diff --git a/data/yugioh-standard.mse-style/card-ra.jpg b/data/yugioh-standard.mse-style/card-ra.jpg new file mode 100644 index 00000000..67e7fdff Binary files /dev/null and b/data/yugioh-standard.mse-style/card-ra.jpg differ diff --git a/data/yugioh-standard.mse-style/card-ritual.jpg b/data/yugioh-standard.mse-style/card-ritual.jpg new file mode 100644 index 00000000..9678b28a Binary files /dev/null and b/data/yugioh-standard.mse-style/card-ritual.jpg differ diff --git a/data/yugioh-standard.mse-style/card-sample.png b/data/yugioh-standard.mse-style/card-sample.png new file mode 100644 index 00000000..c5677a3f Binary files /dev/null and b/data/yugioh-standard.mse-style/card-sample.png differ diff --git a/data/yugioh-standard.mse-style/card-slifer.jpg b/data/yugioh-standard.mse-style/card-slifer.jpg new file mode 100644 index 00000000..38111a46 Binary files /dev/null and b/data/yugioh-standard.mse-style/card-slifer.jpg differ diff --git a/data/yugioh-standard.mse-style/card-spell.jpg b/data/yugioh-standard.mse-style/card-spell.jpg new file mode 100644 index 00000000..14b6ad36 Binary files /dev/null and b/data/yugioh-standard.mse-style/card-spell.jpg differ diff --git a/data/yugioh-standard.mse-style/card-trap.jpg b/data/yugioh-standard.mse-style/card-trap.jpg new file mode 100644 index 00000000..01281597 Binary files /dev/null and b/data/yugioh-standard.mse-style/card-trap.jpg differ diff --git a/data/yugioh-standard.mse-style/dark.png b/data/yugioh-standard.mse-style/dark.png new file mode 100644 index 00000000..93317bea Binary files /dev/null and b/data/yugioh-standard.mse-style/dark.png differ diff --git a/data/yugioh-standard.mse-style/divine.png b/data/yugioh-standard.mse-style/divine.png new file mode 100644 index 00000000..a3d31e4d Binary files /dev/null and b/data/yugioh-standard.mse-style/divine.png differ diff --git a/data/yugioh-standard.mse-style/earth.png b/data/yugioh-standard.mse-style/earth.png new file mode 100644 index 00000000..98942d8e Binary files /dev/null and b/data/yugioh-standard.mse-style/earth.png differ diff --git a/data/yugioh-standard.mse-style/fire.png b/data/yugioh-standard.mse-style/fire.png new file mode 100644 index 00000000..52d14e68 Binary files /dev/null and b/data/yugioh-standard.mse-style/fire.png differ diff --git a/data/yugioh-standard.mse-style/light.png b/data/yugioh-standard.mse-style/light.png new file mode 100644 index 00000000..b0d57cf4 Binary files /dev/null and b/data/yugioh-standard.mse-style/light.png differ diff --git a/data/yugioh-standard.mse-style/spell.png b/data/yugioh-standard.mse-style/spell.png new file mode 100644 index 00000000..81812873 Binary files /dev/null and b/data/yugioh-standard.mse-style/spell.png differ diff --git a/data/yugioh-standard.mse-style/style b/data/yugioh-standard.mse-style/style new file mode 100644 index 00000000..85dc7bb5 --- /dev/null +++ b/data/yugioh-standard.mse-style/style @@ -0,0 +1,218 @@ +mse version: 0.3.1 +game: yugioh +short name: Standard +icon: card-sample.png + +card width: 375 +card height: 523 +card dpi: 300 + +############################################################## Extra scripts + + +############################################################## Extra style + +############################################################## Card fields +card style: + ############################# Background stuff + card type: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + normal monster: card-normal.jpg + effect monster: card-effect.jpg + ritual monster: card-ritual.jpg + fusion monster: card-fusion.jpg + obelisk: card-obelisk.jpg + slifer: card-slifer.jpg + ra: card-ra.jpg + legendary dragons: card-dragons.jpg + spell card: card-spell.jpg + trap card: card-trap.jpg + colors card list: true + choice colors: + normal monster: rgb(120,18,0) + effect monster: rgb(120,18,0) + ritual monster: rgb(26,26,26) + fusion monster: rgb(26,26,26) + obelisk: rgb(26,26,26) + slifer: rgb(26,26,26) + ra: rgb(26,26,26) + legendary dragons: rgb(26,26,26) + spell card: rgb(80,80,80) + trap card: rgb(30,110,0) + + ############################# Name line + name: + left: 35 + top : 31 + width: 265 + height: 35 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: MatrixBoldSmallCaps + size: 26 + color: + script: if is_nmonster() then rgb(255,255,255) + else rgb(0,0,0) + attribute: + 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 + light: light.png + dark: dark.png + divine: divine.png + spell: spell.png + trap: trap.png + level: + left: 45 + top : 78 + height: 25 + width: 285 + z index: 2 + alignment: middle right + always symbol: true + symbol font: + name: yugioh-standard-levels + size: 12 + alignment: middle center + + ############################# Image + image: + left: 53 + top: 114 + width: 267 + height: 261 + z index: 1 + + ############################# Card type + + monster type: + left: 38 + top : 403 + width: 200 + height: 14 + alignment: top left + z index: 2 + font: + name: MatrixBoldSmallCaps + size: 12 + color: rgb(0,0,0) + visible: script: if is_nmonster() then false else true + + ############################# Edition and Card ID + + number: + left: 210 + top : 383 + width: 120 + height: 28 + z index: 2 + alignment: top right + font: + name: Times New Roman + size: 8 + color: rgb(0,0,0) + edition: + left: 45 + top: 383 + width: 120 + height: 18 + z index: 2 + font: + name: Times New Roman + size: 8 + color: rgb(0,0,0) + + ############################# Text box + rule text: + left: 35 + top : + script: if is_nmonster() then 400 else 413 + width: 301 + height: + script: if is_nmonster() then 90 else 63 + font: + name: Times New Roman + italic name: Times New Roman Italic + size: 9 + scale down to: 4 + color: rgb(0,0,0) + alignment: top left + z index: 3 + padding left: 2 + padding top: 2 + padding right: -3 + padding bottom: 0 + line height hard: 1.1 + + ############################# Attack/Defense + attack: + left: 205 + top: 477 + width: 50 + height: 18 + z index: 2 + alignment: left middle + font: + name: MatrixBoldSmallCaps + size: 12 + color: rgb(0,0,0) + visible: script: if is_nmonster() then false else true + + defense: + z index: 4 + left: 276 + top: 477 + width: 50 + height: 18 + z index: 2 + alignment: left middle + font: + name: MatrixBoldSmallCaps + size: 12 + color: rgb(0,0,0) + visible: script: if is_nmonster() then false else true + + ############################# Card sorting / numbering + ############################# Copyright stuff + + gamecode: + left: 15 + top : 499 + width: 100 + height: 18 + alignment: top left + z index: 2 + font: + name: Times New Roman + size: 8 + color: rgb(0,0,0) + + copyright: + left: 195 + top : 499 + width: 150 + height: 18 + z index: 2 + alignment: top right + font: + name: Times New Roman + size: 8 + color: rgb(0,0,0) diff --git a/data/yugioh-standard.mse-style/trap.png b/data/yugioh-standard.mse-style/trap.png new file mode 100644 index 00000000..9a593adf Binary files /dev/null and b/data/yugioh-standard.mse-style/trap.png differ diff --git a/data/yugioh-standard.mse-style/water.png b/data/yugioh-standard.mse-style/water.png new file mode 100644 index 00000000..b530f548 Binary files /dev/null and b/data/yugioh-standard.mse-style/water.png differ diff --git a/data/yugioh-standard.mse-style/wind.png b/data/yugioh-standard.mse-style/wind.png new file mode 100644 index 00000000..9f92130e Binary files /dev/null and b/data/yugioh-standard.mse-style/wind.png differ diff --git a/data/yugioh.mse-game/card-back.png b/data/yugioh.mse-game/card-back.png new file mode 100644 index 00000000..8de21d50 Binary files /dev/null and b/data/yugioh.mse-game/card-back.png differ diff --git a/data/yugioh.mse-game/game b/data/yugioh.mse-game/game new file mode 100644 index 00000000..fd1afe6c --- /dev/null +++ b/data/yugioh.mse-game/game @@ -0,0 +1,315 @@ +mse version: 0.3.1 +short name: Yu-Gi-Oh! +icon: card-back.png + +############################################################## Functions & filters +## Copied and Pasted from vs.mse-game, with a few modifications +# General functions +init script: + # level codes + level_filter := to_lower + sort_rule(order: "[ctefqrs]") + # the rule text filter + # - adds continuous symbols + # - adds counter symbols + # - adds equipment symbols + # - adds field symbols + # - adds quickplay symbols + # - adds ritual symbols + # - adds level symbols + # - makes text in parentheses italic + text_filter := + # step 1 : remove all automatic tags + tag_remove_rule(tag: "") + + tag_remove_rule(tag: "") + + # step 2 : symbols + replace_rule( + match: "cn|ct|eq|fd|qp|ri|lv", + replace: {"&"} ) + + # step 3 : fill in atom fields + tag_contents_rule( + tag: "", + contents: { if card.name=="" then "CARDNAME" else card.name } + ) + + # the flavor text filter + flavor_text_filter := + # step 1 : remove italic tags + tag_remove_rule(tag: "") + + # step 2 : surround by tags + { "" + input + "" }; + + # Determine type of card + card_type := { + if card.attribute == "spell" then "spell card" + else if card.attribute == "trap" then "trap card" + else "normal monster" + } + # Default 'attribute' of card + attribute := { + if is_spell_card() then "spell" + else if is_trap_card() then "trap" + else "" + } + + ############### Type of card + + is_nmonster := { + card.card_type == "spell card" or + card.card_type == "trap card" + } + is_monster := { + card.card_type == "normal monster" or + card.card_type == "effect monster" or + card.card_type == "ritual monster" or + card.card_type == "fusion monster" or + card.card_type == "obelisk" or + card.card_type == "slifer" or + card.card_type == "ra" or + card.card_type == "legendary dragons" + } + is_normal_monster := { + card.card_type == "normal monster" or + card.card_type == "obelisk" or + card.card_type == "slifer" or + card.card_type == "ra" or + card.card_type == "legendary dragons" + } + is_spell_card := { + card.card_type == "spell card" + } + is_trap_card := { + card.card_type == "trap card" + } + +############################################################## Set fields + +set field: + type: info + name: Set Information +set field: + type: text + name: title + description: This information will not appear on the card. +set field: + type: text + name: code + description: Recommended only 3 Capital digits. Will appear before card number. ex: LOB-XX101 +set field: + type: text + name: language + description: Recommended 2 - 3 Captital digits. Will appear before the card number, after the code. ex: XXX-EN101 +set field: + type: text + name: description + multi line: true + description: This information will not appear on the card. +set field: + type: text + name: edition + description: Editting this will set 1 edition for all the cards and will appear in the edition bar below the picture. ex-> LIMITED EDITION +set field: + type: text + name: copyright + description: Copyright information. This will not appear on the card. + + +############################# Default style + +default set style: + title: + padding left: 2 + font: + size: 16 + +############################################################## Card fields + +############################# Background stuff +card field: + type: choice + name: card type + choice: normal monster + choice: effect monster + choice: ritual monster + choice: fusion monster + choice: obelisk + choice: slifer + choice: ra + choice: legendary dragons + choice: spell card + choice: trap card + default: card_type() + +############################# Name line +card field: + type: text + name: name + identifying: true + show statistics: false + card list visible: true + card list column: 1 +card field: + type: choice + name: attribute + choice: none + choice: earth + choice: water + choice: fire + choice: wind + choice: light + choice: dark + choice: divine + choice: spell + choice: trap + card list visible: true + card list column: 2 +card field: + type: text + name: level + description: Level, s = star, c = continuous, t = counter, e = equipment, f = field, q = quickplay, r = ritual + script: level_filter(value) + +############################# Image +card field: + type: image + name: image + show statistics: false + +############################# Card type +card field: + type: text + name: monster + editable: false +card field: + type: text + name: type1 + editable: false +card field: + type: text + name: monster type + script: + # Either just monster, monster / type1 + combined_editor( + field1: card.monster, + separator: " / ", + field2: card.type1, + grey_until_needed: true, + hide_when_both_empty: true, + type_over1: " / ", + type_over2: "/" + ) + card list visible: true + card list column: 3 + +############################# Edition and Card ID +card field: + type: text + name: number + script: + set.code + + "-" + + set.language + + position( + of: card + in: set + order_by: { + card.name + }) + card list visible: true + card list column: 6 + card list width: 55 + card list name: # + editable: false +card field: + type: text + name: edition + default: set.edition + +############################# Text box +card field: + type: text + name: rules + script: text_filter(value) + editable: false + show statistics: false +card field: + type: text + name: flavor + script: flavor_text_filter(value) + editable: false + show statistics: false +card field: + type: text + name: rule text + multi line: true + save value: false + show statistics: false + script: + if is_normal_monster(value) then + combined_editor(field1: card.rules, separator: "\n", field2: card.flavor) + else + forward_editor(field: card.rules) + +############################# Attack/Defense +card field: + type: text + name: attack + save value: true + script: to_upper(value) + card list visible: true + card list column: 4 + card list width: 33 + card list name: ATK +card field: + type: text + name: defense + save value: true + script: to_upper(value) + card list visible: true + card list column: 5 + card list width: 33 + card list name: DEF + +############################# Copyright stuff +card field: + type: text + name: gamecode +card field: + type: text + name: copyright + default: set.copyright + + +############################################################## Word lists +# Doesn't do anything yet + +#word list: +# name: type +# word: Dragon +# word: Spellcaster +# word: Zombie +# word: Warrior +# word: Beast-Warrior +# word: Beast +# word: Winged Beast +# word: Fiend +# word: Fiary +# word: Insect +# word: Dinosaur +# word: Reptile +# word: Fish +# word: Sea Serpent +# word: Machine +# word: Thunder +# word: Aqua +# word: Pyro +# word: Rock +# word: Plant +# word: Divine-Beast +# word: Toon +# word: Spirit +# word: Union +# word: Effect +# word: Fusion +# word: Ritual +# word: Divine +