Add corners options to some showcases (#44)

* Add corners option for Strixhaven showcases, Amonkhet Invocation, Dungeon Module, Secret Lair Full Art, and Unstable Basics
* Added option to remove name background from Unstable Basics
---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
GenevensiS
2024-05-26 10:24:24 +02:00
committed by GitHub
parent fd4b8e4c89
commit 056abce80f
168 changed files with 358 additions and 894 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@@ -6,7 +6,7 @@ icon: card-sample.png
position hint: 095
installer group: magic/new style/normal cards
version: 2021-02-16
version: 2024-05-26
depends on:
package: magic.mse-game
version: 2014-06-25
@@ -14,11 +14,8 @@ depends on:
package: magic-default-image.mse-include
version: 2007-09-23
depends on:
package: magic-watermarks.mse-include
version: 2007-09-23
depends on:
package: magic-identity-new.mse-include
version: 2012-01-22
package: magic-modules.mse-include
version: 2024-05-20
depends on:
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
@@ -55,8 +52,8 @@ init script:
)
else input
}
template_prefix := [card:"" identity: "/magic-identity-new.mse-include/"]
template_suffix := [card:"card.jpg" identity: "identity.png"]
template_prefix := [card:"" identity: "/magic-modules.mse-include/identity/"]
template_suffix := [card:"card.png" identity: "identity.png"]
template := { template_prefix[type] + input + template_suffix[type] }
land_template := { template_prefix[type] + input + template_suffix[type] }
# Use land templates for previews because they show more contrast
@@ -80,7 +77,6 @@ init script:
guild_mana := { styling.use_guild_mana_symbols }
ancestral_mana := { styling.ancestral_mana_symbols }
has_identity := { styling.color_indicator_dot }
is_unsorted := {styling.remove_from_autocount}
chop_top := {to_number(pull_comma_array(styling.text_chops, cell:0, end:false))}
@@ -88,8 +84,6 @@ init script:
chop_correction := { chop_bot() }
shrink_type := {if styling.shrink_typeline_text != "" then to_number(styling.shrink_typeline_text) else 0}
shrink_name := {if styling.shrink_name_text != "" then to_number(styling.shrink_name_text) else 0}
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}
un_png := replace@(match:".png", replace: "")
break_name := {
words := split_text(card.name, match:" ")
@@ -154,15 +148,7 @@ styling field:
choice: all breaks +2
choice: all breaks +3
description: Do dice levels normally, off, on all linebreaks, on all but the first linebreak, etc.
styling field:
type: boolean
name: use holofoil stamps
description: Change to no to disable rare holofoil stamps
styling field:
type: boolean
name: color indicator dot
description: Use the color indicator dot
initial: no
include file: /magic-modules.mse-include/stamps/styling_fields
styling field:
type: boolean
name: remove from autocount
@@ -213,11 +199,6 @@ styling field:
name: promo
description: Is this card a promo card, with the "P" rarity?
initial: no
styling field:
type: boolean
name: masterpiece
description: Is this card a Masterpiece?
initial: no
styling field:
type: boolean
name: inverted common symbol
@@ -252,6 +233,9 @@ styling style:
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields
include file: /magic-modules.mse-include/stamps/card_fields
include file: /magic-modules.mse-include/information/card_fields
card style:
############################# Background stuff
card color:
@@ -259,11 +243,11 @@ card style:
top: 0
width: 375
height: 523
z index: -2
z index: 200
render style: image
popup style: in place
image: { card_background() }
mask: frame_mask.png
############################# Name line
name:
left: 57
@@ -272,7 +256,7 @@ card style:
height: 30
alignment: center shrink-overflow
padding bottom: 0
z index: 1
z index: 900
font:
name: ITC Souvenir
size: 20
@@ -292,7 +276,7 @@ card style:
size: 15
alignment: middle right
always symbol: true
z index: 4
z index: 920
padding top: 0
############################# Image
image:
@@ -300,7 +284,7 @@ card style:
top: 99
width: 342
height: 212
z index: 1
z index: 100
############################# Card type
type:
left: 33
@@ -308,7 +292,7 @@ card style:
width: { 291 - max(23,card_style.rarity.content_width) }
height: 19
alignment: top shrink-overflow
z index: 1
z index: 900
padding top: 2
font:
name: ITC Souvenir Demi
@@ -320,47 +304,16 @@ card style:
top: 317
width: 44
height: 22
z index: 2
z index: 950
render style: image
alignment: middle right
choice images:
# Images based on the set symbol
basic land:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
common:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
uncommon:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "u.png"
else symbol_variation(symbol: set.symbol, variation: "uncommon")
rare:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "r.png"
else symbol_variation(symbol: set.symbol, variation: "rare")
mythic rare:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "m.png"
else symbol_variation(symbol: set.symbol, variation: "mythic rare")
special:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "s.png"
else symbol_variation(symbol: set.symbol, variation: "special")
masterpiece:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "mp.png"
else symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box
text:
left: 28
top : {348-(-chop_top())}
width: 311
bottom: {483-chop_bot()-(if is_rare() and styling.use_holofoil_stamps then 3 else 0)}
bottom: {483-chop_bot()-(if is_rare() and has_identity() then 3 else 0)}
font:
name: ITC Souvenir
size: 14
@@ -380,7 +333,7 @@ card style:
styling.center_text == "always"
then "center"
else "left")
z index: 3
z index: 900
padding left: 6
padding right: 4
line height hard: {if is_modal(card.rule_text) then 0.9 else 1.2 }
@@ -390,7 +343,7 @@ card style:
line height line max: 1.6
############################# PT
pt:
z index: 4
z index: 900
left: 320
top: 456
width: 55
@@ -401,58 +354,7 @@ card style:
size: 15
color: white
separator color: red
############################# Card sorting / numbering
set code:
left: 24
top: 498
width: 40
height: 10
z index: 2
font:
name: Relay-Medium
size: 7
color: white
weight: bold
############################# Copyright stuff
illustrator:
left: { 44 + card_style.set_code.content_width }
top: 497.5
width: 200
height: 10
z index: 2
font:
name: Beleren Small Caps Bold
size: 7.25
color: white
copyright:
right: 350
top: { if card.pt != "" then 500 else 488 }
width: 140
height: 10
z index: 2
visible: {not set.automatic_copyright}
alignment: middle right shrink-overflow
font:
name: Matrix
size: 7
color: white
weight: bold
############################################################## Extra card fields
extra card field:
type: text
name: card code
save value: false
script:
if set.automatic_card_numbers and not styling.remove_from_autocount then
forward_editor(prefix: card_number_m15() + "/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
else
combined_editor(field1: card.custom_card_number, separator: " " + rarity_code() + " ", field2: card.card_code_text)
extra card field:
type: choice
name: artist arrow
editable: false
save value: false
choice: white
extra card field:
type: text
name: module title
@@ -508,49 +410,14 @@ extra card field:
choice: mask
editable: false
show statistics: false
extra card field:
type: text
name: auto copyright
script: set.copyright
save value: false
editable: false
show statistics: false
extra card field:
type: choice
name: foil stamp
choice: stamp
save value: false
name: stamp backing
choice: backing
editable: false
save value: false
extra card style:
card code:
left: 24
top: 488
width: 120
height: 10
z index: 2
font:
name: Relay-Medium
size: 7
color: white
weight: bold
artist arrow:
left: { 28 + card_style.set_code.content_width }
top: 500
width: 12
height: 7
z index: 1
render style: image
image: artist_arrow.png
foil stamp:
left: 165
top: 472
width: 46
height: 26
z index: 2
visible: { is_rare() and styling.use_holofoil_stamps }
render style: image
image: holo_stamp.png
module title:
left: 100
top: 7
@@ -558,7 +425,7 @@ extra card style:
height: 20
alignment: center shrink-overflow
padding bottom: 0
z index: 1
z index: 900
font:
name: ITC Souvenir Bold
size: 12
@@ -570,7 +437,7 @@ extra card style:
height: 10
alignment: right shrink-overflow
padding bottom: 0
z index: 1
z index: 900
font:
name: ITC Souvenir Bold
size: 7
@@ -582,7 +449,7 @@ extra card style:
height: 15
alignment: center shrink-overflow
padding bottom: 0
z index: 1
z index: 900
font:
name: ITC Souvenir Demi
size: 10
@@ -595,7 +462,7 @@ extra card style:
angle: 45
alignment: center shrink-overflow
padding bottom: 0
z index: 1
z index: 900
font:
name: ITC Souvenir Bold
size: 7.5
@@ -607,7 +474,7 @@ extra card style:
height: 38
alignment: middle center shrink-overflow
padding bottom: 0
z index: 1
z index: 700
font:
name: ITC Souvenir
size: 18
@@ -621,7 +488,7 @@ extra card style:
height: 38
alignment: middle center shrink-overflow
padding bottom: 0
z index: 1
z index: 700
font:
name: ITC Souvenir
size: 18
@@ -633,7 +500,7 @@ extra card style:
top: { top_of_para(rolls_start(card.text))}
height: { height_of_para(rolls_start(card.text))}
width: 314
z index: 2
z index: 640
render style: image
image: d20slice.png
visible: {is_d20() and number_of_rolls(card.text) > 0}
@@ -642,7 +509,7 @@ extra card style:
top: { top_of_para(rolls_start(card.text)+2)}
height: { height_of_para(rolls_start(card.text)+2)}
width: 314
z index: 2
z index: 640
render style: image
image: d20slice.png
visible: {is_d20() and number_of_rolls(card.text) > 2}
@@ -651,20 +518,16 @@ extra card style:
top: { top_of_para(rolls_start(card.text)+4)}
height: { height_of_para(rolls_start(card.text)+4)}
width: 314
z index: 2
z index: 640
render style: image
image: d20slice.png
visible: {is_d20() and number_of_rolls(card.text) > 4}
auto copyright:
right: 350
top: { if card.pt != "" then 500 else 488 }
width: 140
height: 10
z index: 2
alignment: middle right shrink-overflow
visible: {set.automatic_copyright}
font:
name: Matrix
size: 7
color: white
weight: bold
stamp backing:
left: 165
top: 472
width: 46
height: 26
z index: 850
visible: { card.card_stamp != "none" }
render style: image
image: { "/magic-modules.mse-include/stamps/backs/" + (if stamp_shape(field:1) == "triangle" then "triangle_stamp.png" else "stamp.png") }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB