mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Upgraded font colors for future-textless.
Added "trim" step to separate_word script for Magic. Changed card.full_name field to recognize "shifted splits" as splits. Corrected an error in split sorting. U // 1U was sorting as multicolor split. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@749 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -189,7 +189,7 @@ card style:
|
||||
else if contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"artifact") then (
|
||||
else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"land") then (
|
||||
if contains(card.card_color, match:"blue") or
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
@@ -267,7 +267,7 @@ card style:
|
||||
else if contains(card.card_color, match:"land") and
|
||||
contains(card.card_color, match:"multicolor") then rgb(0,0,0)
|
||||
else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
||||
else if contains(card.card_color, match:"artifact") then (
|
||||
else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"land") then (
|
||||
if contains(card.card_color, match:"blue") or
|
||||
contains(card.card_color, match:"black") or
|
||||
contains(card.card_color, match:"red") or
|
||||
|
||||
@@ -193,7 +193,7 @@ init script:
|
||||
card_color := card.card_color
|
||||
casting_cost := card.casting_cost
|
||||
if card.shape == "split" and
|
||||
casting_cost != card.casting_cost_2 then "H" # Diff Color Splits
|
||||
card_color != card.card_color_2 then "H" # Diff Color Splits
|
||||
else if chosen(choice: "land", card_color) then (
|
||||
if card.rarity != "basic land" then "K" # Nonbasic Land
|
||||
else basic_land_sort()
|
||||
@@ -245,7 +245,7 @@ init script:
|
||||
|
||||
# replaces — correctly
|
||||
add := "" # default is nothing
|
||||
separate_words := remove_tags + replace_rule(match:" ", replace: " and/or ")
|
||||
separate_words := remove_tags + trim + replace_rule(match:" ", replace: " and/or ")
|
||||
for_mana_costs := format_cost := {
|
||||
if input.separator_before == "—" and contains(input.param, match: " ") then (
|
||||
if contains(input.param, match:",") then (
|
||||
@@ -639,7 +639,7 @@ card field:
|
||||
card list column: 1
|
||||
card list width: 150
|
||||
description: The name of the card
|
||||
script: if card_shape() == "split" then card.name + " // " + card.name_2 else card.name
|
||||
script: if contains(card.shape, match:"split") then card.name + " // " + card.name_2 else card.name
|
||||
|
||||
############################# Background stuff
|
||||
card field:
|
||||
|
||||
Reference in New Issue
Block a user