'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:
twanvl
2007-09-01 20:06:09 +00:00
parent bdc1e12e95
commit e3ab15900c
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -16,9 +16,9 @@ init script:
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
suffix := [card: "card.png", pt: "pt.png"]
template := { input + suffix[type] }
land_template := { (if input == "a" then "c" else input) + "l" + suffix[type] }
template_suffix := [card: "card.png", pt: "pt.png"]
template := { input + template_suffix[type] }
land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] }
color_combination := {
# The base hybrid, without the outer frame blended over it
base := base_hybrid[shape][color_count]()
+3 -3
View File
@@ -15,9 +15,9 @@ card dpi: 150
init script:
mask_hybrid_with_land := { styling.grey_hybrid_name }
suffix := [card: "card.png", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"]
template := { input + suffix[type] }
land_template := { (if input == "a" then "c" else input) + "l" + suffix[type] }
template_suffix := [card: "card.png", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"]
template := { input + template_suffix[type] }
land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] }
color_combination := {
# The base hybrid, without the outer frame blended over it
base := base_hybrid[shape][color_count]()
+3 -3
View File
@@ -15,9 +15,9 @@ init script:
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
suffix := [card: "card.jpg", pt: "pt.png"]
template := { input + suffix[type] }
land_template := { (if input == "a" then "c" else input) + "l" + suffix[type] }
template_suffix := [card: "card.jpg", pt: "pt.png"]
template := { input + template_suffix[type] }
land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] }
# Use the normal tap symbol
mana_t := {