Commit 07869b16 authored by pichoro's avatar pichoro

New hybrid_blend_pt for magic-future-textless.

Attempt at making different colored colorless mana symbols work in magic-mana-future.
Added magic-futureshift.
parent 0dffafc8
mse version: 0.3.4
game: magic
short name: Future
full name: Futureshift
icon: card-sample.png
position hint: 050
card width: 375
card height: 523
card dpi: 150
#By: Pichoro
#
#Todo:
#Colorless Frame
#Make different colored colorless mana symbols work
#white font color blue land, red land, black land, and green land
#style choice to override font color?
#mana gears on colored artifacts need more color.
############################################################## Extra scripts
init script:
# there are only wubrg templates
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] }
color_combination := {
# The base hybrid, without the outer frame blended over it
base := base_hybrid[shape][color_count]()
# Put a frame around it?
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"),
light: base,
)
else if artifact then
masked_blend(
mask: "artifact_blend_{type}.png",
dark: template("a"),
light: base,
)
else if color_count > 1 and mask_hybrid_with_land() then
masked_blend(
mask: "hybrid_blend_{type}.png",
dark: land_template("c"),
light: base,
)
else base
}
# Use the normal tap symbol
mana_t := {
if styling.tap_symbol == "old" then "old"
else if styling.tap_symbol == "diagonal T" then "older"
else "new"
}
# Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols }
font_colors_white := { input != "w" and input != "c" and input != "a" and input != "l" and input != "m" }
############################################################## Extra style options
styling field:
type: boolean
name: use guild mana symbols
description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana.
initial: no
styling field:
type: choice
name: tap symbol
description: What tap symbol should be used on cards?
initial: modern
choice: modern
choice: old
choice: diagonal T
styling field:
type: boolean
name: futuristic mana symbols
description: Use the symbols of the casting cost line inside the text box as well
initial: no
styling field:
type: choice
name: center text
description: When to center text (short text only means only on one-line cards with no flavor text)
choice: always
choice: short text only
choice: never
initial: never
styling style:
use guild mana symbols:
choice images:
yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png
no: /magic-mana-small.mse-symbol-font/mana_rg.png
futuristic mana symbols:
choice images:
yes: /magic-mana-future.mse-symbol-font/mana_w.png
no: /magic-mana-small.mse-symbol-font/mana_w.png
tap symbol:
render style: both
choice images:
modern: /magic-mana-large.mse-symbol-font/mana_t.png
old: /magic-mana-large.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png
############################################################## Card fields
card style:
############################# Background stuff
border color:
left: 0
top : 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
bottom width: 18
mask: bordermask.png
z index: 2
card color:
left: 0
top: 0
width: 375
height: 523
z index: -2
render style: image
popup style: in place
image: { card_background() }
############################# Name line
name:
left: { if card.card_symbol=="none" then 73 else 88 }
top : 30
width: { if card.card_symbol=="none" then 269 else 254 }
height: 26
alignment: middle shrink-overflow
padding bottom: 0
z index: 4
font:
name: Matrix
size: 18
color: { font_color(card.card_color) }
casting cost:
left: 4
top: 39
height: 254
width: 82
alignment: top left
direction: vertical
symbol font:
name: magic-mana-future
size: 22
scale down to: 22
alignment: bottom right
always symbol: true
z index: 3
padding top: 0
mask: costmask.png
card symbol:
left: {if card.card_symbol=="none" then 50 else 67}
top : 31
height: 20
width: 14
z index: 4
render style: image
choice images:
tombstone: tombstone.png
type symbol:
left:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 26
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 25
else 25 }
top:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 26
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 23
else if card.type_symbol=="white instant" or card.type_symbol=="black instant" then 25
else if card.type_symbol=="black land" or card.type_symbol=="white land" then 25
else 24 }
width:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 15
else if card.type_symbol=="white instant" or card.type_symbol=="black instant" then 15
else 18 }
height:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 15
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 15
else if card.type_symbol=="white land" or card.type_symbol=="black land" then 15
else 18 }
z index: 4
render style: image
choice images:
white artifact: artifact_white.png
black artifact: artifact_black.png
white creature: creature_white.png
black creature: creature_black.png
white enchantment: enchantment_white.png
black enchantment: enchantment_black.png
white instant: instant_white.png
black instant: instant_black.png
white land: land_white.png
black land: land_black.png
white multitype: multitype_white.png
black multitype: multitype_black.png
white sorcery: sorcery_white.png
black sorcery: sorcery_black.png
############################# Image
image:
left: 32
top: 44
width: 327
height: 310
z index: 0
mask: mask_image.png
############################# Card type
type:
left: 49
top : 300
width: 270
height: 20
alignment: middle shrink-overflow
z index: 3
padding top: 2
font:
name: Matrix
size: 15
color: { font_color(card.card_color) }
separator color: rgb(128,128,128)
rarity:
left: 332
top : 301
width: 21
height: 21
z index: 3
render style: image
choice images:
# Images based on the set symbol
basic land: script: symbol_variation(symbol: set.symbol, variation: "common")
common: script: symbol_variation(symbol: set.symbol, variation: "common")
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
special: script: symbol_variation(symbol: set.symbol, variation: "special")
############################# Text box
text:
left: 36
top : 330
width: 301
height: 138
font:
name: MPlantin
italic name: MPlantin-Italic
size: 15
scale down to: 6
color: rgb(0,0,0)
symbol font:
name:
{ if styling.futuristic_mana_symbols then "magic-mana-future"
else "magic-mana-small" }
size: 15
alignment:
script:
if (styling.center_text == "short text only" and
not contains(match:"\n", card.rule_text) and
card.flavor_text == "<i-flavor></i-flavor>" and
card_style.text.content_lines <= 2) or
styling.center_text == "always"
then "middle center"
else "middle left"
z index: 2
padding left: 6
padding top: 2
padding right: 4
padding bottom: 2
line height hard: 1.2
line height line: 1.5
watermark:
left: 117
top : 321
width: 152
height: 152
z index: 1
render style: image
alignment: middle center
include file: magic-watermarks.mse-include/watermarks
############################# PT
pt:
z index: 4
left: 287
top: 470
width: 60
height: 28
alignment: center middle
font:
name: Mplantin
size: 17
weight: bold
color: { font_color(card.card_color) }
separator color: rgb(200,0,0)
############################# Card sorting / numbering
############################# Copyright stuff
illustrator:
left: 131
top : 475
width: { if card.pt != "" then 144 else 207 }
height: 16
z index: 2
alignment: bottom right
font:
name: MPlantin
size: 8
color: { font_color(card.card_color) }
symbol font:
name: magic-paintbrush
size: 14
copyright line:
left: 20
top : 488
width: { if card.pt != "" then 254 else 317 }
height: 12
z index: 2
alignment: bottom right
font:
name: MPlantin
size: 7
color: { font_color(card.card_color) }
############################################################## Extra card fields
extra card field:
type: choice
name: textbox
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: typeline
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: pt box
script: card.card_color
editable: false
save value: false
extra card style:
textbox:
left: 23
top: 320
width: 335
height: 152
render style: image
popup style: in place
image: { card_textbox() }
z index: 1
typeline:
left: 18
top: 17
width: 339
height: 464
render style: image
popup style: in place
image: { card_typeline() }
z index: 2
pt box:
left: 285
top: 452
width: 70
height: 52
z index: 3
visible: { card.pt != "" }
render style: image
image: { card_ptbox() }
......@@ -4,13 +4,23 @@ mse version: 0.3.3
image font size: 135
horizontal space: 2
symbol:
image:
{ if card.card_color=="white" then "mana_circle_w.png"
else if card.card_color=="blue" then "mana_circle_u.png"
else if card.card_color=="black" then "mana_circle_b.png"
else if card.card_color=="red" then "mana_circle_r.png"
else if card.card_color=="green" then "mana_circle_g.png"
else "mana_circle.png" }
image: mana_circle_w.png
enabled: { contains(card.card_color, match:"white") and not contains(card.card_color, match:"blue") and not contains(card.card_color, match:"black") and not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") }
symbol:
image: mana_circle_u.png
enabled: { contains(card.card_color, match:"blue") and not contains(card.card_color, match:"white") and not contains(card.card_color, match:"black") and not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") }
symbol:
image: mana_circle_b.png
enabled: { contains(card.card_color, match:"black") and not contains(card.card_color, match:"blue") and not contains(card.card_color, match:"white") and not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") }
symbol:
image: mana_circle_r.png
enabled: { contains(card.card_color, match:"red") and not contains(card.card_color, match:"blue") and not contains(card.card_color, match:"black") and not contains(card.card_color, match:"white") and not contains(card.card_color, match:"green") }
symbol:
image: mana_circle_g.png
enabled: { contains(card.card_color, match:"green") and not contains(card.card_color, match:"blue") and not contains(card.card_color, match:"black") and not contains(card.card_color, match:"red") and not contains(card.card_color, match:"white") }
symbol:
image: mana_circle.png
enabled: { not contains(card.card_color, match:"white") and not contains(card.card_color, match:"blue") and not contains(card.card_color, match:"black") and not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") }
symbol:
code: T
image: mana_t.png
......
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