Commit 2a0620b4 authored by pichoro's avatar pichoro

0.3.7 Update for Vanguard.

- Upgraded Statistics.
- Scripts refurbished based on latest Magic scripts.
parent ed535ee2
...@@ -5,7 +5,7 @@ installer group: Magic Vanguard/game files ...@@ -5,7 +5,7 @@ installer group: Magic Vanguard/game files
icon: card-sample.png icon: card-sample.png
position hint: 02 position hint: 02
version: 2008-08-05 version: 2008-08-07
# Author : Wolfwood # Author : Wolfwood
# Most stuff is copy/pasted from magic.mse-game # Most stuff is copy/pasted from magic.mse-game
...@@ -120,10 +120,15 @@ init script: ...@@ -120,10 +120,15 @@ init script:
remove_tag@(tag: "<i-auto>") + remove_tag@(tag: "<i-auto>") +
# step 2 : reminder text for keywords # step 2 : reminder text for keywords
expand_keywords@( expand_keywords@(
default_expand: { contains(match:mode, set.automatic_reminder_text) }, condition: {
correct_case or (mode != "pseudo" and not used_placeholders)
}
default_expand: {
chosen(choice:if correct_case then mode else "lower case", set.automatic_reminder_text)
},
combine: { combine: {
if mode == "pseudo" then "<i-auto>{keyword}</i-auto>" if mode == "pseudo" then "<i-auto>{keyword}</i-auto>"
else "{keyword}<atom-reminder><i> ({process_english_hints(reminder)})</i></atom-reminder>" } else "{keyword}<atom-reminder-{mode}> ({process_english_hints(reminder)})</atom-reminder-{mode}>" }
) + ) +
# step 2b : move inline keywords' reminder text to the end of the line # step 2b : move inline keywords' reminder text to the end of the line
replace@( replace@(
...@@ -188,8 +193,9 @@ init script: ...@@ -188,8 +193,9 @@ init script:
#Necessary to make magic-mana-future play nicely #Necessary to make magic-mana-future play nicely
colorless_color := { "c" } colorless_color := { "c" }
word_count := break_text@(match:"[^[:space:]]+") + length
############################################################## Set fields ############################################################## Set fields
set field: set field:
type: info type: info
name: Set Information name: Set Information
...@@ -233,7 +239,7 @@ set field: ...@@ -233,7 +239,7 @@ set field:
choice: expert choice: expert
choice: pseudo choice: pseudo
choice: custom choice: custom
initial: old, core, expert, custom initial: old, pseudo, custom
# Convert from older mse versions # Convert from older mse versions
script: script:
if value = "yes" then "old, core, expert, custom" if value = "yes" then "old, core, expert, custom"
...@@ -245,9 +251,7 @@ set field: ...@@ -245,9 +251,7 @@ set field:
name: automatic card numbers name: automatic card numbers
initial: no initial: no
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:
title: title:
padding left: 2 padding left: 2
...@@ -256,9 +260,7 @@ default set style: ...@@ -256,9 +260,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: color type: color
...@@ -364,6 +366,7 @@ card field: ...@@ -364,6 +366,7 @@ card field:
name: illustrator name: illustrator
default: set.artist default: set.artist
description: The illustrator of the image description: The illustrator of the image
icon: stats/illustrator.png
card field: card field:
type: text type: text
name: copyright name: copyright
...@@ -381,6 +384,26 @@ card field: ...@@ -381,6 +384,26 @@ card field:
else else
forward_editor(field: card.copyright) forward_editor(field: card.copyright)
description: The copyright and card number of the card description: The copyright and card number of the card
############################################################### 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
...@@ -414,7 +437,6 @@ auto replace: ...@@ -414,7 +437,6 @@ auto replace:
replace: as an additional cost to play replace: as an additional cost to play
############################################################## Keywords ############################################################## Keywords
############################# Keyword rules ############################# Keyword rules
has keywords: true has keywords: true
...@@ -523,7 +545,6 @@ keyword parameter type: ...@@ -523,7 +545,6 @@ keyword parameter type:
############################# All Magic keywords ############################# All Magic keywords
# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 # By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234
keyword: keyword:
keyword: Flying keyword: Flying
match: flying match: flying
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment