Styling option for more or less saturated multicolor frames for magic-new.

Add descriptions to many fields.
Made some text fields made editable and multline.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@833 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
pichoro
2008-04-01 03:44:08 +00:00
parent 18897c2a32
commit ba8fb39283
12 changed files with 60 additions and 25 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ game: magic
short name: Future Textless
full name: Futureshift Textless
icon: card-sample.png
position hint: 051
position hint: 055
version: 2008-03-12
depends on:
Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

+14 -6
View File
@@ -5,7 +5,7 @@ full name: After 8th edition
icon: card-sample.png
position hint: 001
version: 2008-03-12
version: 2008-03-13
depends on:
package: magic.mse-game
version: 2007-12-29
@@ -39,16 +39,19 @@ init script:
#Should multicolor lands with basic land types have a colored name?
mask_multi_land_with_color := { styling.colored_multicolor_land_name }
# Which artifact template should be used?
artifact_template := {
# Which artifact template should be used? Which multicolor template should be used?
alternate_template := {
if input == "a" then (
if styling.artifact_style == "light" then "oa"
else if styling.artifact_style == "brown" then "ba"
else "a"
) else if input == "m" then (
if styling.saturated_multicolor then "m"
else "om"
) else input
}
template := { artifact_template() + "{type}.jpg" }
land_template := { (if input == "a" then "c" else input) + "l{type}.jpg" }
template := { alternate_template() + "{type}.jpg" }
land_template := { (if input == "a" then "c" else alternate_template()) + "l{type}.jpg" }
# Use land templates for previews because they show more contrast
hybrid_previews := "land,hybrid"
@@ -61,8 +64,8 @@ init script:
# Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols }
############################################################## Set info fields
set info style:
symbol:
@@ -83,6 +86,11 @@ styling field:
choice: light
choice: dark
choice: brown
styling field:
type: boolean
name: saturated multicolor
description: Should multicolor cards be more saturated? This is done on real cards.
initial: yes
styling field:
type: boolean
name: grey hybrid name
+34 -5
View File
@@ -5,7 +5,7 @@ installer group: magic/game files
icon: card-back.png
position hint: 01
version: 2008-03-12
version: 2008-03-25
depends on:
package: magic-blends.mse-include
version: 2007-09-23
@@ -675,6 +675,7 @@ card field:
name: gold
color: rgb(200,180,0)
show statistics: false
description: The border of the card; can be any solid color.
card field:
type: multiple choice
name: card color
@@ -715,6 +716,7 @@ card field:
script: card_color_filter(value)
default: card_color(casting_cost: card.casting_cost, rules_text: card.rule_text, type: card.super_type, watermark: card.watermark, card_name: card.name)
show statistics: false
description: The frame of the card, used to indicate card color.
############################# Name line
card field:
@@ -723,6 +725,7 @@ card field:
card list visible: false
identifying: true
show statistics: false
description: The name of the card
card field:
type: text
name: casting cost
@@ -756,12 +759,14 @@ card field:
choice: land
choice: multitype
choice: sorcery
description: The card type symbol for this card
############################# Image
card field:
type: image
name: image
show statistics: false
description: The image of the card
############################# Card type
card field:
@@ -822,11 +827,15 @@ card field:
name: rule text
script: text_filter(input: value, card_name: card.name)
show statistics: false
multi line: true
description: The rules text for the card
card field:
type: text
name: flavor text
script: flavor_text_filter(value)
show statistics: false
multi line: true
description: The flavor text for the card
card field:
type: text
name: text
@@ -835,6 +844,7 @@ card field:
show statistics: false
script:
combined_editor(field1: card.rule_text, separator: "<line>\n</line>", field2: card.flavor_text)
description: The rules and flavor text for the card; use up and down arrows to switch
card field:
type: choice
name: watermark
@@ -849,18 +859,22 @@ card field:
name: loyalty
icon: stats/toughness.png
position hint: 59
description: The initial loyalty of a planeswalker
card field:
type: text
name: loyalty cost 1
show statistics: false
description: The loyalty cost for the first ability of a planeswalker
card field:
type: text
name: loyalty cost 2
show statistics: false
description: The loyalty cost for the second ability of a planeswalker
card field:
type: text
name: loyalty cost 3
show statistics: false
description: The loyalty cost for the third ability of a planeswalker
############################# PT
card field:
type: text
@@ -868,11 +882,13 @@ card field:
icon: stats/power.png
show statistics: false
script: type_over_pt(value)
description: The power of a creature
card field:
type: text
name: toughness
show statistics: false
icon: stats/toughness.png
description: The toughness of a creature
card field:
type: text
name: pt
@@ -889,7 +905,7 @@ card field:
card list column: 5
card list width: 50
card list name: P/T
description: Power/toughness
description: Power/toughness of a creature
show statistics: false
############################# Card sorting / numbering
@@ -979,11 +995,13 @@ card field:
script: card_color_filter(value)
default: card_color(casting_cost: card.casting_cost_2, type: card.super_type_2, rules_text: card.rule_text_2, watermark: card.watermark_2, card_name: card.name_2)
show statistics: false
description: The frame of a card
card field:
type: text
name: name 2
identifying: true
show statistics: false
description: The name of a card
card field:
type: text
name: casting cost 2
@@ -993,6 +1011,7 @@ card field:
card list width: 50
card list name: CC
show statistics: false
description: The casting cost of a card
card field:
type: choice
name: card symbol 2
@@ -1000,10 +1019,12 @@ card field:
choice: none
choice: tombstone
show statistics: false
description: The card symbol of the card (Tombstone)
card field:
type: image
name: image 2
show statistics: false
description: The image of the card
card field:
type: text
name: super type 2
@@ -1031,6 +1052,7 @@ card field:
hide_when_empty: true
)
show statistics: false
description: The type of the card; type "-" to go from type to subtype
card field:
type: choice
name: rarity 2
@@ -1050,11 +1072,13 @@ card field:
name: rule text 2
script: text_filter(input: value, card_name: card.name_2)
show statistics: false
multi line: true
description: The rules text of the card
card field:
type: text
name: flavor text 2
script: flavor_text_filter(value)
editable: false
multi line: true
show statistics: false
card field:
type: text
@@ -1064,6 +1088,7 @@ card field:
show statistics: false
script:
combined_editor(field1: card.rule_text_2, separator: "<line>\n</line>", field2: card.flavor_text_2)
description: The rules and flavor text of the card
card field:
type: choice
name: watermark 2
@@ -1077,11 +1102,13 @@ card field:
icon: stats/power.png
show statistics: false
script: type_over_pt(value)
description: The power of a creature
card field:
type: text
name: toughness 2
icon: stats/toughness.png
show statistics: false
description: The toughness of a creature
card field:
type: text
name: pt 2
@@ -1097,12 +1124,14 @@ card field:
card list width: 50
card list name: P/T2
show statistics: false
description: Power/Toughness of a creature
card field:
type: text
name: illustrator 2
icon: stats/illustrator.png
default: set.artist
show statistics: false
description: The illustrator of the image
card field:
type: text
name: copyright 2
@@ -1119,7 +1148,7 @@ card field:
combined_editor(field1: card.copyright_2, separator: " ", field2: card.card_number)
else
forward_editor(field: card.copyright_2)
description: The copyright and card number of the card
############################################################## Card list
card list color script:
@@ -1613,7 +1642,6 @@ word list:
word: Beast
word: Berserker
word: Bringer
word: Brushwagg
word: Carrier
word: Citizen
word: Cleric
@@ -1689,6 +1717,7 @@ word list:
name:
line below: true
word: Aura
word: Shrine
word list:
name: spell
+11 -13
View File
@@ -4,7 +4,7 @@ full name: Magic Vanguard
icon: card-sample.png
position hint: 02
version: 2008-03-12
version: 2008-03-18
# Author : Wolfwood
# Most stuff is copy/pasted from magic.mse-game
@@ -259,13 +259,13 @@ card field:
name: gold
color: rgb(200,180,0)
show statistics: false
description: The border of the card; can be any solid color
card field:
type: choice
name: background
choice: normal
show statistics: false
editable: false
############################# Name line
card field:
type: text
@@ -275,21 +275,20 @@ card field:
card list visible: true
card list column: 1
card list width: 150
description: The name of the card
############################# Image
card field:
type: image
name: image
show statistics: false
description: The image of the card
############################# Card type
card field:
type: text
name: type
card list visible: true
card list column: 2
description: The type of the card
############################# Text box
card field:
type: text
@@ -297,13 +296,14 @@ card field:
script: text_filter(value)
show statistics: false
multi line: true
description: The rules text of the card
card field:
type: text
name: flavor text
script: flavor_text_filter(value)
show statistics: false
multi line: true
description: The flavor text of the card
############################# PT
card field:
type: text
@@ -312,7 +312,7 @@ card field:
card list column: 3
card list width: 50
card list name: hand
description: The starting and maximum hand size modifier
card field:
type: text
name: lifemod
@@ -320,8 +320,7 @@ card field:
card list column: 4
card list width: 50
card list name: life
description: The starting life total modifier
############################# Card sorting / numbering
card field:
type: text
@@ -341,12 +340,12 @@ card field:
card list name: #
editable: false
show statistics: false
############################# Copyright stuff
card field:
type: text
name: illustrator
default: set.artist
description: The illustrator of the image
card field:
type: text
name: copyright
@@ -363,9 +362,8 @@ card field:
combined_editor(field1: card.copyright, separator: " ", field2: card.card_number)
else
forward_editor(field: card.copyright)
description: The copyright and card number of the card
############################################################## Auto replace
# Do we need categories?
#auto replace category: text box
#auto replace category: copyright