Fix Plane borders and add special_text
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 208 KiB |
@@ -47,7 +47,9 @@ init script:
|
|||||||
filter_image := {crop("filter.png", height: height_textbox()+9, width:428, offset_x:0, offset_y:0)}
|
filter_image := {crop("filter.png", height: height_textbox()+9, width:428, offset_x:0, offset_y:0)}
|
||||||
height_chaos := {77 - height_textbox()}
|
height_chaos := {77 - height_textbox()}
|
||||||
height_c_sym := {if is_nom() then 0 else min(22,height_chaos()-4) }
|
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 fields
|
||||||
set info style:
|
set info style:
|
||||||
symbol:
|
symbol:
|
||||||
@@ -343,6 +345,16 @@ extra card field:
|
|||||||
editable: false
|
editable: false
|
||||||
save value: false
|
save value: false
|
||||||
show statistics: 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:
|
extra card style:
|
||||||
background:
|
background:
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 208 KiB |
@@ -47,6 +47,10 @@ init script:
|
|||||||
filter_image := {crop("filter.png", height: height_textbox()+18, width:656, offset_x:0, offset_y:0)}
|
filter_image := {crop("filter.png", height: height_textbox()+18, width:656, offset_x:0, offset_y:0)}
|
||||||
height_chaos := {109 - height_textbox()}
|
height_chaos := {109 - height_textbox()}
|
||||||
height_c_sym := {if is_nom() then 0 else min(33,height_chaos()-4) }
|
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 fields
|
||||||
set info style:
|
set info style:
|
||||||
symbol:
|
symbol:
|
||||||
@@ -341,6 +345,16 @@ extra card field:
|
|||||||
editable: false
|
editable: false
|
||||||
save value: false
|
save value: false
|
||||||
show statistics: 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:
|
extra card style:
|
||||||
background:
|
background:
|
||||||
@@ -361,6 +375,7 @@ extra card style:
|
|||||||
render style: image
|
render style: image
|
||||||
choice images:
|
choice images:
|
||||||
chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png
|
chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png
|
||||||
|
visible: {height_textbox() < 101}
|
||||||
artist arrow:
|
artist arrow:
|
||||||
left: { 395 - card_style.illustrator.content_width * 0.5 }
|
left: { 395 - card_style.illustrator.content_width * 0.5 }
|
||||||
top: 531
|
top: 531
|
||||||
@@ -410,6 +425,7 @@ extra card style:
|
|||||||
render style: image
|
render style: image
|
||||||
image: {filter_image()}
|
image: {filter_image()}
|
||||||
z index: 1
|
z index: 1
|
||||||
|
visible: {not is_nom()}
|
||||||
card code:
|
card code:
|
||||||
left: { if styling.center_set_info then 360 else 270 }
|
left: { if styling.center_set_info then 360 else 270 }
|
||||||
top: 542
|
top: 542
|
||||||
|
|||||||
Reference in New Issue
Block a user