Files
magic-set-editor-fork/data/magic.mse-game/statistics
CajunAvenger 197d52006c AFR Update
2021-07-09 13:58:11 -05:00

291 lines
8.8 KiB
Plaintext

############################################################## Statistics dimensions
statistics dimension:
name: card color
position hint: 0
script: if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else primary_card_color(card.card_color)
icon: stats/card_color.png
colors:
white : rgb(255,237,202)
blue : rgb(42,141,255)
black : rgb(33,33,33)
red : rgb(255,52,0)
green : rgb(118,230,0)
colorless : rgb(120,90,90)
artifact : rgb(185,192,199)
multicolor : rgb(255,188,14)
land : rgb(109,62,39)
hybrid : rgb(201,12,230)
group: white
group: blue
group: black
group: red
group: green
group: colorless
group: artifact
group: multicolor
group: land
group: hybrid
statistics dimension:
name: promo colors
position hint: 800
script: if card.rarity == "special" or card.rarity == "masterpiece" then primary_card_color(card.card_color) else ""
icon: stats/card_color.png
colors:
white : rgb(255,237,202)
blue : rgb(42,141,255)
black : rgb(33,33,33)
red : rgb(255,52,0)
green : rgb(118,230,0)
colorless : rgb(120,90,90)
artifact : rgb(185,192,199)
multicolor : rgb(255,188,14)
land : rgb(109,62,39)
hybrid : rgb(201,12,230)
group: white
group: blue
group: black
group: red
group: green
group: colorless
group: artifact
group: multicolor
group: land
group: hybrid
statistics dimension:
name: omniverse card color
position hint: 9999
script: primary_card_color(card.card_color)
icon: stats/card_color.png
colors:
white : rgb(255,237,202)
blue : rgb(42,141,255)
black : rgb(33,33,33)
red : rgb(255,52,0)
green : rgb(118,230,0)
pink : rgb(255,175,200)
purple : rgb(150,100,160)
colorless : rgb(120,90,90)
artifact : rgb(185,192,199)
multicolor : rgb(255,188,14)
land : rgb(109,62,39)
hybrid : rgb(201,12,230)
group: white
group: blue
group: black
group: red
group: green
group: pink
group: purple
group: colorless
group: artifact
group: multicolor
group: land
group: hybrid
statistics dimension:
position hint: 2
name: converted mana cost
script: if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else cmc(card.casting_cost)
numeric: true
icon: stats/casting_cost.png
statistics dimension:
position hint: 3
name: colored mana cost
script: if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else colored_mana(card.casting_cost)
numeric: true
icon: stats/colored_casting_cost.png
statistics dimension:
name: supertype
position hint: 27
icon: stats/card_type.png
description: The card's supertype, not including types
script: if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else remove_type(to_text(card.super_type))
statistics dimension:
name: type
position hint: 28
icon: stats/card_type.png
description: The card's type, not including supertypes
script: if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else remove_supertype(to_text(card.super_type))
statistics dimension:
name: combined type
position hint: 29
icon: stats/card_type.png
description: The traditional supertype statistic, with no filtering
script: if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else card.super_type
statistics dimension:
name: perm/non-perm
position hint: 30
icon: stats/card_type.png
description: Is the card a creature, non-creature permanent, or nonpermanent?
script:
if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else
if is_creature(card.super_type) then "creature"
else if is_spell(card.super_type) then "nonpermanent"
else if is_artifact(card.super_type) or is_enchantment(card.super_type) or is_land(card.super_type) or contains(card.super_type, match:"Planeswalker") then "permanent"
else "unknown"
statistics dimension:
name: race
position hint: 32
icon: stats/creature_race.png
description: Race of creatures and tribal cards
script:
if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else
if is_creature(card.super_type) or is_tribal(card.super_type) then
only_first(card.sub_type)
show empty: false
statistics dimension:
name: creature class
position hint: 33
icon: stats/creature_class.png
description: Class of creature cards
script:
if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else
if is_creature(card.super_type) then
space_to_comma(trim(remove_tags(only_next(card.sub_type))))
show empty: false
split list: true
statistics dimension:
position hint: 50
name: power
script: if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else card.power
numeric: true
icon: stats/power.png
statistics dimension:
position hint: 51
name: toughness
script: if (card.shape == "token" or card.rarity == "special" or card.rarity == "masterpiece") and set.trim_statistics then "" else card.toughness
numeric: true
icon: stats/toughness.png
statistics dimension:
position hint: 99
name: rarity
script: if card.shape == "token" or card.shape == "emblem" then "token" else card.rarity
colors:
token: rgb(33,33,33)
basic land: rgb(109,62,39)
common: rgb(33,33,33)
uncommon: rgb(224,224,224)
mythic rare: rgb(202, 49, 35)
rare: rgb(255,207,52)
special: rgb(190,0,255)
masterpiece: rgb(202,49,35)
group: token
group: basic land
group: common
group: uncommon
group: rare
group: mythic rare
group: special
group: masterpiece
icon: stats/rarity.png
statistics dimension:
name: text length (words)
position hint: 100
script: if a_saga() or mainframe_walker() then word_count(to_text(card.level_1_text))+word_count(to_text(card.level_2_text))+word_count(to_text(card.level_3_text))+word_count(to_text(card.level_4_text)) else word_count(to_text(card.rule_text))
numeric: true
bin size: 5
icon: stats/text_length.png
statistics dimension:
name: text length (lines)
position hint: 101
script: if a_saga() or mainframe_walker() then line_count(to_text(card.level_1_text))+line_count(to_text(card.level_2_text))+line_count(to_text(card.level_3_text))+line_count(to_text(card.level_4_text)) else line_count(to_text(card.rule_text))
numeric: true
icon: stats/text_length.png
statistics dimension:
name: keywords
position hint: 1000
script: keyword_usage(unique:true)
show empty: false
split list: true
icon: stats/keywords.png
statistics dimension:
name: style
position hint: 1001
script: stylesheet.short_name
icon: stats/stylesheet.png
############################################################## Statistics categories (OLD)
statistics category:
name: color / rarity
position hint: 101
type: stack
icon: stats/color_rarity.png
dimension: card color
dimension: rarity
statistics category:
name: power / toughness
position hint: 52
type: scatter pie
icon: stats/pt.png
dimension: power
dimension: toughness
dimension: rarity
#statistics category:
# name: color / cost
# type: scatter
# dimension: card color
# dimension: converted mana cost
statistics category:
name: color / cost
position hint: 4
type: scatter pie
icon: stats/color_cost.png
dimension: card color
dimension: converted mana cost
dimension: rarity
statistics category:
name: color / colored cost
position hint: 5
icon: stats/color_colored_cost.png
type: scatter
dimension: card color
dimension: colored mana cost
statistics category:
name: cost / colored cost
position hint: 6
icon: stats/cost_colored_cost.png
type: scatter pie
dimension: converted mana cost
dimension: colored mana cost
dimension: card color
statistics category:
name: creature race / class
position hint: 34
icon: stats/creature_type.png
type: scatter pie
dimension: race
dimension: creature class
dimension: card color
statistics dimension:
position hint: 210
name: illustrator
script: if card.illustrator == "" then " No artist" else card.illustrator
icon: stats/illustrator.png
#statistics dimension:
# position hint: 2
# name: purple converted mana cost
# script: 0 + (if card.mana_label_1 != "" then card.mana_label_1 else 0) + (if card.mana_label_2 != "" then card.mana_label_2 else 0) + (if card.mana_label_3 != "" then card.mana_label_3 else 0) + (if card.mana_label_4 != "" then card.mana_label_4 else 0) + (if card.mana_label_5 != "" then card.mana_label_5 else 0) + (if card.mana_label_6 != "" then card.mana_label_6 else 0) + (if card.mana_label_7 != "" then card.mana_label_7 else 0) + (if card.mana_label_8 != "" then card.mana_label_8 else 0)
# numeric: true
# icon: stats/casting_cost.png