[274/274] magic-modules rollout (#51)

Add Magic-Modules support to all frames
This commit is contained in:
cajun
2024-09-10 22:21:23 -05:00
committed by GitHub
parent 65bfc8fcd6
commit 6d617985ce
5491 changed files with 37088 additions and 66467 deletions

View File

@@ -0,0 +1,344 @@
extra card field:
type: text
name: colon 1
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 2
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 3
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 4
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 5
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 6
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 7
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 8
editable: false
save value: false
script: ":"
extra card style:
colon 1:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(1) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_1 != "" and loyalty_abilities_count() >= 1 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 2:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(2) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_2 != "" and loyalty_abilities_count() >= 2 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 3:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(3) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_3 != "" and loyalty_abilities_count() >= 3 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 4:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(4) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_4 != "" and loyalty_abilities_count() >= 4 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 5:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(5) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_5 != "" and loyalty_abilities_count() >= 5 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 6:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(6) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_6 != "" and loyalty_abilities_count() >= 6 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 7:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(7) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_7 != "" and loyalty_abilities_count() >= 7 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 8:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(8) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_8 != "" and loyalty_abilities_count() >= 8 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
card style:
loyalty:
left: { instance := 1; card.loyalty_box; loyalty_left() }
top: { instance := 1; loyalty_top() }
width: { instance := 1; card.loyalty_box; loyalty_width() }
height: { instance := 1; loyalty_height() }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; card.loyalty_box; loyalty_font_size() }
color: white
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 != "" }
include file: /magic.mse-game/loyalty/menu_choice_images
render style: image
image: { instance := 1; loyalty_box_image() }
loyalty cost 1:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_1; loyalty_cost_top(1) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(1) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 2:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_2; loyalty_cost_top(2) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(2) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 3:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_3; loyalty_cost_top(3) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(3) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 4:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_4; loyalty_cost_top(4) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(4) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 5:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_5; loyalty_cost_top(5) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(5) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 6:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_6; loyalty_cost_top(6) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(6) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 7:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_7; loyalty_cost_top(7) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(7) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 8:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_8; loyalty_cost_top(8) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(8) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost box 1:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(1) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(1) }
z index: 830
visible: { instance := 1; card.loyalty_cost_1 != "" and loyalty_abilities_count() >= 1 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(1) }
loyalty cost box 2:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(2) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(2) }
z index: 830
visible: { instance := 1; card.loyalty_cost_2 != "" and loyalty_abilities_count() >= 2 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(2) }
loyalty cost box 3:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(3) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(3) }
z index: 830
visible: { instance := 1; card.loyalty_cost_3 != "" and loyalty_abilities_count() >= 3}
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(3) }
loyalty cost box 4:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(4) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(4) }
z index: 830
visible: { instance := 1; card.loyalty_cost_4 != "" and loyalty_abilities_count() >= 4 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(4) }
loyalty cost box 5:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(5) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(5) }
z index: 830
visible: { instance := 1; card.loyalty_cost_5 != "" and loyalty_abilities_count() >= 5 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(5) }
loyalty cost box 6:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(6) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(6) }
z index: 830
visible: { instance := 1; card.loyalty_cost_6 != "" and loyalty_abilities_count() >= 6 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(6) }
loyalty cost box 7:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(7) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(7) }
z index: 830
visible: { instance := 1; card.loyalty_cost_7 != "" and loyalty_abilities_count() >= 7 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(7) }
loyalty cost box 8:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(8) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(8) }
z index: 830
visible: { instance := 1; card.loyalty_cost_8 != "" and loyalty_abilities_count() >= 8 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(8) }

View File

@@ -0,0 +1,344 @@
include file: /magic-modules.mse-include/loyalty/ability_fields
extra card field:
type: text
name: colon 9
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 10
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 11
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 12
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 13
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 14
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 15
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 16
editable: false
save value: false
script: ":"
extra card style:
colon 9:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(1) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_9 != "" and loyalty_abilities_count() >= 1 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 10:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(2) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_10 != "" and loyalty_abilities_count() >= 2 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 11:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(3) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_11 != "" and loyalty_abilities_count() >= 3 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 12:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(4) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_12 != "" and loyalty_abilities_count() >= 4 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 13:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(5) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_13 != "" and loyalty_abilities_count() >= 5 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 14:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(6) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_14 != "" and loyalty_abilities_count() >= 6 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 15:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(7) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_15 != "" and loyalty_abilities_count() >= 7 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 16:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(8) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_16 != "" and loyalty_abilities_count() >= 8 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
card style:
loyalty 2:
left: { instance := 2; card.loyalty_box_2; loyalty_left() }
top: { instance := 2; loyalty_top() }
width: { instance := 2; card.loyalty_box_2; loyalty_width() }
height: { instance := 2; loyalty_height() }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; card.loyalty_box_2; loyalty_font_size() }
color: white
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 != "" }
include file: /magic.mse-game/loyalty/menu_choice_images
render style: image
image: { instance := 2; loyalty_box_image() }
loyalty cost 9:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_9; loyalty_cost_top(1) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(1) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 10:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_10; loyalty_cost_top(2) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(2) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 11:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_11; loyalty_cost_top(3) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(3) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 12:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_12; loyalty_cost_top(4) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(4) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 13:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_13; loyalty_cost_top(5) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(5) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 14:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_14; loyalty_cost_top(6) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(6) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 15:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_15; loyalty_cost_top(7) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(7) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 16:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_16; loyalty_cost_top(8) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(8) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost box 9:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(1) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(1) }
z index: 830
visible: { instance := 2; card.loyalty_cost_9 != "" and loyalty_abilities_count() >= 1 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(1) }
loyalty cost box 10:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(2) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(2) }
z index: 830
visible: { instance := 2; card.loyalty_cost_10 != "" and loyalty_abilities_count() >= 2 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(2) }
loyalty cost box 11:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(3) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(3) }
z index: 830
visible: { instance := 2; card.loyalty_cost_11 != "" and loyalty_abilities_count() >= 3}
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(3) }
loyalty cost box 12:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(4) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(4) }
z index: 830
visible: { instance := 2; card.loyalty_cost_12 != "" and loyalty_abilities_count() >= 4 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(4) }
loyalty cost box 13:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(5) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(5) }
z index: 830
visible: { instance := 2; card.loyalty_cost_13 != "" and loyalty_abilities_count() >= 5 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(5) }
loyalty cost box 14:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(6) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(6) }
z index: 830
visible: { instance := 2; card.loyalty_cost_14 != "" and loyalty_abilities_count() >= 6 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(6) }
loyalty cost box 15:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(7) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(7) }
z index: 830
visible: { instance := 2; card.loyalty_cost_15 != "" and loyalty_abilities_count() >= 7 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(7) }
loyalty cost box 16:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(8) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(8) }
z index: 830
visible: { instance := 2; card.loyalty_cost_16 != "" and loyalty_abilities_count() >= 8 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(8) }

View File

@@ -1,546 +1,3 @@
extra card field:
type: text
name: colon 1
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 2
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 3
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 4
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 5
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 6
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 7
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 8
editable: false
save value: false
script: ":"
extra card field:
type: choice
name: textbox stripe 1
editable: false
save value: false
show statistics: false
choice: textbox stripe 1
extra card field:
type: choice
name: textbox stripe 2
editable: false
save value: false
show statistics: false
choice: textbox stripe 2
extra card field:
type: choice
name: textbox stripe 3
editable: false
save value: false
show statistics: false
choice: textbox stripe 3
extra card field:
type: choice
name: textbox stripe 4
editable: false
save value: false
show statistics: false
choice: textbox stripe 4
extra card field:
type: choice
name: textbox stripe separator 1
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 1
extra card field:
type: choice
name: textbox stripe separator 2
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 2
extra card field:
type: choice
name: textbox stripe separator 3
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 3
extra card field:
type: choice
name: textbox stripe separator 4
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 4
extra card field:
type: choice
name: textbox stripe separator 5
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 5
extra card field:
type: choice
name: textbox stripe separator 6
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 6
extra card field:
type: choice
name: textbox stripe separator 7
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 7
extra card field:
type: choice
name: textbox background
editable: false
save value: false
show statistics: false
choice: textbox background
extra card style:
colon 1:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(1) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_1 != "" and loyalty_abilities_count() >= 1 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 2:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(2) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_2 != "" and loyalty_abilities_count() >= 2 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 3:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(3) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_3 != "" and loyalty_abilities_count() >= 3 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 4:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(4) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_4 != "" and loyalty_abilities_count() >= 4 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 5:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(5) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_5 != "" and loyalty_abilities_count() >= 5 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 6:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(6) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_6 != "" and loyalty_abilities_count() >= 6 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 7:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(7) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_7 != "" and loyalty_abilities_count() >= 7 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
colon 8:
left: { instance := 1; loyalty_colon_left() }
top: { instance := 1; loyalty_colon_top(8) }
width: { instance := 1; loyalty_colon_width() }
height: { instance := 1; loyalty_colon_height() }
z index: 900
visible: { instance := 1; card.loyalty_cost_8 != "" and loyalty_abilities_count() >= 8 }
font:
name: Beleren Bold
size: { instance := 1; loyalty_colon_font_size() }
color: { body_font_color() }
alignment: center middle
textbox stripe 1:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; a_top() }
bottom: { instance := 1; round_near(loyalty_stripe_separator_top(1)) + 0.5 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 2 }
render style: image
image: { instance := 1; loyalty_stripe_image() }
mask: { instance := 1; loyalty_stripe_mask(1) }
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() }
bottom: { instance := 1; round_near(if loyalty_abilities_count() >= 4 then loyalty_stripe_separator_top(3) else a_bottom()) + 0.5 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 3 }
render style: image
image: { instance := 1; loyalty_stripe_image() }
mask: { instance := 1; loyalty_stripe_mask(2) }
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() }
bottom: { instance := 1; round_near(if loyalty_abilities_count() >= 6 then loyalty_stripe_separator_top(5) else a_bottom()) + 0.5 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 5 }
render style: image
image: { instance := 1; loyalty_stripe_image() }
mask: { instance := 1; loyalty_stripe_mask(3) }
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() }
bottom: { instance := 1; round_near(if loyalty_abilities_count() >= 8 then loyalty_stripe_separator_top(7) else a_bottom()) + 0.5 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 7 }
render style: image
image: { instance := 1; loyalty_stripe_image() }
mask: { instance := 1; loyalty_stripe_mask(4) }
textbox stripe separator 1:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 2 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(1) }
mask: { instance := 1; loyalty_stripe_separator_mask(1) }
textbox stripe separator 2:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 3 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(2) }
mask: { instance := 1; loyalty_stripe_separator_mask(2) }
textbox stripe separator 3:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 4 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(3) }
mask: { instance := 1; loyalty_stripe_separator_mask(3) }
textbox stripe separator 4:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 5 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(4) }
mask: { instance := 1; loyalty_stripe_separator_mask(4) }
textbox stripe separator 5:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 6 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(5) }
mask: { instance := 1; loyalty_stripe_separator_mask(5) }
textbox stripe separator 6:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 7 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(6) }
mask: { instance := 1; loyalty_stripe_separator_mask(6) }
textbox stripe separator 7:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count() >= 8 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(7) }
mask: { instance := 1; loyalty_stripe_separator_mask(7) }
textbox background:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; a_top() }
bottom: { instance := 1; a_bottom() }
z index: 700
render style: image
image: { instance := 1; loyalty_textbox_background_image() }
mask: { instance := 1; loyalty_textbox_mask() }
card style:
loyalty:
left: { instance := 1; card.loyalty_box; loyalty_left() }
top: { instance := 1; loyalty_top() }
width: { instance := 1; card.loyalty_box; loyalty_width() }
height: { instance := 1; loyalty_height() }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; card.loyalty_box; loyalty_font_size() }
color: white
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 != "" }
include file: /magic.mse-game/loyalty/menu_choice_images
render style: image
image: { instance := 1; loyalty_box_image() }
loyalty cost 1:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_1; loyalty_cost_top(1) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(1) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 2:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_2; loyalty_cost_top(2) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(2) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 3:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_3; loyalty_cost_top(3) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(3) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 4:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_4; loyalty_cost_top(4) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(4) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 5:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_5; loyalty_cost_top(5) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(5) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 6:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_6; loyalty_cost_top(6) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(6) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 7:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_7; loyalty_cost_top(7) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(7) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 8:
left: { instance := 1; loyalty_cost_left() }
top: { instance := 1; card.loyalty_cost_box_8; loyalty_cost_top(8) }
width: { instance := 1; loyalty_cost_width() }
height: { instance := 1; loyalty_cost_height(8) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name_font() }
size: { instance := 1; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost box 1:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(1) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(1) }
z index: 830
visible: { instance := 1; card.loyalty_cost_1 != "" and loyalty_abilities_count() >= 1 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(1) }
loyalty cost box 2:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(2) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(2) }
z index: 830
visible: { instance := 1; card.loyalty_cost_2 != "" and loyalty_abilities_count() >= 2 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(2) }
loyalty cost box 3:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(3) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(3) }
z index: 830
visible: { instance := 1; card.loyalty_cost_3 != "" and loyalty_abilities_count() >= 3}
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(3) }
loyalty cost box 4:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(4) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(4) }
z index: 830
visible: { instance := 1; card.loyalty_cost_4 != "" and loyalty_abilities_count() >= 4 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(4) }
loyalty cost box 5:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(5) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(5) }
z index: 830
visible: { instance := 1; card.loyalty_cost_5 != "" and loyalty_abilities_count() >= 5 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(5) }
loyalty cost box 6:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(6) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(6) }
z index: 830
visible: { instance := 1; card.loyalty_cost_6 != "" and loyalty_abilities_count() >= 6 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(6) }
loyalty cost box 7:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(7) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(7) }
z index: 830
visible: { instance := 1; card.loyalty_cost_7 != "" and loyalty_abilities_count() >= 7 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(7) }
loyalty cost box 8:
left: { instance := 1; loyalty_cost_box_left() }
top: { instance := 1; loyalty_cost_box_top(8) }
width: { instance := 1; loyalty_cost_box_width() }
height: { instance := 1; loyalty_cost_box_height(8) }
z index: 830
visible: { instance := 1; card.loyalty_cost_8 != "" and loyalty_abilities_count() >= 8 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 1; loyalty_cost_box_image(8) }
include file: /magic-modules.mse-include/loyalty/ability_fields
include file: /magic-modules.mse-include/loyalty/stripe_fields
include file: /magic-modules.mse-include/loyalty/separator_fields

View File

@@ -1,547 +1,3 @@
include file: /magic-modules.mse-include/loyalty/card_fields
extra card field:
type: text
name: colon 9
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 10
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 11
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 12
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 13
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 14
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 15
editable: false
save value: false
script: ":"
extra card field:
type: text
name: colon 16
editable: false
save value: false
script: ":"
extra card field:
type: choice
name: textbox stripe 9
editable: false
save value: false
show statistics: false
choice: textbox stripe 9
extra card field:
type: choice
name: textbox stripe 10
editable: false
save value: false
show statistics: false
choice: textbox stripe 10
extra card field:
type: choice
name: textbox stripe 11
editable: false
save value: false
show statistics: false
choice: textbox stripe 11
extra card field:
type: choice
name: textbox stripe 12
editable: false
save value: false
show statistics: false
choice: textbox stripe 12
extra card field:
type: choice
name: textbox stripe separator 9
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 9
extra card field:
type: choice
name: textbox stripe separator 10
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 10
extra card field:
type: choice
name: textbox stripe separator 11
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 11
extra card field:
type: choice
name: textbox stripe separator 12
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 12
extra card field:
type: choice
name: textbox stripe separator 13
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 13
extra card field:
type: choice
name: textbox stripe separator 14
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 14
extra card field:
type: choice
name: textbox stripe separator 15
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 15
extra card field:
type: choice
name: textbox background 2
editable: false
save value: false
show statistics: false
choice: textbox background 2
extra card style:
colon 9:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(1) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_9 != "" and loyalty_abilities_count() >= 1 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 10:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(2) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_10 != "" and loyalty_abilities_count() >= 2 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 11:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(3) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_11 != "" and loyalty_abilities_count() >= 3 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 12:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(4) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_12 != "" and loyalty_abilities_count() >= 4 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 13:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(5) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_13 != "" and loyalty_abilities_count() >= 5 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 14:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(6) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_14 != "" and loyalty_abilities_count() >= 6 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 15:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(7) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_15 != "" and loyalty_abilities_count() >= 7 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
colon 16:
left: { instance := 2; loyalty_colon_left() }
top: { instance := 2; loyalty_colon_top(8) }
width: { instance := 2; loyalty_colon_width() }
height: { instance := 2; loyalty_colon_height() }
z index: 900
visible: { instance := 2; card.loyalty_cost_16 != "" and loyalty_abilities_count() >= 8 }
font:
name: Beleren Bold
size: { instance := 2; loyalty_colon_font_size() }
color: { body2_font_color() }
alignment: center middle
textbox stripe 9:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
top: { instance := 2; a_top() }
bottom: { instance := 2; round_near(loyalty_stripe_separator_top(1)) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 2 }
render style: image
image: { instance := 2; loyalty_stripe_image() }
mask: { instance := 2; loyalty_stripe_mask(1) }
textbox stripe 10:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
top: { instance := 2; loyalty_stripe_separator_top(2) + loyalty_stripe_separator_height() }
bottom: { instance := 2; round_near(if loyalty_abilities_count() >= 4 then loyalty_stripe_separator_top(3) else a_bottom()) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 3 }
render style: image
image: { instance := 2; loyalty_stripe_image() }
mask: { instance := 2; loyalty_stripe_mask(2) }
textbox stripe 11:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
top: { instance := 2; loyalty_stripe_separator_top(4) + loyalty_stripe_separator_height() }
bottom: { instance := 2; round_near(if loyalty_abilities_count() >= 6 then loyalty_stripe_separator_top(5) else a_bottom()) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 5 }
render style: image
image: { instance := 2; loyalty_stripe_image() }
mask: { instance := 2; loyalty_stripe_mask(3) }
textbox stripe 12:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
top: { instance := 2; loyalty_stripe_separator_top(6) + loyalty_stripe_separator_height() }
bottom: { instance := 2; round_near(if loyalty_abilities_count() >= 8 then loyalty_stripe_separator_top(7) else a_bottom()) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count() >= 7 }
render style: image
image: { instance := 2; loyalty_stripe_image() }
mask: { instance := 2; loyalty_stripe_mask(4) }
textbox stripe separator 9:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(1) }
mask: { instance := 2; loyalty_stripe_separator_mask(1) }
textbox stripe separator 10:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(2) }
mask: { instance := 2; loyalty_stripe_separator_mask(2) }
textbox stripe separator 11:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(3) }
mask: { instance := 2; loyalty_stripe_separator_mask(3) }
textbox stripe separator 12:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(4) }
mask: { instance := 2; loyalty_stripe_separator_mask(4) }
textbox stripe separator 13:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(5) }
mask: { instance := 2; loyalty_stripe_separator_mask(5) }
textbox stripe separator 14:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(6) }
mask: { instance := 2; loyalty_stripe_separator_mask(6) }
textbox stripe separator 15:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(7) }
mask: { instance := 2; loyalty_stripe_separator_mask(7) }
textbox background 2:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
top: { instance := 2; a_top() }
bottom: { instance := 2; a_bottom() }
z index: 700
render style: image
image: { instance := 2; loyalty_textbox_background_image() }
mask: { instance := 2; loyalty_textbox_mask() }
card style:
loyalty 2:
left: { instance := 2; card.loyalty_box_2; loyalty_left() }
top: { instance := 2; loyalty_top() }
width: { instance := 2; card.loyalty_box_2; loyalty_width() }
height: { instance := 2; loyalty_height() }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; card.loyalty_box_2; loyalty_font_size() }
color: white
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 != "" }
include file: /magic.mse-game/loyalty/menu_choice_images
render style: image
image: { instance := 2; loyalty_box_image() }
loyalty cost 9:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_9; loyalty_cost_top(1) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(1) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 10:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_10; loyalty_cost_top(2) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(2) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 11:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_11; loyalty_cost_top(3) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(3) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 12:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_12; loyalty_cost_top(4) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(4) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 13:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_13; loyalty_cost_top(5) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(5) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 14:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_14; loyalty_cost_top(6) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(6) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 15:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_15; loyalty_cost_top(7) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(7) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost 16:
left: { instance := 2; loyalty_cost_left() }
top: { instance := 2; card.loyalty_cost_box_16; loyalty_cost_top(8) }
width: { instance := 2; loyalty_cost_width() }
height: { instance := 2; loyalty_cost_height(8) }
z index: 900
alignment: center middle shrink-overflow
font:
name: { name2_font() }
size: { instance := 2; loyalty_cost_font_size() }
scale down to: 7
color: white
loyalty cost box 9:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(1) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(1) }
z index: 830
visible: { instance := 2; card.loyalty_cost_9 != "" and loyalty_abilities_count() >= 1 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(1) }
loyalty cost box 10:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(2) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(2) }
z index: 830
visible: { instance := 2; card.loyalty_cost_10 != "" and loyalty_abilities_count() >= 2 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(2) }
loyalty cost box 11:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(3) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(3) }
z index: 830
visible: { instance := 2; card.loyalty_cost_11 != "" and loyalty_abilities_count() >= 3}
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(3) }
loyalty cost box 12:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(4) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(4) }
z index: 830
visible: { instance := 2; card.loyalty_cost_12 != "" and loyalty_abilities_count() >= 4 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(4) }
loyalty cost box 13:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(5) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(5) }
z index: 830
visible: { instance := 2; card.loyalty_cost_13 != "" and loyalty_abilities_count() >= 5 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(5) }
loyalty cost box 14:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(6) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(6) }
z index: 830
visible: { instance := 2; card.loyalty_cost_14 != "" and loyalty_abilities_count() >= 6 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(6) }
loyalty cost box 15:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(7) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(7) }
z index: 830
visible: { instance := 2; card.loyalty_cost_15 != "" and loyalty_abilities_count() >= 7 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(7) }
loyalty cost box 16:
left: { instance := 2; loyalty_cost_box_left() }
top: { instance := 2; loyalty_cost_box_top(8) }
width: { instance := 2; loyalty_cost_box_width() }
height: { instance := 2; loyalty_cost_box_height(8) }
z index: 830
visible: { instance := 2; card.loyalty_cost_16 != "" and loyalty_abilities_count() >= 8 }
include file: /magic.mse-game/loyalty/menu_choice_images_cost
render style: image
image: { instance := 2; loyalty_cost_box_image(8) }
include file: /magic-modules.mse-include/loyalty/ability_fields_dfc
include file: /magic-modules.mse-include/loyalty/stripe_fields_dfc
include file: /magic-modules.mse-include/loyalty/separator_fields_dfc

View File

@@ -54,7 +54,7 @@ margin_left :=
{
number := to_int(replace(input, match: "lv", replace: "")) or else 999
if number > 8 or card["loyalty_cost_" + number] == "" then 0
else to_int(190 * r_width(instance: 1) + (loyalty_cost_offset_left_1() + loyalty_cost_offset_width_1() + loyalty_cost_offset_text_margin_1()) * 10)
else to_int(130 * r_width(instance: 1) + (loyalty_cost_offset_left_1() + loyalty_cost_offset_width_1() + loyalty_cost_offset_text_margin_1()) * 10)
}
text_filter := text_filter + { apply_margins(input, name: margin_code) } + { add_spacers(input, name: margin_code) }
add_spacers :=

View File

@@ -10,7 +10,19 @@ depends on:
include file: /magic-modules.mse-include/loyalty/styling_fields
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/information/card_fields
include file: /magic-modules.mse-include/loyalty/card_fields
#### Sub-include files are also available for
#### Only the ability fields
include file: /magic-modules.mse-include/loyalty/ability_fields
#### Only the ability separator fields
include file: /magic-modules.mse-include/loyalty/separator_fields
#### Only the ability background striping fields
include file: /magic-modules.mse-include/loyalty/stripe_fields
#### Only the ability formatting styling options
include file: /magic-modules.mse-include/loyalty/styling_formatting
#### Only the ability recoloring styling options
include file: /magic-modules.mse-include/loyalty/styling_recoloring
#### Customization
#### Optionally, you can adjust appearance by defining the following functions in the init script:
@@ -20,7 +32,6 @@ loyalty_face_1 := { 1 }
#### To change which card field the boxes snap to,
#### 1 is for card.text, 2 for card.text_2, and 3 for card.text_3
#### This text field and it's watermark should have z index greater than 1100
loyalty_text_field_1 := { 1 }
#### This text field's font color should be:

View File

@@ -0,0 +1,121 @@
extra card field:
type: choice
name: textbox stripe separator 1
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 1
extra card field:
type: choice
name: textbox stripe separator 2
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 2
extra card field:
type: choice
name: textbox stripe separator 3
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 3
extra card field:
type: choice
name: textbox stripe separator 4
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 4
extra card field:
type: choice
name: textbox stripe separator 5
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 5
extra card field:
type: choice
name: textbox stripe separator 6
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 6
extra card field:
type: choice
name: textbox stripe separator 7
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 7
extra card style:
textbox stripe separator 1:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 2 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(1) }
mask: { instance := 1; loyalty_stripe_separator_mask(1) }
textbox stripe separator 2:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 3 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(2) }
mask: { instance := 1; loyalty_stripe_separator_mask(2) }
textbox stripe separator 3:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 4 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(3) }
mask: { instance := 1; loyalty_stripe_separator_mask(3) }
textbox stripe separator 4:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 5 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(4) }
mask: { instance := 1; loyalty_stripe_separator_mask(4) }
textbox stripe separator 5:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 6 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(5) }
mask: { instance := 1; loyalty_stripe_separator_mask(5) }
textbox stripe separator 6:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 7 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(6) }
mask: { instance := 1; loyalty_stripe_separator_mask(6) }
textbox stripe separator 7:
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 }
z index: 710
visible: { instance := 1; loyalty_abilities_count(active:true) >= 8 }
render style: image
image: { instance := 1; loyalty_stripe_separator_image(7) }
mask: { instance := 1; loyalty_stripe_separator_mask(7) }

View File

@@ -0,0 +1,121 @@
include file: /magic-modules.mse-include/loyalty/separator_fields
extra card field:
type: choice
name: textbox stripe separator 9
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 9
extra card field:
type: choice
name: textbox stripe separator 10
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 10
extra card field:
type: choice
name: textbox stripe separator 11
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 11
extra card field:
type: choice
name: textbox stripe separator 12
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 12
extra card field:
type: choice
name: textbox stripe separator 13
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 13
extra card field:
type: choice
name: textbox stripe separator 14
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 14
extra card field:
type: choice
name: textbox stripe separator 15
editable: false
save value: false
show statistics: false
choice: textbox stripe separator 15
extra card style:
textbox stripe separator 9:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(1) }
mask: { instance := 2; loyalty_stripe_separator_mask(1) }
textbox stripe separator 10:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(2) }
mask: { instance := 2; loyalty_stripe_separator_mask(2) }
textbox stripe separator 11:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(3) }
mask: { instance := 2; loyalty_stripe_separator_mask(3) }
textbox stripe separator 12:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(4) }
mask: { instance := 2; loyalty_stripe_separator_mask(4) }
textbox stripe separator 13:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(5) }
mask: { instance := 2; loyalty_stripe_separator_mask(5) }
textbox stripe separator 14:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(6) }
mask: { instance := 2; loyalty_stripe_separator_mask(6) }
textbox stripe separator 15:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
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 }
render style: image
image: { instance := 2; loyalty_stripe_separator_image(7) }
mask: { instance := 2; loyalty_stripe_separator_mask(7) }

View File

@@ -0,0 +1,87 @@
extra card field:
type: choice
name: textbox stripe 1
editable: false
save value: false
show statistics: false
choice: textbox stripe 1
extra card field:
type: choice
name: textbox stripe 2
editable: false
save value: false
show statistics: false
choice: textbox stripe 2
extra card field:
type: choice
name: textbox stripe 3
editable: false
save value: false
show statistics: false
choice: textbox stripe 3
extra card field:
type: choice
name: textbox stripe 4
editable: false
save value: false
show statistics: false
choice: textbox stripe 4
extra card field:
type: choice
name: textbox background
editable: false
save value: false
show statistics: false
choice: textbox background
extra card style:
textbox stripe 1:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; 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 }
render style: image
image: { instance := 1; loyalty_stripe_image() }
mask: { instance := 1; loyalty_stripe_mask(1) }
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() }
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 }
render style: image
image: { instance := 1; loyalty_stripe_image() }
mask: { instance := 1; loyalty_stripe_mask(2) }
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() }
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 }
render style: image
image: { instance := 1; loyalty_stripe_image() }
mask: { instance := 1; loyalty_stripe_mask(3) }
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() }
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 }
render style: image
image: { instance := 1; loyalty_stripe_image() }
mask: { instance := 1; loyalty_stripe_mask(4) }
textbox background:
left: { instance := 1; a_left() }
width: { instance := 1; a_width() }
top: { instance := 1; a_top() }
bottom: { instance := 1; a_bottom() }
z index: 700
render style: image
image: { instance := 1; loyalty_textbox_background_image() }
mask: { instance := 1; loyalty_textbox_mask() }
visible: { mainframe_walker() }

View File

@@ -0,0 +1,87 @@
include file: /magic-modules.mse-include/loyalty/stripe_fields
extra card field:
type: choice
name: textbox stripe 9
editable: false
save value: false
show statistics: false
choice: textbox stripe 9
extra card field:
type: choice
name: textbox stripe 10
editable: false
save value: false
show statistics: false
choice: textbox stripe 10
extra card field:
type: choice
name: textbox stripe 11
editable: false
save value: false
show statistics: false
choice: textbox stripe 11
extra card field:
type: choice
name: textbox stripe 12
editable: false
save value: false
show statistics: false
choice: textbox stripe 12
extra card field:
type: choice
name: textbox background 2
editable: false
save value: false
show statistics: false
choice: textbox background 2
extra card style:
textbox stripe 9:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
top: { instance := 2; a_top() }
bottom: { instance := 2; round_near(loyalty_stripe_separator_top(1)) + 0.5 }
z index: 710
visible: { instance := 2; loyalty_abilities_count(active:true) >= 2 }
render style: image
image: { instance := 2; loyalty_stripe_image() }
mask: { instance := 2; loyalty_stripe_mask(1) }
textbox stripe 10:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
top: { instance := 2; loyalty_stripe_separator_top(2) + loyalty_stripe_separator_height() }
bottom: { instance := 2; 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 := 2; loyalty_abilities_count(active:true) >= 3 }
render style: image
image: { instance := 2; loyalty_stripe_image() }
mask: { instance := 2; loyalty_stripe_mask(2) }
textbox stripe 11:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
top: { instance := 2; loyalty_stripe_separator_top(4) + loyalty_stripe_separator_height() }
bottom: { instance := 2; 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 := 2; loyalty_abilities_count(active:true) >= 5 }
render style: image
image: { instance := 2; loyalty_stripe_image() }
mask: { instance := 2; loyalty_stripe_mask(3) }
textbox stripe 12:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
top: { instance := 2; loyalty_stripe_separator_top(6) + loyalty_stripe_separator_height() }
bottom: { instance := 2; 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 := 2; loyalty_abilities_count(active:true) >= 7 }
render style: image
image: { instance := 2; loyalty_stripe_image() }
mask: { instance := 2; loyalty_stripe_mask(4) }
textbox background 2:
left: { instance := 2; a_left() }
width: { instance := 2; a_width() }
top: { instance := 2; a_top() }
bottom: { instance := 2; a_bottom() }
z index: 700
render style: image
image: { instance := 2; loyalty_textbox_background_image() }
mask: { instance := 2; loyalty_textbox_mask() }
visible: { mainframe_walkerb() }

View File

@@ -1,62 +1,2 @@
styling field:
type: choice
name: number of textboxes
description: Number of textboxes for abilities and passives. MODIFY CONTENTS OF TEXTBOXES IF THIS HAS TROUBLE UPDATING AFTER BEING CHANGED.
choice: 1
choice: 2
choice: 3
choice: 4
choice: 5
choice: 6
choice: 7
choice: 8
initial: 3
styling field:
type: text
name: textbox opacity percentage
description: Set the opacity percentage for textboxes. Opaque is 100, transparent is 0, default is 70.
styling field:
type: color
name: textbox color
description: Use the specified color for the textbox background.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(255,255,255)
styling field:
type: text
name: stripes opacity percentage
description: Set the opacity percentage for stripes separating abilities. Opaque is 100, transparent is 0, default is 40.
styling field:
type: color
name: stripes color
description: Use the specified color for the textbox background.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(255,255,255)
styling field:
type: text
name: move separators
description: Moves the limits between abilities down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5"
styling field:
type: text
name: move loyalty costs
description: Moves loyalty costs down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5,6"
styling field:
type: color
name: rule text color
description: Use the specified color for the rule text.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(0,0,0)
include file: /magic-modules.mse-include/loyalty/styling_formatting
include file: /magic-modules.mse-include/loyalty/styling_recoloring

View File

@@ -1,63 +1,4 @@
include file: /magic-modules.mse-include/loyalty/styling_fields
styling field:
type: choice
name: number of textboxes 2
description: Number of textboxes for abilities and passives for the second face. MODIFY CONTENTS OF TEXTBOXES IF THIS HAS TROUBLE UPDATING AFTER BEING CHANGED.
choice: 1
choice: 2
choice: 3
choice: 4
choice: 5
choice: 6
choice: 7
choice: 8
initial: 3
styling field:
type: text
name: textbox opacity percentage 2
description: Set the opacity percentage for textboxes for the second face. Opaque is 100, transparent is 0, default is 70.
styling field:
type: color
name: textbox color 2
description: Use the specified color for the textbox background for the second face.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(255,255,255)
styling field:
type: text
name: stripes opacity percentage 2
description: Set the opacity percentage for stripes separating abilities for the second face. Opaque is 100, transparent is 0, default is 40.
styling field:
type: color
name: stripes color 2
description: Use the specified color for the textbox background for the second face.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(255,255,255)
styling field:
type: text
name: move separators 2
description: Moves the limits between abilities for the second face down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5"
styling field:
type: text
name: move loyalty costs 2
description: Moves loyalty costs for the second face down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5,6"
styling field:
type: color
name: rule text color 2
description: Use the specified color for the rule text for the second face.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(0,0,0)
include file: /magic-modules.mse-include/loyalty/styling_formatting
include file: /magic-modules.mse-include/loyalty/styling_recoloring
include file: /magic-modules.mse-include/loyalty/styling_formatting_dfc
include file: /magic-modules.mse-include/loyalty/styling_recoloring_dfc

View File

@@ -0,0 +1,29 @@
styling field:
type: choice
name: number of textboxes
description: Number of textboxes for abilities and passives. MODIFY CONTENTS OF TEXTBOXES IF THIS HAS TROUBLE UPDATING AFTER BEING CHANGED.
choice: automatic
choice: 1
choice: 2
choice: 3
choice: 4
choice: 5
choice: 6
choice: 7
choice: 8
initial: automatic
styling field:
type: choice
name: use tall frame
description: Determines when to use the tall frame.
choice: default
choice: always
choice: never
styling field:
type: text
name: move separators
description: Moves the limits between abilities down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5"
styling field:
type: text
name: move loyalty costs
description: Moves loyalty costs down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5,6"

View File

@@ -0,0 +1,29 @@
styling field:
type: choice
name: number of textboxes 2
description: Number of textboxes for abilities and passives for the second face. MODIFY CONTENTS OF TEXTBOXES IF THIS HAS TROUBLE UPDATING AFTER BEING CHANGED.
choice automatic
choice: 1
choice: 2
choice: 3
choice: 4
choice: 5
choice: 6
choice: 7
choice: 8
initial: automatic
styling field:
type: choice
name: use tall frame 2
description: Determines when to use the tall frame.
choice: default
choice: always
choice: never
styling field:
type: text
name: move separators 2
description: Moves the limits between abilities for the second face down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5"
styling field:
type: text
name: move loyalty costs 2
description: Moves loyalty costs for the second face down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5,6"

View File

@@ -0,0 +1,41 @@
styling field:
type: text
name: textbox opacity percentage
description: Set the opacity percentage for textboxes. Opaque is 100, transparent is 0, default is 70.
styling field:
type: color
name: textbox color
description: Use the specified color for the textbox background.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(255,255,255)
styling field:
type: text
name: stripes opacity percentage
description: Set the opacity percentage for stripes separating abilities. Opaque is 100, transparent is 0, default is 40.
styling field:
type: color
name: stripes color
description: Use the specified color for the textbox background.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(255,255,255)
styling field:
type: color
name: rule text color
description: Use the specified color for the rule text.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(0,0,0)

View File

@@ -0,0 +1,41 @@
styling field:
type: text
name: textbox opacity percentage 2
description: Set the opacity percentage for textboxes for the second face. Opaque is 100, transparent is 0, default is 70.
styling field:
type: color
name: textbox color 2
description: Use the specified color for the textbox background for the second face.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(255,255,255)
styling field:
type: text
name: stripes opacity percentage 2
description: Set the opacity percentage for stripes separating abilities for the second face. Opaque is 100, transparent is 0, default is 40.
styling field:
type: color
name: stripes color 2
description: Use the specified color for the textbox background for the second face.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(255,255,255)
styling field:
type: color
name: rule text color 2
description: Use the specified color for the rule text for the second face.
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
initial: rgb(0,0,0)