From 020d0a79fe3be8b0ca09a07343a5b97a25032891 Mon Sep 17 00:00:00 2001 From: pichoro Date: Fri, 14 Sep 2007 00:01:33 +0000 Subject: [PATCH] Changed "shadowed mana" in magic-future to "popup mana"; reason: its called popup in other templates. Consistency. Added loyalty fields to magic-game. Changed magic-new-planeswalker to use loyalty fields instead of p, t, p2, and t2. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@695 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic-future.mse-style/style | 8 +- data/magic-new-planeswalker.mse-style/style | 88 ++++++++++----------- data/magic.mse-game/game | 17 ++++ 3 files changed, 63 insertions(+), 50 deletions(-) diff --git a/data/magic-future.mse-style/style b/data/magic-future.mse-style/style index 92d298ca..e044cb86 100644 --- a/data/magic-future.mse-style/style +++ b/data/magic-future.mse-style/style @@ -156,7 +156,7 @@ styling field: type: choice name: mana symbols choice: future - choice: shadowed + choice: popup choice: normal description: What style of mana symbols should be used? initial: normal @@ -183,7 +183,7 @@ styling style: render style: both choice images: future: /magic-mana-future.mse-symbol-font/mana_w.png - shadowed: /magic-mana-large.mse-symbol-font/mana_w.png + popup: /magic-mana-large.mse-symbol-font/mana_w.png normal: /magic-mana-small.mse-symbol-font/mana_w.png tap symbol: render style: both @@ -365,8 +365,8 @@ card style: else font_color(card.card_color) symbol font: name: - { if styling.mana_symbols=="future" then "magic-mana-future" else - if styling.mana_symbols=="shadowed" then "magic-mana-large" else "magic-mana-small" } + { if styling.mana_symbols=="future" then "magic-mana-future" else + if styling.mana_symbols=="popup" then "magic-mana-large" else "magic-mana-small" } size: 15 alignment: script: diff --git a/data/magic-new-planeswalker.mse-style/style b/data/magic-new-planeswalker.mse-style/style index c4253294..f7f12b88 100644 --- a/data/magic-new-planeswalker.mse-style/style +++ b/data/magic-new-planeswalker.mse-style/style @@ -9,7 +9,7 @@ card width: 375 card height: 523 card dpi: 150 -#Images by Artfreakwiu +#Images by Artfreakwiu, Buttock1234, and Twanvl #Code by Pichoro #Todo: update images after lorwyn release to feature proper frames rather than guesses. #Todo: add textures to namebox and type/rarity box. @@ -265,34 +265,7 @@ card style: include file: magic-watermarks.mse-include/watermarks ############################# Loyalty - #loyalty cost 1 - power: - z index: 4 - left: 32 - top: 342 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12 - weight: bold - color: rgb(255,255,255) - #loyalty cost 2 - power 2: - z index: 4 - left: 32 - top: 390 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12 - weight: bold - color: rgb(255,255,255) - #starting loyalty - toughness: + loyalty: z index: 4 left: 326 top: 467 @@ -304,8 +277,31 @@ card style: size: 16 weight: bold color: rgb(255,255,255) - #loyalty cost 3 - toughness 2: + loyalty cost 1: + z index: 4 + left: 32 + top: 342 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12 + weight: bold + color: rgb(255,255,255) + loyalty cost 2: + z index: 4 + left: 32 + top: 390 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12 + weight: bold + color: rgb(255,255,255) + loyalty cost 3: z index: 4 left: 32 top: 436 @@ -354,12 +350,12 @@ card style: ############################################################## Extra card fields extra card field: type: choice - name: loyalty + name: loyalty box editable: false choice: loyalty extra card field: type: choice - name: loyalty cost 1 + name: loyalty cost box 1 editable: false script: if contains(card.power, match: "+") then "loyalty up" @@ -370,7 +366,7 @@ extra card field: choice: loyalty naught extra card field: type: choice - name: loyalty cost 2 + name: loyalty cost box 2 editable: false script: if contains(card.power_2, match: "+") then "loyalty up" @@ -381,7 +377,7 @@ extra card field: choice: loyalty naught extra card field: type: choice - name: loyalty cost 3 + name: loyalty cost box 3 editable: false script: if contains(card.toughness_2, match: "+") then "loyalty up" @@ -423,48 +419,48 @@ extra card style: choice images: black: /magic-future-common.mse-include/paintbrush_black.png white: /magic-future-common.mse-include/paintbrush_white.png - loyalty: + loyalty box: right: 362 top: 465 width: 60 height: 38 z index: 3 render style: image - visible: { card.toughness !="" } + visible: { card.loyalty !="" } choice images: loyalty: loyalty.png - loyalty cost 1: + loyalty cost box 1: left: 18 top: 340 width: 42 height: 40 z index: 3 render style: image - visible: { card.power !="" } + visible: { card.loyalty_cost_1 !="" } choice images: loyalty up: loyaltyup.png loyalty down: loyaltydown.png loyalty naught: loyaltynaught.png - loyalty cost 2: + loyalty cost box 2: left: 18 top: 388 width: 42 height: 40 z index: 3 render style: image - visible: { card.power_2 !="" } + visible: { card.loyalty_cost_2 !="" } choice images: loyalty up: loyaltyup.png loyalty down: loyaltydown.png loyalty naught: loyaltynaught.png - loyalty cost 3: + loyalty cost box 3: left: 18 top: 434 width: 42 height: 40 z index: 3 render style: image - visible: { card.toughness_2 !="" } + visible: { card.loyalty_cost_3 !="" } choice images: loyalty up: loyaltyup.png loyalty down: loyaltydown.png @@ -481,7 +477,7 @@ extra card style: scale down to: 15 color: rgb(0,0,0) alignment: middle center - visible: { card.power !="" } + visible: { card.loyalty_cost_1 !="" } colon 2: left: 59 top: 402 @@ -494,7 +490,7 @@ extra card style: scale down to: 15 color: rgb(0,0,0) alignment: middle center - visible: { card.power_2 !="" } + visible: { card.loyalty_cost_2 !="" } colon 3: left: 59 top: 448 @@ -507,4 +503,4 @@ extra card style: scale down to: 15 color: rgb(0,0,0) alignment: middle center - visible: { card.toughness_2 !="" } + visible: { card.loyalty_cost_3 !="" } diff --git a/data/magic.mse-game/game b/data/magic.mse-game/game index 09f0b949..d23248c2 100644 --- a/data/magic.mse-game/game +++ b/data/magic.mse-game/game @@ -820,6 +820,23 @@ card field: include file: magic-watermarks.mse-include/watermark-names description: A watermark for below the textbox, this can be a big mana symbol used on basic lands, or a guild symbol +############################# Loyalty +card field: + type: text + name: loyalty + icon: stats/toughness.png +card field: + type: text + name: loyalty cost 1 + show statistics: false +card field: + type: text + name: loyalty cost 2 + show statistics: false +card field: + type: text + name: loyalty cost 3 + show statistics: false ############################# PT card field: type: text