mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-13 05:57:00 -04:00
'suffix' is no longer a safe global variable name in scripts
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@654 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -16,9 +16,9 @@ init script:
|
|||||||
# Should hybrids have a grey name?
|
# Should hybrids have a grey name?
|
||||||
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
||||||
|
|
||||||
suffix := [card: "card.png", pt: "pt.png"]
|
template_suffix := [card: "card.png", pt: "pt.png"]
|
||||||
template := { input + suffix[type] }
|
template := { input + template_suffix[type] }
|
||||||
land_template := { (if input == "a" then "c" else input) + "l" + suffix[type] }
|
land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] }
|
||||||
color_combination := {
|
color_combination := {
|
||||||
# The base hybrid, without the outer frame blended over it
|
# The base hybrid, without the outer frame blended over it
|
||||||
base := base_hybrid[shape][color_count]()
|
base := base_hybrid[shape][color_count]()
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ card dpi: 150
|
|||||||
init script:
|
init script:
|
||||||
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
||||||
|
|
||||||
suffix := [card: "card.png", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"]
|
template_suffix := [card: "card.png", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"]
|
||||||
template := { input + suffix[type] }
|
template := { input + template_suffix[type] }
|
||||||
land_template := { (if input == "a" then "c" else input) + "l" + suffix[type] }
|
land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] }
|
||||||
color_combination := {
|
color_combination := {
|
||||||
# The base hybrid, without the outer frame blended over it
|
# The base hybrid, without the outer frame blended over it
|
||||||
base := base_hybrid[shape][color_count]()
|
base := base_hybrid[shape][color_count]()
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ init script:
|
|||||||
# Should hybrids have a grey name?
|
# Should hybrids have a grey name?
|
||||||
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
||||||
|
|
||||||
suffix := [card: "card.jpg", pt: "pt.png"]
|
template_suffix := [card: "card.jpg", pt: "pt.png"]
|
||||||
template := { input + suffix[type] }
|
template := { input + template_suffix[type] }
|
||||||
land_template := { (if input == "a" then "c" else input) + "l" + suffix[type] }
|
land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] }
|
||||||
|
|
||||||
# Use the normal tap symbol
|
# Use the normal tap symbol
|
||||||
mana_t := {
|
mana_t := {
|
||||||
|
|||||||
Reference in New Issue
Block a user