Fix Plane borders and add special_text

This commit is contained in:
CajunAvenger
2023-02-04 07:04:11 -06:00
parent c7ffe27f33
commit 9976e655f5
4 changed files with 29 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 208 KiB

View File

@@ -47,7 +47,9 @@ init script:
filter_image := {crop("filter.png", height: height_textbox()+9, width:428, offset_x:0, offset_y:0)}
height_chaos := {77 - height_textbox()}
height_c_sym := {if is_nom() then 0 else min(22,height_chaos()-4) }
special_text := {
card.text + (if remove_tags(card.rule_text_2) != "" then "\n" + card.rule_text_2 else "")
}
############################################################## Set info fields
set info style:
symbol:
@@ -343,6 +345,16 @@ extra card field:
editable: false
save value: false
show statistics: false
extra card field:
type: text
name: filler text
editable: true
save value: true
show statistics: false
multi line: true
script:
forward_editor(field: card.special_text)
special_text()
extra card style:
background:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 208 KiB

View File

@@ -47,6 +47,10 @@ init script:
filter_image := {crop("filter.png", height: height_textbox()+18, width:656, offset_x:0, offset_y:0)}
height_chaos := {109 - height_textbox()}
height_c_sym := {if is_nom() then 0 else min(33,height_chaos()-4) }
special_text := {
card.text + (if remove_tags(card.rule_text_2) != "" then "\n" + card.rule_text_2 else "")
}
############################################################## Set info fields
set info style:
symbol:
@@ -341,6 +345,16 @@ extra card field:
editable: false
save value: false
show statistics: false
extra card field:
type: text
name: filler text
editable: true
save value: true
show statistics: false
multi line: true
script:
forward_editor(field: card.special_text)
special_text()
extra card style:
background:
@@ -361,6 +375,7 @@ extra card style:
render style: image
choice images:
chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png
visible: {height_textbox() < 101}
artist arrow:
left: { 395 - card_style.illustrator.content_width * 0.5 }
top: 531
@@ -410,6 +425,7 @@ extra card style:
render style: image
image: {filter_image()}
z index: 1
visible: {not is_nom()}
card code:
left: { if styling.center_set_info then 360 else 270 }
top: 542