update to MOM plane frame (#74)

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
cajun
2024-09-23 09:55:31 -05:00
committed by GitHub
parent ce77357b06
commit 1a5432a0ec
36 changed files with 407 additions and 468 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -1,4 +1,4 @@
mse version: 0.3.8 mse version: 2.1.2
game: magic game: magic
short name: Planechase short name: Planechase
full name: Mini Mainframe full name: Mini Mainframe
@@ -6,7 +6,7 @@ installer group: Magic Planes/normal style
icon: card-sample.png icon: card-sample.png
position hint: 090 position hint: 090
version: 2024-09-03 version: 2024-09-23
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2018-06-01 version: 2018-06-01
@@ -35,25 +35,71 @@ init script:
# Use guild mana symbols? # Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols } guild_mana := { styling.use_guild_mana_symbols }
is_nom := {contains(card.super_type, match: "Phenomenon") } swap_fonts_name_default := [
card_shape := { "plane card" } name: {"Beleren Bold"},
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")} italic: {""},
un_png := replace@(match:".png", replace: "") size: {13},
color: {"black"},
vertical: {0}
]
swap_fonts_type_default := [
name: {"Beleren Bold"},
italic: {""},
size: {10},
color: {"black"},
vertical: {0}
]
swap_fonts_body_default := [
name: {"MPlantin"},
italic: {"MPlantin-Italic"},
size: { t := to_number_lax(styling.font_size); if t > 0 then t else 10 },
color: {"black"},
vertical: {0}
]
is_unsorted := {styling.remove_from_autocount} is_unsorted := {styling.remove_from_autocount}
bar_offset := {if styling_offset() == "-" then 0 else if styling_offset() != "" then -styling_offset() else 0} is_nom := {contains(card.super_type, match:"Phenomenon") }
styling_offset := { replace(styling.flavor_bar_offset, match:"(u|d)+", replace: "") } is_old_frame := { chosen(styling.options, choice:"old frame") }
offset_lines := {offset_counter(styling.flavor_bar_offset)}
top_textbox := {268} alt_text := { not is_nom() }
height_textbox := { if is_nom() then 0 else if styling.chaos_divider != "" then to_number(styling.chaos_divider) else 37 } alt_text_script := {
filter_image := {crop("filter.png", height: height_textbox()+9, width:428, offset_x:0, offset_y:0)} combined_editor(field1:card.rule_text, separator1:"<line>\n</line>", field2:card.rule_text_2)
height_chaos := {77 - height_textbox()}
height_c_sym := {if is_nom() then 0 else min(22,height_chaos()-4) }
special_text := {
card.text + (if remove_tags(card.rule_text_2) != "" then "\n" + card.rule_text_2 else "")
} }
watermark_include := "/magic-modules.mse-include/watermarks" card_name_for_face := { "" }
is_loaded := { card_style.text.layout.separator[0] or else 0 > 0 }
top_box_height := {
if is_loaded()
then card_style.text.layout.separator[0]
else 45
}
bottom_box_height := {
90 - top_box_height()
}
built_frame_mask := {
double_mask := if is_old_frame() then "old_mask.png" else "plane_mask.png"
filter := "new_filter.png"
## crop the filter
cropped := slice_crop (
filter,
height: 375,
width: 523,
distance: top_box_height()+375+4
)
masked_blend(dark:invert_image(double_mask), light:cropped, mask:double_mask)
}
card_shape := { "plane card" }
margin_left := {
if input == "text2" then 310 else 0
}
text_filter := text_filter + { apply_margins(input, name: margin_code) }
############################################################## Set info fields ############################################################## Set info fields
set info style: set info style:
symbol: symbol:
@@ -64,23 +110,14 @@ set info style:
fill color: rgb(255,255,255) fill color: rgb(255,255,255)
border color: rgb(0,0,0) border color: rgb(0,0,0)
############################################################## Extra style options ############################################################## Extra style options
styling field:
type: multiple choice
name: options
choice: old frame
styling field: styling field:
type: text type: text
name: font size name: font size
description: Set the maximum font size. Default is 16. description: Set the maximum font size. Default is 16.
styling field:
type: text
name: chaos divider
description: Set the coordinate where the chaos textbox starts. Default is 40.
styling field:
type: text
name: flavor bar offset
description: Move the flavor bar up X pixels. Use negative to move down.
styling field:
type: boolean
name: center set info
description: disables the copyright field and centers set and card information
initial: no
styling field: styling field:
type: boolean type: boolean
name: remove from autocount name: remove from autocount
@@ -109,7 +146,11 @@ styling field:
name: inverted common symbol name: inverted common symbol
description: Should the common rarity symbol be inverted, like in Coldsnap? description: Should the common rarity symbol be inverted, like in Coldsnap?
initial: no initial: no
include file: /magic-modules.mse-include/fonts/styling_fields
styling style: styling style:
options:
render style: checklist
direction: vertical
use guild mana symbols: use guild mana symbols:
choice images: choice images:
yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png
@@ -129,138 +170,114 @@ include file: /magic-modules.mse-include/corners/card_fields
card style: card style:
############################# Name line ############################# Name line
name: name:
left: 84 left: 84
top: 20 top: 20
width: 354 width: 354
height: 23 height: 23
alignment: bottom center shrink-overflow alignment: bottom center shrink-overflow
padding bottom: 0 z index: 900
z index: 2
font: font:
name: Beleren Bold name: { name_font() }
size: 13 italic name: { name_font_italic() }
color: black size: { name_font_size () }
color: { name_font_color() }
############################# Image ############################# Image
image: image:
left: 16 left: 14
top: 15 top: 13
width: 492.5 width: 494
height: 344 height: 349
z index: 1 z index: 0
mask: { if is_nom() then "image_mask_nom.png" else "image_mask_level.png" } mask: { "guideline.png" }
############################# Card type ############################# Card type
type: type:
left: 114 left: 114
top: 243 top: 243
width: 294 width: 294
height: 23 height: 23
alignment: bottom center shrink-overflow alignment: bottom center shrink-overflow
padding bottom: 0 z index: 2
z index: 2
font: font:
name: Beleren Bold name: { type_font() }
size: 10 italic name: { type_font_italic() }
color: black size: { type_font_size() }
color: { type_font_color() }
rarity: rarity:
right: 408 right: 408
top: 253 top: 253
width: 28 width: 28
height: 14 height: 14
z index: 2 z index: 2
render style: image render style: image
alignment: middle right alignment: middle right
include file: /magic-modules.mse-include/rarities/choice_images include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box ############################# Text box
text: text:
left: 62 left: 62
width: 411 width: 411
top: 268 top: 268
height: { if is_nom() then 78 else 0 } height: 90
font: font:
name: MPlantin name: { body_font() }
italic name: MPlantin-Italic italic name: { body_font_italic() }
size: { if styling.font_size != "" then styling.font_size else 10 } size: { body_font_size() }
scale down to: 1 color: { body_font_color() }
color: black scale down to: 6
symbol font: symbol font:
name: { styling.text_box_mana_symbols } name: { styling.text_box_mana_symbols }
size: { if styling.font_size != "" then styling.font_size else 10 } size: { body_font_size() }
alignment: middle left alignment: middle left
z index: 2 z index: 900
line height hard: 1.2 line height hard: 1.2
line height line: 1.5 line height line: 1.5
line height soft: 0.9 line height soft: 0.9
line height hard max: 1.3 line height hard max: 1.3
line height line max: 1.6 line height line max: 1.6
rule text 2:
left: 94
width: { if is_nom() then 0 else 369.5 }
top: { 271 + height_textbox()}
bottom: { if is_nom() then 0 else 348}
font:
name: MPlantin
italic name: MPlantin-Italic
size: { if styling.font_size != "" then styling.font_size else 10 }
scale down to: 1
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: { if styling.font_size != "" then styling.font_size else 10 }
alignment: middle left
z index: 2
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
############################# Card sorting / numbering
############################# Copyright stuff ############################# Copyright stuff
illustrator:
right: 314
top: 354
width: 92
height: 7
z index: 2
alignment: center
font:
name: Beleren Small Caps Bold
size: 6
color: {styling.copyright_text_color or else set.copyright_text_color}
copyright:
right: 385
top: 364
width: { if set.automatic_copyright then 0 else 130 }
height: { if styling.center_set_info then 0 else 7 }
z index: 2
alignment: middle right shrink-overflow
font:
name: Matrix
size: 7
color: {styling.copyright_text_color or else set.copyright_text_color}
weight: bold
visible: {not set.automatic_copyright}
set code:
left: { (if styling.center_set_info then 225 else 165) + card_style.card_code.content_width }
top: 362
width: 34
height: 12
z index: 1
font:
name: Relay-Medium
size: 6.25
color: {styling.copyright_text_color or else set.copyright_text_color}
weight: bold
card code: card code:
left: { if styling.center_set_info then 222 else 161 } left: { if is_old_frame() then 161 else 49 }
top: 362 top: 362
width: 81 width: 81
height: 12 height: 12
z index: 1 z index: 1
font: font:
name: Relay-Medium name: Relay-Medium
size: 6.25 size: 6.25
color: {styling.copyright_text_color or else set.copyright_text_color} color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
set code:
left: { (if is_old_frame() then 165 else 52) + card_style.card_code.content_width }
top: 362
width: 34
height: 2
z index: 900
font:
name: Relay-Medium
size: 6.25
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
illustrator:
left: { if is_old_frame() then 222 else card_style.set_code.left + card_style.set_code.content_width + 18 }
top: { if is_old_frame() then 354 else 362 }
width: 92
height: 7
z index: 900
alignment: { if is_old_frame() then "center" else "left" }
font:
name: Beleren Small Caps Bold
size: 6
color: { styling.copyright_text_color or else set.copyright_text_color }
copyright:
right: { if is_old_frame() then 385 else 474 }
top: 364
width: { if set.automatic_copyright then 0 else 130 }
height: 7
z index: 900
alignment: middle right shrink-overflow
font:
name: MPlantin
size: 7
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold weight: bold
############################################################## Extra card fields ############################################################## Extra card fields
extra card field: extra card field:
@@ -269,6 +286,12 @@ extra card field:
editable: false editable: false
save value: false save value: false
choice: frame choice: frame
extra card field:
type: choice
name: chaos symbol
editable: false
save value: false
choice: frame
extra card field: extra card field:
type: text type: text
name: auto copyright name: auto copyright
@@ -277,25 +300,18 @@ extra card field:
editable: false editable: false
show statistics: false show statistics: false
extra card field: extra card field:
type: choice type: text
name: chaos symbol name: auto copyright
editable: false script: set.copyright
save value: false save value: false
choice: chaos editable: false
show statistics: false
extra card field: extra card field:
type: choice type: choice
name: artist arrow name: artist arrow
save value: false save value: false
choice: white choice: white
editable: false editable: false
extra card field:
type: text
name: main text
multi line: true
save value: false
show statistics: false
script: forward_editor(field: card.rule_text)
description: The rule text for the card
extra card field: extra card field:
type: choice type: choice
name: flavor bar name: flavor bar
@@ -303,98 +319,51 @@ extra card field:
editable: false editable: false
save value: false save value: false
show statistics: false show statistics: false
extra card field:
type: choice
name: filter
choice: overlay
editable: false
save value: false
show statistics: false
extra card field:
type: text
name: filler text
editable: true
save value: true
show statistics: false
multi line: true
script:
forward_editor(field: card.special_text)
special_text()
extra card style: extra card style:
background: background:
left: 0 left: 0
top: 0 top: 0
width: 523 width: 523
height: 375 height: 375
z index: 0 z index: 0
render style: image render style: image
choice images: image: { if is_old_frame() then "old_card.png" else "card.png" }
frame: card.png mask: { if is_nom() then "" else built_frame_mask() }
chaos symbol: chaos symbol:
left: {62 + 0.5*(22 - height_c_sym())} left: 62
top: { 275 + height_textbox() + 0.5*height_chaos() - 0.5*height_c_sym() } top: { 268 + top_box_height() + 0.5*bottom_box_height() - 11 }
width: { if is_nom() then 0 else height_c_sym() + 3 } width: { 1.15*min(22, bottom_box_height()) }
height: { height_c_sym() } height: { min(22, bottom_box_height()) }
z index: 2 z index: 720
visible: { not is_nom() }
render style: image render style: image
choice images: image: /magic-mana-small.mse-symbol-font/mana_chaos.png
chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png
artist arrow: artist arrow:
left: { 256 - card_style.illustrator.content_width * 0.5 } left: { if is_old_frame() then 256 - card_style.illustrator.content_width * 0.5 else card_style.set_code.left + card_style.set_code.content_width + 5 }
top: 356 top: { if is_old_frame() then 356 else 364 }
width: 10 width: 10
height: 6 height: 6
z index: 6 z index: 6
render style: image render style: image
image: artist_arrow.png image: artist_arrow.png
auto copyright: auto copyright:
right: 385 right: { if is_old_frame() then 385 else 474 }
top: 364 top: 364
width: { if not set.automatic_copyright or styling.center_set_info then 0 else 130 } width: { if set.automatic_copyright then 130 else 0 }
height: { if styling.center_set_info then 0 else 7 } height: 7
z index: 2 z index: 900
alignment: middle right shrink-overflow alignment: middle right shrink-overflow
font: font:
name: Matrix name: Matrix
size: 7 size: 7
color: {styling.copyright_text_color or else set.copyright_text_color} color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold weight: bold
main text:
left: 62
width: 411
top: {top_textbox()}
height: {height_textbox()}
font:
name: MPlantin
italic name: MPlantin-Italic
size: { if styling.font_size != "" then styling.font_size else 10 }
scale down to: 1
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: { if styling.font_size != "" then styling.font_size else 10 }
alignment: middle left
z index: 2
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
filter:
left: 48
top: 261
width: 428
height: {height_textbox() + 9}
render style: image
image: {filter_image()}
z index: 1
flavor bar: flavor bar:
left: 0 left: 0
top: { bar_equation() } top: { bar_equation() }
width: 523 width: 523
height: 1 height: 1
z index: 1 z index: 1
render style: image render style: image
image: bar.png image: bar.png
visible: { card.rule_text != "" and remove_tags(card.flavor_text) != "" and set.use_flavor_bar and is_nom()} visible: { card.rule_text != "" and remove_tags(card.flavor_text) != "" and set.use_flavor_bar and is_nom() }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 KiB

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -1,4 +1,4 @@
mse version: 0.3.8 mse version: 2.1.2
game: magic game: magic
short name: Planechase short name: Planechase
full name: Mainframe Update full name: Mainframe Update
@@ -6,7 +6,7 @@ installer group: Magic Planes/normal style
icon: card-sample.png icon: card-sample.png
position hint: 090 position hint: 090
version: 2024-09-03 version: 2024-09-23
depends on: depends on:
package: magic.mse-game package: magic.mse-game
version: 2018-06-01 version: 2018-06-01
@@ -22,7 +22,7 @@ depends on:
card width: 800 card width: 800
card height: 559 card height: 559
card dpi: 170 card dpi: 150
#By Cajun #By Cajun
############################################################## Extra scripts ############################################################## Extra scripts
init script: init script:
@@ -35,25 +35,71 @@ init script:
# Use guild mana symbols? # Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols } guild_mana := { styling.use_guild_mana_symbols }
is_nom := {contains(card.super_type, match:"Phenomenon") } swap_fonts_name_default := [
card_shape := { "plane card" } name: {"Beleren Bold"},
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")} italic: {""},
un_png := replace@(match:".png", replace: "") size: {19},
color: {"black"},
vertical: {0}
]
swap_fonts_body_default := [
name: {"MPlantin"},
italic: {"MPlantin-Italic"},
size: { t := to_number_lax(styling.font_size); if t > 0 then t else 16 },
color: {"black"},
vertical: {0}
]
swap_fonts_type_default := [
name: {"Beleren Bold"},
italic: {""},
size: {14},
color: {"black"},
vertical: {0}
]
is_unsorted := {styling.remove_from_autocount} is_unsorted := {styling.remove_from_autocount}
bar_offset := {if styling_offset() == "-" then 0 else if styling_offset() != "" then -styling_offset() else 0} is_nom := {contains(card.super_type, match:"Phenomenon") }
styling_offset := { replace(styling.flavor_bar_offset, match:"(u|d)+", replace: "") } is_old_frame := { chosen(styling.options, choice:"old frame") }
offset_lines := {offset_counter(styling.flavor_bar_offset)}
top_textbox := {402} alt_text := { not is_nom() }
height_textbox := { if is_nom() then 0 else if styling.chaos_divider != "" then to_number(styling.chaos_divider) else 62 } alt_text_script := {
filter_image := {crop("filter.png", height: height_textbox()+18, width:656, offset_x:0, offset_y:0)} combined_editor(field1:card.rule_text, separator1:"<line>\n</line>", field2:card.rule_text_2)
height_chaos := {109 - height_textbox()}
height_c_sym := {if is_nom() then 0 else min(33,height_chaos()-4) }
special_text := {
card.text + (if remove_tags(card.rule_text_2) != "" then "\n" + card.rule_text_2 else "")
} }
card_name_for_face := { "" }
is_loaded := { card_style.text.layout.separator[0] or else 0 > 0 }
top_box_height := {
if is_loaded()
then card_style.text.layout.separator[0]
else 56
}
bottom_box_height := {
116 - top_box_height()
}
built_frame_mask := {
double_mask := if is_old_frame() then "old_mask.png" else "plane_mask.png"
filter := "new_filter.png"
## crop the filter
cropped := slice_crop (
filter,
height: 559,
width: 800,
distance: top_box_height()+559+9
)
masked_blend(dark:invert_image(double_mask), light:cropped, mask:double_mask)
}
card_shape := { "plane card" }
margin_left := {
if input == "text2" then 480 else 0
}
text_filter := text_filter + { apply_margins(input, name: margin_code) }
############################################################## Set info fields ############################################################## Set info fields
set info style: set info style:
symbol: symbol:
@@ -64,23 +110,14 @@ set info style:
fill color: rgb(255,255,255) fill color: rgb(255,255,255)
border color: rgb(0,0,0) border color: rgb(0,0,0)
############################################################## Extra style options ############################################################## Extra style options
styling field:
type: multiple choice
name: options
choice: old frame
styling field: styling field:
type: text type: text
name: font size name: font size
description: Set the maximum font size. Default is 16. description: Set the maximum font size. Default is 16.
styling field:
type: text
name: chaos divider
description: Set the coordinate where the chaos textbox starts. Default is 62.
styling field:
type: text
name: flavor bar offset
description: Move the flavor bar up X pixels. Use negative to move down.
styling field:
type: boolean
name: center set info
description: disables the copyright field and centers set and card information
initial: no
styling field: styling field:
type: boolean type: boolean
name: remove from autocount name: remove from autocount
@@ -109,7 +146,11 @@ styling field:
name: inverted common symbol name: inverted common symbol
description: Should the common rarity symbol be inverted, like in Coldsnap? description: Should the common rarity symbol be inverted, like in Coldsnap?
initial: no initial: no
include file: /magic-modules.mse-include/fonts/styling_fields
styling style: styling style:
options:
render style: checklist
direction: vertical
use guild mana symbols: use guild mana symbols:
choice images: choice images:
yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png
@@ -125,140 +166,118 @@ styling style:
no: { symbol_variation(symbol: set.symbol, variation: "common") } no: { symbol_variation(symbol: set.symbol, variation: "common") }
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
############################################################## Card fields ############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields
card style: card style:
############################# Name line ############################# Name line
name: name:
left: 129 left: 129
top: 29 top: 29
width: 542 width: 542
height: 34 height: 34
alignment: bottom center shrink-overflow alignment: bottom center shrink-overflow
padding bottom: 0 z index: 900
z index: 2
font: font:
name: Beleren Bold name: { name_font() }
size: 19 italic name: { name_font_italic() }
color: black size: { name_font_size () }
color: { name_font_color() }
############################# Image ############################# Image
image: image:
left: 24 left: 22
top: 22 top: 20
width: 753 width: 755
height: 513 height: 519
z index: 1 z index: 0
mask: { if is_nom() then "image_mask_nom.png" else "image_mask_level.png" } mask: { "guideline.png" }
############################# Card type ############################# Card type
type: type:
left: 176 left: 176
top: 362 top: 362
width: 450 width: 450
height: 34 height: 34
alignment: bottom center shrink-overflow alignment: bottom center shrink-overflow
padding bottom: 0 z index: 2
z index: 2
font: font:
name: Beleren Bold name: { type_font() }
size: 14 italic name: { type_font_italic() }
color: black size: { type_font_size() }
color: { type_font_color() }
rarity: rarity:
right: 624 right: 624
top: 377 top: 377
width: 43 width: 43
height: 21 height: 21
z index: 2 z index: 2
render style: image render style: image
alignment: middle right alignment: middle right
include file: /magic-modules.mse-include/rarities/choice_images include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box ############################# Text box
text: text:
left: 95 left: 95
width: 613 width: 613
top: 402 top: 402
height: { if is_nom() then 116 else 0} height: 130
font: font:
name: MPlantin name: { body_font() }
italic name: MPlantin-Italic italic name: { body_font_italic() }
size: { if styling.font_size != "" then styling.font_size else 16 } size: { body_font_size() }
scale down to: 1 color: { body_font_color() }
color: black scale down to: 6
symbol font: symbol font:
name: { styling.text_box_mana_symbols } name: { styling.text_box_mana_symbols }
size: { if styling.font_size != "" then styling.font_size else 16 } size: { body_font_size() }
alignment: middle left alignment: middle left
z index: 2 z index: 900
line height hard: 1.2 line height hard: 1.2
line height line: 1.5 line height line: 1.5
line height soft: 0.9 line height soft: 0.9
line height hard max: 1.3 line height hard max: 1.3
line height line max: 1.6 line height line max: 1.6
rule text 2:
left: 143
width: { if is_nom() then 0 else 565 }
top: { 408 + height_textbox() }
bottom: { if is_nom() then 0 else 517}
font:
name: MPlantin
italic name: MPlantin-Italic
size: { if styling.font_size != "" then styling.font_size else 16 }
scale down to: 1
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: { if styling.font_size != "" then styling.font_size else 16 }
alignment: middle left
z index: 2
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
############################# Card sorting / numbering
############################# Copyright stuff ############################# Copyright stuff
illustrator: card code:
right: 480 left: { if is_old_frame() then 270 else 75 }
top: 528 top: 542
width: 140 width: 120
height: 10 height: 19
z index: 2 z index: 1
alignment: center
font: font:
name: Beleren Small Caps Bold name: Relay-Medium
size: 7.25 size: 7
color: {styling.copyright_text_color or else set.copyright_text_color} color: { styling.copyright_text_color or else set.copyright_text_color }
copyright:
right: 530
top: 542
width: { if set.automatic_copyright then 0 else 150 }
height: { if styling.center_set_info then 0 else 10 }
z index: 2
alignment: middle right shrink-overflow
font:
name: Matrix
size: 8
color: {styling.copyright_text_color or else set.copyright_text_color}
weight: bold weight: bold
set code: set code:
left: { (if styling.center_set_info then 365 else 275) + card_style.card_code.content_width } left: { (if is_old_frame() then 275 else 80) + card_style.card_code.content_width }
top: 542 top: 542
width: 50 width: 50
height: 19 height: 19
z index: 1 z index: 900
font: font:
name: Relay-Medium name: Relay-Medium
size: 7 size: 7
color: {styling.copyright_text_color or else set.copyright_text_color} color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold weight: bold
card code: illustrator:
left: { if styling.center_set_info then 360 else 270 } left: { if is_old_frame() then 340 else card_style.set_code.left + card_style.set_code.content_width + 25 }
top: 542 top: { if is_old_frame() then 528 else 542 }
width: 120 width: 140
height: 19 height: 10
z index: 1 z index: 900
alignment: { if is_old_frame() then "center" else "left" }
font: font:
name: Relay-Medium name: Beleren Small Caps Bold
size: 7 size: 7.25
color: {styling.copyright_text_color or else set.copyright_text_color} color: { styling.copyright_text_color or else set.copyright_text_color }
copyright:
right: { if is_old_frame() then 530 else 725 }
top: 542
width: { if set.automatic_copyright then 0 else 150 }
height: 10
z index: 900
alignment: middle right shrink-overflow
font:
name: MPlantin
size: 8
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold weight: bold
############################################################## Extra card fields ############################################################## Extra card fields
extra card field: extra card field:
@@ -267,6 +286,12 @@ extra card field:
editable: false editable: false
save value: false save value: false
choice: frame choice: frame
extra card field:
type: choice
name: chaos symbol
editable: false
save value: false
choice: frame
extra card field: extra card field:
type: text type: text
name: auto copyright name: auto copyright
@@ -275,25 +300,18 @@ extra card field:
editable: false editable: false
show statistics: false show statistics: false
extra card field: extra card field:
type: choice type: text
name: chaos symbol name: auto copyright
editable: false script: set.copyright
save value: false save value: false
choice: chaos editable: false
show statistics: false
extra card field: extra card field:
type: choice type: choice
name: artist arrow name: artist arrow
save value: false save value: false
choice: white choice: white
editable: false editable: false
extra card field:
type: text
name: main text
multi line: true
save value: false
show statistics: false
script: forward_editor(field: card.rule_text)
description: The rules and flavor text for the card; use up and down arrows to switch
extra card field: extra card field:
type: choice type: choice
name: flavor bar name: flavor bar
@@ -301,100 +319,51 @@ extra card field:
editable: false editable: false
save value: false save value: false
show statistics: false show statistics: false
extra card field:
type: choice
name: filter
choice: overlay
editable: false
save value: false
show statistics: false
extra card field:
type: text
name: filler text
editable: true
save value: true
show statistics: false
multi line: true
script:
forward_editor(field: card.special_text)
special_text()
extra card style: extra card style:
background: background:
left: 0 left: 0
top: 0 top: 0
width: 800 width: 800
height: 559 height: 559
z index: 0 z index: 0
render style: image render style: image
choice images: image: { if is_old_frame() then "old_card.png" else "card.png" }
frame: card.png mask: { if is_nom() then "" else built_frame_mask() }
chaos symbol: chaos symbol:
left: {95 + 0.5*(33 - height_c_sym())} left: 95
top: { 410 + height_textbox() + 0.5*height_chaos() - 0.5*height_c_sym() } top: { 410 + top_box_height() + 0.5*bottom_box_height() - 17 }
width: { if is_nom() then 0 else height_c_sym() + 5 } width: { 1.15*min(34, bottom_box_height()) }
height: { height_c_sym() } height: { min(34, bottom_box_height()) }
z index: 2 z index: 720
visible: { not is_nom() }
render style: image render style: image
choice images: image: /magic-mana-small.mse-symbol-font/mana_chaos.png
chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png
visible: {height_textbox() < 101}
artist arrow: artist arrow:
left: { 395 - card_style.illustrator.content_width * 0.5 } left: { if is_old_frame() then 395 - card_style.illustrator.content_width * 0.5 else card_style.set_code.left + card_style.set_code.content_width + 10 }
top: 531 top: { if is_old_frame() then 531 else 545 }
width: 12 width: 12
height: 7 height: 7
z index: 6 z index: 6
render style: image render style: image
image: artist_arrow.png image: artist_arrow.png
auto copyright: auto copyright:
right: 530 right: { if is_old_frame() then 530 else 725 }
top: 542 top: 542
width: { if not set.automatic_copyright or styling.center_set_info then 0 else 150 } width: { if set.automatic_copyright then 150 else 0 }
height: { if styling.center_set_info then 0 else 10 } height: 10
z index: 2 z index: 900
alignment: middle right shrink-overflow alignment: middle right shrink-overflow
font: font:
name: Matrix name: Matrix
size: 8 size: 8
color: {styling.copyright_text_color or else set.copyright_text_color} color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold weight: bold
main text:
left: 95
width: 613
top: {top_textbox()}
height: {height_textbox()}
font:
name: MPlantin
italic name: MPlantin-Italic
size: { if styling.font_size != "" then styling.font_size else 16 }
scale down to: 1
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: { if styling.font_size != "" then styling.font_size else 16 }
alignment: middle left
z index: 2
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
filter:
left: 73
top: 390
width: 656
height: {height_textbox() + 18}
render style: image
image: {filter_image()}
z index: 1
visible: {not is_nom()}
flavor bar: flavor bar:
left: 0 left: 0
top: { bar_equation() } top: { bar_equation() }
width: 800 width: 800
height: 1 height: 1
z index: 1 z index: 1
render style: image render style: image
image: bar.png image: bar.png
visible: { card.rule_text != "" and remove_tags(card.flavor_text) != "" and set.use_flavor_bar and is_nom()} visible: { card.rule_text != "" and remove_tags(card.flavor_text) != "" and set.use_flavor_bar and is_nom() }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 958 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -2837,6 +2837,7 @@ corners_possible_dimensions :=
[ [
"375x523": "375x523" "375x523": "375x523"
"523x375": "523x375" "523x375": "523x375"
"800x559": "800x559"
"646x902": "646x902" "646x902": "646x902"
"902x646": "902x646" "902x646": "902x646"
"752x1049": "752x1049" "752x1049": "752x1049"