mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
Added field descriptions when missing.
Possible fix for affiliation separator problem. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1216 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+29
-4
@@ -235,8 +235,15 @@ init script:
|
|||||||
word_count := break_text@(match:"[^[:space:]]+") + length
|
word_count := break_text@(match:"[^[:space:]]+") + length
|
||||||
|
|
||||||
separator_type := {
|
separator_type := {
|
||||||
if contains(card.shape, match:"old") then " <sym>@</sym> " else " • "
|
if contains(card.shape, match:"old") then (
|
||||||
|
if team2 != "<word-list-affiliation2></word-list-affiliation2>" then " <sym>@</sym> "
|
||||||
|
else " "
|
||||||
|
)
|
||||||
|
else " • "
|
||||||
}
|
}
|
||||||
|
#separator_type := {
|
||||||
|
# if contains(card.shape, match:"old") then " <sym>@</sym> " else " • "
|
||||||
|
#}
|
||||||
|
|
||||||
only_first := replace@(match:"card.team", replace:"")
|
only_first := replace@(match:"card.team", replace:"")
|
||||||
|
|
||||||
@@ -367,6 +374,7 @@ card field:
|
|||||||
choice: planet
|
choice: planet
|
||||||
default: card_type()
|
default: card_type()
|
||||||
show statistics: false
|
show statistics: false
|
||||||
|
description: The frame of the card.
|
||||||
############################# Name line
|
############################# Name line
|
||||||
card field:
|
card field:
|
||||||
type: text
|
type: text
|
||||||
@@ -401,7 +409,7 @@ card field:
|
|||||||
card list visible: true
|
card list visible: true
|
||||||
card list column: 1
|
card list column: 1
|
||||||
card list width: 200
|
card list width: 200
|
||||||
description: The name of the card, use @ for a diamond
|
description: The name of the card, use @ for a diamond.
|
||||||
card field:
|
card field:
|
||||||
type: text
|
type: text
|
||||||
name: cost
|
name: cost
|
||||||
@@ -412,6 +420,7 @@ card field:
|
|||||||
card list alignment: right
|
card list alignment: right
|
||||||
card list width: 37
|
card list width: 37
|
||||||
card list name: Cost
|
card list name: Cost
|
||||||
|
description: The cost of the card.
|
||||||
############################# Image
|
############################# Image
|
||||||
card field:
|
card field:
|
||||||
type: image
|
type: image
|
||||||
@@ -500,6 +509,7 @@ card field:
|
|||||||
card list visible: true
|
card list visible: true
|
||||||
card list column: 2
|
card list column: 2
|
||||||
show statistics: false
|
show statistics: false
|
||||||
|
description: The version of the card.
|
||||||
############################# Card ID
|
############################# Card ID
|
||||||
card field:
|
card field:
|
||||||
type: text
|
type: text
|
||||||
@@ -557,11 +567,12 @@ card field:
|
|||||||
choice: promo
|
choice: promo
|
||||||
default: set.set_rarity
|
default: set.set_rarity
|
||||||
icon: stats/rarity.png
|
icon: stats/rarity.png
|
||||||
|
description: The rarity of the card.
|
||||||
############################# Affiliation
|
############################# Affiliation
|
||||||
card field:
|
card field:
|
||||||
type: text
|
type: text
|
||||||
name: separator
|
name: separator
|
||||||
script: separator_type(value)
|
script: separator_type(team2: card.team_2_of_2)
|
||||||
editable: false
|
editable: false
|
||||||
show statistics: false
|
show statistics: false
|
||||||
card field:
|
card field:
|
||||||
@@ -589,6 +600,12 @@ card field:
|
|||||||
hide_when_empty: true
|
hide_when_empty: true
|
||||||
)
|
)
|
||||||
description: The team of the card, use ` for a separator for dual cards
|
description: The team of the card, use ` for a separator for dual cards
|
||||||
|
card field:
|
||||||
|
type: text
|
||||||
|
name: separator 2
|
||||||
|
script: separator_type(team2: card.team_2_of_2_2)
|
||||||
|
editable: false
|
||||||
|
show statistics: false
|
||||||
card field:
|
card field:
|
||||||
type: text
|
type: text
|
||||||
name: team 2
|
name: team 2
|
||||||
@@ -644,6 +661,7 @@ card field:
|
|||||||
name: flavor text
|
name: flavor text
|
||||||
show statistics: false
|
show statistics: false
|
||||||
multi line: true
|
multi line: true
|
||||||
|
description: Flavor text of the card.
|
||||||
card field:
|
card field:
|
||||||
type: choice
|
type: choice
|
||||||
name: watermark
|
name: watermark
|
||||||
@@ -662,6 +680,7 @@ card field:
|
|||||||
card list width: 33
|
card list width: 33
|
||||||
card list name: ATK
|
card list name: ATK
|
||||||
card list alignment: right
|
card list alignment: right
|
||||||
|
description: The attack of the card.
|
||||||
card field:
|
card field:
|
||||||
type: text
|
type: text
|
||||||
name: defence
|
name: defence
|
||||||
@@ -673,12 +692,14 @@ card field:
|
|||||||
card list width: 33
|
card list width: 33
|
||||||
card list name: DEF
|
card list name: DEF
|
||||||
card list alignment: right
|
card list alignment: right
|
||||||
|
description: The defence of the card.
|
||||||
############################# Copyright stuff
|
############################# Copyright stuff
|
||||||
card field:
|
card field:
|
||||||
type: text
|
type: text
|
||||||
name: illustrator
|
name: illustrator
|
||||||
default: set.artist
|
default: set.artist
|
||||||
icon: stats/illustrator.png
|
icon: stats/illustrator.png
|
||||||
|
description: The artist for the card.
|
||||||
card field:
|
card field:
|
||||||
type: text
|
type: text
|
||||||
name: copyright
|
name: copyright
|
||||||
@@ -686,7 +707,7 @@ card field:
|
|||||||
default: set.copyright
|
default: set.copyright
|
||||||
multi line: true
|
multi line: true
|
||||||
show statistics: false
|
show statistics: false
|
||||||
|
description: The copyright line of the card.
|
||||||
###############################################
|
###############################################
|
||||||
########################### For New style cards
|
########################### For New style cards
|
||||||
card field:
|
card field:
|
||||||
@@ -721,6 +742,7 @@ card field:
|
|||||||
else (value)
|
else (value)
|
||||||
show statistics: false
|
show statistics: false
|
||||||
save value: true
|
save value: true
|
||||||
|
description: Flight and range icons for the card.
|
||||||
card field:
|
card field:
|
||||||
type: choice
|
type: choice
|
||||||
name: ongoing
|
name: ongoing
|
||||||
@@ -728,18 +750,21 @@ card field:
|
|||||||
choice: ongoing
|
choice: ongoing
|
||||||
initial: none
|
initial: none
|
||||||
script: symbol_default()
|
script: symbol_default()
|
||||||
|
description: Ongoing icons for the card.
|
||||||
card field:
|
card field:
|
||||||
type: choice
|
type: choice
|
||||||
name: affiliation
|
name: affiliation
|
||||||
editable: false
|
editable: false
|
||||||
initial: none
|
initial: none
|
||||||
include file: /vs-common.mse-include/watermark-names
|
include file: /vs-common.mse-include/watermark-names
|
||||||
|
description: First affiliation icon for the card.
|
||||||
card field:
|
card field:
|
||||||
type: choice
|
type: choice
|
||||||
name: affiliation2
|
name: affiliation2
|
||||||
editable: false
|
editable: false
|
||||||
initial: none
|
initial: none
|
||||||
include file: /vs-common.mse-include/dual-affiliation
|
include file: /vs-common.mse-include/dual-affiliation
|
||||||
|
description: Second affiliation icon for the card.
|
||||||
############################################################# Extra Statistics
|
############################################################# Extra Statistics
|
||||||
statistics dimension:
|
statistics dimension:
|
||||||
name: keywords
|
name: keywords
|
||||||
|
|||||||
Reference in New Issue
Block a user