0.3.7 Update for VS System.

- Updated statistics.
- No more auto-bolding of lowercase keywords.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1093 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
pichoro
2008-08-08 03:10:53 +00:00
parent 1cab0e7c15
commit 35b0c75587
6 changed files with 35 additions and 29 deletions
+34 -28
View File
@@ -1,11 +1,11 @@
mse version: 0.3.6 mse version: 0.3.7
full name: VS System full name: VS System
short name: VS short name: VS
installer group: VS System/game files installer group: VS System/game files
icon: card-back.png icon: card-back.png
position hint: 3 position hint: 3
version: 2008-01-03 version: 2008-08-07
depends on: depends on:
package: vs-common.mse-include package: vs-common.mse-include
version: 2008-01-03 version: 2008-01-03
@@ -62,8 +62,13 @@ init script:
tag_remove_rule(tag: "<i-auto>") + tag_remove_rule(tag: "<i-auto>") +
tag_remove_rule(tag: "<b-auto>") + tag_remove_rule(tag: "<b-auto>") +
# step 2 : reminder text for keywords # step 2 : reminder text for keywords
expand_keywords_rule( expand_keywords@(
default_expand: { contains(match:mode, set.automatic_reminder_text) }, condition: {
correct_case
}
default_expand: {
chosen(choice:if correct_case then mode else "lower case", set.automatic_reminder_text)
},
combine: { "<b-auto>{keyword}</b-auto><atom-reminder-{mode}> ({process_english_hints(reminder)})</atom-reminder-{mode}>" } combine: { "<b-auto>{keyword}</b-auto><atom-reminder-{mode}> ({process_english_hints(reminder)})</atom-reminder-{mode}>" }
) + ) +
# step 3 : expand shortcut words ~ and CARDNAME # step 3 : expand shortcut words ~ and CARDNAME
@@ -232,8 +237,9 @@ init script:
}) + 1 }) + 1
} }
############################################################## Set fields word_count := break_text@(match:"[^[:space:]]+") + length
############################################################## Set fields
set field: set field:
type: text type: text
name: title name: title
@@ -291,10 +297,7 @@ set field:
type: boolean type: boolean
name: automatic card numbers name: automatic card numbers
description: Should card numbers be shown on the cards? description: Should card numbers be shown on the cards?
############################# Default style ############################# Default style
default set style: default set style:
logo: logo:
font: font:
@@ -313,9 +316,7 @@ default set style:
automatic reminder text: automatic reminder text:
render style: checklist render style: checklist
direction: vertical direction: vertical
############################################################## Card fields ############################################################## Card fields
############################# Background stuff ############################# Background stuff
card field: card field:
type: choice type: choice
@@ -346,7 +347,6 @@ card field:
choice: planet choice: planet
default: card_type() default: card_type()
show statistics: false show statistics: false
############################# Name line ############################# Name line
card field: card field:
type: text type: text
@@ -358,6 +358,7 @@ card field:
name: sep name: sep
editable: false editable: false
script: if is_character() and card.identity=="" then "™" else if is_character() and card.identity!="" then "™ <sym>@</sym>" else "" script: if is_character() and card.identity=="" then "™" else if is_character() and card.identity!="" then "™ <sym>@</sym>" else ""
show statistics: false
card field: card field:
type: text type: text
name: identity name: identity
@@ -391,7 +392,6 @@ card field:
card list alignment: right card list alignment: right
card list width: 37 card list width: 37
card list name: Cost card list name: Cost
############################# Image ############################# Image
card field: card field:
type: image type: image
@@ -420,7 +420,6 @@ card field:
choice: first edition choice: first edition
editable: false editable: false
show statistics: false show statistics: false
############################# Type Bar ############################# Type Bar
card field: card field:
type: text type: text
@@ -453,7 +452,6 @@ card field:
choice: type bar choice: type bar
editable: false editable: false
show statistics: false show statistics: false
############################# Version ############################# Version
card field: card field:
type: text type: text
@@ -482,7 +480,6 @@ card field:
card list visible: true card list visible: true
card list column: 2 card list column: 2
show statistics: false show statistics: false
############################# Card ID ############################# Card ID
card field: card field:
type: text type: text
@@ -539,7 +536,7 @@ card field:
choice: rare choice: rare
choice: promo choice: promo
default: set.set_rarity default: set.set_rarity
icon: stats/rarity.png
############################# Affiliation ############################# Affiliation
card field: card field:
type: text type: text
@@ -566,7 +563,6 @@ card field:
type_over1: " `" type_over1: " `"
) )
description: The team of the card, use ` for a separator for dual cards description: The team of the card, use ` for a separator for dual cards
card field: card field:
type: text type: text
name: team 2 name: team 2
@@ -591,7 +587,6 @@ card field:
type_over1: " `" type_over1: " `"
) )
description: The second affiliation of the card (for dual cards) description: The second affiliation of the card (for dual cards)
############################# FlightRange ############################# FlightRange
card field: card field:
type: multiple choice type: multiple choice
@@ -603,7 +598,6 @@ card field:
default: symbol_default() default: symbol_default()
description: Symbols for this card (flight/range/ongoing), multiple symbols can be selected description: Symbols for this card (flight/range/ongoing), multiple symbols can be selected
show statistics: false show statistics: false
############################# Text box ############################# Text box
card field: card field:
type: text type: text
@@ -623,8 +617,6 @@ card field:
include file: /vs-common.mse-include/watermark-names include file: /vs-common.mse-include/watermark-names
editable: false editable: false
description: The Watermark for this set. description: The Watermark for this set.
############################# Atack / Defense ############################# Atack / Defense
card field: card field:
type: text type: text
@@ -637,7 +629,6 @@ card field:
card list width: 33 card list width: 33
card list name: ATK card list name: ATK
card list alignment: right card list alignment: right
card field: card field:
type: text type: text
name: defence name: defence
@@ -649,12 +640,12 @@ card field:
card list width: 33 card list width: 33
card list name: DEF card list name: DEF
card list alignment: right card list alignment: right
############################# Copyright stuff ############################# Copyright stuff
card field: card field:
type: text type: text
name: illustrator name: illustrator
default: set.artist default: set.artist
icon: stats/illustrator.png
card field: card field:
type: text type: text
name: copyright name: copyright
@@ -662,9 +653,27 @@ card field:
default: set.copyright default: set.copyright
multi line: true multi line: true
show statistics: false show statistics: false
############################################################# Extra Statistics
statistics dimension:
name: keywords
position hint: 1000
script: keyword_usage(unique:true)
show empty: false
split list: true
icon: stats/keywords.png
statistics dimension:
name: style
position hint: 1001
script: stylesheet.short_name
icon: stats/stylesheet.png
statistics dimension:
name: text length (words)
position hint: 100
script: word_count(to_text(card.rule_text))
numeric: true
bin size: 5
icon: stats/text_length.png
############################################################## Auto replace ############################################################## Auto replace
# Do we need categories? # Do we need categories?
#auto replace category: text box #auto replace category: text box
#auto replace category: copyright #auto replace category: copyright
@@ -696,7 +705,6 @@ auto replace:
match: :: match: ::
replace: • replace: •
############################################################## Keywords ############################################################## Keywords
############################# Keyword rules ############################# Keyword rules
has keywords: true has keywords: true
@@ -725,9 +733,7 @@ keyword parameter type:
[^ [^
(.,]+ (.,]+
############################# All VS System keywords ############################# All VS System keywords
keyword: keyword:
keyword: Concealed—Optional keyword: Concealed—Optional
match: Concealed—Optional match: Concealed—Optional
Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 B