Files
magic-set-editor-fork/data/magic-modules.mse-include/loyalty/stripe_fields
2024-10-01 08:42:16 -05:00

87 lines
3.3 KiB
Plaintext

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; 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 }
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; 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 }
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; 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 }
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; 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 }
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() }