Synchronize with Cajun-Style-Templates
Add in VerumCH's borderless updates Add in inverted d20 support Add in Dungeons Add in Adventure Planeswalkers
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 56 KiB |
BIN
data/magic-m15-altered.mse-style/legend/ablcrown.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
data/magic-m15-altered.mse-style/legend/bblcrown.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
data/magic-m15-altered.mse-style/legend/cblcrown.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 768 KiB After Width: | Height: | Size: 21 KiB |
BIN
data/magic-m15-altered.mse-style/legend/gblcrown.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
data/magic-m15-altered.mse-style/legend/mblcrown.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
data/magic-m15-altered.mse-style/legend/rblcrown.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
data/magic-m15-altered.mse-style/legend/ublcrown.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
data/magic-m15-altered.mse-style/legend/wblcrown.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
@@ -28,6 +28,9 @@ depends on:
|
||||
depends on:
|
||||
package: magic-mainframe-extras.mse-include
|
||||
version: 2018-01-01
|
||||
depends on:
|
||||
package: magic-m15-mainframe-assets.mse-include
|
||||
version: 2022-06-24
|
||||
depends on:
|
||||
package: magic-pride.mse-include
|
||||
version: 2021-05-26
|
||||
@@ -72,6 +75,8 @@ init script:
|
||||
}
|
||||
crown_follow := {
|
||||
if input != "crown" then ""
|
||||
else if is_borderless()
|
||||
then "bl"
|
||||
else if styling.legend_crown == "nyx" or (is_nyx() and chosen(styling.other_options, choice:"auto nyx crowns"))
|
||||
then "nyx"
|
||||
else if styling.legend_crown == "companion"
|
||||
@@ -159,10 +164,10 @@ init script:
|
||||
is_d20 := {styling.d20_dividers != "off" and not is_leveler()}
|
||||
is_all_break := {contains(styling.d20_dividers, match:"all breaks")}
|
||||
d20string := "^(<b>)?(((</sym>)?[-0-9 ,+>\<](<sym>)?)+|[Ee]lse|[Oo]ther) ?(</b>)?[|]"
|
||||
d20_array :=
|
||||
d20_array :=
|
||||
filter_text@(match:"(\n|"+d20string+")")
|
||||
+split_text@(match:d20string)
|
||||
number_of_rolls := {if is_all_break() then 1+length(filter_text(card.rule_text, match:"\n"))-rolls_start(card.text) else length(d20_array(input))-1}
|
||||
number_of_rolls := {min(6, if is_all_break() then 1+length(filter_text(card.rule_text, match:"\n"))-(rolls_start(card.text)-invert_rolls()) else length(d20_array(input))-1)}
|
||||
rolls_start := {
|
||||
if styling.d20_dividers == "all breaks +3" then 4
|
||||
else if styling.d20_dividers == "all breaks +2" then 3
|
||||
@@ -174,18 +179,23 @@ init script:
|
||||
d20_filter := replace@(match:"^([Ee]lse ?|[Oo]ther ?|((</sym>)?[-0-9 ,+>\<](<sym>)?)+)[|]", replace:"<b>\\1</b>|")
|
||||
top_of_para := {
|
||||
input := input + no_roll(card.text)
|
||||
if card_style.text.layout.paragraphs[input].top or else 0 > 0 then
|
||||
card_style.text.top + card_style.text.layout.paragraphs[input].top - 0.5*(card_style.text.layout.paragraphs[input].top-card_style.text.layout.paragraphs[input-1].bottom)
|
||||
input := max(input, 0)
|
||||
if card_style.text.layout.paragraphs[input].top or else -1 >= 0 then
|
||||
if invert_rolls() == 1 and input == rolls_start()-invert_rolls() then card_style.text.top
|
||||
else if input == 0 then card_style.text.top + card_style.text.layout.paragraphs[input].top
|
||||
else card_style.text.top + card_style.text.layout.paragraphs[input].top - 0.5*(card_style.text.layout.paragraphs[input].top-card_style.text.layout.paragraphs[input-1].bottom)
|
||||
else 0
|
||||
}
|
||||
height_of_para := {
|
||||
input := input + no_roll(card.text)
|
||||
if card_style.text.layout.paragraphs[input].bottom or else 0 > 0 then
|
||||
card_style.text.layout.paragraphs[input].bottom + 1.3*(card_style.text.layout.paragraphs[input].top-card_style.text.layout.paragraphs[input-1].bottom) - card_style.text.layout.paragraphs[input].top
|
||||
if invert_rolls() == 1 and input == rolls_start() then card_style.text.layout.paragraphs[input-1].bottom
|
||||
else card_style.text.layout.paragraphs[input].bottom + 1.3*(card_style.text.layout.paragraphs[input].top-card_style.text.layout.paragraphs[input-1].bottom) - card_style.text.layout.paragraphs[input].top
|
||||
else 0
|
||||
}
|
||||
no_roll := {if styling.d20_dividers == "all breaks" then 1 else if rolls_start(input) == 0 then 1 else 0}
|
||||
|
||||
invert_rolls := {if chosen(styling.other_options, choice:"inverted d20") then 1 else 0}
|
||||
|
||||
text_filter := text_filter + override_clear + d20_filter + {if chosen(styling.other_options, choice:"override-style text") then override_filter(input) else input}
|
||||
|
||||
center_map := {is_map() and (card.casting_cost == "" or chosen(styling.other_options, choice:"always center map names"))}
|
||||
@@ -205,7 +215,7 @@ init script:
|
||||
then output := split_text(string+"0,0,0:0,0,0:0.07:", match:",|:")
|
||||
else if colons == 1
|
||||
then output := split_text(string+splits[0]+":0,0,0:0,0,0:0.07:", match:",|:")
|
||||
|
||||
|
||||
output
|
||||
}
|
||||
alt_symbol := {symbol_variation(symbol:set.symbol, border_radius: alt_rarity_color().12, fill_type: "linear gradient", fill_color_1: rgb(alt_rarity_color().0, alt_rarity_color().1, alt_rarity_color().2), fill_color_2: rgb(alt_rarity_color().3, alt_rarity_color().4, alt_rarity_color().5), border_color_1: rgb(alt_rarity_color().6, alt_rarity_color().7, alt_rarity_color().8), border_color_2: rgb(alt_rarity_color().9, alt_rarity_color().10, alt_rarity_color().11), center_x:0.5, center_y:0.5, end_x:1, end_y:1)}
|
||||
@@ -265,6 +275,10 @@ init script:
|
||||
}
|
||||
shown_cr := {if set.automatic_copyright then set.copyright != "" else card.copyright != ""}
|
||||
card_shape := {if is_leveler() then "leveler" else "normal"}
|
||||
|
||||
white_text := {is_full_art() or is_fnm() or is_inverted()}
|
||||
|
||||
use_flash_dot := {false}
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
@@ -364,6 +378,7 @@ styling field:
|
||||
choice: clear tops
|
||||
choice: vorthos box
|
||||
choice: pride pinlines
|
||||
choice: inverted d20
|
||||
initial: auto nyx crowns, auto vehicles, auto snow
|
||||
styling field:
|
||||
type: text
|
||||
@@ -600,7 +615,7 @@ card style:
|
||||
z index: 8
|
||||
############################# Card type
|
||||
indicator:
|
||||
left: { (if is_map() then 18 else if is_season() then 43 else 31) + (if is_clear() then 2 else 0)}
|
||||
left: { (if is_map() then 18 else if is_season() then 43 else 31) + (if is_clear() then 2 else 0) + (if use_flash_dot() then 3 else 0)}
|
||||
top: { if is_clear() or is_map() then 298 else if is_thbland() then 449 else if is_full_art() then 332 else 300 }
|
||||
width: 17
|
||||
height: 17
|
||||
@@ -609,7 +624,7 @@ card style:
|
||||
visible: { styling.color_indicator_dot }
|
||||
image: { card_identity() }
|
||||
type:
|
||||
left: { if is_map() then 85 else if is_season() then (if styling.color_indicator_dot then 64 else 44)+(if is_clear() then 4 else 0) else (if styling.color_indicator_dot then 52 else 32) + (if is_clear() then 4 else 0) }
|
||||
left: { if is_map() then 85 else (if use_flash_dot() then 3 else 0) + if is_season() then (if styling.color_indicator_dot then 64 else 44)+(if is_clear() then 4 else 0) else (if styling.color_indicator_dot then 52 else 32) + (if is_clear() then 4 else 0) }
|
||||
top: { (if is_map() then 297.5 else if is_clear() then 294 else if is_thbland() then 444 else if is_full_art() then 329 else 296) + shrink_type() }
|
||||
width: { if is_map() then 205 else (if styling.color_indicator_dot then "290" else "310") - (if card_style.rarity.width == 0 then 0 else max(22,card_style.rarity.content_width)) - (if is_season() then 12 else 0) }
|
||||
height: { (if is_map() then 18 else 20) - shrink_type() }
|
||||
@@ -1025,7 +1040,7 @@ card style:
|
||||
copyright:
|
||||
right: 350
|
||||
top:
|
||||
{
|
||||
{
|
||||
if is_leveler() and not lone_pt()
|
||||
then 488
|
||||
else if (starting_loyalty() and card.loyalty != "") or (card.pt != "" and not starting_loyalty())
|
||||
@@ -1041,6 +1056,8 @@ card style:
|
||||
size: 6.5
|
||||
color: white
|
||||
weight: bold
|
||||
|
||||
|
||||
############################################################## Extra card fields
|
||||
extra card field:
|
||||
type: text
|
||||
@@ -1388,6 +1405,14 @@ extra card field:
|
||||
save value: true
|
||||
editable: true
|
||||
description: Where they put mtgstory.com on story spotlights.
|
||||
extra card field:
|
||||
type: choice
|
||||
name: flash indicator
|
||||
choice: dot
|
||||
save value: false
|
||||
editable: false
|
||||
|
||||
|
||||
extra card style:
|
||||
promo label:
|
||||
left: 40
|
||||
@@ -1496,7 +1521,7 @@ extra card style:
|
||||
auto copyright:
|
||||
right: 350
|
||||
top:
|
||||
{
|
||||
{
|
||||
if is_leveler() and not lone_pt()
|
||||
then 488
|
||||
else if (starting_loyalty() and card.loyalty != "") or (card.pt != "" and not starting_loyalty())
|
||||
@@ -1532,7 +1557,7 @@ extra card style:
|
||||
image: {if (is_clear() or clear_tops()) and not is_devoid() then "legend/xcrown.png" else if is_fnm() then set_mask(image:crown_background(), mask:"legend/fnm_mask.png") else crown_background()}
|
||||
z index: 5
|
||||
visible: {is_legend() and not is_map()}
|
||||
mask: {if is_legend() and styling.legend_crown != "custom" and (is_curtains() or is_expanded_art() or is_puma() or is_devoid()) then "curtainmask.png" else if is_season() then "crown_season_mask.png" else ""}
|
||||
mask: {if is_legend() and styling.legend_crown != "custom" and (is_curtains() or is_expanded_art() or is_puma() or is_devoid() and not is_borderless()) then "curtainmask.png" else if is_season() then "crown_season_mask.png" else ""}
|
||||
curtain:
|
||||
left: 0
|
||||
top: 0
|
||||
@@ -1540,7 +1565,7 @@ extra card style:
|
||||
height: 523
|
||||
render style: image
|
||||
image: {if is_cons() then cons_background() else curtain_background()}
|
||||
z index: 0
|
||||
z index: 3
|
||||
visible: {is_cons() or is_curtains()}
|
||||
mask: {if is_legend() and is_curtains() then "lcurtainmask.png"}
|
||||
scrolls:
|
||||
@@ -1701,7 +1726,7 @@ extra card style:
|
||||
visible: {card.level_3 != ""}
|
||||
level 2 overlay:
|
||||
left: 29
|
||||
top: { if is_d20() then top_of_para(rolls_start(card.text)) else 329 + lv_2_coordinate()}
|
||||
top: { if is_d20() then top_of_para(rolls_start(card.text)-invert_rolls()) else 329 + lv_2_coordinate()}
|
||||
height: { if is_d20() then height_of_para(rolls_start(card.text)) else lv_2_height()}
|
||||
width: 314
|
||||
z index: 1
|
||||
@@ -1710,8 +1735,8 @@ extra card style:
|
||||
visible: {(is_d20() and number_of_rolls(card.text) > 0) or (is_leveler() and not is_full_art() and not is_map() and not is_fnm() and not is_inverted())}
|
||||
level 3 overlay:
|
||||
left: 29
|
||||
top: { if is_d20() then top_of_para(rolls_start(card.text)+2) else 329 + lv_3_coordinate()}
|
||||
height: { if is_d20() then height_of_para(rolls_start(card.text)+2) else lv_3_height()}
|
||||
top: { if is_d20() then top_of_para(rolls_start(card.text)+2-invert_rolls()) else 329 + lv_3_coordinate()}
|
||||
height: { if is_d20() then height_of_para(rolls_start(card.text)+2-invert_rolls()) else lv_3_height()}
|
||||
width: 314
|
||||
z index: 1
|
||||
render style: image
|
||||
@@ -1719,8 +1744,8 @@ extra card style:
|
||||
visible: {(is_d20() and number_of_rolls(card.text)-no_roll(card.text) > 2) or (is_leveler() and not is_full_art() and not is_map() and not is_fnm() and not is_inverted())}
|
||||
level 4 overlay:
|
||||
left: 29
|
||||
top: { if is_d20() then top_of_para(rolls_start(card.text)+4) else 329 + lv_4_coordinate()}
|
||||
height: { if is_d20() then height_of_para(rolls_start(card.text)+4) else lv_4_height()}
|
||||
top: { if is_d20() then top_of_para(rolls_start(card.text)+4-invert_rolls()) else 329 + lv_4_coordinate()}
|
||||
height: { if is_d20() then height_of_para(rolls_start(card.text)+4-invert_rolls()) else lv_4_height()}
|
||||
width: 314
|
||||
z index: 1
|
||||
render style: image
|
||||
@@ -1877,3 +1902,12 @@ extra card style:
|
||||
size: 7
|
||||
color: white
|
||||
weight: bold
|
||||
flash indicator:
|
||||
left: 0
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 5
|
||||
render style: image
|
||||
image: flashdot.png
|
||||
visible: { use_flash_dot() }
|
||||
|
||||