3.0.0 final touches (#84)

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
GenevensiS
2024-10-01 15:42:16 +02:00
committed by GitHub
parent 106e343851
commit 6960d85314
775 changed files with 2509 additions and 2817 deletions

View File

@@ -3,7 +3,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/card-symbols/card_fields

View File

@@ -3,7 +3,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/casting-costs/card_fields

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/corners/card_fields

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Add this, unindented in the styling fields section:
include file: /magic-modules.mse-include/crowns/styling_fields

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Add the following line,unindented, in the styling field section:
include file: /magic-modules.mse-include/foils/styling_fields

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this among the styling field section
#### (styling fields will appear in the order you place them).

View File

@@ -1,6 +1,6 @@
mse version: 2.0.0
full name: Magic The Gathering, frame building modules
version: 2024-05-20
version: 2024-10-01
depends on:
package: magic.mse-game
version: 2014-06-25

View File

@@ -3,7 +3,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/indicators/card_fields

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/information/card_fields

View File

@@ -153,16 +153,17 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
name: { pt_font() }
size: { instance := 1; card.loyalty_box; loyalty_font_size() }
color: white
visible: { instance := 1; loyalty_has_abilities_1() }
loyalty box:
left: { instance := 1; loyalty_box_left() }
top: { instance := 1; loyalty_box_top() }
width: { instance := 1; if card.loyalty == "" then 0 else loyalty_box_width() }
height: { instance := 1; loyalty_box_height() }
z index: 830
visible: { instance := 1; card.loyalty != "" }
visible: { instance := 1; card.loyalty != "" and loyalty_has_abilities_1() }
include file: /magic.mse-game/loyalty/menu_choice_images
render style: image
image: { instance := 1; loyalty_box_image() }
@@ -174,10 +175,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
name: { pt_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 1; loyalty_has_abilities_1() }
loyalty cost 2:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_2; loyalty_cost_top(2) }
@@ -186,10 +188,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
name: { pt_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 1; loyalty_has_abilities_1() }
loyalty cost 3:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_3; loyalty_cost_top(3) }
@@ -198,10 +201,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
name: { pt_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 1; loyalty_has_abilities_1() }
loyalty cost 4:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_4; loyalty_cost_top(4) }
@@ -210,10 +214,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
name: { pt_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 1; loyalty_has_abilities_1() }
loyalty cost 5:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_5; loyalty_cost_top(5) }
@@ -222,10 +227,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
name: { pt_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 1; loyalty_has_abilities_1() }
loyalty cost 6:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_6; loyalty_cost_top(6) }
@@ -234,10 +240,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
name: { pt_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 1; loyalty_has_abilities_1() }
loyalty cost 7:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_7; loyalty_cost_top(7) }
@@ -246,10 +253,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
name: { pt_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 1; loyalty_has_abilities_1() }
loyalty cost 8:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_8; loyalty_cost_top(8) }
@@ -258,10 +266,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
name: { pt_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 1; loyalty_has_abilities_1() }
loyalty cost box 1:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(1) }

View File

@@ -153,16 +153,17 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
name: { pt2_font() }
size: { instance := 2; card.loyalty_box_2; loyalty_font_size() }
color: white
visible: { instance := 2; loyalty_has_abilities_2() }
loyalty box 2:
left: { instance := 2; loyalty_box_left() }
top: { instance := 2; loyalty_box_top() }
width: { instance := 2; if card.loyalty_2 == "" then 0 else loyalty_box_width() }
height: { instance := 2; loyalty_box_height() }
z index: 830
visible: { instance := 2; card.loyalty_2 != "" }
visible: { instance := 2; card.loyalty_2 != "" and loyalty_has_abilities_2() }
include file: /magic.mse-game/loyalty/menu_choice_images
render style: image
image: { instance := 2; loyalty_box_image() }
@@ -174,10 +175,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
name: { pt2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 2; loyalty_has_abilities_2() }
loyalty cost 10:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_10; loyalty_cost_top(2) }
@@ -186,10 +188,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
name: { pt2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 2; loyalty_has_abilities_2() }
loyalty cost 11:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_11; loyalty_cost_top(3) }
@@ -198,10 +201,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
name: { pt2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 2; loyalty_has_abilities_2() }
loyalty cost 12:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_12; loyalty_cost_top(4) }
@@ -210,10 +214,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
name: { pt2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 2; loyalty_has_abilities_2() }
loyalty cost 13:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_13; loyalty_cost_top(5) }
@@ -222,10 +227,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
name: { pt2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 2; loyalty_has_abilities_2() }
loyalty cost 14:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_14; loyalty_cost_top(6) }
@@ -234,10 +240,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
name: { pt2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 2; loyalty_has_abilities_2() }
loyalty cost 15:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_15; loyalty_cost_top(7) }
@@ -246,10 +253,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
name: { pt2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 2; loyalty_has_abilities_2() }
loyalty cost 16:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_16; loyalty_cost_top(8) }
@@ -258,10 +266,11 @@ card style:
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
name: { pt2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
visible: { instance := 2; loyalty_has_abilities_2() }
loyalty cost box 9:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(1) }

View File

@@ -5,7 +5,7 @@ mainframe_walkerd := { loyalty_text_field_1() == 4 }
mainframe_walker_text_script :=
{
count := loyalty_abilities_count(instance: 1)
if count == 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
if count >= 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
else if count == 7 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text)
else if count == 6 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text)
else if count == 5 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text)
@@ -17,7 +17,7 @@ mainframe_walker_text_script :=
mainframe_walker_text_scriptb :=
{
count := loyalty_abilities_count(instance: 1)
if count == 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
if count >= 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
else if count == 7 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text)
else if count == 6 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text)
else if count == 5 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text)
@@ -29,7 +29,7 @@ mainframe_walker_text_scriptb :=
mainframe_walker_text_scriptc :=
{
count := loyalty_abilities_count(instance: 1)
if count == 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
if count >= 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
else if count == 7 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text)
else if count == 6 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text)
else if count == 5 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text)
@@ -41,7 +41,7 @@ mainframe_walker_text_scriptc :=
mainframe_walker_text_scriptd :=
{
count := loyalty_abilities_count(instance: 1)
if count == 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
if count >= 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
else if count == 7 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text)
else if count == 6 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text)
else if count == 5 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text)

View File

@@ -7,7 +7,7 @@ mainframe_walker_text_script :=
if loyalty_text_field_1() <= 1 then
(
count := loyalty_abilities_count(instance: 1)
if count == 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
if count >= 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
else if count == 7 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text)
else if count == 6 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text)
else if count == 5 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text)
@@ -19,7 +19,7 @@ mainframe_walker_text_script :=
else
(
count := loyalty_abilities_count(instance: 2)
if count == 8 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text, separator7: "<line>\n</line>", field8: card.level_16_text)
if count >= 8 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text, separator7: "<line>\n</line>", field8: card.level_16_text)
else if count == 7 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text)
else if count == 6 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text)
else if count == 5 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text)
@@ -34,7 +34,7 @@ mainframe_walker_text_scriptb :=
if loyalty_text_field_1() == 2 then
(
count := loyalty_abilities_count(instance: 1)
if count == 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
if count >= 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
else if count == 7 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text)
else if count == 6 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text)
else if count == 5 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text)
@@ -46,7 +46,7 @@ mainframe_walker_text_scriptb :=
else
(
count := loyalty_abilities_count(instance: 2)
if count == 8 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text, separator7: "<line>\n</line>", field8: card.level_16_text)
if count >= 8 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text, separator7: "<line>\n</line>", field8: card.level_16_text)
else if count == 7 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text)
else if count == 6 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text)
else if count == 5 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text)
@@ -61,7 +61,7 @@ mainframe_walker_text_scriptc :=
if loyalty_text_field_1() == 3 then
(
count := loyalty_abilities_count(instance: 1)
if count == 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
if count >= 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
else if count == 7 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text)
else if count == 6 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text)
else if count == 5 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text)
@@ -73,7 +73,7 @@ mainframe_walker_text_scriptc :=
else
(
count := loyalty_abilities_count(instance: 2)
if count == 8 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text, separator7: "<line>\n</line>", field8: card.level_16_text)
if count >= 8 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text, separator7: "<line>\n</line>", field8: card.level_16_text)
else if count == 7 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text)
else if count == 6 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text)
else if count == 5 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text)
@@ -88,7 +88,7 @@ mainframe_walker_text_scriptd :=
if loyalty_text_field_1() == 4 then
(
count := loyalty_abilities_count(instance: 1)
if count == 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
if count >= 8 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text, separator7: "<line>\n</line>", field8: card.level_8_text)
else if count == 7 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text, separator6: "<line>\n</line>", field7: card.level_7_text)
else if count == 6 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text, separator5: "<line>\n</line>", field6: card.level_6_text)
else if count == 5 then combined_editor(field1: card.level_1_text, separator1: "<line>\n</line>", field2: card.level_2_text, separator2: "<line>\n</line>", field3: card.level_3_text, separator3: "<line>\n</line>", field4: card.level_4_text, separator4: "<line>\n</line>", field5: card.level_5_text)
@@ -100,7 +100,7 @@ mainframe_walker_text_scriptd :=
else
(
count := loyalty_abilities_count(instance: 2)
if count == 8 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text, separator7: "<line>\n</line>", field8: card.level_16_text)
if count >= 8 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text, separator7: "<line>\n</line>", field8: card.level_16_text)
else if count == 7 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text, separator6: "<line>\n</line>", field7: card.level_15_text)
else if count == 6 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text, separator5: "<line>\n</line>", field6: card.level_14_text)
else if count == 5 then combined_editor(field1: card.level_9_text, separator1: "<line>\n</line>", field2: card.level_10_text, separator2: "<line>\n</line>", field3: card.level_11_text, separator3: "<line>\n</line>", field4: card.level_12_text, separator4: "<line>\n</line>", field5: card.level_13_text)
@@ -115,7 +115,7 @@ margin_left :=
number := to_int(replace(input, match: "lv", replace: "")) or else 999
if number > 16 or card["loyalty_cost_" + number] == "" then 0 else (
instance := if number < 9 then 1 else if number < 17 then 2 else 3
to_int(190 * r_width() + (loyalty_cost_offset_left() + loyalty_cost_offset_width() + loyalty_cost_offset_text_margin()) * 10))
to_int(130 * r_width() + (loyalty_cost_offset_left() + loyalty_cost_offset_width() + loyalty_cost_offset_text_margin()) * 10))
}
text_filter := text_filter + { apply_margins(input, name: margin_code) } + { add_spacers(input, name: margin_code) }
add_spacers :=

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Add the following line, indented by one tab, in the init script section:
include file: /magic-modules.mse-include/loyalty/init_script
@@ -27,6 +27,9 @@ include file: /magic-modules.mse-include/loyalty/styling_recoloring
#### Customization
#### Optionally, you can adjust appearance by defining the following functions in the init script:
#### To conditionally enable loyalty boxes, for combined planeswalker/nonwalker templates
loyalty_has_abilities_1 := { mainframe_walker() }
#### To change which face of the card the boxes go on:
loyalty_face_1 := { 1 }

View File

@@ -53,7 +53,7 @@ extra card style:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; round_near(loyalty_stripe_separator_top(1)) }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(1) + loyalty_stripe_separator_height()) + 0.5 }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(1) + loyalty_stripe_separator_height()) }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 2 }
render style: image
@@ -63,7 +63,7 @@ extra card style:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; round_near(loyalty_stripe_separator_top(2)) }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(2) + loyalty_stripe_separator_height()) + 0.5 }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(2) + loyalty_stripe_separator_height()) }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 3 }
render style: image
@@ -73,7 +73,7 @@ extra card style:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; round_near(loyalty_stripe_separator_top(3)) }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(3) + loyalty_stripe_separator_height()) + 0.5 }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(3) + loyalty_stripe_separator_height()) }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 4 }
render style: image
@@ -83,7 +83,7 @@ extra card style:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; round_near(loyalty_stripe_separator_top(4)) }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(4) + loyalty_stripe_separator_height()) + 0.5 }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(4) + loyalty_stripe_separator_height()) }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 5 }
render style: image
@@ -93,7 +93,7 @@ extra card style:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; round_near(loyalty_stripe_separator_top(5)) }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(5) + loyalty_stripe_separator_height()) + 0.5 }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(5) + loyalty_stripe_separator_height()) }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 6 }
render style: image
@@ -103,7 +103,7 @@ extra card style:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; round_near(loyalty_stripe_separator_top(6)) }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(6) + loyalty_stripe_separator_height()) + 0.5 }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(6) + loyalty_stripe_separator_height()) }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 7 }
render style: image
@@ -113,7 +113,7 @@ extra card style:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; round_near(loyalty_stripe_separator_top(7)) }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(7) + loyalty_stripe_separator_height()) + 0.5 }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(7) + loyalty_stripe_separator_height()) }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 8 }
render style: image

View File

@@ -55,7 +55,7 @@ extra card style:
top: { instance := 2; round_near(loyalty_stripe_separator_top(1)) }
bottom: { instance := 2; round_near(loyalty_stripe_separator_top(1) + loyalty_stripe_separator_height()) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 2 }
visible: { instance := 2; loyalty_abilities_count(active:true) >= 2 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(1) }
mask: { instance := 2; loyalty_stripe_separator_mask(1) }
@@ -65,7 +65,7 @@ extra card style:
top: { instance := 2; round_near(loyalty_stripe_separator_top(2)) }
bottom: { instance := 2; round_near(loyalty_stripe_separator_top(2) + loyalty_stripe_separator_height()) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 3 }
visible: { instance := 2; loyalty_abilities_count(active:true) >= 3 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(2) }
mask: { instance := 2; loyalty_stripe_separator_mask(2) }
@@ -75,7 +75,7 @@ extra card style:
top: { instance := 2; round_near(loyalty_stripe_separator_top(3)) }
bottom: { instance := 2; round_near(loyalty_stripe_separator_top(3) + loyalty_stripe_separator_height()) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 4 }
visible: { instance := 2; loyalty_abilities_count(active:true) >= 4 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(3) }
mask: { instance := 2; loyalty_stripe_separator_mask(3) }
@@ -85,7 +85,7 @@ extra card style:
top: { instance := 2; round_near(loyalty_stripe_separator_top(4)) }
bottom: { instance := 2; round_near(loyalty_stripe_separator_top(4) + loyalty_stripe_separator_height()) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 5 }
visible: { instance := 2; loyalty_abilities_count(active:true) >= 5 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(4) }
mask: { instance := 2; loyalty_stripe_separator_mask(4) }
@@ -95,7 +95,7 @@ extra card style:
top: { instance := 2; round_near(loyalty_stripe_separator_top(5)) }
bottom: { instance := 2; round_near(loyalty_stripe_separator_top(5) + loyalty_stripe_separator_height()) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 6 }
visible: { instance := 2; loyalty_abilities_count(active:true) >= 6 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(5) }
mask: { instance := 2; loyalty_stripe_separator_mask(5) }
@@ -105,7 +105,7 @@ extra card style:
top: { instance := 2; round_near(loyalty_stripe_separator_top(6)) }
bottom: { instance := 2; round_near(loyalty_stripe_separator_top(6) + loyalty_stripe_separator_height()) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 7 }
visible: { instance := 2; loyalty_abilities_count(active:true) >= 7 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(6) }
mask: { instance := 2; loyalty_stripe_separator_mask(6) }
@@ -115,7 +115,7 @@ extra card style:
top: { instance := 2; round_near(loyalty_stripe_separator_top(7)) }
bottom: { instance := 2; round_near(loyalty_stripe_separator_top(7) + loyalty_stripe_separator_height()) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 8 }
visible: { instance := 2; loyalty_abilities_count(active:true) >= 8 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(7) }
mask: { instance := 2; loyalty_stripe_separator_mask(7) }

View File

@@ -38,7 +38,7 @@ extra card style:
textbox stripe 1:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; a_top() }
top: { instance := 1; round_near(a_top()) }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(1)) + 0.5 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 2 }
@@ -48,7 +48,7 @@ extra card style:
textbox stripe 2:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; loyalty_stripe_separator_top(2) + loyalty_stripe_separator_height() }
top: { instance := 1; round_near(loyalty_stripe_separator_top(2) + loyalty_stripe_separator_height()) }
bottom: { instance := 1; round_near(if loyalty_abilities_count(active:true) >= 4 then loyalty_stripe_separator_top(3) else a_bottom()) + 0.5 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 3 }
@@ -58,7 +58,7 @@ extra card style:
textbox stripe 3:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; loyalty_stripe_separator_top(4) + loyalty_stripe_separator_height() }
top: { instance := 1; round_near(loyalty_stripe_separator_top(4) + loyalty_stripe_separator_height()) }
bottom: { instance := 1; round_near(if loyalty_abilities_count(active:true) >= 6 then loyalty_stripe_separator_top(5) else a_bottom()) + 0.5 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 5 }
@@ -68,7 +68,7 @@ extra card style:
textbox stripe 4:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; loyalty_stripe_separator_top(6) + loyalty_stripe_separator_height() }
top: { instance := 1; round_near(loyalty_stripe_separator_top(6) + loyalty_stripe_separator_height()) }
bottom: { instance := 1; round_near(if loyalty_abilities_count(active:true) >= 8 then loyalty_stripe_separator_top(7) else a_bottom()) + 0.5 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 7 }

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/namelines/card_fields

View File

@@ -3,7 +3,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/names/card_fields

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Add the following line, unindented, in the styling field section:
include file: /magic-modules.mse-include/popouts/styling_fields

View File

@@ -3,7 +3,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/rarities/card_fields

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/separators/card_fields

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/stamps/card_fields

View File

@@ -3,7 +3,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this among the styling field section,
#### (styling fields will appear in the order you place them).

View File

@@ -3,7 +3,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/symbols/card_fields

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this among the styling field section,
#### (styling fields will appear in the order you place them).

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/typelines/card_fields

View File

@@ -3,7 +3,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/types/card_fields

View File

@@ -1,7 +1,7 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/watermarks/card_fields