260 lines
6.4 KiB
Plaintext
260 lines
6.4 KiB
Plaintext
############################################################## Card fields
|
|
############################# Automatic fields
|
|
card field:
|
|
type: text
|
|
name: full name
|
|
save value: false
|
|
show statistics: false
|
|
editable: false
|
|
card list visible: true
|
|
card list name: Name
|
|
card list column: 1
|
|
card list width: 150
|
|
description: The name of the card
|
|
script: card.name
|
|
############################# Background stuff
|
|
card field:
|
|
type: color
|
|
name: border color
|
|
default: set.border_color
|
|
choice:
|
|
name: black
|
|
color: rgb(0,0,0)
|
|
choice:
|
|
name: white
|
|
color: rgb(255,255,255)
|
|
choice:
|
|
name: silver
|
|
color: rgb(128,128,128)
|
|
choice:
|
|
name: gold
|
|
color: rgb(200,180,0)
|
|
show statistics: false
|
|
description: The border of the card; can be any solid color.
|
|
card field:
|
|
type: multiple choice
|
|
name: card color
|
|
empty choice: colorless
|
|
choice: crystal
|
|
choice: cryo
|
|
choice: shadow
|
|
choice: pyre
|
|
choice:
|
|
name: xeno
|
|
line below: true
|
|
choice: device
|
|
choice: resource
|
|
choice: multicolor
|
|
choice:
|
|
name: hybrid
|
|
enabled: { card_color_color_count(card.card_color) >= 2 }
|
|
line below: true
|
|
choice:
|
|
name: horizontal
|
|
enabled: { card_color_color_count(card.card_color) >= 2 }
|
|
type: radio
|
|
choice:
|
|
name: vertical
|
|
enabled: { card_color_color_count(card.card_color) >= 2 }
|
|
type: radio
|
|
choice:
|
|
name: radial
|
|
enabled: { card_color_color_count(card.card_color) >= 2 }
|
|
type: radio
|
|
choice:
|
|
name: overlay
|
|
enabled: { card_color_color_count(card.card_color) == 2 and chosen(choice:"hybrid",card.card_color) }
|
|
type: radio
|
|
choice:
|
|
name: reversed
|
|
enabled: { card_color_color_count(card.card_color) >= 2 and not chosen(choice:"overlay",card.card_color) }
|
|
script: card_color_filter(value)
|
|
default: card_color(casting_cost: card.casting_cost, rules_text: card.rule_text, type: card.super_type, watermark: card.watermark, card_name: card.name)
|
|
show statistics: false
|
|
description: The frame of the card, used to indicate card color.
|
|
############################# Name line
|
|
card field:
|
|
type: text
|
|
name: name
|
|
card list visible: false
|
|
identifying: true
|
|
show statistics: false
|
|
description: The name of the card
|
|
card field:
|
|
type: text
|
|
name: casting cost
|
|
icon: stats/casting_cost.png
|
|
position hint: 1
|
|
script: psi_filter(value)
|
|
card list visible: true
|
|
card list column: 2
|
|
card list alignment: right
|
|
card list width: 50
|
|
card list name: CC
|
|
description: The casting cost of the card
|
|
#### compatibility with mana fonts
|
|
card field:
|
|
type: choice
|
|
name: card symbol
|
|
description: The symbol of the card.
|
|
show statistics: false
|
|
card list name: Symbol
|
|
card list column: 0920
|
|
card list width: 100
|
|
choice: none
|
|
############################# Image
|
|
card field:
|
|
type: image
|
|
name: image
|
|
show statistics: false
|
|
description: The image of the card
|
|
############################# Card type
|
|
card field:
|
|
type: text
|
|
name: super type
|
|
icon: stats/card_type.png
|
|
position hint: 30
|
|
editable: false
|
|
script: super_type_filter(value)
|
|
card field:
|
|
type: text
|
|
name: sub type
|
|
icon: stats/creature_type.png
|
|
position hint: 31
|
|
script: sub_type_filter(value, type:card.super_type)
|
|
editable: false
|
|
card field:
|
|
type: text
|
|
name: type
|
|
show statistics: false
|
|
save value: false
|
|
script:
|
|
# Either just supertype, or subtype - supertype
|
|
combined_editor(
|
|
field1: card.super_type,
|
|
separator: " — ",
|
|
field2: card.sub_type,
|
|
soft_before_empty: true,
|
|
hide_when_empty: true
|
|
)
|
|
card list visible: true
|
|
card list column:4
|
|
description: The type of this card, type - to go the sub type
|
|
card field:
|
|
type: choice
|
|
name: rarity
|
|
icon: stats/rarity.png
|
|
position hint: 100
|
|
choice: basic resource
|
|
choice: common
|
|
choice: uncommon
|
|
choice: rare
|
|
choice: mythic rare
|
|
choice: special
|
|
initial: common
|
|
card list visible: true
|
|
card list column: 6
|
|
description: The rarity of the card, to edit the symbol switch to the 'set info' tab
|
|
choice colors:
|
|
basic resource: 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)
|
|
############################# Text box
|
|
card field:
|
|
type: text
|
|
name: rule text
|
|
script: text_filter(input: value, card_name: card.name)
|
|
show statistics: false
|
|
multi line: true
|
|
description: The rules text for the card
|
|
card field:
|
|
type: text
|
|
name: flavor text
|
|
script: flavor_text_filter(value)
|
|
show statistics: false
|
|
multi line: true
|
|
description: The flavor text for the card
|
|
card field:
|
|
type: text
|
|
name: text
|
|
multi line: true
|
|
save value: false
|
|
show statistics: false
|
|
script:
|
|
combined_editor(field1: card.rule_text, separator: "<line>\n</line>", field2: card.flavor_text)
|
|
description: The rules and flavor text for the card; use up and down arrows to switch
|
|
############################# Loyalty
|
|
############################# PT
|
|
card field:
|
|
type: text
|
|
name: power
|
|
icon: stats/power.png
|
|
show statistics: false
|
|
script: type_over_pt(value)
|
|
description: The power of a unit
|
|
card field:
|
|
type: text
|
|
name: toughness
|
|
show statistics: false
|
|
icon: stats/toughness.png
|
|
description: The toughness of a unit
|
|
card field:
|
|
type: text
|
|
name: pt
|
|
save value: false
|
|
script:
|
|
combined_editor(
|
|
field1: card.power,
|
|
separator: "/",
|
|
field2: card.toughness,
|
|
soft_before_empty: true,
|
|
hide_when_empty: true
|
|
)
|
|
card list visible: true
|
|
card list column: 5
|
|
card list width: 50
|
|
card list name: P/T
|
|
description: Power/toughness of a unit
|
|
show statistics: false
|
|
############################# Card sorting / numbering
|
|
card field:
|
|
type: text
|
|
name: card number
|
|
save value: false
|
|
script: card_number() + "/" + card_count()
|
|
sort script: rarity_sort() + card.card_number
|
|
card list visible: true
|
|
card list column: 10
|
|
card list width: 50
|
|
card list name: #
|
|
card list alignment: right
|
|
editable: false
|
|
show statistics: false
|
|
############################# Copyright stuff
|
|
card field:
|
|
type: text
|
|
name: illustrator
|
|
icon: stats/illustrator.png
|
|
position hint: 210
|
|
default: set.artist
|
|
description: Illustrator of this card, the default value can be changed on the 'set info' tab
|
|
card field:
|
|
type: text
|
|
name: copyright
|
|
default: set.copyright
|
|
show statistics: false
|
|
card field:
|
|
type: text
|
|
name: copyright line
|
|
save value: false
|
|
show statistics: false
|
|
script:
|
|
if set.automatic_card_numbers then
|
|
combined_editor(field1: card.copyright, separator: " ", field2: card.card_number)
|
|
else
|
|
forward_editor(field: card.copyright)
|
|
description: Copyright of this card and cardnumber, the default value can be changed on the 'set info' tab
|