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