Files
magic-set-editor-fork/data/space.mse-game/statistics
CajunAvenger eda330eee8 Initial commit
2021-07-09 02:07:58 -05:00

85 lines
2.0 KiB
Plaintext

############################################################## Statistics dimensions
statistics dimension:
name: card color
position hint: 0
script: primary_card_color(card.card_color)
icon: stats/card_color.png
colors:
crystal : rgb(255,237,202)
cryo : rgb(42,141,255)
shadow : rgb(33,33,33)
pyre : rgb(255,52,0)
xeno : rgb(138,230,0)
colorless : rgb(122,85,85)
device : rgb(188,192,195)
multicolor : rgb(255,188,14)
resource : rgb(109,62,39)
hybrid : rgb(243,26,136)
group: crystal
group: cryo
group: shadow
group: pyre
group: xeno
group: colorless
group: device
group: multicolor
group: resource
group: hybrid
statistics dimension:
position hint: 2
name: converted psi cost
script: cmc(card.casting_cost)
numeric: true
icon: stats/casting_cost.png
statistics dimension:
position hint: 3
name: colored psi cost
script: colored_psi(card.casting_cost)
numeric: true
icon: stats/colored_casting_cost.png
statistics dimension:
position hint: 50
name: power
script: card.power
numeric: true
icon: stats/power.png
statistics dimension:
position hint: 51
name: toughness
script: card.toughness
numeric: true
icon: stats/toughness.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: text length (words)
position hint: 100
script: word_count(to_text(card.rule_text))
numeric: true
bin size: 5
icon: stats/text_length.png
statistics dimension:
name: race
position hint: 32
icon: stats/creature_race.png
description: Race of unit and tribal cards
script:
if is_unit(card.super_type) or is_tribal(card.super_type) then
only_first(card.sub_type)
show empty: false
statistics dimension:
name: class
position hint: 33
icon: stats/creature_class.png
description: Class of unit cards
script:
if is_unit(card.super_type) then
space_to_comma(trim(remove_tags(only_next(card.sub_type))))
show empty: false
split list: true