Setting svn:eol to "native" for templates I added or messed up.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1501 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
pichoro
2010-08-15 01:31:38 +00:00
parent cf789a1886
commit 1bd866268c
22 changed files with 13150 additions and 13150 deletions
@@ -1,211 +1,211 @@
mse version: 0.3.8 mse version: 0.3.8
short name: Forum short name: Forum
full name: Spoiler Exporter full name: Spoiler Exporter
position hint: 002 position hint: 002
icon: icon.png icon: icon.png
version: 2010-05-17 version: 2010-05-17
installer group: Magic Archenemy/Export/forum installer group: Magic Archenemy/Export/forum
depends on: depends on:
package: archenemy.mse-game package: archenemy.mse-game
version: 2010-05-17 version: 2010-05-17
game: archenemy game: archenemy
file type: *.txt|*.txt|*.*|*.* file type: *.txt|*.txt|*.*|*.*
# By Pichoro # By Pichoro
# Based on code by Idle Muse, Innuendo and Seeonee # Based on code by Idle Muse, Innuendo and Seeonee
option field: option field:
type: choice type: choice
name: forum name: forum
choice: mse choice: mse
choice: mtgsalvation choice: mtgsalvation
description: What forum should the spoiler be formatted for? description: What forum should the spoiler be formatted for?
option field: option field:
type: boolean type: boolean
name: text costs name: text costs
initial: yes initial: yes
description: Should mana costs be plain text? Symbols usually can't be copied and pasted. description: Should mana costs be plain text? Symbols usually can't be copied and pasted.
option field: option field:
type: text type: text
name: creator name: creator
description: The creator of the set. description: The creator of the set.
option field: option field:
type: boolean type: boolean
name: include notes name: include notes
description: Should card notes be included? description: Should card notes be included?
initial: no initial: no
option field: option field:
type: boolean type: boolean
name: color rarities name: color rarities
description: Should rarities be colored? description: Should rarities be colored?
initial: yes initial: yes
script: script:
# Colored rarity markers. # Colored rarity markers.
rarity_color := { rarity_color := {
if card.rarity == "basic land" then " (C)" if card.rarity == "basic land" then " (C)"
else if card.rarity == "common" then " (C)" else if card.rarity == "common" then " (C)"
else if card.rarity == "uncommon" then " [color=silver](U)[/color]" else if card.rarity == "uncommon" then " [color=silver](U)[/color]"
else if card.rarity == "rare" then " [color=gold](R)[/color]" else if card.rarity == "rare" then " [color=gold](R)[/color]"
else if card.rarity == "mythic rare" then " [color=orange](M)[/color]" else if card.rarity == "mythic rare" then " [color=orange](M)[/color]"
else if card.rarity == "special" then " [color=purple](S)[/color]" else if card.rarity == "special" then " [color=purple](S)[/color]"
else " (C)" else " (C)"
} }
# Non colored rarity markers. # Non colored rarity markers.
rarity_uncolor := { rarity_uncolor := {
if card.rarity == "basic land" then " (C)" if card.rarity == "basic land" then " (C)"
else if card.rarity == "common" then " (C)" else if card.rarity == "common" then " (C)"
else if card.rarity == "uncommon" then " (U)" else if card.rarity == "uncommon" then " (U)"
else if card.rarity == "rare" then " (R)" else if card.rarity == "rare" then " (R)"
else if card.rarity == "mythic rare" then " (M)" else if card.rarity == "mythic rare" then " (M)"
else if card.rarity == "special" then " (S)" else if card.rarity == "special" then " (S)"
else " (C)" else " (C)"
} }
# Formats rules text w/ only italic tags. # Formats rules text w/ only italic tags.
forum_rules_filter_plain := replace@(match:"[(]", replace:"[i](")+ forum_rules_filter_plain := replace@(match:"[(]", replace:"[i](")+
replace@(match:"[)]", replace: ")[/i]") replace@(match:"[)]", replace: ")[/i]")
# Formats rules text w/ mana symbols. MSE and mtgsally use same bbcode tags for mana. # Formats rules text w/ mana symbols. MSE and mtgsally use same bbcode tags for mana.
forum_rules_filter_mtgsally_mse := forum_rules_filter_mtgsally_mse :=
# Italics around parenthesis. # Italics around parenthesis.
replace@(match:"[(]", replace:"[i](")+ replace@(match:"[(]", replace:"[i](")+
replace@(match:"[)]", replace: ")[/i]")+ replace@(match:"[)]", replace: ")[/i]")+
# 2/C's don't appear in regular english, format them all. # 2/C's don't appear in regular english, format them all.
replace@(match:"2/W", replace:":sym2w:")+ replace@(match:"2/W", replace:":sym2w:")+
replace@(match:"2/U", replace:":sym2u:")+ replace@(match:"2/U", replace:":sym2u:")+
replace@(match:"2/B", replace:":sym2b:")+ replace@(match:"2/B", replace:":sym2b:")+
replace@(match:"2/R", replace:":sym2r:")+ replace@(match:"2/R", replace:":sym2r:")+
replace@(match:"2/G", replace:":sym2g:")+ replace@(match:"2/G", replace:":sym2g:")+
# C/D's don't appear in regular english, format them all. # C/D's don't appear in regular english, format them all.
replace@(match:"W/U", replace:":symwu:")+ replace@(match:"W/U", replace:":symwu:")+
replace@(match:"W/B", replace:":symwb:")+ replace@(match:"W/B", replace:":symwb:")+
replace@(match:"U/B", replace:":symub:")+ replace@(match:"U/B", replace:":symub:")+
replace@(match:"U/R", replace:":symur:")+ replace@(match:"U/R", replace:":symur:")+
replace@(match:"B/R", replace:":symbr:")+ replace@(match:"B/R", replace:":symbr:")+
replace@(match:"B/G", replace:":symbg:")+ replace@(match:"B/G", replace:":symbg:")+
replace@(match:"R/G", replace:":symrg:")+ replace@(match:"R/G", replace:":symrg:")+
replace@(match:"R/W", replace:":symrw:")+ replace@(match:"R/W", replace:":symrw:")+
replace@(match:"G/W", replace:":symgw:")+ replace@(match:"G/W", replace:":symgw:")+
replace@(match:"G/U", replace:":symgu:")+ replace@(match:"G/U", replace:":symgu:")+
# Various positions for taps, untaps and chaos symbols. # Various positions for taps, untaps and chaos symbols.
replace@(match:" T ", replace:" :symtap: ")+ replace@(match:" T ", replace:" :symtap: ")+
replace@(match:" Q ", replace:" :symq: ")+ replace@(match:" Q ", replace:" :symq: ")+
replace@(match:" C ", replace:" :symch: ")+ replace@(match:" C ", replace:" :symch: ")+
replace@(match:"T,", replace:":symtap:,")+ replace@(match:"T,", replace:":symtap:,")+
replace@(match:"Q,", replace:":symq:,")+ replace@(match:"Q,", replace:":symq:,")+
replace@(match:"C,", replace:":symch:,")+ replace@(match:"C,", replace:":symch:,")+
replace@(match:"T:", replace:":symtap::")+ replace@(match:"T:", replace:":symtap::")+
replace@(match:"Q:", replace:":symq::")+ replace@(match:"Q:", replace:":symq::")+
replace@(match:"C:", replace:":symch::")+ replace@(match:"C:", replace:":symch::")+
# Mana right before a space. # Mana right before a space.
replace@(match:"G ", replace:":symg: ")+ replace@(match:"G ", replace:":symg: ")+
replace@(match:"R ", replace:":symr: ")+ replace@(match:"R ", replace:":symr: ")+
replace@(match:"B ", replace:":symb: ")+ replace@(match:"B ", replace:":symb: ")+
replace@(match:"U ", replace:":symu: ")+ replace@(match:"U ", replace:":symu: ")+
replace@(match:"W ", replace:":symw: ")+ replace@(match:"W ", replace:":symw: ")+
replace@(match:"S ", replace:":snow: ")+ replace@(match:"S ", replace:":snow: ")+
# Mana right before a comma. # Mana right before a comma.
replace@(match:"G,", replace:":symg:,")+ replace@(match:"G,", replace:":symg:,")+
replace@(match:"R,", replace:":symr:,")+ replace@(match:"R,", replace:":symr:,")+
replace@(match:"B,", replace:":symb:,")+ replace@(match:"B,", replace:":symb:,")+
replace@(match:"U,", replace:":symu:,")+ replace@(match:"U,", replace:":symu:,")+
replace@(match:"W,", replace:":symw:,")+ replace@(match:"W,", replace:":symw:,")+
replace@(match:"S,", replace:":snow:,")+ replace@(match:"S,", replace:":snow:,")+
# Mana right before a colon. # Mana right before a colon.
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
# Drag rules text to search for more mana characters. Reverse color wheel order works better. Repeat several times. # Drag rules text to search for more mana characters. Reverse color wheel order works better. Repeat several times.
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
# Symbolize snow. # Symbolize snow.
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
# Symbolize numbers from 20-0 when before a comma. # Symbolize numbers from 20-0 when before a comma.
replace@(match:"20,", replace:":20mana:,")+ replace@(match:"20,", replace:":20mana:,")+
replace@(match:"19,", replace:":19mana:,")+ replace@(match:"19,", replace:":19mana:,")+
replace@(match:"18,", replace:":18mana:,")+ replace@(match:"18,", replace:":18mana:,")+
replace@(match:"17,", replace:":17mana:,")+ replace@(match:"17,", replace:":17mana:,")+
replace@(match:"16,", replace:":16mana:,")+ replace@(match:"16,", replace:":16mana:,")+
replace@(match:"15,", replace:":15mana:,")+ replace@(match:"15,", replace:":15mana:,")+
replace@(match:"14,", replace:":14mana:,")+ replace@(match:"14,", replace:":14mana:,")+
replace@(match:"13,", replace:":13mana:,")+ replace@(match:"13,", replace:":13mana:,")+
replace@(match:"12,", replace:":12mana:,")+ replace@(match:"12,", replace:":12mana:,")+
replace@(match:"11,", replace:":11mana:,")+ replace@(match:"11,", replace:":11mana:,")+
replace@(match:"10,", replace:":10mana:,")+ replace@(match:"10,", replace:":10mana:,")+
replace@(match:"9,", replace:":9mana:,")+ replace@(match:"9,", replace:":9mana:,")+
replace@(match:"8,", replace:":8mana:,")+ replace@(match:"8,", replace:":8mana:,")+
replace@(match:"7,", replace:":7mana:,")+ replace@(match:"7,", replace:":7mana:,")+
replace@(match:"6,", replace:":6mana:,")+ replace@(match:"6,", replace:":6mana:,")+
replace@(match:"5,", replace:":5mana:,")+ replace@(match:"5,", replace:":5mana:,")+
replace@(match:"4,", replace:":4mana:,")+ replace@(match:"4,", replace:":4mana:,")+
replace@(match:"3,", replace:":3mana:,")+ replace@(match:"3,", replace:":3mana:,")+
replace@(match:"2,", replace:":2mana:,")+ replace@(match:"2,", replace:":2mana:,")+
replace@(match:"1,", replace:":1mana:,")+ replace@(match:"1,", replace:":1mana:,")+
replace@(match:"0,", replace:":0mana:,")+ replace@(match:"0,", replace:":0mana:,")+
# Symbolize numbers from 20-0 when before another symbol or a colon. # Symbolize numbers from 20-0 when before another symbol or a colon.
replace@(match:"20:", replace:":20mana::")+ replace@(match:"20:", replace:":20mana::")+
replace@(match:"19:", replace:":19mana::")+ replace@(match:"19:", replace:":19mana::")+
replace@(match:"18:", replace:":18mana::")+ replace@(match:"18:", replace:":18mana::")+
replace@(match:"17:", replace:":17mana::")+ replace@(match:"17:", replace:":17mana::")+
replace@(match:"16:", replace:":16mana::")+ replace@(match:"16:", replace:":16mana::")+
replace@(match:"15:", replace:":15mana::")+ replace@(match:"15:", replace:":15mana::")+
replace@(match:"14:", replace:":14mana::")+ replace@(match:"14:", replace:":14mana::")+
replace@(match:"13:", replace:":13mana::")+ replace@(match:"13:", replace:":13mana::")+
replace@(match:"12:", replace:":12mana::")+ replace@(match:"12:", replace:":12mana::")+
replace@(match:"11:", replace:":11mana::")+ replace@(match:"11:", replace:":11mana::")+
replace@(match:"10:", replace:":10mana::")+ replace@(match:"10:", replace:":10mana::")+
replace@(match:"9:", replace:":9mana::")+ replace@(match:"9:", replace:":9mana::")+
replace@(match:"8:", replace:":8mana::")+ replace@(match:"8:", replace:":8mana::")+
replace@(match:"7:", replace:":7mana::")+ replace@(match:"7:", replace:":7mana::")+
replace@(match:"6:", replace:":6mana::")+ replace@(match:"6:", replace:":6mana::")+
replace@(match:"5:", replace:":5mana::")+ replace@(match:"5:", replace:":5mana::")+
replace@(match:"4:", replace:":4mana::")+ replace@(match:"4:", replace:":4mana::")+
replace@(match:"3:", replace:":3mana::")+ replace@(match:"3:", replace:":3mana::")+
replace@(match:"2:", replace:":2mana::")+ replace@(match:"2:", replace:":2mana::")+
replace@(match:"1:", replace:":1mana::")+ replace@(match:"1:", replace:":1mana::")+
replace@(match:"0:", replace:":0mana::")+ replace@(match:"0:", replace:":0mana::")+
# Symbolize X and Y when before a comma. # Symbolize X and Y when before a comma.
replace@(match:"Y,", replace:":symy:,")+ replace@(match:"Y,", replace:":symy:,")+
replace@(match:"X,", replace:":symx:,")+ replace@(match:"X,", replace:":symx:,")+
# Symbolize X and Y when before another symbol or a colon. # Symbolize X and Y when before another symbol or a colon.
replace@(match:"Y:", replace:":symy::")+ replace@(match:"Y:", replace:":symy::")+
replace@(match:"X:", replace:":symx::") replace@(match:"X:", replace:":symx::")
# Count the number of paragraphs to detect number of walker abilities. # Count the number of paragraphs to detect number of walker abilities.
write_card := { write_card := {
# The Name # The Name
"\n[b]"+card.name+"[/b]" "\n[b]"+card.name+"[/b]"
# The Type and Rarity # The Type and Rarity
+"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor()) +"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor())
# The Rules Text # The Rules Text
+(if card.rule_text != "" then "\n") +(if card.rule_text != "" then "\n")
+(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text))) +(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text)))
+(if options.text_costs then forum_rules_filter_plain(card.rule_text)) +(if options.text_costs then forum_rules_filter_plain(card.rule_text))
# The Flavor Text # The Flavor Text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]")
+card.flavor_text +card.flavor_text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]")
# The Notes # The Notes
+(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ") +(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ")
+(if options.include_notes and card.notes !="" then card.notes) +(if options.include_notes and card.notes !="" then card.notes)
+(if options.include_notes and card.notes !="" then "[/spoiler]") +(if options.include_notes and card.notes !="" then "[/spoiler]")
+"\n" +"\n"
} }
write_cards := to_text(for each card in sort_list(cards, order_by: {input.card_number}) do write_card()) write_cards := to_text(for each card in sort_list(cards, order_by: {input.card_number}) do write_card())
to_string("Full Spoiler List for "+set.title+"\nSet by "+options.creator+"\n"+set.description+"\n"+write_cards) to_string("Full Spoiler List for "+set.title+"\nSet by "+options.creator+"\n"+set.description+"\n"+write_cards)
+249 -249
View File
@@ -1,249 +1,249 @@
mse version: 0.3.8 mse version: 0.3.8
game: archenemy game: archenemy
short name: Standard short name: Standard
installer group: Magic Archenemy/normal style installer group: Magic Archenemy/normal style
icon: card-sample.png icon: card-sample.png
position hint: 01 position hint: 01
version: 2010-05-20 version: 2010-05-20
depends on: depends on:
package: archenemy.mse-game package: archenemy.mse-game
version: 2010-05-17 version: 2010-05-17
depends on: depends on:
package: magic-mana-small.mse-symbol-font package: magic-mana-small.mse-symbol-font
version: 2007-09-23 version: 2007-09-23
depends on: depends on:
package: magic-future-common.mse-include package: magic-future-common.mse-include
version: 2007-09-23 version: 2007-09-23
card width: 435 card width: 435
card height: 621 card height: 621
card dpi: 131.1179678 card dpi: 131.1179678
# By Pichoro # By Pichoro
# Images by Art_Freak # Images by Art_Freak
############################################################## Extra scripts ############################################################## Extra scripts
init script: init script:
# Use the normal tap symbol # Use the normal tap symbol
mana_t := { mana_t := {
if styling.tap_symbol == "old" then "old" if styling.tap_symbol == "old" then "old"
else if styling.tap_symbol == "diagonal T" then "older" else if styling.tap_symbol == "diagonal T" then "older"
else "new" else "new"
} }
# Use guild mana symbols? # Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols } guild_mana := { styling.use_guild_mana_symbols }
############################################################## Set info fields ############################################################## Set info fields
set info style: set info style:
symbol: symbol:
variation: variation:
name: invertedcommon name: invertedcommon
border radius: 0.10 border radius: 0.10
fill type: solid fill type: solid
fill color: rgb(255,255,255) fill color: rgb(255,255,255)
border color: rgb(0,0,0) border color: rgb(0,0,0)
############################################################## Extra style options ############################################################## Extra style options
styling field: styling field:
type: boolean type: boolean
name: use guild mana symbols name: use guild mana symbols
description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana.
initial: no initial: no
styling field: styling field:
type: package choice type: package choice
name: text box mana symbols name: text box mana symbols
match: magic-mana-*.mse-symbol-font match: magic-mana-*.mse-symbol-font
initial: magic-mana-small.mse-symbol-font initial: magic-mana-small.mse-symbol-font
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap and untap symbols should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
choice: diagonal T choice: diagonal T
styling field: styling field:
type: boolean type: boolean
name: inverted common symbol name: inverted common symbol
description: Should the common rarity symbol be inverted, like in Coldsnap? description: Should the common rarity symbol be inverted, like in Coldsnap?
initial: no initial: no
styling field: styling field:
type: choice type: choice
name: artist font color name: artist font color
description: Should the illustrator, copyright, and illustrator paintbrush be white or black? description: Should the illustrator, copyright, and illustrator paintbrush be white or black?
choice: white choice: white
choice: black choice: black
styling field: styling field:
type: package choice type: package choice
name: overlay name: overlay
description: Should there be an overlay applied, such as foil? description: Should there be an overlay applied, such as foil?
match: magic-overlay-*.mse-include match: magic-overlay-*.mse-include
required: false required: false
styling style: styling style:
use guild mana symbols: use guild mana symbols:
choice images: choice images:
yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png
no: /magic-mana-small.mse-symbol-font/mana_rg.png no: /magic-mana-small.mse-symbol-font/mana_rg.png
tap symbol: tap symbol:
render style: both render style: both
choice images: choice images:
modern: /magic-mana-small.mse-symbol-font/mana_t.png modern: /magic-mana-small.mse-symbol-font/mana_t.png
old: /magic-mana-small.mse-symbol-font/mana_t_old.png old: /magic-mana-small.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png
############################################################## Card fields ############################################################## Card fields
card style: card style:
############################# Background stuff ############################# Background stuff
border color: border color:
left: 0 left: 0
top: 0 top: 0
width: 435 width: 435
height: 621 height: 621
radius: 16 radius: 16
left width: 16 left width: 16
right width: 15 right width: 15
top width: 13 top width: 13
bottom width: 15 bottom width: 15
z index: 4 z index: 4
############################# Name line ############################# Name line
name: name:
left: 63 left: 63
top: 35 top: 35
width: 306 width: 306
height: 27 height: 27
alignment: bottom center shrink-overflow alignment: bottom center shrink-overflow
padding bottom: 0 padding bottom: 0
z index: 2 z index: 2
font: font:
name: Matrix name: Matrix
size: 16 size: 16
weight: bold weight: bold
color: black color: black
############################# Image ############################# Image
image: image:
left: 26 left: 26
top: 25 top: 25
width: 383 width: 383
height: 571 height: 571
z index: 1 z index: 1
mask: image_mask.png mask: image_mask.png
############################# Card type ############################# Card type
type: type:
left: 65 left: 65
top: 406 top: 406
width: { 312 - max(21,card_style.rarity.content_width) } width: { 312 - max(21,card_style.rarity.content_width) }
height: 21 height: 21
alignment: middle left shrink-overflow alignment: middle left shrink-overflow
z index: 2 z index: 2
font: font:
name: Matrix name: Matrix
size: 14 size: 14
color: black color: black
rarity: rarity:
right: 370 right: 370
top: 407 top: 407
width: 37 width: 37
height: 19 height: 19
z index: 2 z index: 2
render style: image render style: image
alignment: middle right alignment: middle right
choice images: choice images:
# Images based on the set symbol # Images based on the set symbol
common: common:
script: script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common") else symbol_variation(symbol: set.symbol, variation: "common")
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
rare: script: symbol_variation(symbol: set.symbol, variation: "rare") rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
special: script: symbol_variation(symbol: set.symbol, variation: "special") special: script: symbol_variation(symbol: set.symbol, variation: "special")
############################# Text box ############################# Text box
text: text:
left: 64 left: 64
top: 435 top: 435
width: 309 width: 309
height: 122 height: 122
font: font:
name: MPlantin name: MPlantin
italic name: MPlantin-Italic italic name: MPlantin-Italic
size: 14 size: 14
scale down to: 7 scale down to: 7
color: black color: black
symbol font: symbol font:
name: { styling.text_box_mana_symbols } name: { styling.text_box_mana_symbols }
size: 14 size: 14
alignment: middle left alignment: middle left
z index: 2 z index: 2
padding left: 5 padding left: 5
padding top: 2 padding top: 2
padding right: 5 padding right: 5
padding bottom: 2 padding bottom: 2
line height hard: 1.2 line height hard: 1.2
line height line: 1.5 line height line: 1.5
############################# Card sorting / numbering ############################# Card sorting / numbering
############################# Copyright stuff ############################# Copyright stuff
illustrator: illustrator:
left: 99 left: 99
top: 570 top: 570
width: 267 width: 267
height: 14 height: 14
alignment: center alignment: center
z index: 2 z index: 2
font: font:
name: Matrix name: Matrix
size: 11 size: 11
color: {styling.artist_font_color} color: {styling.artist_font_color}
copyright line: copyright line:
left: 67 left: 67
top: 587 top: 587
width: 296 width: 296
height: 14 height: 14
alignment: center alignment: center
z index: 2 z index: 2
font: font:
name: MPlantin name: MPlantin
size: 6 size: 6
color: {styling.artist_font_color} color: {styling.artist_font_color}
############################################################## Extra card fields ############################################################## Extra card fields
extra card field: extra card field:
type: choice type: choice
name: frame name: frame
choice: frame choice: frame
save value: false save value: false
editable: false editable: false
extra card field: extra card field:
type: choice type: choice
name: foil layer name: foil layer
choice: foil choice: foil
save value: false save value: false
editable: false editable: false
extra card field: extra card field:
type: choice type: choice
name: paintbrush name: paintbrush
script: styling.artist_font_color script: styling.artist_font_color
editable: false editable: false
save value: false save value: false
extra card style: extra card style:
paintbrush: paintbrush:
right: { 232 + ( card_style.illustrator.content_width * -0.5 ) } right: { 232 + ( card_style.illustrator.content_width * -0.5 ) }
top: 571 top: 571
width: 35 width: 35
height: 14 height: 14
z index: 6 z index: 6
render style: image render style: image
choice images: choice images:
black: /magic-future-common.mse-include/paintbrush_black.png black: /magic-future-common.mse-include/paintbrush_black.png
white: /magic-future-common.mse-include/paintbrush_white.png white: /magic-future-common.mse-include/paintbrush_white.png
frame: frame:
left: 0 left: 0
top: 0 top: 0
width: 435 width: 435
height: 621 height: 621
z index: 0 z index: 0
render style: image render style: image
image: card.png image: card.png
foil layer: foil layer:
left: 0 left: 0
top: 0 top: 0
width: 435 width: 435
height: 621 height: 621
z index: 3 z index: 3
render style: image render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
+1207 -1207
View File
File diff suppressed because it is too large Load Diff
+925 -925
View File
File diff suppressed because it is too large Load Diff
+926 -926
View File
File diff suppressed because it is too large Load Diff
+925 -925
View File
File diff suppressed because it is too large Load Diff
+924 -924
View File
File diff suppressed because it is too large Load Diff
+946 -946
View File
File diff suppressed because it is too large Load Diff
+923 -923
View File
File diff suppressed because it is too large Load Diff
@@ -1,433 +1,433 @@
mse version: 0.3.8 mse version: 0.3.8
short name: Forum short name: Forum
full name: Spoiler Exporter full name: Spoiler Exporter
position hint: 006 position hint: 006
icon: icon.png icon: icon.png
version: 2010-06-06 version: 2010-06-06
installer group: magic/Export/forum installer group: magic/Export/forum
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2009-07-23 version: 2009-07-23
game: magic game: magic
file type: *.txt|*.txt|*.*|*.* file type: *.txt|*.txt|*.*|*.*
# By Pichoro # By Pichoro
# Based on code by Idle Muse, Innuendo and Seeonee # Based on code by Idle Muse, Innuendo and Seeonee
option field: option field:
type: choice type: choice
name: forum name: forum
choice: mse choice: mse
choice: mtgsalvation choice: mtgsalvation
description: What forum should the spoiler be formatted for? description: What forum should the spoiler be formatted for?
option field: option field:
type: boolean type: boolean
name: text costs name: text costs
initial: yes initial: yes
description: Should mana costs be plain text? Symbols usually can't be copied and pasted. description: Should mana costs be plain text? Symbols usually can't be copied and pasted.
option field: option field:
type: text type: text
name: creator name: creator
description: The creator of the set. description: The creator of the set.
option field: option field:
type: boolean type: boolean
name: include notes name: include notes
description: Should card notes be included? description: Should card notes be included?
initial: no initial: no
option field: option field:
type: boolean type: boolean
name: color rarities name: color rarities
description: Should rarities be colored? description: Should rarities be colored?
initial: yes initial: yes
script: script:
# Formats mana costs. MSE and mtgsally use same bbcode tags. # Formats mana costs. MSE and mtgsally use same bbcode tags.
mtgsally_mse_forum_cost := replace@(match:"2/W", replace:":sym2w:")+ mtgsally_mse_forum_cost := replace@(match:"2/W", replace:":sym2w:")+
replace@(match:"2/U", replace:":sym2u:")+ replace@(match:"2/U", replace:":sym2u:")+
replace@(match:"2/B", replace:":sym2b:")+ replace@(match:"2/B", replace:":sym2b:")+
replace@(match:"2/R", replace:":sym2r:")+ replace@(match:"2/R", replace:":sym2r:")+
replace@(match:"2/G", replace:":sym2g:")+ replace@(match:"2/G", replace:":sym2g:")+
replace@(match:"S", replace:":snow:")+ replace@(match:"S", replace:":snow:")+
replace@(match:"W/U", replace:":symwu:")+ replace@(match:"W/U", replace:":symwu:")+
replace@(match:"W/B", replace:":symwb:")+ replace@(match:"W/B", replace:":symwb:")+
replace@(match:"U/B", replace:":symub:")+ replace@(match:"U/B", replace:":symub:")+
replace@(match:"U/R", replace:":symur:")+ replace@(match:"U/R", replace:":symur:")+
replace@(match:"B/R", replace:":symbr:")+ replace@(match:"B/R", replace:":symbr:")+
replace@(match:"B/G", replace:":symbg:")+ replace@(match:"B/G", replace:":symbg:")+
replace@(match:"R/G", replace:":symrg:")+ replace@(match:"R/G", replace:":symrg:")+
replace@(match:"R/W", replace:":symrw:")+ replace@(match:"R/W", replace:":symrw:")+
replace@(match:"G/W", replace:":symgw:")+ replace@(match:"G/W", replace:":symgw:")+
replace@(match:"G/U", replace:":symgu:")+ replace@(match:"G/U", replace:":symgu:")+
replace@(match:"X", replace:":symx:")+ replace@(match:"X", replace:":symx:")+
replace@(match:"Y", replace:":symy:")+ replace@(match:"Y", replace:":symy:")+
replace@(match:"W", replace:":symw:")+ replace@(match:"W", replace:":symw:")+
replace@(match:"U", replace:":symu:")+ replace@(match:"U", replace:":symu:")+
replace@(match:"B", replace:":symb:")+ replace@(match:"B", replace:":symb:")+
replace@(match:"R", replace:":symr:")+ replace@(match:"R", replace:":symr:")+
replace@(match:"G", replace:":symg:")+ replace@(match:"G", replace:":symg:")+
replace@(match:"20", replace:":20mana:")+ replace@(match:"20", replace:":20mana:")+
replace@(match:"19", replace:":19mana:")+ replace@(match:"19", replace:":19mana:")+
replace@(match:"18", replace:":18mana:")+ replace@(match:"18", replace:":18mana:")+
replace@(match:"17", replace:":17mana:")+ replace@(match:"17", replace:":17mana:")+
replace@(match:"16", replace:":16mana:")+ replace@(match:"16", replace:":16mana:")+
replace@(match:"15", replace:":15mana:")+ replace@(match:"15", replace:":15mana:")+
replace@(match:"14", replace:":14mana:")+ replace@(match:"14", replace:":14mana:")+
replace@(match:"13", replace:":13mana:")+ replace@(match:"13", replace:":13mana:")+
replace@(match:"12", replace:":12mana:")+ replace@(match:"12", replace:":12mana:")+
replace@(match:"11", replace:":11mana:")+ replace@(match:"11", replace:":11mana:")+
replace@(match:"10", replace:":10mana:")+ replace@(match:"10", replace:":10mana:")+
replace@(match:"9", replace:":9mana:")+ replace@(match:"9", replace:":9mana:")+
replace@(match:"8", replace:":8mana:")+ replace@(match:"8", replace:":8mana:")+
replace@(match:"7", replace:":7mana:")+ replace@(match:"7", replace:":7mana:")+
replace@(match:"6", replace:":6mana:")+ replace@(match:"6", replace:":6mana:")+
replace@(match:"5", replace:":5mana:")+ replace@(match:"5", replace:":5mana:")+
replace@(match:"4", replace:":4mana:")+ replace@(match:"4", replace:":4mana:")+
replace@(match:"3", replace:":3mana:")+ replace@(match:"3", replace:":3mana:")+
replace@(match:"2", replace:":2mana:")+ replace@(match:"2", replace:":2mana:")+
replace@(match:"1", replace:":1mana:")+ replace@(match:"1", replace:":1mana:")+
replace@(match:"0", replace:":0mana:") replace@(match:"0", replace:":0mana:")
# Determine which style of colored rarities to use. # Determine which style of colored rarities to use.
rarity_color := { rarity_color := {
if options.forum == "mse" then rarity_color_mse() if options.forum == "mse" then rarity_color_mse()
else if options.forum == "mtgsalvation" then rarity_color_mtgs() else if options.forum == "mtgsalvation" then rarity_color_mtgs()
} }
# Colored rarity markers for MTGS forum. # Colored rarity markers for MTGS forum.
rarity_color_mtgs := { rarity_color_mtgs := {
if card.rarity == "basic land" then " (C)" if card.rarity == "basic land" then " (C)"
else if card.rarity == "common" then " (C)" else if card.rarity == "common" then " (C)"
else if card.rarity == "uncommon" then " [color=silver](U)[/color]" else if card.rarity == "uncommon" then " [color=silver](U)[/color]"
else if card.rarity == "rare" then " [color=gold](R)[/color]" else if card.rarity == "rare" then " [color=gold](R)[/color]"
else if card.rarity == "mythic rare" then " [color=orange](M)[/color]" else if card.rarity == "mythic rare" then " [color=orange](M)[/color]"
else if card.rarity == "special" then " [color=purple](S)[/color]" else if card.rarity == "special" then " [color=purple](S)[/color]"
else " (C)" else " (C)"
} }
# Colored rarity markers for MSE forum. # Colored rarity markers for MSE forum.
rarity_color_mse := { rarity_color_mse := {
if card.rarity == "basic land" then " :common:" if card.rarity == "basic land" then " :common:"
else if card.rarity == "common" then " :common:" else if card.rarity == "common" then " :common:"
else if card.rarity == "uncommon" then " :uncommon:" else if card.rarity == "uncommon" then " :uncommon:"
else if card.rarity == "rare" then " :rare:" else if card.rarity == "rare" then " :rare:"
else if card.rarity == "mythic rare" then " :mythic:" else if card.rarity == "mythic rare" then " :mythic:"
else if card.rarity == "special" then " :special:" else if card.rarity == "special" then " :special:"
else " :common:" else " :common:"
} }
# Non colored rarity markers. # Non colored rarity markers.
rarity_uncolor := { rarity_uncolor := {
if card.rarity == "basic land" then " (C)" if card.rarity == "basic land" then " (C)"
else if card.rarity == "common" then " (C)" else if card.rarity == "common" then " (C)"
else if card.rarity == "uncommon" then " (U)" else if card.rarity == "uncommon" then " (U)"
else if card.rarity == "rare" then " (R)" else if card.rarity == "rare" then " (R)"
else if card.rarity == "mythic rare" then " (M)" else if card.rarity == "mythic rare" then " (M)"
else if card.rarity == "special" then " (S)" else if card.rarity == "special" then " (S)"
else " (C)" else " (C)"
} }
# Formats rules text w/ only italic tags. # Formats rules text w/ only italic tags.
forum_rules_filter_plain := replace@(match:"[(]", replace:"[i](")+ forum_rules_filter_plain := replace@(match:"[(]", replace:"[i](")+
replace@(match:"[)]", replace: ")[/i]") replace@(match:"[)]", replace: ")[/i]")
# Formats rules text w/ mana symbols. MSE and mtgsally use same bbcode tags for mana. # Formats rules text w/ mana symbols. MSE and mtgsally use same bbcode tags for mana.
forum_rules_filter_mtgsally_mse := forum_rules_filter_mtgsally_mse :=
# Italics around parenthesis. # Italics around parenthesis.
replace@(match:"[(]", replace:"[i](")+ replace@(match:"[(]", replace:"[i](")+
replace@(match:"[)]", replace: ")[/i]")+ replace@(match:"[)]", replace: ")[/i]")+
# 2/C's don't appear in regular english, format them all. # 2/C's don't appear in regular english, format them all.
replace@(match:"2/W", replace:":sym2w:")+ replace@(match:"2/W", replace:":sym2w:")+
replace@(match:"2/U", replace:":sym2u:")+ replace@(match:"2/U", replace:":sym2u:")+
replace@(match:"2/B", replace:":sym2b:")+ replace@(match:"2/B", replace:":sym2b:")+
replace@(match:"2/R", replace:":sym2r:")+ replace@(match:"2/R", replace:":sym2r:")+
replace@(match:"2/G", replace:":sym2g:")+ replace@(match:"2/G", replace:":sym2g:")+
# C/D's don't appear in regular english, format them all. # C/D's don't appear in regular english, format them all.
replace@(match:"W/U", replace:":symwu:")+ replace@(match:"W/U", replace:":symwu:")+
replace@(match:"W/B", replace:":symwb:")+ replace@(match:"W/B", replace:":symwb:")+
replace@(match:"U/B", replace:":symub:")+ replace@(match:"U/B", replace:":symub:")+
replace@(match:"U/R", replace:":symur:")+ replace@(match:"U/R", replace:":symur:")+
replace@(match:"B/R", replace:":symbr:")+ replace@(match:"B/R", replace:":symbr:")+
replace@(match:"B/G", replace:":symbg:")+ replace@(match:"B/G", replace:":symbg:")+
replace@(match:"R/G", replace:":symrg:")+ replace@(match:"R/G", replace:":symrg:")+
replace@(match:"R/W", replace:":symrw:")+ replace@(match:"R/W", replace:":symrw:")+
replace@(match:"G/W", replace:":symgw:")+ replace@(match:"G/W", replace:":symgw:")+
replace@(match:"G/U", replace:":symgu:")+ replace@(match:"G/U", replace:":symgu:")+
# Various positions for taps, untaps and chaos symbols. # Various positions for taps, untaps and chaos symbols.
replace@(match:" T ", replace:" :symtap: ")+ replace@(match:" T ", replace:" :symtap: ")+
replace@(match:" Q ", replace:" :symq: ")+ replace@(match:" Q ", replace:" :symq: ")+
replace@(match:" C ", replace:" :symch: ")+ replace@(match:" C ", replace:" :symch: ")+
replace@(match:"T,", replace:":symtap:,")+ replace@(match:"T,", replace:":symtap:,")+
replace@(match:"Q,", replace:":symq:,")+ replace@(match:"Q,", replace:":symq:,")+
replace@(match:"C,", replace:":symch:,")+ replace@(match:"C,", replace:":symch:,")+
replace@(match:"T:", replace:":symtap::")+ replace@(match:"T:", replace:":symtap::")+
replace@(match:"Q:", replace:":symq::")+ replace@(match:"Q:", replace:":symq::")+
replace@(match:"C:", replace:":symch::")+ replace@(match:"C:", replace:":symch::")+
# Mana right before a space. # Mana right before a space.
replace@(match:"G ", replace:":symg: ")+ replace@(match:"G ", replace:":symg: ")+
replace@(match:"R ", replace:":symr: ")+ replace@(match:"R ", replace:":symr: ")+
replace@(match:"B ", replace:":symb: ")+ replace@(match:"B ", replace:":symb: ")+
replace@(match:"U ", replace:":symu: ")+ replace@(match:"U ", replace:":symu: ")+
replace@(match:"W ", replace:":symw: ")+ replace@(match:"W ", replace:":symw: ")+
replace@(match:"S ", replace:":snow: ")+ replace@(match:"S ", replace:":snow: ")+
# Mana right before a comma. # Mana right before a comma.
replace@(match:"G,", replace:":symg:,")+ replace@(match:"G,", replace:":symg:,")+
replace@(match:"R,", replace:":symr:,")+ replace@(match:"R,", replace:":symr:,")+
replace@(match:"B,", replace:":symb:,")+ replace@(match:"B,", replace:":symb:,")+
replace@(match:"U,", replace:":symu:,")+ replace@(match:"U,", replace:":symu:,")+
replace@(match:"W,", replace:":symw:,")+ replace@(match:"W,", replace:":symw:,")+
replace@(match:"S,", replace:":snow:,")+ replace@(match:"S,", replace:":snow:,")+
# Mana right before a colon. # Mana right before a colon.
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
# Drag rules text to search for more mana characters. Reverse color wheel order works better. Repeat several times. # Drag rules text to search for more mana characters. Reverse color wheel order works better. Repeat several times.
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
# Symbolize snow. # Symbolize snow.
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
# Symbolize numbers from 20-0 when before a comma. # Symbolize numbers from 20-0 when before a comma.
replace@(match:"20,", replace:":20mana:,")+ replace@(match:"20,", replace:":20mana:,")+
replace@(match:"19,", replace:":19mana:,")+ replace@(match:"19,", replace:":19mana:,")+
replace@(match:"18,", replace:":18mana:,")+ replace@(match:"18,", replace:":18mana:,")+
replace@(match:"17,", replace:":17mana:,")+ replace@(match:"17,", replace:":17mana:,")+
replace@(match:"16,", replace:":16mana:,")+ replace@(match:"16,", replace:":16mana:,")+
replace@(match:"15,", replace:":15mana:,")+ replace@(match:"15,", replace:":15mana:,")+
replace@(match:"14,", replace:":14mana:,")+ replace@(match:"14,", replace:":14mana:,")+
replace@(match:"13,", replace:":13mana:,")+ replace@(match:"13,", replace:":13mana:,")+
replace@(match:"12,", replace:":12mana:,")+ replace@(match:"12,", replace:":12mana:,")+
replace@(match:"11,", replace:":11mana:,")+ replace@(match:"11,", replace:":11mana:,")+
replace@(match:"10,", replace:":10mana:,")+ replace@(match:"10,", replace:":10mana:,")+
replace@(match:"9,", replace:":9mana:,")+ replace@(match:"9,", replace:":9mana:,")+
replace@(match:"8,", replace:":8mana:,")+ replace@(match:"8,", replace:":8mana:,")+
replace@(match:"7,", replace:":7mana:,")+ replace@(match:"7,", replace:":7mana:,")+
replace@(match:"6,", replace:":6mana:,")+ replace@(match:"6,", replace:":6mana:,")+
replace@(match:"5,", replace:":5mana:,")+ replace@(match:"5,", replace:":5mana:,")+
replace@(match:"4,", replace:":4mana:,")+ replace@(match:"4,", replace:":4mana:,")+
replace@(match:"3,", replace:":3mana:,")+ replace@(match:"3,", replace:":3mana:,")+
replace@(match:"2,", replace:":2mana:,")+ replace@(match:"2,", replace:":2mana:,")+
replace@(match:"1,", replace:":1mana:,")+ replace@(match:"1,", replace:":1mana:,")+
replace@(match:"0,", replace:":0mana:,")+ replace@(match:"0,", replace:":0mana:,")+
# Symbolize numbers from 20-0 when before another symbol or a colon. # Symbolize numbers from 20-0 when before another symbol or a colon.
replace@(match:"20:", replace:":20mana::")+ replace@(match:"20:", replace:":20mana::")+
replace@(match:"19:", replace:":19mana::")+ replace@(match:"19:", replace:":19mana::")+
replace@(match:"18:", replace:":18mana::")+ replace@(match:"18:", replace:":18mana::")+
replace@(match:"17:", replace:":17mana::")+ replace@(match:"17:", replace:":17mana::")+
replace@(match:"16:", replace:":16mana::")+ replace@(match:"16:", replace:":16mana::")+
replace@(match:"15:", replace:":15mana::")+ replace@(match:"15:", replace:":15mana::")+
replace@(match:"14:", replace:":14mana::")+ replace@(match:"14:", replace:":14mana::")+
replace@(match:"13:", replace:":13mana::")+ replace@(match:"13:", replace:":13mana::")+
replace@(match:"12:", replace:":12mana::")+ replace@(match:"12:", replace:":12mana::")+
replace@(match:"11:", replace:":11mana::")+ replace@(match:"11:", replace:":11mana::")+
replace@(match:"10:", replace:":10mana::")+ replace@(match:"10:", replace:":10mana::")+
replace@(match:"9:", replace:":9mana::")+ replace@(match:"9:", replace:":9mana::")+
replace@(match:"8:", replace:":8mana::")+ replace@(match:"8:", replace:":8mana::")+
replace@(match:"7:", replace:":7mana::")+ replace@(match:"7:", replace:":7mana::")+
replace@(match:"6:", replace:":6mana::")+ replace@(match:"6:", replace:":6mana::")+
replace@(match:"5:", replace:":5mana::")+ replace@(match:"5:", replace:":5mana::")+
replace@(match:"4:", replace:":4mana::")+ replace@(match:"4:", replace:":4mana::")+
replace@(match:"3:", replace:":3mana::")+ replace@(match:"3:", replace:":3mana::")+
replace@(match:"2:", replace:":2mana::")+ replace@(match:"2:", replace:":2mana::")+
replace@(match:"1:", replace:":1mana::")+ replace@(match:"1:", replace:":1mana::")+
replace@(match:"0:", replace:":0mana::")+ replace@(match:"0:", replace:":0mana::")+
# Symbolize X and Y when before a comma. # Symbolize X and Y when before a comma.
replace@(match:"Y,", replace:":symy:,")+ replace@(match:"Y,", replace:":symy:,")+
replace@(match:"X,", replace:":symx:,")+ replace@(match:"X,", replace:":symx:,")+
# Symbolize X and Y when before another symbol or a colon. # Symbolize X and Y when before another symbol or a colon.
replace@(match:"Y:", replace:":symy::")+ replace@(match:"Y:", replace:":symy::")+
replace@(match:"X:", replace:":symx::") replace@(match:"X:", replace:":symx::")
# Count the number of paragraphs to detect number of walker abilities. # Count the number of paragraphs to detect number of walker abilities.
paragraph_count := replace@(match:"\n", replace:"•")+ paragraph_count := replace@(match:"\n", replace:"•")+
filter_text@(match:"•") filter_text@(match:"•")
write_normal := { write_normal := {
# The Name and Casting Cost # The Name and Casting Cost
"\n[b]"+card.name+"[/b] " "\n[b]"+card.name+"[/b] "
+(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost)) +(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost))
+(if options.text_costs then card.casting_cost) +(if options.text_costs then card.casting_cost)
# The Type and Rarity # The Type and Rarity
+"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor()) +"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor())
# The Rules Text # The Rules Text
+(if card.rule_text != "" then "\n") +(if card.rule_text != "" then "\n")
+(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text))) +(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text)))
+(if options.text_costs then forum_rules_filter_plain(card.rule_text)) +(if options.text_costs then forum_rules_filter_plain(card.rule_text))
# The Flavor Text # The Flavor Text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]")
+card.flavor_text +card.flavor_text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]")
# The P/T # The P/T
+(if contains(card.type, match:"Creature") then "\n") +(if contains(card.type, match:"Creature") then "\n")
+(if contains(card.type, match:"Creature") then card.pt) +(if contains(card.type, match:"Creature") then card.pt)
# The Notes # The Notes
+(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ") +(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ")
+(if options.include_notes and card.notes !="" then card.notes) +(if options.include_notes and card.notes !="" then card.notes)
+(if options.include_notes and card.notes !="" then "[/spoiler]") +(if options.include_notes and card.notes !="" then "[/spoiler]")
+"\n" +"\n"
} }
write_split := { write_split := {
# The Name and Casting Cost # The Name and Casting Cost
"\n[b]"+card.name+"[/b] " "\n[b]"+card.name+"[/b] "
+(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost)) +(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost))
+(if options.text_costs then card.casting_cost) +(if options.text_costs then card.casting_cost)
# The Type and Rarity # The Type and Rarity
+"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor()) +"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor())
# The Rules Text # The Rules Text
+(if card.rule_text != "" then "\n") +(if card.rule_text != "" then "\n")
+(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text))) +(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text)))
+(if options.text_costs then forum_rules_filter_plain(card.rule_text)) +(if options.text_costs then forum_rules_filter_plain(card.rule_text))
# The Flavor Text # The Flavor Text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]")
+card.flavor_text +card.flavor_text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]")
# The P/T # The P/T
+(if contains(card.type, match:"Creature") then "\n") +(if contains(card.type, match:"Creature") then "\n")
+(if contains(card.type, match:"Creature") then card.pt) +(if contains(card.type, match:"Creature") then card.pt)
+"\n /// " +"\n /// "
# The Second Name and Casting Cost # The Second Name and Casting Cost
+"\n[b]"+card.name_2+"[/b] " +"\n[b]"+card.name_2+"[/b] "
+(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost_2)) +(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost_2))
+(if options.text_costs then card.casting_cost_2) +(if options.text_costs then card.casting_cost_2)
# The Second Type and Rarity # The Second Type and Rarity
+"\n"+card.type_2+(if options.color_rarities then rarity_color() else rarity_uncolor()) +"\n"+card.type_2+(if options.color_rarities then rarity_color() else rarity_uncolor())
# The Second Rules Text # The Second Rules Text
+(if card.rule_text_2 != "" then "\n") +(if card.rule_text_2 != "" then "\n")
+(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text_2))) +(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text_2)))
+(if options.text_costs then forum_rules_filter_plain(card.rule_text_2)) +(if options.text_costs then forum_rules_filter_plain(card.rule_text_2))
# The Second Flavor Text # The Second Flavor Text
+(if card.flavor_text_2 != "<i-flavor></i-flavor>" then "\n[i]") +(if card.flavor_text_2 != "<i-flavor></i-flavor>" then "\n[i]")
+card.flavor_text_2 +card.flavor_text_2
+(if card.flavor_text_2 != "<i-flavor></i-flavor>" then "[/i]") +(if card.flavor_text_2 != "<i-flavor></i-flavor>" then "[/i]")
# The Second P/T # The Second P/T
+(if contains(card.type_2, match:"Creature") then "\n") +(if contains(card.type_2, match:"Creature") then "\n")
+(if contains(card.type_2, match:"Creature") then card.pt_2) +(if contains(card.type_2, match:"Creature") then card.pt_2)
# The Notes # The Notes
+(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ") +(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ")
+(if options.include_notes and card.notes !="" then card.notes) +(if options.include_notes and card.notes !="" then card.notes)
+(if options.include_notes and card.notes !="" then "[/spoiler]") +(if options.include_notes and card.notes !="" then "[/spoiler]")
+"\n" +"\n"
} }
write_flip := { write_flip := {
# The Name and Casting Cost # The Name and Casting Cost
"\n[b]"+card.name+"[/b] " "\n[b]"+card.name+"[/b] "
+(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost)) +(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost))
+(if options.text_costs then card.casting_cost) +(if options.text_costs then card.casting_cost)
# The Type and Rarity # The Type and Rarity
+"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor()) +"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor())
# The Rules Text # The Rules Text
+(if card.rule_text != "" then "\n") +(if card.rule_text != "" then "\n")
+(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text))) +(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text)))
+(if options.text_costs then forum_rules_filter_plain(card.rule_text)) +(if options.text_costs then forum_rules_filter_plain(card.rule_text))
# The Flavor Text # The Flavor Text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]")
+card.flavor_text +card.flavor_text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]")
# The P/T # The P/T
+(if contains(card.type, match:"Creature") then "\n") +(if contains(card.type, match:"Creature") then "\n")
+(if contains(card.type, match:"Creature") then card.pt) +(if contains(card.type, match:"Creature") then card.pt)
+"\n ---Flip--- " +"\n ---Flip--- "
# The Flip Name and Casting Cost # The Flip Name and Casting Cost
+"\n[b]"+card.name_2+"[/b] " +"\n[b]"+card.name_2+"[/b] "
+(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost_2)) +(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost_2))
+(if options.text_costs then card.casting_cost_2) +(if options.text_costs then card.casting_cost_2)
# The Flip Rules Text # The Flip Rules Text
+(if card.rule_text_2 != "" then "\n") +(if card.rule_text_2 != "" then "\n")
+(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text_2))) +(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text_2)))
+(if options.text_costs then forum_rules_filter_plain(card.rule_text_2)) +(if options.text_costs then forum_rules_filter_plain(card.rule_text_2))
# The Flip Flavor Text # The Flip Flavor Text
+(if card.flavor_text_2 != "<i-flavor></i-flavor>" then "\n[i]") +(if card.flavor_text_2 != "<i-flavor></i-flavor>" then "\n[i]")
+card.flavor_text_2 +card.flavor_text_2
+(if card.flavor_text_2 != "<i-flavor></i-flavor>" then "[/i]") +(if card.flavor_text_2 != "<i-flavor></i-flavor>" then "[/i]")
# The Flip P/T # The Flip P/T
+(if contains(card.type_2, match:"Creature") then "\n") +(if contains(card.type_2, match:"Creature") then "\n")
+(if contains(card.type_2, match:"Creature") then card.pt_2) +(if contains(card.type_2, match:"Creature") then card.pt_2)
# The Notes # The Notes
+(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ") +(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ")
+(if options.include_notes and card.notes !="" then card.notes) +(if options.include_notes and card.notes !="" then card.notes)
+(if options.include_notes and card.notes !="" then "[/spoiler]") +(if options.include_notes and card.notes !="" then "[/spoiler]")
+"\n" +"\n"
} }
write_walker := { write_walker := {
# The Name and Casting Cost # The Name and Casting Cost
"\n[b]"+card.name+"[/b] " "\n[b]"+card.name+"[/b] "
+(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost)) +(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost))
+(if options.text_costs then card.casting_cost) +(if options.text_costs then card.casting_cost)
# The Type and Rarity # The Type and Rarity
+"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor()) +"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor())
# The Starting Loyalty # The Starting Loyalty
+"\nStarting Loyalty: "+card.loyalty +"\nStarting Loyalty: "+card.loyalty
# The First Ability # The First Ability
+"\n"+card.loyalty_cost_1 +"\n"+card.loyalty_cost_1
+(if card.loyalty_cost_1 !="" then ": ") +(if card.loyalty_cost_1 !="" then ": ")
+forum_rules_filter_plain(split_text(match:"\n", card.rule_text).0) +forum_rules_filter_plain(split_text(match:"\n", card.rule_text).0)
# The Second Ability # The Second Ability
+(if contains(paragraph_count(card.rule_text), match:"•") then "\n") +(if contains(paragraph_count(card.rule_text), match:"•") then "\n")
+card.loyalty_cost_2 +card.loyalty_cost_2
+(if card.loyalty_cost_2 !="" then ": ") +(if card.loyalty_cost_2 !="" then ": ")
+(if contains(paragraph_count(card.rule_text), match:"•") then forum_rules_filter_plain(split_text(match:"\n", card.rule_text).1)) +(if contains(paragraph_count(card.rule_text), match:"•") then forum_rules_filter_plain(split_text(match:"\n", card.rule_text).1))
# The Third Ability # The Third Ability
+(if contains(paragraph_count(card.rule_text), match:"••") then "\n") +(if contains(paragraph_count(card.rule_text), match:"••") then "\n")
+card.loyalty_cost_3 +card.loyalty_cost_3
+(if card.loyalty_cost_3 !="" then ": ") +(if card.loyalty_cost_3 !="" then ": ")
+(if contains(paragraph_count(card.rule_text), match:"••") then forum_rules_filter_plain(split_text(match:"\n", card.rule_text).2)) +(if contains(paragraph_count(card.rule_text), match:"••") then forum_rules_filter_plain(split_text(match:"\n", card.rule_text).2))
# The Fourth Ability # The Fourth Ability
+(if contains(paragraph_count(card.rule_text), match:"•••") then "\n") +(if contains(paragraph_count(card.rule_text), match:"•••") then "\n")
+card.loyalty_cost_4 +card.loyalty_cost_4
+(if card.loyalty_cost_4 !="" then ": ") +(if card.loyalty_cost_4 !="" then ": ")
+(if contains(paragraph_count(card.rule_text), match:"•••") then forum_rules_filter_plain(split_text(match:"\n", card.rule_text).3)) +(if contains(paragraph_count(card.rule_text), match:"•••") then forum_rules_filter_plain(split_text(match:"\n", card.rule_text).3))
# The Flavor Text # The Flavor Text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]")
+card.flavor_text +card.flavor_text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]")
# The Notes # The Notes
+(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ") +(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ")
+(if options.include_notes and card.notes !="" then card.notes) +(if options.include_notes and card.notes !="" then card.notes)
+(if options.include_notes and card.notes !="" then "[/spoiler]") +(if options.include_notes and card.notes !="" then "[/spoiler]")
+"\n" +"\n"
} }
write_leveler := { write_leveler := {
# The Name and Casting Cost # The Name and Casting Cost
"\n[b]"+card.name+"[/b] " "\n[b]"+card.name+"[/b] "
+(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost)) +(if not options.text_costs then mtgsally_mse_forum_cost(card.casting_cost))
+(if options.text_costs then card.casting_cost) +(if options.text_costs then card.casting_cost)
# The Type and Rarity # The Type and Rarity
+"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor()) +"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor())
# The First Textbox # The First Textbox
+"\n"+forum_rules_filter_plain(card.rule_text) +"\n"+forum_rules_filter_plain(card.rule_text)
+(if card.pt !="" then " (")+card.pt+")" +(if card.pt !="" then " (")+card.pt+")"
# The Second Textbox # The Second Textbox
+"\n[LEVEL "+card.level_1+"]: " +"\n[LEVEL "+card.level_1+"]: "
+forum_rules_filter_plain(card.rule_text_2) +forum_rules_filter_plain(card.rule_text_2)
+(if card.pt_2 !="" then " (")+card.pt_2+")" +(if card.pt_2 !="" then " (")+card.pt_2+")"
# The Third Textbox # The Third Textbox
+"\n"+(if card.level_2 !="" then "[LEVEL "+card.level_2+"]: ") +"\n"+(if card.level_2 !="" then "[LEVEL "+card.level_2+"]: ")
+forum_rules_filter_plain(card.rule_text_3) +forum_rules_filter_plain(card.rule_text_3)
+(if card.pt_3 !="" then " (")+card.pt_3+")" +(if card.pt_3 !="" then " (")+card.pt_3+")"
# The Flavor Text # The Flavor Text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]")
+card.flavor_text +card.flavor_text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]")
# The Notes # The Notes
+(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ") +(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ")
+(if options.include_notes and card.notes !="" then card.notes) +(if options.include_notes and card.notes !="" then card.notes)
+(if options.include_notes and card.notes !="" then "[/spoiler]") +(if options.include_notes and card.notes !="" then "[/spoiler]")
+"\n" +"\n"
} }
write_card := { if contains(card.shape, match:"token") or contains(card.shape, match:"rulestip") then "" write_card := { if contains(card.shape, match:"token") or contains(card.shape, match:"rulestip") then ""
else if contains(card.shape, match:"split") then write_split() else if contains(card.shape, match:"split") then write_split()
else if card.name_2 != "" then write_flip() else if card.name_2 != "" then write_flip()
else if card.loyalty != "" then write_walker() else if card.loyalty != "" then write_walker()
else if contains(card.shape, match:"leveler") then write_leveler() else if contains(card.shape, match:"leveler") then write_leveler()
else write_normal() else write_normal()
} }
write_cards := to_text(for each card in sort_list(cards, order_by: {input.card_number}) do write_card()) write_cards := to_text(for each card in sort_list(cards, order_by: {input.card_number}) do write_card())
to_string("Full Spoiler List for "+set.title+"\nSet by "+options.creator+"\n"+set.description+"\n"+write_cards) to_string("Full Spoiler List for "+set.title+"\nSet by "+options.creator+"\n"+set.description+"\n"+write_cards)
+382 -382
View File
@@ -1,382 +1,382 @@
mse version: 0.3.8 mse version: 0.3.8
game: magic game: magic
short name: Modern Clear short name: Modern Clear
full name: After 8th edition Clear full name: After 8th edition Clear
icon: card-sample.png icon: card-sample.png
position hint: 009 position hint: 009
installer group: magic/new style/normal cards/Clear installer group: magic/new style/normal cards/Clear
version: 2010-04-01 version: 2010-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2008-06-02 version: 2008-06-02
depends on: depends on:
package: magic-watermarks.mse-include package: magic-watermarks.mse-include
version: 2007-09-23 version: 2007-09-23
depends on: depends on:
package: magic-mana-large.mse-symbol-font package: magic-mana-large.mse-symbol-font
version: 2007-09-23 version: 2007-09-23
depends on: depends on:
package: magic-mana-small.mse-symbol-font package: magic-mana-small.mse-symbol-font
version: 2007-09-23 version: 2007-09-23
depends on: depends on:
package: magic-future-common.mse-include package: magic-future-common.mse-include
version: 2007-09-23 version: 2007-09-23
card width: 375 card width: 375
card height: 523 card height: 523
card dpi: 150 card dpi: 150
############################################################## Extra scripts ############################################################## Extra scripts
init script: init script:
# Use the normal tap symbol # Use the normal tap symbol
mana_t := { mana_t := {
if styling.tap_symbol == "old" then "old" if styling.tap_symbol == "old" then "old"
else if styling.tap_symbol == "diagonal T" then "older" else if styling.tap_symbol == "diagonal T" then "older"
else "new" else "new"
} }
# Use guild mana symbols? # Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols } guild_mana := { styling.use_guild_mana_symbols }
frame_alpha := { if styling.frame_opacity == "" then 0.75 frame_alpha := { if styling.frame_opacity == "" then 0.75
else if styling.frame_opacity < 0 then 0 else if styling.frame_opacity < 0 then 0
else if styling.frame_opacity > 100 then 1 else if styling.frame_opacity > 100 then 1
else styling.frame_opacity / 100 else styling.frame_opacity / 100
} }
############################################################## Set info fields ############################################################## Set info fields
set info style: set info style:
symbol: symbol:
variation: variation:
name: invertedcommon name: invertedcommon
border radius: 0.10 border radius: 0.10
fill type: solid fill type: solid
fill color: rgb(255,255,255) fill color: rgb(255,255,255)
border color: rgb(0,0,0) border color: rgb(0,0,0)
############################################################## Extra style options ############################################################## Extra style options
styling field: styling field:
type: boolean type: boolean
name: use guild mana symbols name: use guild mana symbols
description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana.
initial: no initial: no
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap and untap symbols should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
choice: diagonal T choice: diagonal T
styling field: styling field:
type: package choice type: package choice
name: text box mana symbols name: text box mana symbols
match: magic-mana-*.mse-symbol-font match: magic-mana-*.mse-symbol-font
initial: magic-mana-small.mse-symbol-font initial: magic-mana-small.mse-symbol-font
styling field: styling field:
type: choice type: choice
name: center text name: center text
description: When to center text (short text only means only on one-line cards with no flavor text) description: When to center text (short text only means only on one-line cards with no flavor text)
choice: always choice: always
choice: short text only choice: short text only
choice: never choice: never
initial: never initial: never
styling field: styling field:
type: boolean type: boolean
name: inverted common symbol name: inverted common symbol
description: Should the common rarity symbol be inverted, like in Coldsnap? description: Should the common rarity symbol be inverted, like in Coldsnap?
initial: no initial: no
styling field: styling field:
type: package choice type: package choice
name: overlay name: overlay
description: Should there be an overlay applied, such as foil? description: Should there be an overlay applied, such as foil?
match: magic-overlay-*.mse-include match: magic-overlay-*.mse-include
required: false required: false
styling field: styling field:
type: text type: text
name: frame opacity name: frame opacity
description: The opacity of the frame. 100 is no transparency, 0 is completely transparent. Default is 75. description: The opacity of the frame. 100 is no transparency, 0 is completely transparent. Default is 75.
styling field: styling field:
type: boolean type: boolean
name: border visible name: border visible
description: Should the card border be visible? description: Should the card border be visible?
initial: yes initial: yes
styling field: styling field:
type: choice type: choice
name: artist font color name: artist font color
description: Should the artist font color be black or white? description: Should the artist font color be black or white?
initial: black initial: black
choice: black choice: black
choice: white choice: white
styling style: styling style:
use guild mana symbols: use guild mana symbols:
choice images: choice images:
yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png
no: /magic-mana-small.mse-symbol-font/mana_rg.png no: /magic-mana-small.mse-symbol-font/mana_rg.png
tap symbol: tap symbol:
render style: both render style: both
choice images: choice images:
modern: /magic-mana-large.mse-symbol-font/mana_t.png modern: /magic-mana-large.mse-symbol-font/mana_t.png
old: /magic-mana-large.mse-symbol-font/mana_t_old.png old: /magic-mana-large.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png
center text: center text:
render style: both render style: both
choice images: choice images:
always: /magic.mse-game/icons/center-all-text.png always: /magic.mse-game/icons/center-all-text.png
short text only: /magic.mse-game/icons/center-short-text.png short text only: /magic.mse-game/icons/center-short-text.png
never: /magic.mse-game/icons/center-no-text.png never: /magic.mse-game/icons/center-no-text.png
inverted common symbol: inverted common symbol:
choice images: choice images:
no: { symbol_variation(symbol: set.symbol, variation: "common") } no: { symbol_variation(symbol: set.symbol, variation: "common") }
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
############################################################## Card fields ############################################################## Card fields
card style: card style:
############################# Background stuff ############################# Background stuff
border color: border color:
left: 0 left: 0
top : 0 top : 0
width: 375 width: 375
height: 523 height: 523
radius: 18 radius: 18
left width: 17 left width: 17
right width: 17 right width: 17
top width: 17 top width: 17
bottom width: 18 bottom width: 18
z index: 5 z index: 5
visible: {styling.border_visible} visible: {styling.border_visible}
mask: border_mask.png mask: border_mask.png
############################# Name line ############################# Name line
name: name:
left: { if card.card_symbol=="none" then 33 else 51 } left: { if card.card_symbol=="none" then 33 else 51 }
top : 30 top : 30
right: { 341 - card_style.casting_cost.content_width } right: { 341 - card_style.casting_cost.content_width }
height: 23 height: 23
alignment: bottom shrink-overflow alignment: bottom shrink-overflow
padding bottom: 0 padding bottom: 0
z index: 2 z index: 2
font: font:
name: Matrix name: Matrix
size: 17 size: 17
weight: bold weight: bold
color: black color: black
casting cost: casting cost:
right: 343 right: 343
top : 31 top : 31
width: { max(30, card_style.casting_cost.content_width) + 5 } width: { max(30, card_style.casting_cost.content_width) + 5 }
height: 23 height: 23
alignment: middle right alignment: middle right
font: font:
name: MPlantin name: MPlantin
size: 15 size: 15
symbol font: symbol font:
name: magic-mana-large name: magic-mana-large
size: 15 size: 15
alignment: middle right alignment: middle right
always symbol: true always symbol: true
z index: 3 z index: 3
padding top: 0 padding top: 0
card symbol: card symbol:
left: {if card.card_symbol=="none" then 20 else 32} left: {if card.card_symbol=="none" then 20 else 32}
top : 31 top : 31
height: 20 height: 20
width: 14 width: 14
z index: 3 z index: 3
render style: image render style: image
choice images: choice images:
tombstone: tombstone.png tombstone: tombstone.png
############################# Image ############################# Image
image: image:
left: { if styling.border_visible then 19 else 0 } left: { if styling.border_visible then 19 else 0 }
top: { if styling.border_visible then 19 else 0 } top: { if styling.border_visible then 19 else 0 }
width: { if styling.border_visible then 337 else 375 } width: { if styling.border_visible then 337 else 375 }
height: { if styling.border_visible then 485 else 523 } height: { if styling.border_visible then 485 else 523 }
z index: 0 z index: 0
mask: { if not styling.border_visible then "image_mask.png" else nil } mask: { if not styling.border_visible then "image_mask.png" else nil }
############################# Card type ############################# Card type
type: type:
left: 36 left: 36
top : 296 top : 296
width: { 307 - max(22,card_style.rarity.content_width) } width: { 307 - max(22,card_style.rarity.content_width) }
height: 20 height: 20
alignment: top shrink-overflow alignment: top shrink-overflow
z index: 2 z index: 2
padding top: 2 padding top: 2
font: font:
name: Matrix name: Matrix
size: 14 size: 14
color: black color: black
separator color: rgb(128,128,128) separator color: rgb(128,128,128)
rarity: rarity:
right: 342 right: 342
top : 296 top : 296
width: 44 width: 44
height: 22 height: 22
z index: 3 z index: 3
render style: image render style: image
alignment: middle right alignment: middle right
choice images: choice images:
# Images based on the set symbol # Images based on the set symbol
basic land: basic land:
script: script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common") else symbol_variation(symbol: set.symbol, variation: "common")
common: common:
script: script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common") else symbol_variation(symbol: set.symbol, variation: "common")
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
rare: script: symbol_variation(symbol: set.symbol, variation: "rare") rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
special: script: symbol_variation(symbol: set.symbol, variation: "special") special: script: symbol_variation(symbol: set.symbol, variation: "special")
############################# Text box ############################# Text box
text: text:
left: 31 left: 31
top : 328 top : 328
width: 311 width: 311
height: 142 height: 142
font: font:
name: MPlantin name: MPlantin
italic name: MPlantin-Italic italic name: MPlantin-Italic
size: 14 size: 14
scale down to: 6 scale down to: 6
color: black color: black
symbol font: symbol font:
name: { styling.text_box_mana_symbols } name: { styling.text_box_mana_symbols }
size: 14 size: 14
alignment: alignment:
script: script:
if (styling.center_text == "short text only" and if (styling.center_text == "short text only" and
not contains(match:"\n", card.rule_text) and not contains(match:"\n", card.rule_text) and
card.flavor_text == "<i-flavor></i-flavor>" and card.flavor_text == "<i-flavor></i-flavor>" and
card_style.text.content_lines <= 2) or card_style.text.content_lines <= 2) or
styling.center_text == "always" styling.center_text == "always"
then "middle center" then "middle center"
else "middle left" else "middle left"
z index: 3 z index: 3
padding left: 6 padding left: 6
padding right: 4 padding right: 4
line height hard: 1.2 line height hard: 1.2
line height line: 1.5 line height line: 1.5
line height soft: 0.9 line height soft: 0.9
line height hard max: 1.3 line height hard max: 1.3
line height line max: 1.6 line height line max: 1.6
watermark: watermark:
left: 117 left: 117
top : 321 top : 321
width: 138 width: 138
height: 156 height: 156
z index: 2 z index: 2
render style: image render style: image
alignment: middle center alignment: middle center
include file: /magic-watermarks.mse-include/watermarks include file: /magic-watermarks.mse-include/watermarks
############################# PT ############################# PT
pt: pt:
z index: 3 z index: 3
left: 284 left: 284
top: 465 top: 465
width: 60 width: 60
height: 28 height: 28
alignment: center middle shrink-overflow alignment: center middle shrink-overflow
font: font:
name: ModMatrix name: ModMatrix
size: 17 size: 17
weight: bold weight: bold
color: black color: black
separator color: rgb(200,0,0) separator color: rgb(200,0,0)
############################# Card sorting / numbering ############################# Card sorting / numbering
############################# Copyright stuff ############################# Copyright stuff
illustrator: illustrator:
left: 56 left: 56
top : 477 top : 477
width: 217 width: 217
height: 16 height: 16
z index: 2 z index: 2
font: font:
name: Matrix name: Matrix
size: 10 size: 10
weight: bold weight: bold
color: { styling.artist_font_color } color: { styling.artist_font_color }
copyright line: copyright line:
left: 30 left: 30
top : 492 top : 492
width: 247 width: 247
height: 12 height: 12
z index: 2 z index: 2
font: font:
name: MPlantin name: MPlantin
size: 6.5 size: 6.5
color: { styling.artist_font_color } color: { styling.artist_font_color }
############################################################## Extra card fields ############################################################## Extra card fields
extra card field: extra card field:
type: choice type: choice
name: frame name: frame
script: "frame" script: "frame"
editable: false editable: false
save value: false save value: false
extra card field: extra card field:
type: choice type: choice
name: pt box name: pt box
script: "pt" script: "pt"
editable: false editable: false
save value: false save value: false
extra card field: extra card field:
type: choice type: choice
name: foil layer name: foil layer
choice: foil choice: foil
save value: false save value: false
editable: false editable: false
extra card field: extra card field:
type: choice type: choice
name: paintbrush name: paintbrush
script: styling.artist_font_color script: styling.artist_font_color
save value: false save value: false
editable: false editable: false
extra card field: extra card field:
type: choice type: choice
name: image liner name: image liner
script: "image" script: "image"
save value: false save value: false
editable: false editable: false
extra card style: extra card style:
frame: frame:
left: 0 left: 0
top: 0 top: 0
width: 375 width: 375
height: 523 height: 523
z index: 1 z index: 1
render style: image render style: image
image: { set_alpha("frame.png", alpha: frame_alpha()) } image: { set_alpha("frame.png", alpha: frame_alpha()) }
pt box: pt box:
left: 0 left: 0
top: 3 top: 3
width: 375 width: 375
height: 520 height: 520
z index: 2 z index: 2
visible: { card.pt != "" } visible: { card.pt != "" }
render style: image render style: image
image: pt_box.png image: pt_box.png
foil layer: foil layer:
left: 0 left: 0
top : 0 top : 0
width: 375 width: 375
height: 523 height: 523
z index: 4 z index: 4
render style: image render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
paintbrush: paintbrush:
left: 27 left: 27
top : 481 top : 481
width: 27 width: 27
height: 11 height: 11
z index: 2 z index: 2
render style: image render style: image
choice images: choice images:
black: /magic-future-common.mse-include/paintbrush_black.png black: /magic-future-common.mse-include/paintbrush_black.png
white: /magic-future-common.mse-include/paintbrush_white.png white: /magic-future-common.mse-include/paintbrush_white.png
image liner: image liner:
left: 0 left: 0
top: 0 top: 0
width: 375 width: 375
height: 523 height: 523
z index: 2 z index: 2
render style: image render style: image
image: imageborder.png image: imageborder.png
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+446 -446
View File
@@ -1,446 +1,446 @@
mse version: 0.3.8 mse version: 0.3.8
game: magic game: magic
short name: Clear Tokens short name: Clear Tokens
full name: Modern Clear full name: Modern Clear
installer group: magic/new style/tokens/clear style installer group: magic/new style/tokens/clear style
icon: card-sample.png icon: card-sample.png
position hint: 009 position hint: 009
version: 2010-04-01 version: 2010-04-01
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2008-06-02 version: 2008-06-02
depends on: depends on:
package: magic-future-common.mse-include package: magic-future-common.mse-include
version: 2007-09-23 version: 2007-09-23
depends on: depends on:
package: magic-mana-small.mse-symbol-font package: magic-mana-small.mse-symbol-font
version: 2007-09-23 version: 2007-09-23
depends on: depends on:
package: magic-embossedletters.mse-symbol-font package: magic-embossedletters.mse-symbol-font
version: 2007-09-23 version: 2007-09-23
card width: 375 card width: 375
card height: 523 card height: 523
card dpi: 150 card dpi: 150
# By Pichoro # By Pichoro
############################################################## Extra scripts ############################################################## Extra scripts
init script: init script:
# What should the textbox look like? # What should the textbox look like?
text_shape := { text_shape := {
if card.rule_text == "" if card.rule_text == ""
and card.flavor_text == "<i-flavor></i-flavor>" then "0" # no textbox and card.flavor_text == "<i-flavor></i-flavor>" then "0" # no textbox
else if styling.one_textline_tokens else if styling.one_textline_tokens
and card_style.text.content_lines == 2 and card_style.text.content_lines == 2
and card.flavor_text == "<i-flavor></i-flavor>" then "1" # small textbox and card.flavor_text == "<i-flavor></i-flavor>" then "1" # small textbox
else "2" # large textbox else "2" # large textbox
} }
# Use the normal tap symbol # Use the normal tap symbol
mana_t := { mana_t := {
if styling.tap_symbol == "old" then "old" if styling.tap_symbol == "old" then "old"
else if styling.tap_symbol == "diagonal T" then "older" else if styling.tap_symbol == "diagonal T" then "older"
else "new" else "new"
} }
# Use guild mana symbols? # Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols } guild_mana := { styling.use_guild_mana_symbols }
# AE replacement shouldn't happen in the title, or else MSE compresses the symbol # AE replacement shouldn't happen in the title, or else MSE compresses the symbol
name_filter := { input } name_filter := { input }
card_shape := { "token" } card_shape := { "token" }
frame_alpha := { if styling.frame_opacity == "" then 0.75 frame_alpha := { if styling.frame_opacity == "" then 0.75
else if styling.frame_opacity < 0 then 0 else if styling.frame_opacity < 0 then 0
else if styling.frame_opacity > 100 then 1 else if styling.frame_opacity > 100 then 1
else styling.frame_opacity / 100 else styling.frame_opacity / 100
} }
############################################################## Set info fields ############################################################## Set info fields
set info style: set info style:
symbol: symbol:
variation: variation:
name: invertedcommon name: invertedcommon
border radius: 0.10 border radius: 0.10
fill type: solid fill type: solid
fill color: rgb(255,255,255) fill color: rgb(255,255,255)
border color: rgb(0,0,0) border color: rgb(0,0,0)
############################################################## Extra style ############################################################## Extra style
styling field: styling field:
type: text type: text
name: left name: left
styling field: styling field:
type: text type: text
name: top name: top
styling field: styling field:
type: text type: text
name: width name: width
styling field: styling field:
type: text type: text
name: height name: height
styling field: styling field:
type: boolean type: boolean
name: use guild mana symbols name: use guild mana symbols
description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana.
initial: no initial: no
styling field: styling field:
type: package choice type: package choice
name: text box mana symbols name: text box mana symbols
match: magic-mana-*.mse-symbol-font match: magic-mana-*.mse-symbol-font
initial: magic-mana-small.mse-symbol-font initial: magic-mana-small.mse-symbol-font
styling field: styling field:
type: choice type: choice
name: tap symbol name: tap symbol
description: What tap and untap symbols should be used on cards? description: What tap and untap symbols should be used on cards?
initial: modern initial: modern
choice: modern choice: modern
choice: old choice: old
choice: diagonal T choice: diagonal T
styling field: styling field:
type: boolean type: boolean
name: one textline tokens name: one textline tokens
description: Should token frames with a single line for text be enabled? description: Should token frames with a single line for text be enabled?
initial: no initial: no
styling field: styling field:
type: choice type: choice
name: center text name: center text
description: When to center text (short text only means only on one-line cards with no flavor text) description: When to center text (short text only means only on one-line cards with no flavor text)
choice: always choice: always
choice: short text only choice: short text only
choice: never choice: never
initial: short text only initial: short text only
styling field: styling field:
type: boolean type: boolean
name: inverted common symbol name: inverted common symbol
description: Should the common rarity symbol be inverted, like in Coldsnap? description: Should the common rarity symbol be inverted, like in Coldsnap?
initial: no initial: no
styling field: styling field:
type: package choice type: package choice
name: overlay name: overlay
description: Should there be an overlay applied, such as foil? description: Should there be an overlay applied, such as foil?
match: magic-overlay-*.mse-include match: magic-overlay-*.mse-include
required: false required: false
styling field: styling field:
type: text type: text
name: frame opacity name: frame opacity
description: The opacity of the frame. 100 is no transparency, 0 is completely transparent. Default is 75. description: The opacity of the frame. 100 is no transparency, 0 is completely transparent. Default is 75.
styling field: styling field:
type: boolean type: boolean
name: border visible name: border visible
description: Should the card border be visible? description: Should the card border be visible?
initial: yes initial: yes
styling field: styling field:
type: choice type: choice
name: artist font color name: artist font color
description: Should the artist font color be black or white? description: Should the artist font color be black or white?
initial: black initial: black
choice: black choice: black
choice: white choice: white
styling style: styling style:
use guild mana symbols: use guild mana symbols:
choice images: choice images:
yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png
no: /magic-mana-small.mse-symbol-font/mana_rg.png no: /magic-mana-small.mse-symbol-font/mana_rg.png
tap symbol: tap symbol:
render style: both render style: both
choice images: choice images:
modern: /magic-mana-small.mse-symbol-font/mana_t.png modern: /magic-mana-small.mse-symbol-font/mana_t.png
old: /magic-mana-small.mse-symbol-font/mana_t_old.png old: /magic-mana-small.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png
center text: center text:
render style: both render style: both
choice images: choice images:
always: /magic.mse-game/icons/center-all-text.png always: /magic.mse-game/icons/center-all-text.png
short text only: /magic.mse-game/icons/center-short-text.png short text only: /magic.mse-game/icons/center-short-text.png
never: /magic.mse-game/icons/center-no-text.png never: /magic.mse-game/icons/center-no-text.png
inverted common symbol: inverted common symbol:
choice images: choice images:
no: { symbol_variation(symbol: set.symbol, variation: "common") } no: { symbol_variation(symbol: set.symbol, variation: "common") }
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
############################################################## Card fields ############################################################## Card fields
card style: card style:
############################# Background stuff ############################# Background stuff
border color: border color:
left: 0 left: 0
top : 0 top : 0
width: 375 width: 375
height: 523 height: 523
radius: 18 radius: 18
left width: 17 left width: 17
right width: 17 right width: 17
top width: 17 top width: 17
bottom width: 18 bottom width: 18
mask: border_mask.png mask: border_mask.png
z index: 5 z index: 5
visible: {styling.border_visible} visible: {styling.border_visible}
###################C######### Name line ###################C######### Name line
name: name:
left: left:
{ if card_style.name.content_width > 269 then 50 { if card_style.name.content_width > 269 then 50
else card_style.name.content_width * -0.5 + 184.5 } else card_style.name.content_width * -0.5 + 184.5 }
top: 23 top: 23
width: width:
{ if card_style.name.content_width > 269 then 275 { if card_style.name.content_width > 269 then 275
else card_style.name.content_width + 6 } else card_style.name.content_width + 6 }
height: 28 height: 28
alignment: bottom center justify-all alignment: bottom center justify-all
padding bottom: -2 padding bottom: -2
padding top: 2 padding top: 2
z index: 3 z index: 3
symbol font: symbol font:
name: magic-embossedletters name: magic-embossedletters
size: 22 size: 22
alignment: bottom center alignment: bottom center
always symbol: true always symbol: true
############################# Image ############################# Image
image: image:
left: {if styling.border_visible then 19 else 0} left: {if styling.border_visible then 19 else 0}
top: {if styling.border_visible then 19 else 0} top: {if styling.border_visible then 19 else 0}
width: {if styling.border_visible then 337 else 375} width: {if styling.border_visible then 337 else 375}
height: {if styling.border_visible then 485 else 523} height: {if styling.border_visible then 485 else 523}
z index: 0 z index: 0
mask: {if not styling.border_visible then "image_mask.png" else nil} mask: {if not styling.border_visible then "image_mask.png" else nil}
################H############ Card type ################H############ Card type
type: type:
left: 35 left: 35
top: top:
{if text_shape() == "0" then 432 {if text_shape() == "0" then 432
else if text_shape() == "1" then 414 else if text_shape() == "1" then 414
else 353} else 353}
width: { 308 - max(22,card_style.rarity.content_width) } width: { 308 - max(22,card_style.rarity.content_width) }
height: 20 height: 20
alignment: top shrink-overflow alignment: top shrink-overflow
z index: 2 z index: 2
padding top: 2 padding top: 2
padding bottom: 4 padding bottom: 4
padding right: 2 padding right: 2
font: font:
name: Matrix name: Matrix
size: 15 size: 15
color: black color: black
separator color: rgb(128,128,128) separator color: rgb(128,128,128)
rarity: rarity:
right: 342 right: 342
top: top:
{ if text_shape() == "0" then 432 { if text_shape() == "0" then 432
else if text_shape() == "1" then 414 else if text_shape() == "1" then 414
else 353 } else 353 }
width: 44 width: 44
height: 22 height: 22
z index: 3 z index: 3
alignment: middle right alignment: middle right
render style: image render style: image
choice images: choice images:
# Images based on the set symbol # Images based on the set symbol
basic land: basic land:
script: script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common") else symbol_variation(symbol: set.symbol, variation: "common")
common: common:
script: script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common") else symbol_variation(symbol: set.symbol, variation: "common")
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
rare: script: symbol_variation(symbol: set.symbol, variation: "rare") rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
special: script: symbol_variation(symbol: set.symbol, variation: "special") special: script: symbol_variation(symbol: set.symbol, variation: "special")
############################# Text box ############################# Text box
text: text:
left: 31 left: 31
top: top:
{ if text_shape() == "0" then 300 { if text_shape() == "0" then 300
else if text_shape() == "1" then 443 else if text_shape() == "1" then 443
else 388} else 388}
width: 311 width: 311
height: height:
{ if text_shape() == "1" then 27 { if text_shape() == "1" then 27
else 80 } else 80 }
font: font:
name: MPlantin name: MPlantin
italic name: MPlantin-Italic italic name: MPlantin-Italic
size: 14 size: 14
scale down to: 10 scale down to: 10
color: black color: black
symbol font: symbol font:
name: { styling.text_box_mana_symbols } name: { styling.text_box_mana_symbols }
size: 14 size: 14
alignment: alignment:
script: script:
if (styling.center_text == "short text only" and if (styling.center_text == "short text only" and
card_style.text.content_lines <= 2 and card_style.text.content_lines <= 2 and
not contains(match:",", card.rule_text) and not contains(match:",", card.rule_text) and
not contains(match: ".", card.rule_text) and not contains(match: ".", card.rule_text) and
not contains(match: ";", card.rule_text) and not contains(match: ";", card.rule_text) and
not contains(match: ":", card.rule_text) and not contains(match: ":", card.rule_text) and
not contains(match: "!", card.rule_text) and not contains(match: "!", card.rule_text) and
not contains(match: "?", card.rule_text) and not contains(match: "?", card.rule_text) and
card.flavor_text == "<i-flavor></i-flavor>") or card.flavor_text == "<i-flavor></i-flavor>") or
styling.center_text == "always" styling.center_text == "always"
then "middle center shrink-overflow" then "middle center shrink-overflow"
else "middle left shrink-overflow" else "middle left shrink-overflow"
z index: 2 z index: 2
padding left: 6 padding left: 6
padding top: 2 padding top: 2
padding right: 4 padding right: 4
padding bottom: 2 padding bottom: 2
line height hard: 1.2 line height hard: 1.2
line height line: 1.5 line height line: 1.5
line height soft: 0.9 line height soft: 0.9
############################# PT ############################# PT
pt: pt:
z index: 3 z index: 3
left: left:
{ if text_shape() == "2" then 288 { if text_shape() == "2" then 288
else 284 } else 284 }
top: top:
{ if text_shape() == "2" then 471 { if text_shape() == "2" then 471
else 466 } else 466 }
width: 60 width: 60
height: 28 height: 28
alignment: center middle shrink-overflow alignment: center middle shrink-overflow
font: font:
name: ModMatrix name: ModMatrix
size: 17 size: 17
weight: bold weight: bold
color: black color: black
separator color: rgb(200,0,0) separator color: rgb(200,0,0)
############################# Copyright stuff ############################# Copyright stuff
illustrator: illustrator:
left: 58 left: 58
top : 479 top : 479
width: 215 width: 215
height: 16 height: 16
z index: 2 z index: 2
font: font:
name: Matrix name: Matrix
size: 11 size: 11
weight: bold weight: bold
color: { styling.artist_font_color } color: { styling.artist_font_color }
copyright line: copyright line:
left: 30 left: 30
top : 493 top : 493
width: 247 width: 247
height: 12 height: 12
z index: 2 z index: 2
font: font:
name: MPlantin name: MPlantin
size: 6.5 size: 6.5
color: { styling.artist_font_color } color: { styling.artist_font_color }
############################################################## Extra card fields ############################################################## Extra card fields
extra card field: extra card field:
type: choice type: choice
name: frame name: frame
script: card.card_color script: card.card_color
editable: false editable: false
save value: false save value: false
extra card field: extra card field:
type: choice type: choice
name: pt box name: pt box
script: card.card_color script: card.card_color
editable: false editable: false
save value: false save value: false
extra card field: extra card field:
type: choice type: choice
name: foil layer name: foil layer
choice: foil choice: foil
save value: false save value: false
editable: false editable: false
extra card field: extra card field:
type: choice type: choice
name: name box name: name box
choice: black choice: black
editable: false editable: false
save value: false save value: false
extra card field: extra card field:
type: choice type: choice
name: name box left name: name box left
choice: black choice: black
editable: false editable: false
save value: false save value: false
extra card field: extra card field:
type: choice type: choice
name: name box right name: name box right
choice: black choice: black
editable: false editable: false
save value: false save value: false
extra card field: extra card field:
type: choice type: choice
name: paintbrush name: paintbrush
script: styling.artist_font_color script: styling.artist_font_color
editable: false editable: false
save value: false save value: false
extra card style: extra card style:
frame: frame:
left: 0 left: 0
top: 0 top: 0
width: 375 width: 375
height: 523 height: 523
z index: 1 z index: 1
render style: image render style: image
popup style: in place popup style: in place
image: { set_alpha(("frame" + text_shape() + ".png"), alpha: frame_alpha()) } image: { set_alpha(("frame" + text_shape() + ".png"), alpha: frame_alpha()) }
pt box: pt box:
left: left:
{ if text_shape() == "2" then 12 { if text_shape() == "2" then 12
else 8 } else 8 }
top: top:
{ if text_shape() == "2" then 52 { if text_shape() == "2" then 52
else 47 } else 47 }
width: 366 width: 366
height: 472 height: 472
z index: 2 z index: 2
visible: { card.pt != "" } visible: { card.pt != "" }
render style: image render style: image
image: pt_box.png image: pt_box.png
foil layer: foil layer:
left: 0 left: 0
top : 0 top : 0
width: 375 width: 375
height: 523 height: 523
z index: 4 z index: 4
render style: image render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
name box: name box:
left: left:
{ if card_style.name.content_width > 275 then 50 { if card_style.name.content_width > 275 then 50
else card_style.name.content_width * -0.5 + 185.5 } else card_style.name.content_width * -0.5 + 185.5 }
top: 26 top: 26
width: width:
{ if card_style.name.content_width > 275 then 275 { if card_style.name.content_width > 275 then 275
else card_style.name.content_width + 3} else card_style.name.content_width + 3}
height: 35 height: 35
z index: 2 z index: 2
visible: { card.name != "" } visible: { card.name != "" }
render style: image render style: image
image: name-mid.png image: name-mid.png
name box left: name box left:
right: right:
{ if card_style.name.content_width > 275 then 50 { if card_style.name.content_width > 275 then 50
else card_style.name.content_width * -0.5 + 185.5 } else card_style.name.content_width * -0.5 + 185.5 }
top: 26 top: 26
width: 15 width: 15
height: 35 height: 35
z index: 2 z index: 2
render style: image render style: image
image: name-left.png image: name-left.png
name box right: name box right:
left: left:
{ if card_style.name.content_width > 275 then 325 { if card_style.name.content_width > 275 then 325
else card_style.name.content_width * 0.5 + 187.5 } else card_style.name.content_width * 0.5 + 187.5 }
top: 26 top: 26
width: 14 width: 14
height: 35 height: 35
z index: 2 z index: 2
render style: image render style: image
image: name-right.png image: name-right.png
paintbrush: paintbrush:
left: 27 left: 27
top : 481 top : 481
width: 30 width: 30
height: 11 height: 11
z index: 2 z index: 2
render style: image render style: image
choice images: choice images:
black: /magic-future-common.mse-include/paintbrush_black.png black: /magic-future-common.mse-include/paintbrush_black.png
white: /magic-future-common.mse-include/paintbrush_white.png white: /magic-future-common.mse-include/paintbrush_white.png
+926 -926
View File
File diff suppressed because it is too large Load Diff
@@ -1,215 +1,215 @@
mse version: 0.3.8 mse version: 0.3.8
short name: Forum short name: Forum
full name: Spoiler Exporter full name: Spoiler Exporter
position hint: 002 position hint: 002
icon: icon.png icon: icon.png
version: 2010-05-11 version: 2010-05-11
installer group: Magic Planes/Export/forum installer group: Magic Planes/Export/forum
depends on: depends on:
package: planechase.mse-game package: planechase.mse-game
version: 2009-08-11 version: 2009-08-11
game: planechase game: planechase
file type: *.txt|*.txt|*.*|*.* file type: *.txt|*.txt|*.*|*.*
# By Pichoro # By Pichoro
# Based on code by Idle Muse, Innuendo and Seeonee # Based on code by Idle Muse, Innuendo and Seeonee
option field: option field:
type: choice type: choice
name: forum name: forum
choice: mse choice: mse
choice: mtgsalvation choice: mtgsalvation
description: What forum should the spoiler be formatted for? description: What forum should the spoiler be formatted for?
option field: option field:
type: boolean type: boolean
name: text costs name: text costs
initial: yes initial: yes
description: Should mana costs be plain text? Symbols usually can't be copied and pasted. description: Should mana costs be plain text? Symbols usually can't be copied and pasted.
option field: option field:
type: text type: text
name: creator name: creator
description: The creator of the set. description: The creator of the set.
option field: option field:
type: boolean type: boolean
name: include notes name: include notes
description: Should card notes be included? description: Should card notes be included?
initial: no initial: no
option field: option field:
type: boolean type: boolean
name: color rarities name: color rarities
description: Should rarities be colored? description: Should rarities be colored?
initial: yes initial: yes
script: script:
# Colored rarity markers. # Colored rarity markers.
rarity_color := { rarity_color := {
if card.rarity == "basic land" then " (C)" if card.rarity == "basic land" then " (C)"
else if card.rarity == "common" then " (C)" else if card.rarity == "common" then " (C)"
else if card.rarity == "uncommon" then " [color=silver](U)[/color]" else if card.rarity == "uncommon" then " [color=silver](U)[/color]"
else if card.rarity == "rare" then " [color=gold](R)[/color]" else if card.rarity == "rare" then " [color=gold](R)[/color]"
else if card.rarity == "mythic rare" then " [color=orange](M)[/color]" else if card.rarity == "mythic rare" then " [color=orange](M)[/color]"
else if card.rarity == "special" then " [color=purple](S)[/color]" else if card.rarity == "special" then " [color=purple](S)[/color]"
else " (C)" else " (C)"
} }
# Non colored rarity markers. # Non colored rarity markers.
rarity_uncolor := { rarity_uncolor := {
if card.rarity == "basic land" then " (C)" if card.rarity == "basic land" then " (C)"
else if card.rarity == "common" then " (C)" else if card.rarity == "common" then " (C)"
else if card.rarity == "uncommon" then " (U)" else if card.rarity == "uncommon" then " (U)"
else if card.rarity == "rare" then " (R)" else if card.rarity == "rare" then " (R)"
else if card.rarity == "mythic rare" then " (M)" else if card.rarity == "mythic rare" then " (M)"
else if card.rarity == "special" then " (S)" else if card.rarity == "special" then " (S)"
else " (C)" else " (C)"
} }
# Formats rules text w/ only italic tags. # Formats rules text w/ only italic tags.
forum_rules_filter_plain := replace@(match:"[(]", replace:"[i](")+ forum_rules_filter_plain := replace@(match:"[(]", replace:"[i](")+
replace@(match:"[)]", replace: ")[/i]") replace@(match:"[)]", replace: ")[/i]")
# Formats rules text w/ mana symbols. MSE and mtgsally use same bbcode tags for mana. # Formats rules text w/ mana symbols. MSE and mtgsally use same bbcode tags for mana.
forum_rules_filter_mtgsally_mse := forum_rules_filter_mtgsally_mse :=
# Italics around parenthesis. # Italics around parenthesis.
replace@(match:"[(]", replace:"[i](")+ replace@(match:"[(]", replace:"[i](")+
replace@(match:"[)]", replace: ")[/i]")+ replace@(match:"[)]", replace: ")[/i]")+
# 2/C's don't appear in regular english, format them all. # 2/C's don't appear in regular english, format them all.
replace@(match:"2/W", replace:":sym2w:")+ replace@(match:"2/W", replace:":sym2w:")+
replace@(match:"2/U", replace:":sym2u:")+ replace@(match:"2/U", replace:":sym2u:")+
replace@(match:"2/B", replace:":sym2b:")+ replace@(match:"2/B", replace:":sym2b:")+
replace@(match:"2/R", replace:":sym2r:")+ replace@(match:"2/R", replace:":sym2r:")+
replace@(match:"2/G", replace:":sym2g:")+ replace@(match:"2/G", replace:":sym2g:")+
# C/D's don't appear in regular english, format them all. # C/D's don't appear in regular english, format them all.
replace@(match:"W/U", replace:":symwu:")+ replace@(match:"W/U", replace:":symwu:")+
replace@(match:"W/B", replace:":symwb:")+ replace@(match:"W/B", replace:":symwb:")+
replace@(match:"U/B", replace:":symub:")+ replace@(match:"U/B", replace:":symub:")+
replace@(match:"U/R", replace:":symur:")+ replace@(match:"U/R", replace:":symur:")+
replace@(match:"B/R", replace:":symbr:")+ replace@(match:"B/R", replace:":symbr:")+
replace@(match:"B/G", replace:":symbg:")+ replace@(match:"B/G", replace:":symbg:")+
replace@(match:"R/G", replace:":symrg:")+ replace@(match:"R/G", replace:":symrg:")+
replace@(match:"R/W", replace:":symrw:")+ replace@(match:"R/W", replace:":symrw:")+
replace@(match:"G/W", replace:":symgw:")+ replace@(match:"G/W", replace:":symgw:")+
replace@(match:"G/U", replace:":symgu:")+ replace@(match:"G/U", replace:":symgu:")+
# Various positions for taps, untaps and chaos symbols. # Various positions for taps, untaps and chaos symbols.
replace@(match:" T ", replace:" :symtap: ")+ replace@(match:" T ", replace:" :symtap: ")+
replace@(match:" Q ", replace:" :symq: ")+ replace@(match:" Q ", replace:" :symq: ")+
replace@(match:" C ", replace:" :symch: ")+ replace@(match:" C ", replace:" :symch: ")+
replace@(match:"T,", replace:":symtap:,")+ replace@(match:"T,", replace:":symtap:,")+
replace@(match:"Q,", replace:":symq:,")+ replace@(match:"Q,", replace:":symq:,")+
replace@(match:"C,", replace:":symch:,")+ replace@(match:"C,", replace:":symch:,")+
replace@(match:"T:", replace:":symtap::")+ replace@(match:"T:", replace:":symtap::")+
replace@(match:"Q:", replace:":symq::")+ replace@(match:"Q:", replace:":symq::")+
replace@(match:"C:", replace:":symch::")+ replace@(match:"C:", replace:":symch::")+
# Mana right before a space. # Mana right before a space.
replace@(match:"G ", replace:":symg: ")+ replace@(match:"G ", replace:":symg: ")+
replace@(match:"R ", replace:":symr: ")+ replace@(match:"R ", replace:":symr: ")+
replace@(match:"B ", replace:":symb: ")+ replace@(match:"B ", replace:":symb: ")+
replace@(match:"U ", replace:":symu: ")+ replace@(match:"U ", replace:":symu: ")+
replace@(match:"W ", replace:":symw: ")+ replace@(match:"W ", replace:":symw: ")+
replace@(match:"S ", replace:":snow: ")+ replace@(match:"S ", replace:":snow: ")+
# Mana right before a comma. # Mana right before a comma.
replace@(match:"G,", replace:":symg:,")+ replace@(match:"G,", replace:":symg:,")+
replace@(match:"R,", replace:":symr:,")+ replace@(match:"R,", replace:":symr:,")+
replace@(match:"B,", replace:":symb:,")+ replace@(match:"B,", replace:":symb:,")+
replace@(match:"U,", replace:":symu:,")+ replace@(match:"U,", replace:":symu:,")+
replace@(match:"W,", replace:":symw:,")+ replace@(match:"W,", replace:":symw:,")+
replace@(match:"S,", replace:":snow:,")+ replace@(match:"S,", replace:":snow:,")+
# Mana right before a colon. # Mana right before a colon.
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
# Drag rules text to search for more mana characters. Reverse color wheel order works better. Repeat several times. # Drag rules text to search for more mana characters. Reverse color wheel order works better. Repeat several times.
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
# Symbolize snow. # Symbolize snow.
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
# Symbolize numbers from 20-0 when before a comma. # Symbolize numbers from 20-0 when before a comma.
replace@(match:"20,", replace:":20mana:,")+ replace@(match:"20,", replace:":20mana:,")+
replace@(match:"19,", replace:":19mana:,")+ replace@(match:"19,", replace:":19mana:,")+
replace@(match:"18,", replace:":18mana:,")+ replace@(match:"18,", replace:":18mana:,")+
replace@(match:"17,", replace:":17mana:,")+ replace@(match:"17,", replace:":17mana:,")+
replace@(match:"16,", replace:":16mana:,")+ replace@(match:"16,", replace:":16mana:,")+
replace@(match:"15,", replace:":15mana:,")+ replace@(match:"15,", replace:":15mana:,")+
replace@(match:"14,", replace:":14mana:,")+ replace@(match:"14,", replace:":14mana:,")+
replace@(match:"13,", replace:":13mana:,")+ replace@(match:"13,", replace:":13mana:,")+
replace@(match:"12,", replace:":12mana:,")+ replace@(match:"12,", replace:":12mana:,")+
replace@(match:"11,", replace:":11mana:,")+ replace@(match:"11,", replace:":11mana:,")+
replace@(match:"10,", replace:":10mana:,")+ replace@(match:"10,", replace:":10mana:,")+
replace@(match:"9,", replace:":9mana:,")+ replace@(match:"9,", replace:":9mana:,")+
replace@(match:"8,", replace:":8mana:,")+ replace@(match:"8,", replace:":8mana:,")+
replace@(match:"7,", replace:":7mana:,")+ replace@(match:"7,", replace:":7mana:,")+
replace@(match:"6,", replace:":6mana:,")+ replace@(match:"6,", replace:":6mana:,")+
replace@(match:"5,", replace:":5mana:,")+ replace@(match:"5,", replace:":5mana:,")+
replace@(match:"4,", replace:":4mana:,")+ replace@(match:"4,", replace:":4mana:,")+
replace@(match:"3,", replace:":3mana:,")+ replace@(match:"3,", replace:":3mana:,")+
replace@(match:"2,", replace:":2mana:,")+ replace@(match:"2,", replace:":2mana:,")+
replace@(match:"1,", replace:":1mana:,")+ replace@(match:"1,", replace:":1mana:,")+
replace@(match:"0,", replace:":0mana:,")+ replace@(match:"0,", replace:":0mana:,")+
# Symbolize numbers from 20-0 when before another symbol or a colon. # Symbolize numbers from 20-0 when before another symbol or a colon.
replace@(match:"20:", replace:":20mana::")+ replace@(match:"20:", replace:":20mana::")+
replace@(match:"19:", replace:":19mana::")+ replace@(match:"19:", replace:":19mana::")+
replace@(match:"18:", replace:":18mana::")+ replace@(match:"18:", replace:":18mana::")+
replace@(match:"17:", replace:":17mana::")+ replace@(match:"17:", replace:":17mana::")+
replace@(match:"16:", replace:":16mana::")+ replace@(match:"16:", replace:":16mana::")+
replace@(match:"15:", replace:":15mana::")+ replace@(match:"15:", replace:":15mana::")+
replace@(match:"14:", replace:":14mana::")+ replace@(match:"14:", replace:":14mana::")+
replace@(match:"13:", replace:":13mana::")+ replace@(match:"13:", replace:":13mana::")+
replace@(match:"12:", replace:":12mana::")+ replace@(match:"12:", replace:":12mana::")+
replace@(match:"11:", replace:":11mana::")+ replace@(match:"11:", replace:":11mana::")+
replace@(match:"10:", replace:":10mana::")+ replace@(match:"10:", replace:":10mana::")+
replace@(match:"9:", replace:":9mana::")+ replace@(match:"9:", replace:":9mana::")+
replace@(match:"8:", replace:":8mana::")+ replace@(match:"8:", replace:":8mana::")+
replace@(match:"7:", replace:":7mana::")+ replace@(match:"7:", replace:":7mana::")+
replace@(match:"6:", replace:":6mana::")+ replace@(match:"6:", replace:":6mana::")+
replace@(match:"5:", replace:":5mana::")+ replace@(match:"5:", replace:":5mana::")+
replace@(match:"4:", replace:":4mana::")+ replace@(match:"4:", replace:":4mana::")+
replace@(match:"3:", replace:":3mana::")+ replace@(match:"3:", replace:":3mana::")+
replace@(match:"2:", replace:":2mana::")+ replace@(match:"2:", replace:":2mana::")+
replace@(match:"1:", replace:":1mana::")+ replace@(match:"1:", replace:":1mana::")+
replace@(match:"0:", replace:":0mana::")+ replace@(match:"0:", replace:":0mana::")+
# Symbolize X and Y when before a comma. # Symbolize X and Y when before a comma.
replace@(match:"Y,", replace:":symy:,")+ replace@(match:"Y,", replace:":symy:,")+
replace@(match:"X,", replace:":symx:,")+ replace@(match:"X,", replace:":symx:,")+
# Symbolize X and Y when before another symbol or a colon. # Symbolize X and Y when before another symbol or a colon.
replace@(match:"Y:", replace:":symy::")+ replace@(match:"Y:", replace:":symy::")+
replace@(match:"X:", replace:":symx::")+ replace@(match:"X:", replace:":symx::")+
# Add a Chaos symbol in front of Chaos abilities. # Add a Chaos symbol in front of Chaos abilities.
replace@(match:"Whenever you roll :symch:,", replace:":symch: - Whenever you roll :symch:,")+ replace@(match:"Whenever you roll :symch:,", replace:":symch: - Whenever you roll :symch:,")+
# Remove consecutive spaces, as they are meant to adjust text position. # Remove consecutive spaces, as they are meant to adjust text position.
replace@(match:" ", replace:"") replace@(match:" ", replace:"")
# Count the number of paragraphs to detect number of walker abilities. # Count the number of paragraphs to detect number of walker abilities.
write_card := { write_card := {
# The Name # The Name
"\n[b]"+card.name+"[/b]" "\n[b]"+card.name+"[/b]"
# The Type and Rarity # The Type and Rarity
+"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor()) +"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor())
# The Rules Text # The Rules Text
+(if card.rule_text != "" then "\n") +(if card.rule_text != "" then "\n")
+(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text))) +(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text)))
+(if options.text_costs then forum_rules_filter_plain(card.rule_text)) +(if options.text_costs then forum_rules_filter_plain(card.rule_text))
# The Flavor Text # The Flavor Text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]")
+card.flavor_text +card.flavor_text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]")
# The Notes # The Notes
+(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ") +(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ")
+(if options.include_notes and card.notes !="" then card.notes) +(if options.include_notes and card.notes !="" then card.notes)
+(if options.include_notes and card.notes !="" then "[/spoiler]") +(if options.include_notes and card.notes !="" then "[/spoiler]")
+"\n" +"\n"
} }
write_cards := to_text(for each card in sort_list(cards, order_by: {input.card_number}) do write_card()) write_cards := to_text(for each card in sort_list(cards, order_by: {input.card_number}) do write_card())
to_string("Full Spoiler List for "+set.title+"\nSet by "+options.creator+"\n"+set.description+"\n"+write_cards) to_string("Full Spoiler List for "+set.title+"\nSet by "+options.creator+"\n"+set.description+"\n"+write_cards)
File diff suppressed because it is too large Load Diff
@@ -1,189 +1,189 @@
mse version: 0.3.8 mse version: 0.3.8
short name: Forum short name: Forum
full name: Spoiler Exporter full name: Spoiler Exporter
position hint: 002 position hint: 002
icon: icon.png icon: icon.png
version: 2010-05-11 version: 2010-05-11
installer group: Magic Vanguard/Export/forum installer group: Magic Vanguard/Export/forum
depends on: depends on:
package: vanguard.mse-game package: vanguard.mse-game
version: 2007-09-23 version: 2007-09-23
game: vanguard game: vanguard
file type: *.txt|*.txt|*.*|*.* file type: *.txt|*.txt|*.*|*.*
# By Pichoro # By Pichoro
# Based on code by Idle Muse, Innuendo and Seeonee # Based on code by Idle Muse, Innuendo and Seeonee
option field: option field:
type: choice type: choice
name: forum name: forum
choice: mse choice: mse
choice: mtgsalvation choice: mtgsalvation
description: What forum should the spoiler be formatted for? description: What forum should the spoiler be formatted for?
option field: option field:
type: boolean type: boolean
name: text costs name: text costs
initial: yes initial: yes
description: Should mana costs be plain text? Symbols usually can't be copied and pasted. description: Should mana costs be plain text? Symbols usually can't be copied and pasted.
option field: option field:
type: text type: text
name: creator name: creator
description: The creator of the set. description: The creator of the set.
option field: option field:
type: boolean type: boolean
name: include notes name: include notes
description: Should card notes be included? description: Should card notes be included?
initial: no initial: no
script: script:
# Formats rules text w/ only italic tags. # Formats rules text w/ only italic tags.
forum_rules_filter_plain := replace@(match:"[(]", replace:"[i](")+ forum_rules_filter_plain := replace@(match:"[(]", replace:"[i](")+
replace@(match:"[)]", replace: ")[/i]") replace@(match:"[)]", replace: ")[/i]")
# Formats rules text w/ mana symbols. MSE and mtgsally use same bbcode tags for mana. # Formats rules text w/ mana symbols. MSE and mtgsally use same bbcode tags for mana.
forum_rules_filter_mtgsally_mse := forum_rules_filter_mtgsally_mse :=
# Italics around parenthesis. # Italics around parenthesis.
replace@(match:"[(]", replace:"[i](")+ replace@(match:"[(]", replace:"[i](")+
replace@(match:"[)]", replace: ")[/i]")+ replace@(match:"[)]", replace: ")[/i]")+
# 2/C's don't appear in regular english, format them all. # 2/C's don't appear in regular english, format them all.
replace@(match:"2/W", replace:":sym2w:")+ replace@(match:"2/W", replace:":sym2w:")+
replace@(match:"2/U", replace:":sym2u:")+ replace@(match:"2/U", replace:":sym2u:")+
replace@(match:"2/B", replace:":sym2b:")+ replace@(match:"2/B", replace:":sym2b:")+
replace@(match:"2/R", replace:":sym2r:")+ replace@(match:"2/R", replace:":sym2r:")+
replace@(match:"2/G", replace:":sym2g:")+ replace@(match:"2/G", replace:":sym2g:")+
# C/D's don't appear in regular english, format them all. # C/D's don't appear in regular english, format them all.
replace@(match:"W/U", replace:":symwu:")+ replace@(match:"W/U", replace:":symwu:")+
replace@(match:"W/B", replace:":symwb:")+ replace@(match:"W/B", replace:":symwb:")+
replace@(match:"U/B", replace:":symub:")+ replace@(match:"U/B", replace:":symub:")+
replace@(match:"U/R", replace:":symur:")+ replace@(match:"U/R", replace:":symur:")+
replace@(match:"B/R", replace:":symbr:")+ replace@(match:"B/R", replace:":symbr:")+
replace@(match:"B/G", replace:":symbg:")+ replace@(match:"B/G", replace:":symbg:")+
replace@(match:"R/G", replace:":symrg:")+ replace@(match:"R/G", replace:":symrg:")+
replace@(match:"R/W", replace:":symrw:")+ replace@(match:"R/W", replace:":symrw:")+
replace@(match:"G/W", replace:":symgw:")+ replace@(match:"G/W", replace:":symgw:")+
replace@(match:"G/U", replace:":symgu:")+ replace@(match:"G/U", replace:":symgu:")+
# Various positions for taps, untaps and chaos symbols. # Various positions for taps, untaps and chaos symbols.
replace@(match:" T ", replace:" :symtap: ")+ replace@(match:" T ", replace:" :symtap: ")+
replace@(match:" Q ", replace:" :symq: ")+ replace@(match:" Q ", replace:" :symq: ")+
replace@(match:" C ", replace:" :symch: ")+ replace@(match:" C ", replace:" :symch: ")+
replace@(match:"T,", replace:":symtap:,")+ replace@(match:"T,", replace:":symtap:,")+
replace@(match:"Q,", replace:":symq:,")+ replace@(match:"Q,", replace:":symq:,")+
replace@(match:"C,", replace:":symch:,")+ replace@(match:"C,", replace:":symch:,")+
replace@(match:"T:", replace:":symtap::")+ replace@(match:"T:", replace:":symtap::")+
replace@(match:"Q:", replace:":symq::")+ replace@(match:"Q:", replace:":symq::")+
replace@(match:"C:", replace:":symch::")+ replace@(match:"C:", replace:":symch::")+
# Mana right before a space. # Mana right before a space.
replace@(match:"G ", replace:":symg: ")+ replace@(match:"G ", replace:":symg: ")+
replace@(match:"R ", replace:":symr: ")+ replace@(match:"R ", replace:":symr: ")+
replace@(match:"B ", replace:":symb: ")+ replace@(match:"B ", replace:":symb: ")+
replace@(match:"U ", replace:":symu: ")+ replace@(match:"U ", replace:":symu: ")+
replace@(match:"W ", replace:":symw: ")+ replace@(match:"W ", replace:":symw: ")+
replace@(match:"S ", replace:":snow: ")+ replace@(match:"S ", replace:":snow: ")+
# Mana right before a comma. # Mana right before a comma.
replace@(match:"G,", replace:":symg:,")+ replace@(match:"G,", replace:":symg:,")+
replace@(match:"R,", replace:":symr:,")+ replace@(match:"R,", replace:":symr:,")+
replace@(match:"B,", replace:":symb:,")+ replace@(match:"B,", replace:":symb:,")+
replace@(match:"U,", replace:":symu:,")+ replace@(match:"U,", replace:":symu:,")+
replace@(match:"W,", replace:":symw:,")+ replace@(match:"W,", replace:":symw:,")+
replace@(match:"S,", replace:":snow:,")+ replace@(match:"S,", replace:":snow:,")+
# Mana right before a colon. # Mana right before a colon.
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
# Drag rules text to search for more mana characters. Reverse color wheel order works better. Repeat several times. # Drag rules text to search for more mana characters. Reverse color wheel order works better. Repeat several times.
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
replace@(match:"G:", replace:":symg::")+ replace@(match:"G:", replace:":symg::")+
replace@(match:"R:", replace:":symr::")+ replace@(match:"R:", replace:":symr::")+
replace@(match:"B:", replace:":symb::")+ replace@(match:"B:", replace:":symb::")+
replace@(match:"U:", replace:":symu::")+ replace@(match:"U:", replace:":symu::")+
replace@(match:"W:", replace:":symw::")+ replace@(match:"W:", replace:":symw::")+
# Symbolize snow. # Symbolize snow.
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
replace@(match:"S:", replace:":snow::")+ replace@(match:"S:", replace:":snow::")+
# Symbolize numbers from 20-0 when before a comma. # Symbolize numbers from 20-0 when before a comma.
replace@(match:"20,", replace:":20mana:,")+ replace@(match:"20,", replace:":20mana:,")+
replace@(match:"19,", replace:":19mana:,")+ replace@(match:"19,", replace:":19mana:,")+
replace@(match:"18,", replace:":18mana:,")+ replace@(match:"18,", replace:":18mana:,")+
replace@(match:"17,", replace:":17mana:,")+ replace@(match:"17,", replace:":17mana:,")+
replace@(match:"16,", replace:":16mana:,")+ replace@(match:"16,", replace:":16mana:,")+
replace@(match:"15,", replace:":15mana:,")+ replace@(match:"15,", replace:":15mana:,")+
replace@(match:"14,", replace:":14mana:,")+ replace@(match:"14,", replace:":14mana:,")+
replace@(match:"13,", replace:":13mana:,")+ replace@(match:"13,", replace:":13mana:,")+
replace@(match:"12,", replace:":12mana:,")+ replace@(match:"12,", replace:":12mana:,")+
replace@(match:"11,", replace:":11mana:,")+ replace@(match:"11,", replace:":11mana:,")+
replace@(match:"10,", replace:":10mana:,")+ replace@(match:"10,", replace:":10mana:,")+
replace@(match:"9,", replace:":9mana:,")+ replace@(match:"9,", replace:":9mana:,")+
replace@(match:"8,", replace:":8mana:,")+ replace@(match:"8,", replace:":8mana:,")+
replace@(match:"7,", replace:":7mana:,")+ replace@(match:"7,", replace:":7mana:,")+
replace@(match:"6,", replace:":6mana:,")+ replace@(match:"6,", replace:":6mana:,")+
replace@(match:"5,", replace:":5mana:,")+ replace@(match:"5,", replace:":5mana:,")+
replace@(match:"4,", replace:":4mana:,")+ replace@(match:"4,", replace:":4mana:,")+
replace@(match:"3,", replace:":3mana:,")+ replace@(match:"3,", replace:":3mana:,")+
replace@(match:"2,", replace:":2mana:,")+ replace@(match:"2,", replace:":2mana:,")+
replace@(match:"1,", replace:":1mana:,")+ replace@(match:"1,", replace:":1mana:,")+
replace@(match:"0,", replace:":0mana:,")+ replace@(match:"0,", replace:":0mana:,")+
# Symbolize numbers from 20-0 when before another symbol or a colon. # Symbolize numbers from 20-0 when before another symbol or a colon.
replace@(match:"20:", replace:":20mana::")+ replace@(match:"20:", replace:":20mana::")+
replace@(match:"19:", replace:":19mana::")+ replace@(match:"19:", replace:":19mana::")+
replace@(match:"18:", replace:":18mana::")+ replace@(match:"18:", replace:":18mana::")+
replace@(match:"17:", replace:":17mana::")+ replace@(match:"17:", replace:":17mana::")+
replace@(match:"16:", replace:":16mana::")+ replace@(match:"16:", replace:":16mana::")+
replace@(match:"15:", replace:":15mana::")+ replace@(match:"15:", replace:":15mana::")+
replace@(match:"14:", replace:":14mana::")+ replace@(match:"14:", replace:":14mana::")+
replace@(match:"13:", replace:":13mana::")+ replace@(match:"13:", replace:":13mana::")+
replace@(match:"12:", replace:":12mana::")+ replace@(match:"12:", replace:":12mana::")+
replace@(match:"11:", replace:":11mana::")+ replace@(match:"11:", replace:":11mana::")+
replace@(match:"10:", replace:":10mana::")+ replace@(match:"10:", replace:":10mana::")+
replace@(match:"9:", replace:":9mana::")+ replace@(match:"9:", replace:":9mana::")+
replace@(match:"8:", replace:":8mana::")+ replace@(match:"8:", replace:":8mana::")+
replace@(match:"7:", replace:":7mana::")+ replace@(match:"7:", replace:":7mana::")+
replace@(match:"6:", replace:":6mana::")+ replace@(match:"6:", replace:":6mana::")+
replace@(match:"5:", replace:":5mana::")+ replace@(match:"5:", replace:":5mana::")+
replace@(match:"4:", replace:":4mana::")+ replace@(match:"4:", replace:":4mana::")+
replace@(match:"3:", replace:":3mana::")+ replace@(match:"3:", replace:":3mana::")+
replace@(match:"2:", replace:":2mana::")+ replace@(match:"2:", replace:":2mana::")+
replace@(match:"1:", replace:":1mana::")+ replace@(match:"1:", replace:":1mana::")+
replace@(match:"0:", replace:":0mana::")+ replace@(match:"0:", replace:":0mana::")+
# Symbolize X and Y when before a comma. # Symbolize X and Y when before a comma.
replace@(match:"Y,", replace:":symy:,")+ replace@(match:"Y,", replace:":symy:,")+
replace@(match:"X,", replace:":symx:,")+ replace@(match:"X,", replace:":symx:,")+
# Symbolize X and Y when before another symbol or a colon. # Symbolize X and Y when before another symbol or a colon.
replace@(match:"Y:", replace:":symy::")+ replace@(match:"Y:", replace:":symy::")+
replace@(match:"X:", replace:":symx::") replace@(match:"X:", replace:":symx::")
# Count the number of paragraphs to detect number of walker abilities. # Count the number of paragraphs to detect number of walker abilities.
write_card := { write_card := {
# The Name # The Name
"\n[b]"+card.name+"[/b]" "\n[b]"+card.name+"[/b]"
# The Type and Rarity # The Type and Rarity
+"\n"+card.type +"\n"+card.type
# The Rules Text # The Rules Text
+(if card.rule_text != "" then "\n") +(if card.rule_text != "" then "\n")
+(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text))) +(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text)))
+(if options.text_costs then forum_rules_filter_plain(card.rule_text)) +(if options.text_costs then forum_rules_filter_plain(card.rule_text))
# The Flavor Text # The Flavor Text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "\n[i]")
+card.flavor_text +card.flavor_text
+(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]") +(if card.flavor_text != "<i-flavor></i-flavor>" then "[/i]")
# Life and Hand Modifiers # Life and Hand Modifiers
+"\nStarting & Max Hand Size: "+card.handmod +"\nStarting & Max Hand Size: "+card.handmod
+"\nStarting Life: "+card.lifemod +"\nStarting Life: "+card.lifemod
# The Notes # The Notes
+(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ") +(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ")
+(if options.include_notes and card.notes !="" then card.notes) +(if options.include_notes and card.notes !="" then card.notes)
+(if options.include_notes and card.notes !="" then "[/spoiler]") +(if options.include_notes and card.notes !="" then "[/spoiler]")
+"\n" +"\n"
} }
write_cards := to_text(for each card in sort_list(cards, order_by: {input.card_number}) do write_card()) write_cards := to_text(for each card in sort_list(cards, order_by: {input.card_number}) do write_card())
to_string("Full Spoiler List for "+set.title+"\nSet by "+options.creator+"\n"+set.description+"\n"+write_cards) to_string("Full Spoiler List for "+set.title+"\nSet by "+options.creator+"\n"+set.description+"\n"+write_cards)
@@ -1,30 +1,30 @@
mse version: 0.3.7 mse version: 0.3.7
version: 2008-10-06 version: 2008-10-06
short name: old short name: old
position hint: 2 position hint: 2
installer group: VS System/Symbol Fonts/Arrow installer group: VS System/Symbol Fonts/Arrow
icon: arrow.png icon: arrow.png
# Symbol font for arrow symbol # Symbol font for arrow symbol
image font size: 135 image font size: 135
horizontal space: 0 horizontal space: 0
symbol: symbol:
code: -> code: ->
image: arrow.png image: arrow.png
symbol: symbol:
code: >>> code: >>>
image: arrow.png image: arrow.png
symbol: symbol:
code: • code: •
image: diamond.png image: diamond.png
symbol: symbol:
code: @ code: @
image: diamond.png image: diamond.png
symbol: symbol:
code: <> code: <>
image: diamond.png image: diamond.png
############################################################## ##############################################################
# Insert-symbol menu # Insert-symbol menu
insert symbol menu: insert symbol menu:
item: -> item: ->
item: • item: •
File diff suppressed because it is too large Load Diff
@@ -1,254 +1,254 @@
mse version: 0.3.8 mse version: 0.3.8
version: 2010-05-16 version: 2010-05-16
short name: New (official) short name: New (official)
position hint: 1 position hint: 1
installer group: VS System/Symbol Fonts/Official New installer group: VS System/Symbol Fonts/Official New
icon: activate.png icon: activate.png
# Official symbol font for the new template # Official symbol font for the new template
image font size: 135 image font size: 135
horizontal space: 0 horizontal space: 0
symbol: symbol:
code: -> code: ->
image: arrow.png image: arrow.png
symbol: symbol:
code: >>> code: >>>
image: arrow.png image: arrow.png
symbol: symbol:
code: • code: •
image: diamond.png image: diamond.png
symbol: symbol:
code: @ code: @
image: diamond.png image: diamond.png
symbol: symbol:
code: <> code: <>
image: diamond.png image: diamond.png
symbol: symbol:
code: Activate code: Activate
image: activate.png image: activate.png
image font size: 176 image font size: 176
symbol: symbol:
code: Alpha Flight code: Alpha Flight
image: alphaflight.png image: alphaflight.png
symbol: symbol:
code: Anti-Matter code: Anti-Matter
image: anti-matter.png image: anti-matter.png
image font size: 80 image font size: 80
symbol: symbol:
code: Avengers code: Avengers
image: avengers.png image: avengers.png
symbol: symbol:
code: B.P.R.D. code: B.P.R.D.
image: bprd.png image: bprd.png
symbol: symbol:
code: Brotherhood code: Brotherhood
image: brotherhood.png image: brotherhood.png
symbol: symbol:
code: Crime Lords code: Crime Lords
image: crimelords.png image: crimelords.png
symbol: symbol:
code: Defenders code: Defenders
image: defenders.png image: defenders.png
symbol: symbol:
code: Doom code: Doom
image: doom.png image: doom.png
symbol: symbol:
code: Fantastic Four code: Fantastic Four
image: f4.png image: f4.png
symbol: symbol:
code: Gotham Knights code: Gotham Knights
image: gothamknights.png image: gothamknights.png
symbol: symbol:
code: Green Lantern code: Green Lantern
image: greenlantern.png image: greenlantern.png
symbol: symbol:
code: Hellfire Club code: Hellfire Club
image: hellfire.png image: hellfire.png
symbol: symbol:
code: Heralds of Galactus code: Heralds of Galactus
image: heralds.png image: heralds.png
symbol: symbol:
code: Horsemen of Apocalypse code: Horsemen of Apocalypse
image: apocalypse.png image: apocalypse.png
symbol: symbol:
code: JLA code: JLA
image: jla.png image: jla.png
symbol: symbol:
code: JSA code: JSA
image: jsa.png image: jsa.png
symbol: symbol:
code: Kree code: Kree
image: kree.png image: kree.png
image font size: 117 image font size: 117
symbol: symbol:
code: Marvel Knights code: Marvel Knights
image: marvelknights.png image: marvelknights.png
symbol: symbol:
code: Masters of Evil code: Masters of Evil
image: mastersofevil.png image: mastersofevil.png
symbol: symbol:
code: Negative Zone code: Negative Zone
image: negativezone.png image: negativezone.png
symbol: symbol:
code: Planet code: Planet
image: planet.png image: planet.png
symbol: symbol:
code: Shadowpact code: Shadowpact
image: shadowpact.png image: shadowpact.png
symbol: symbol:
code: Shi'ar code: Shi'ar
image: shiar.png image: shiar.png
symbol: symbol:
code: Shield code: Shield
image: shield.png image: shield.png
symbol: symbol:
code: Sinister Syndicate code: Sinister Syndicate
image: sinistersyndicate.png image: sinistersyndicate.png
symbol: symbol:
code: Skrull code: Skrull
image: skrull.png image: skrull.png
image font size: 147 image font size: 147
symbol: symbol:
code: Speed Force code: Speed Force
image: speedforce.png image: speedforce.png
symbol: symbol:
code: Spider-Friends code: Spider-Friends
image: spiderman.png image: spiderman.png
symbol: symbol:
code: Team Superman code: Team Superman
image: superman.png image: superman.png
symbol: symbol:
code: Thule Society code: Thule Society
image: thule.png image: thule.png
symbol: symbol:
code: Thunderbolts code: Thunderbolts
image: thunderbolts.png image: thunderbolts.png
symbol: symbol:
code: Teen Titans code: Teen Titans
image: titans.png image: titans.png
symbol: symbol:
code: Underworld code: Underworld
image: underworld.png image: underworld.png
symbol: symbol:
code: Warbound code: Warbound
image: warbound.png image: warbound.png
symbol: symbol:
code: X-Men code: X-Men
image: xmen.png image: xmen.png
symbol: symbol:
code: 0 code: 0
image: 0.png image: 0.png
symbol: symbol:
code: 1 code: 1
image: 1.png image: 1.png
symbol: symbol:
code: 2 code: 2
image: 2.png image: 2.png
symbol: symbol:
code: 3 code: 3
image: 3.png image: 3.png
symbol: symbol:
code: 4 code: 4
image: 4.png image: 4.png
symbol: symbol:
code: 5 code: 5
image: 5.png image: 5.png
symbol: symbol:
code: 6 code: 6
image: 6.png image: 6.png
symbol: symbol:
code: 7 code: 7
image: 7.png image: 7.png
symbol: symbol:
code: 8 code: 8
image: 8.png image: 8.png
symbol: symbol:
code: 9 code: 9
image: 9.png image: 9.png
symbol: symbol:
code: 10 code: 10
image: 10.png image: 10.png
symbol: symbol:
code: 11 code: 11
image: 11.png image: 11.png
symbol: symbol:
code: 12 code: 12
image: 12.png image: 12.png
symbol: symbol:
code: 13 code: 13
image: 13.png image: 13.png
symbol: symbol:
code: 14 code: 14
image: 14.png image: 14.png
symbol: symbol:
code: 15 code: 15
image: 15.png image: 15.png
symbol: symbol:
code: X code: X
image: X.png image: X.png
############################################################## ##############################################################
# Insert-symbol menu # Insert-symbol menu
insert symbol menu: insert symbol menu:
item: -> item: ->
item: • item: •
item: Activate item: Activate
item: Planet item: Planet
item: item:
name: numbers name: numbers
item: 0 item: 0
item: 1 item: 1
item: 2 item: 2
item: 3 item: 3
item: 4 item: 4
item: 5 item: 5
item: 6 item: 6
item: 7 item: 7
item: 8 item: 8
item: 9 item: 9
item: 10 item: 10
item: 11 item: 11
item: 12 item: 12
item: 13 item: 13
item: 14 item: 14
item: 15 item: 15
item: X item: X
item: item:
name: Marvel Teams name: Marvel Teams
item: Alpha Flight item: Alpha Flight
item: Avengers item: Avengers
item: Brotherhood item: Brotherhood
item: Crime Lords item: Crime Lords
item: Defenders item: Defenders
item: Doom item: Doom
item: Fantastic Four item: Fantastic Four
item: Hellfire Club item: Hellfire Club
item: Heralds of Galactus item: Heralds of Galactus
item: Horsemen of Apocalypse item: Horsemen of Apocalypse
item: Kree item: Kree
item: Marvel Knights item: Marvel Knights
item: Masters of Evil item: Masters of Evil
item: Negative Zone item: Negative Zone
item: Shi'ar item: Shi'ar
item: Shield item: Shield
item: Skrull item: Skrull
item: Sinister Syndicate item: Sinister Syndicate
item: Spider-Friends item: Spider-Friends
item: Thunderbolts item: Thunderbolts
item: Underworld item: Underworld
item: Warbound item: Warbound
item: X-Men item: X-Men
item: item:
name: DC Teams name: DC Teams
item: Anti-Matter item: Anti-Matter
item: Gotham Knights item: Gotham Knights
item: Green Lantern item: Green Lantern
item: JLA item: JLA
item: JSA item: JSA
item: Shadowpact item: Shadowpact
item: Speed Force item: Speed Force
item: Team Superman item: Team Superman
item: Teen Titans item: Teen Titans
item: item:
name: Other Teams name: Other Teams
item: B.P.R.D. item: B.P.R.D.
item: Thule Society item: Thule Society
@@ -1,66 +1,66 @@
mse version: 0.3.8 mse version: 0.3.8
short name: Forum short name: Forum
full name: Spoiler Exporter full name: Spoiler Exporter
position hint: 002 position hint: 002
icon: icon.png icon: icon.png
version: 2009-12-18 version: 2009-12-18
installer group: Yugioh/Export/forum installer group: Yugioh/Export/forum
depends on: depends on:
package: yugioh.mse-game package: yugioh.mse-game
version: 2007-09-23 version: 2007-09-23
game: yugioh game: yugioh
file type: *.txt|*.txt|*.*|*.* file type: *.txt|*.txt|*.*|*.*
# By Innuendo and Pichoro # By Innuendo and Pichoro
# Based on code by Idle Muse, Seeonee # Based on code by Idle Muse, Seeonee
script: script:
# filter out everything but stars from the level line # filter out everything but stars from the level line
level_star_filter := replace@(match:"<sym-auto>", replace:"")+ level_star_filter := replace@(match:"<sym-auto>", replace:"")+
replace@(match:"</sym-auto>", replace:"")+ replace@(match:"</sym-auto>", replace:"")+
replace@(match:"!", replace:"")+ replace@(match:"!", replace:"")+
replace@(match:"[+]", replace:"")+ replace@(match:"[+]", replace:"")+
replace@(match:"&", replace:"")+ replace@(match:"&", replace:"")+
replace@(match:"$", replace:"")+ replace@(match:"$", replace:"")+
replace@(match:"#", replace:"")+ replace@(match:"#", replace:"")+
replace@(match:" ", replace:"")+ replace@(match:" ", replace:"")+
replace@(match:"[0-9]", replace:"")+ replace@(match:"[0-9]", replace:"")+
replace@(match:"[a-z]", replace:"")+ replace@(match:"[a-z]", replace:"")+
replace@(match:"[A-Z]", replace:"") replace@(match:"[A-Z]", replace:"")
# counts stars by breaking them into a list and seeing how long the list is # counts stars by breaking them into a list and seeing how long the list is
level_count := { level_count := {
if not is_monster() then level_star_filter(card.level) if not is_monster() then level_star_filter(card.level)
else number_of_items(in: level_star_filter(card.level)) else number_of_items(in: level_star_filter(card.level))
} }
# Checks for each of the sub types # Checks for each of the sub types
nonmonster_level_filter := { if contains(input, match:"%") then "Continuous" nonmonster_level_filter := { if contains(input, match:"%") then "Continuous"
+if contains(input, match:"!") then "Counter" +if contains(input, match:"!") then "Counter"
+if contains(input, match:"+") then "Equipment" +if contains(input, match:"+") then "Equipment"
+if contains(input, match:"&") then "Field" +if contains(input, match:"&") then "Field"
+if contains(input, match:"$") then "Quick-Play" +if contains(input, match:"$") then "Quick-Play"
+if contains(input, match:"#") then "Ritual" +if contains(input, match:"#") then "Ritual"
} }
# remove spaces from things # remove spaces from things
no_spaces := replace@(match:" ", replace:"") no_spaces := replace@(match:" ", replace:"")
write_monster := { write_monster := {
"\n\n"+card.number+" "+card.name "\n\n"+card.number+" "+card.name
+"\n"+no_spaces(card.monster_type) +"\n"+no_spaces(card.monster_type)
+" | "+to_title(card.attribute) +" | "+to_title(card.attribute)
+" | Level "+level_count() +" | Level "+level_count()
+" | "+card.attack +" | "+card.attack
+" ATK | "+card.defense +" ATK | "+card.defense
+" DEF\n"+card.rule_text +" DEF\n"+card.rule_text
+(if card.rarity != "common" then "\n"+to_title(card.rarity)) +(if card.rarity != "common" then "\n"+to_title(card.rarity))
} }
write_nonmonster := { write_nonmonster := {
"\n\n"+card.number+" "+card.name "\n\n"+card.number+" "+card.name
+"\n"+nonmonster_level_filter(card.level)+(if nonmonster_level_filter(card.level)=="" then "Normal") +"\n"+nonmonster_level_filter(card.level)+(if nonmonster_level_filter(card.level)=="" then "Normal")
+" "+to_title(card.card_type)+"\n" +" "+to_title(card.card_type)+"\n"
+card.rule_text +card.rule_text
+(if card.rarity != "common" then "\n"+to_title(card.rarity)) +(if card.rarity != "common" then "\n"+to_title(card.rarity))
} }
write_card := { if is_monster() then write_monster() else write_nonmonster() } write_card := { if is_monster() then write_monster() else write_nonmonster() }
write_cards := to_text(for each card in sort_list(cards, order_by: {card.number}) do write_card()) write_cards := to_text(for each card in sort_list(cards, order_by: {card.number}) do write_card())
to_string(set.title+"\n"+set.description+write_cards) to_string(set.title+"\n"+set.description+write_cards)