[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,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() }