Commit d3742bc0 authored by twanvl's avatar twanvl

'suffix' is no longer a safe global variable name in scripts

parent 6cd57ab0
...@@ -16,9 +16,9 @@ init script: ...@@ -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 ...@@ -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: ...@@ -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 := {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment