mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
A new update to the new tokens. Still errors.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@443 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -13,9 +13,10 @@ card width: 375
|
|||||||
card height: 523
|
card height: 523
|
||||||
card dpi: 150
|
card dpi: 150
|
||||||
|
|
||||||
#error list
|
#error list:
|
||||||
#error about mask size not matching image size when dealing with p/t boxes
|
#error about mask size not matching image size when dealing with p/t boxes
|
||||||
#error about mask size not matching image size when dealing with name boxes
|
#error about mask size not matching image size when dealing with name boxes
|
||||||
|
#make sure name boxes are working correctly
|
||||||
#templates do not change properly to one textline versions
|
#templates do not change properly to one textline versions
|
||||||
##############################P############################### Extra scripts
|
##############################P############################### Extra scripts
|
||||||
|
|
||||||
@@ -31,7 +32,7 @@ init script:
|
|||||||
# Which artifact template should be used?
|
# Which artifact template should be used?
|
||||||
text_sensor := {
|
text_sensor := {
|
||||||
if styling.one_textline_tokens
|
if styling.one_textline_tokens
|
||||||
and card_style.rule_text.content_lines == 1
|
and card_style.text.content_lines == 1
|
||||||
and card.flavor_text == "<i-flavor></i-flavor>" then "1"
|
and card.flavor_text == "<i-flavor></i-flavor>" then "1"
|
||||||
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then "2"
|
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then "2"
|
||||||
else "" }
|
else "" }
|
||||||
@@ -51,7 +52,7 @@ init script:
|
|||||||
masked_blend(
|
masked_blend(
|
||||||
mask: (
|
mask: (
|
||||||
if styling.one_textline_tokens
|
if styling.one_textline_tokens
|
||||||
and card_style.rule_text.content_lines == 1
|
and card_style.text.content_lines == 1
|
||||||
and card.flavor_text == "<i-flavor></i-flavor>" then "1hybrid_blend_nt.png"
|
and card.flavor_text == "<i-flavor></i-flavor>" then "1hybrid_blend_nt.png"
|
||||||
else if card.rule_text != "" then "2hybrid_blend_nt.png"
|
else if card.rule_text != "" then "2hybrid_blend_nt.png"
|
||||||
else "hybrid_blend_nt.png" ),
|
else "hybrid_blend_nt.png" ),
|
||||||
@@ -64,7 +65,7 @@ init script:
|
|||||||
masked_blend(
|
masked_blend(
|
||||||
mask: (
|
mask: (
|
||||||
if styling.one_textline_tokens
|
if styling.one_textline_tokens
|
||||||
and card_style.rule_text.content_lines == 1
|
and card_style.text.content_lines == 1
|
||||||
and card.flavor_text == "<i-flavor></i-flavor>" then "1multicolor_dual_blend.png"
|
and card.flavor_text == "<i-flavor></i-flavor>" then "1multicolor_dual_blend.png"
|
||||||
else if card.rule_text != "" then "2multicolor_dual_blend.png"
|
else if card.rule_text != "" then "2multicolor_dual_blend.png"
|
||||||
else "multicolor_dual_blend.png" ),
|
else "multicolor_dual_blend.png" ),
|
||||||
@@ -179,44 +180,44 @@ card style:
|
|||||||
alignment: bottom center
|
alignment: bottom center
|
||||||
always symbol: true
|
always symbol: true
|
||||||
|
|
||||||
name box:
|
# name box:
|
||||||
left: script: number_of_items(in:"" + card.name) * -7 + 187
|
# left: script: card_style.name.content_width * -.5 + 172
|
||||||
top: 25
|
# top: 25
|
||||||
width: script: number_of_items(in:"" + card.name) * 14 + 6
|
# width: script: card_style.name.content_width + 1
|
||||||
height: 35
|
# height: 35
|
||||||
z index: 2
|
# z index: 2
|
||||||
visible:
|
# visible:
|
||||||
script: card.name != ""
|
# script: card.name != ""
|
||||||
render style: image
|
# render style: image
|
||||||
mask: name_mask.png
|
# mask: name_mask.png
|
||||||
choice images:
|
# choice images:
|
||||||
black: name.jpg
|
# black: name.jpg
|
||||||
|
|
||||||
name box left:
|
# name box left:
|
||||||
left: script: number_of_items(in:"" + card.name) * -7 + 172
|
# right: script: card_style.name.content_width * -.5 + 172
|
||||||
top: 25
|
# top: 25
|
||||||
width: 15
|
# width: 15
|
||||||
height: 35
|
# height: 35
|
||||||
z index: 2
|
# z index: 2
|
||||||
visible:
|
# visible:
|
||||||
script: card.name != ""
|
# script: card.name != ""
|
||||||
render style: image
|
# render style: image
|
||||||
mask: name_l_mask.png
|
# mask: name_l_mask.png
|
||||||
choice images:
|
# choice images:
|
||||||
black: name_l.jpg
|
# black: name_l.jpg
|
||||||
|
|
||||||
name box right:
|
# name box right:
|
||||||
left: script: number_of_items(in:"" + card.name) * 7 + 193
|
# left: script: card_style.name.content_width * .5 + 173
|
||||||
top: 25
|
# top: 25
|
||||||
width: 15
|
# width: 15
|
||||||
height: 35
|
# height: 35
|
||||||
z index: 2
|
# z index: 2
|
||||||
visible:
|
# visible:
|
||||||
script: card.name != ""
|
# script: card.name != ""
|
||||||
render style: image
|
# render style: image
|
||||||
mask: name_r_mask.png
|
# mask: name_r_mask.png
|
||||||
choice images:
|
# choice images:
|
||||||
black: name_r.jpg
|
# black: name_r.jpg
|
||||||
|
|
||||||
############################# Image
|
############################# Image
|
||||||
image:
|
image:
|
||||||
@@ -228,14 +229,14 @@ card style:
|
|||||||
59
|
59
|
||||||
width: 315
|
width: 315
|
||||||
height:
|
height:
|
||||||
script: if styling.one_textline_tokens and card_style.rule_text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then
|
script: if styling.one_textline_tokens and card_style.text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then
|
||||||
349
|
349
|
||||||
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then
|
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then
|
||||||
288
|
288
|
||||||
else
|
else
|
||||||
366
|
366
|
||||||
mask:
|
mask:
|
||||||
script: if styling.one_textline_tokens and card_style.rule_text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then
|
script: if styling.one_textline_tokens and card_style.text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then
|
||||||
"1imagemask.png"
|
"1imagemask.png"
|
||||||
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then
|
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then
|
||||||
"2imagemask.png"
|
"2imagemask.png"
|
||||||
@@ -249,7 +250,7 @@ card style:
|
|||||||
type:
|
type:
|
||||||
left: 35
|
left: 35
|
||||||
top:
|
top:
|
||||||
script: if styling.one_textline_tokens and card_style.rule_text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then
|
script: if styling.one_textline_tokens and card_style.text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then
|
||||||
414
|
414
|
||||||
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then
|
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then
|
||||||
350
|
350
|
||||||
@@ -271,7 +272,7 @@ card style:
|
|||||||
rarity:
|
rarity:
|
||||||
left: 320
|
left: 320
|
||||||
top:
|
top:
|
||||||
script: if styling.one_textline_tokens and card_style.rule_text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then
|
script: if styling.one_textline_tokens and card_style.text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then
|
||||||
415
|
415
|
||||||
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then
|
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then
|
||||||
351
|
351
|
||||||
@@ -294,13 +295,13 @@ card style:
|
|||||||
left: 31
|
left: 31
|
||||||
top:
|
top:
|
||||||
script:
|
script:
|
||||||
if styling.one_textline_tokens and card_style.rule_text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then 444
|
if styling.one_textline_tokens and card_style.text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then 444
|
||||||
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then 388
|
else if card.rule_text != "" or number_of_items(in:"" + card.flavor_text) > 21 then 388
|
||||||
else 300
|
else 300
|
||||||
width: 311
|
width: 311
|
||||||
height:
|
height:
|
||||||
script:
|
script:
|
||||||
if styling.one_textline_tokens and card_style.rule_text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then 22
|
if styling.one_textline_tokens and card_style.text.content_lines == 1and card.flavor_text == "<i-flavor></i-flavor>" then 22
|
||||||
else 80
|
else 80
|
||||||
font:
|
font:
|
||||||
name: MPlantin
|
name: MPlantin
|
||||||
@@ -352,9 +353,9 @@ card style:
|
|||||||
############################# Copyright stuff
|
############################# Copyright stuff
|
||||||
|
|
||||||
illustrator:
|
illustrator:
|
||||||
left: 56
|
left: 27
|
||||||
top : 478
|
top : 478
|
||||||
width: 217
|
width: 246
|
||||||
height: 16
|
height: 16
|
||||||
z index: 1
|
z index: 1
|
||||||
font:
|
font:
|
||||||
@@ -363,6 +364,9 @@ card style:
|
|||||||
weight: bold
|
weight: bold
|
||||||
color:
|
color:
|
||||||
script: font_color()
|
script: font_color()
|
||||||
|
symbol font:
|
||||||
|
name: magic-paintbrush
|
||||||
|
size: 10.5
|
||||||
|
|
||||||
copyright line:
|
copyright line:
|
||||||
left: 30
|
left: 30
|
||||||
|
|||||||
Reference in New Issue
Block a user