mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Added option to use blending to make colored lands
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@484 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -9,7 +9,10 @@
|
||||
mask_hybrid_with_land := { false }
|
||||
template := { input + "{type}.jpg" }
|
||||
land_template := { (if input == "a" then "c" else input) + "l{type}.jpg" }
|
||||
# For what value should thumbnails of hybrids be made?
|
||||
hybrid_previews := "hybrid"
|
||||
# Are there templates for colored lands, land_template(...)?
|
||||
colored_lands := true
|
||||
|
||||
########################################################################
|
||||
# Combining multiple colors (hybrids)
|
||||
@@ -436,7 +439,7 @@ color_background := {
|
||||
multi := chosen(choice:"multicolor")
|
||||
hybrid := chosen(choice:"hybrid")
|
||||
artifact := chosen(choice:"artifact")
|
||||
if land then template := land_template # use land template instead?
|
||||
if land and colored_lands then template := land_template # use land template instead?
|
||||
|
||||
# The selected colors
|
||||
colors := sort( order: "(wubrg)"
|
||||
@@ -472,7 +475,13 @@ color_combination := {
|
||||
base := base_hybrid[shape][color_count]()
|
||||
|
||||
# Put a frame around it?
|
||||
if multi then
|
||||
if land and not colored_lands then
|
||||
masked_blend(
|
||||
mask: "multicolor_blend_{type}.png",
|
||||
dark: land_template("c"),
|
||||
light: base,
|
||||
)
|
||||
else if multi then
|
||||
masked_blend(
|
||||
mask: "multicolor_blend_{type}.png",
|
||||
dark: template("m"),
|
||||
|
||||
Reference in New Issue
Block a user