From d4bae697cd63e19a8a6e4588f2d5b9ff7ee74203 Mon Sep 17 00:00:00 2001 From: twanvl Date: Thu, 29 Mar 2007 19:26:37 +0000 Subject: [PATCH] set version number of template files to 0.3.0 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@247 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic-new-flip.mse-style/style | 93 +++++++--------------------- data/magic-new-promo.mse-style/style | 86 ++++++------------------- data/magic-new.mse-style/style | 40 ++++++------ data/magic.mse-game/game | 2 +- data/vs-extended-art.mse-style/style | 55 +++++++--------- data/vs-standard.mse-style/style | 63 +++++++------------ data/vs.mse-game/game | 14 +++-- 7 files changed, 115 insertions(+), 238 deletions(-) diff --git a/data/magic-new-flip.mse-style/style b/data/magic-new-flip.mse-style/style index 18a7f2ff..3cda1938 100644 --- a/data/magic-new-flip.mse-style/style +++ b/data/magic-new-flip.mse-style/style @@ -1,9 +1,13 @@ -mse version: 0.2.7 +mse version: 0.3.0 game: magic short name: Flip Cards full name: Modern flip cards icon: card-sample.png +card width: 375 +card height: 523 +card dpi: 150 + # Author: Wolfwood # Non-creature extension: Guinea Pig and Neko Asakami # Lots of copy/paste from magic-new.mse-style @@ -34,74 +38,25 @@ init script: } -############################################################## Set info fields -info style: - title: - padding left: 2 - font: - size: 16 - symbol: - variation: - name: common - border radius: 0.10 - fill type: solid - fill color: rgb(0,0,0) - border color: rgb(255,255,255) - variation: - name: uncommon - border radius: 0.05 - fill type: linear gradient - fill color 1: rgb(224,224,224) - fill color 2: rgb(84, 84, 84) - border color 1: rgb(0, 0, 0) - border color 2: rgb(0, 0, 0) - variation: - name: rare - border radius: 0.05 - fill type: linear gradient - fill color 1: rgb(214,196,94) - fill color 2: rgb(95, 84, 40) - border color 1: rgb(0, 0, 0) - border color 2: rgb(0, 0, 0) - variation: - name: special - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(224,170,247) - fill color 2: rgb(58,7,80) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) - automatic reminder text: - render style: both - choice images: - yes: script: buildin_image("bool_yes") - no: script: buildin_image("bool_no") - use gradient multicolor: - render style: both - choice images: - yes: script: buildin_image("bool_yes") - no: script: buildin_image("bool_no") +############################################################## Extra style options - -############################################################## Extra style - -extra field: +styling field: type: boolean name: grey hybrid name description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. initial: no -extra field: +styling field: type: boolean name: use guild mana symbols description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. initial: no -extra field: +styling field: type: boolean name: popup mana symbols description: Use the symbols of the casting cost line inside the text box as well initial: no -extra style: +styling style: popup mana symbols: choice images: yes: /magic-mana-large.mse-symbol-font/mana_w.png @@ -139,7 +94,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: @@ -153,7 +108,7 @@ card style: top : 454 width: 308 height: 23 - align: bottom shrink-overflow + alignment: bottom shrink-overflow angle: 180 padding bottom: 0 z index: 1 @@ -168,11 +123,11 @@ card style: top : 30 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 @@ -181,12 +136,12 @@ card style: top : 454 width: 63 height: 23 - align: bottom right + alignment: bottom right angle: 180 symbol font: name: magic-mana-large size: 15 - align: bottom right + alignment: bottom right always symbol: true z index: 2 padding top: 0 @@ -216,7 +171,7 @@ card style: top : 134 width: 253 height: 18 - align: top shrink-overflow + alignment: top shrink-overflow z index: 1 font: name: Matrix @@ -229,7 +184,7 @@ card style: top : 353 width: 256 height: 18 - align: top shrink-overflow + alignment: top shrink-overflow angle: 180 z index: 1 font: @@ -272,7 +227,7 @@ card style: then "magic-mana-large" else "magic-mana-small" size: 14 - align: middle left + alignment: middle left z index: 2 padding left: 4 padding top: -1 @@ -300,7 +255,7 @@ card style: then "magic-mana-large" else "magic-mana-small" size: 14 - align: middle left + alignment: middle left z index: 2 padding left: 4 padding top: -1 @@ -316,7 +271,7 @@ card style: top: 131 width: 60 height: 28 - align: center middle + alignment: center middle font: name: Mplantin size: 18 @@ -330,7 +285,7 @@ card style: top: 348 width: 60 height: 28 - align: center middle + alignment: center middle angle: 180 font: name: Mplantin @@ -389,7 +344,3 @@ card style: size: 8 color: script: font_color() - -width: 375 -height: 523 -dpi: 150 \ No newline at end of file diff --git a/data/magic-new-promo.mse-style/style b/data/magic-new-promo.mse-style/style index a15305c7..b48ce34c 100644 --- a/data/magic-new-promo.mse-style/style +++ b/data/magic-new-promo.mse-style/style @@ -1,9 +1,13 @@ -mse version: 0.2.7 +mse version: 0.3.0 game: magic short name: Promotional full name: Large image icon: card-sample.png +card width: 375 +card height: 523 +card dpi: 150 + ############################################################## Extra scripts init script: @@ -34,81 +38,33 @@ init script: rgb(0,0,0) } -############################################################## Set info fields -info style: - title: - padding left: 2 - font: - size: 16 - symbol: - variation: - name: common - border radius: 0.10 - fill type: solid - fill color: rgb(0,0,0) - border color: rgb(255,255,255) - variation: - name: uncommon - border radius: 0.05 - fill type: linear gradient - fill color 1: rgb(224,224,224) - fill color 2: rgb(84, 84, 84) - border color 1: rgb(0, 0, 0) - border color 2: rgb(0, 0, 0) - variation: - name: rare - border radius: 0.05 - fill type: linear gradient - fill color 1: rgb(214,196,94) - fill color 2: rgb(95, 84, 40) - border color 1: rgb(0, 0, 0) - border color 2: rgb(0, 0, 0) - variation: - name: special - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(224,170,247) - fill color 2: rgb(58,7,80) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) - automatic reminder text: - render style: both - choice images: - yes: script: buildin_image("bool_yes") - no: script: buildin_image("bool_no") - use gradient multicolor: - render style: both - choice images: - yes: script: buildin_image("bool_yes") - no: script: buildin_image("bool_no") +############################################################## Extra style options -############################################################## Extra style - -extra field: +styling field: type: boolean name: colored mana symbols description: Use colored mana symbols, as used by Wizards since Fifth Dawn. -extra field: +styling field: type: boolean name: darker artifacts description: Use darker artifacts, as used by Wizards since Fifth Dawn. -extra field: +styling field: type: boolean name: grey hybrid name description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -extra field: +styling field: type: boolean name: use guild mana symbols description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. initial: no -extra field: +styling field: type: boolean name: popup mana symbols description: Use the symbols of the casting cost line inside the text box as well initial: no -extra style: +styling style: popup mana symbols: choice images: yes: /magic-mana-large.mse-symbol-font/mana_w.png @@ -146,7 +102,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: @@ -159,11 +115,11 @@ card style: top : 30 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 @@ -192,7 +148,7 @@ card style: top : 317 width: 286 height: 18 - align: top shrink-overflow + alignment: top shrink-overflow z index: 1 font: name: Matrix @@ -225,7 +181,7 @@ card style: then "magic-mana-large" else "magic-mana-small" size: 14 - align: middle left + alignment: middle left z index: 2 padding left: 4 padding top: 2 @@ -241,7 +197,7 @@ card style: height: 156 z index: 1 render style: image - align: middle center + alignment: middle center include file: magic-watermarks.mse-include/watermarks ############################# PT @@ -251,7 +207,7 @@ card style: top: 467 width: 60 height: 28 - align: center middle + alignment: center middle font: name: Mplantin size: 18 @@ -297,7 +253,3 @@ card style: size: 8 color: script: font_color() - -width: 375 -height: 523 -dpi: 150 diff --git a/data/magic-new.mse-style/style b/data/magic-new.mse-style/style index 69e011de..d6464af3 100644 --- a/data/magic-new.mse-style/style +++ b/data/magic-new.mse-style/style @@ -1,9 +1,13 @@ -mse version: 0.2.7 +mse version: 0.3.0 game: magic short name: Modern style full name: After 8th edition icon: card-sample.png +card width: 375 +card height: 523 +card dpi: 150 + ############################################################## Extra scripts init script: @@ -42,13 +46,13 @@ init script: -############################################################## Extra style +############################################################## Extra style options -extra field: +styling field: type: boolean name: colored mana symbols description: Use colored mana symbols, as used by Wizards since Fifth Dawn. -extra field: +styling field: type: choice name: artifact style description: Choose the style of artifacts: light = before Fifth Dawn, dark = used since Fifth Dawn, brown = old rust style. @@ -56,21 +60,21 @@ extra field: choice: light choice: dark choice: brown -extra field: +styling field: type: boolean name: grey hybrid name description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -extra field: +styling field: type: boolean name: use guild mana symbols description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. initial: no -extra field: +styling field: type: boolean name: popup mana symbols description: Use the symbols of the casting cost line inside the text box as well initial: no -extra field: +styling field: type: choice name: tap symbol description: What tap symbol should be used on cards? @@ -79,7 +83,7 @@ extra field: choice: old choice: diagonal T -extra style: +styling style: artifact style: render style: both choice images: @@ -127,7 +131,7 @@ card style: top : 30 width: { 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: @@ -140,11 +144,11 @@ card style: top : 30 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 @@ -172,7 +176,7 @@ card style: top : 298 width: 286 height: 20 - align: top shrink-overflow + alignment: top shrink-overflow z index: 1 padding top: 2 font: @@ -215,7 +219,7 @@ card style: then "magic-mana-large" else "magic-mana-small" size: 14 - align: middle left + alignment: middle left z index: 2 padding left: 6 padding top: 2 @@ -231,7 +235,7 @@ card style: height: 156 z index: 1 render style: image - align: middle center + alignment: middle center include file: magic-watermarks.mse-include/watermarks ############################# PT @@ -241,7 +245,7 @@ card style: top: 467 width: 60 height: 28 - align: center middle + alignment: center middle font: name: Mplantin size: 18 @@ -284,7 +288,3 @@ card style: name: MPlantin size: 6.5 color: { font_color() } - -width: 375 -height: 523 -dpi: 150 diff --git a/data/magic.mse-game/game b/data/magic.mse-game/game index 5fe711a9..48deafcc 100644 --- a/data/magic.mse-game/game +++ b/data/magic.mse-game/game @@ -1,4 +1,4 @@ -mse version: 0.2.7 +mse version: 0.3.0 short name: Magic full name: Magic the Gathering icon: card-back.png diff --git a/data/vs-extended-art.mse-style/style b/data/vs-extended-art.mse-style/style index acff4675..ef72438f 100644 --- a/data/vs-extended-art.mse-style/style +++ b/data/vs-extended-art.mse-style/style @@ -1,24 +1,14 @@ -mse version: 0.2.7 +mse version: 0.3.0 game: vs short name: Promotional full name: Extended Art Promo icon: card-sample.png -############################################################## Extra scripts +card width: 375 +card height: 523 +card dpi: 150 -############################################################## Set info fields -info style: - title: - padding left: 2 - font: - size: 16 - automatic reminder text: - font: - size: 16 - render style: both - choice images: - yes: script: buildin_image("bool_yes") - no: script: buildin_image("bool_no") +############################################################## Extra scripts ############################################################## Extra style @@ -43,7 +33,7 @@ card style: equipment: card-equipment.jpg location: card-location.jpg plot twist: card-plot-twist.jpg - card list colors: true + colors card list: true choice colors: character: rgb(120,18,0) character dual: rgb(120,18,0) @@ -59,7 +49,7 @@ card style: top : 23 width: 224 height: 24 - align: bottom shrink-overflow + alignment: bottom shrink-overflow font: name: Percolator Expert size: 22 @@ -72,14 +62,14 @@ card style: symbol font: name: vs-standard-arrow size: 15 - align: middle center + alignment: middle center z index: 4 cost: left: 31 top : 28 width: 13 height: 31 - align: middle center + alignment: middle center font: name: Dirty Headline size: 18 @@ -120,7 +110,7 @@ card style: color: rgb(0,0,0) weight: bold visible: script: is_character() - align: middle center + alignment: middle center z index: 3 type bar: left: script: if is_dual() then 87 else 72 @@ -141,7 +131,7 @@ card style: top : 44 width: 224 height: 18 - align: top shrink-overflow + alignment: top shrink-overflow z index: 4 font: name: Percolator Expert @@ -156,7 +146,7 @@ card style: symbol font: name: vs-standard-arrow size: 8 - align: middle center + alignment: middle center ############################# Card ID number: @@ -203,9 +193,9 @@ card style: symbol font: name: vs-standard-arrow size: 18 - align: middle center + alignment: middle center visible: is_dual() - align: center shrink-overflow + alignment: center shrink-overflow z index: 4 padding left: 2 padding top: 2 @@ -250,8 +240,8 @@ card style: symbol font: name: vs-standard-arrow size: 8 - align: middle center - align: top left + alignment: middle center + alignment: top left z index: 4 padding left: 2 padding top: 2 @@ -271,7 +261,7 @@ card style: size: 8 scale down to: 4 color: rgb(0,0,0) - align: bottom left + alignment: bottom left z index: 3 padding left: 2 padding top: 2 @@ -290,7 +280,7 @@ card style: height: 32 visible: script: is_character() z index: 4 - align: left middle + alignment: left middle font: name: Dirty Headline size: 20 @@ -307,7 +297,7 @@ card style: height: 32 visible: script: is_character() z index: 4 - align: left middle + alignment: left middle padding bottom: -4 font: name: Dirty Headline @@ -325,7 +315,7 @@ card style: top : 417 width: 170 height: 10 - align: center top + alignment: center top z index: 4 font: name: Eurostile @@ -339,12 +329,9 @@ card style: width: 110 height: 13 z index: 4 - align: middle left + alignment: middle left font: name: Eurostile size: 4 color: rgb(255,255,255) -width: 375 -height: 523 -dpi: 150 diff --git a/data/vs-standard.mse-style/style b/data/vs-standard.mse-style/style index 91602c41..9f2e95c6 100644 --- a/data/vs-standard.mse-style/style +++ b/data/vs-standard.mse-style/style @@ -1,27 +1,15 @@ -mse version: 0.2.7 +mse version: 0.3.0 game: vs short name: Standard full name: Normal VS cards icon: card-sample.png +card width: 375 +card height: 523 +card dpi: 150 + ############################################################## Extra scripts -############################################################## Set info fields -info style: - title: - padding left: 2 - font: - size: 16 - automatic reminder text: - font: - size: 16 - render style: both - choice images: - yes: script: buildin_image("bool_yes") - no: script: buildin_image("bool_no") - -############################################################## Extra style - ############################################################## Card fields card style: ############################# Background stuff @@ -43,7 +31,7 @@ card style: equipment: card-equipment.jpg location: card-location.jpg plot twist: card-plot-twist.jpg - card list colors: true + colors card list: true choice colors: character: rgb(120,18,0) character dual: rgb(120,18,0) @@ -59,7 +47,7 @@ card style: top : 25 width: 219 height: 24 - align: bottom shrink-overflow + alignment: bottom shrink-overflow padding bottom: 0 z index: 4 font: @@ -74,13 +62,13 @@ card style: symbol font: name: vs-standard-arrow size: 15 - align: middle center + alignment: middle center cost: left: 33 top : 28 width: 25 height: 41 - align: middle center + alignment: middle center font: name: Dirty Headline size: 24 @@ -121,7 +109,7 @@ card style: size: 11 color: rgb(0,0,0) weight: bold - align: middle center + alignment: middle center z index: 3 type bar: left: 72 @@ -142,7 +130,7 @@ card style: top : 46 width: 219 height: 18 - align: top shrink-overflow + alignment: top shrink-overflow z index: 4 font: name: Percolator Expert @@ -170,7 +158,7 @@ card style: else if card.rarity=="uncommon" then rgb(80,174,255) else if card.rarity=="rare" then rgb(255,210,60) else if card.rarity=="promo" then rgb(255,20,20) - else rgb(255,255,255) + else rgb(255,255,255) weight: bold rarity: left: 135 @@ -201,8 +189,8 @@ card style: symbol font: name: vs-standard-arrow size: 18 - align: middle center - align: middle center + alignment: middle center + alignment: middle center z index: 4 padding left: 2 padding top: 2 @@ -223,9 +211,9 @@ card style: symbol font: name: vs-standard-arrow size: 18 - align: middle center - visible: is_dual() - align: middle center + alignment: middle center + visible: { is_dual() } + alignment: middle center z index: 4 padding left: 2 padding top: 2 @@ -265,8 +253,8 @@ card style: symbol font: name: vs-standard-arrow size: 11 - align: middle center - align: top left + alignment: middle center + alignment: top left z index: 4 padding left: 2 padding top: 2 @@ -285,7 +273,7 @@ card style: size: 11 scale down to: 8 color: rgb(0,0,0) - align: bottom left + alignment: bottom left z index: 3 padding left: 2 padding top: 2 @@ -304,7 +292,7 @@ card style: height: 37 visible: script: is_character() z index: 4 - align: left middle + alignment: left middle font: name: Dirty Headline size: 24 @@ -321,7 +309,7 @@ card style: height: 37 visible: script: is_character() z index: 4 - align: left middle + alignment: left middle padding bottom: -4 font: name: Dirty Headline @@ -339,7 +327,7 @@ card style: top : 320 width: 170 height: 16 - align: center top + alignment: center top z index: 4 font: name: Eurostile @@ -353,12 +341,9 @@ card style: width: 110 height: 26 z index: 4 - align: middle left + alignment: middle left font: name: Eurostile size: 6 color: rgb(255,255,255) -width: 375 -height: 523 -dpi: 150 diff --git a/data/vs.mse-game/game b/data/vs.mse-game/game index e15d2683..ee21d88b 100644 --- a/data/vs.mse-game/game +++ b/data/vs.mse-game/game @@ -196,6 +196,7 @@ card field: show statistics: false card list visible: true card list column: 1 + card list width: 200 description: The name of the card, use @ for a diamond card field: type: text @@ -245,14 +246,15 @@ card field: script: set.code + "-" + - position( - of: card - in: set - order_by: {card.name} - ) + format( format: "%03i" + , position( + of: card + in: set + order_by: {card.name} + )) card list visible: true card list column: 6 - card list width: 55 + card list width: 65 card list name: # editable: false card field: