Commit 9bca39f2 authored by Nemo Ma's avatar Nemo Ma

YUGI, NO BOOLEAN.

ALL THE BOOLEAN
parent de021d56
......@@ -17,6 +17,9 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk
# MSE Backups
*.bak
# =========================
# Operating System Files
# =========================
......
No preview for this file type
......@@ -25,17 +25,6 @@ card height: 614
card dpi: 152.6265
############################################################## Extra scripts
init script:
is_pendulum := {
card.card_type == "pendulum normal monster" or
card.card_type == "pendulum effect monster" or
card.card_type == "pendulum fusion monster" or
card.card_type == "pendulum ritual monster" or
card.card_type == "pendulum synchro monster" or
card.card_type == "pendulum dark synchro monster" or
card.card_type == "pendulum xyz monster" or
card.card_type == "pandemonium monster"
}
############################################################## Extra style
styling field:
type: choice
......@@ -162,7 +151,7 @@ card style:
left: { if card.rarity=="parallel rare" or card.rarity=="star rare" or card.rarity=="mosaic rare" or card.rarity=="gold rare" or card.rarity=="ultimate rare" then 0 else if card.rarity=="promo" or card.rarity=="secret rare" or card.rarity=="ultra rare" or card.rarity=="super rare" and is_pendulum() then 28 else if styling.image_frame then 44 else if styling.artwork_size=="extended" then 28 else 51 }
top: { if card.rarity=="parallel rare" or card.rarity=="star rare" or card.rarity=="mosaic rare" or card.rarity=="gold rare" or card.rarity=="ultimate rare" then 0 else if card.rarity=="promo" or card.rarity=="secret rare" or card.rarity=="ultra rare" or card.rarity=="super rare" and card.card_type=="pendulum normal monster" or card.card_type=="pendulum effect monster" or card.card_type=="pendulum fusion monster" or card.card_type=="pendulum ritual monster" or card.card_type=="pendulum synchro monster" or card.card_type=="pendulum dark synchro monster" or card.card_type=="pendulum xyz monster" then 110 else if styling.image_frame then 106 else if styling.artwork_size=="extended" and card.card_type=="link monster" then 99 else if styling.artwork_size=="extended" then 108 else 113 }
width: { if card.rarity=="parallel rare" or card.rarity=="star rare" or card.rarity=="mosaic rare" or card.rarity=="gold rare" or card.rarity=="ultimate rare" then 421 else if card.rarity=="promo" or card.rarity=="secret rare" or card.rarity=="ultra rare" or card.rarity=="super rare" and card.card_type=="pendulum normal monster" or card.card_type=="pendulum effect monster" or card.card_type=="pendulum fusion monster" or card.card_type=="pendulum ritual monster" or card.card_type=="pendulum synchro monster" or card.card_type=="pendulum dark synchro monster" or card.card_type=="pendulum xyz monster" then 364 else if styling.image_frame then "333" else if styling.artwork_size=="extended" then 366 else 320 }
height: { if card.rarity=="parallel rare" or card.rarity=="star rare" or card.rarity=="mosaic rare" or card.rarity=="gold rare" or card.rarity=="ultimate rare" then 614 else if card.rarity=="promo" or card.rarity=="secret rare" or card.rarity=="ultra rare" or card.rarity=="super rare" and is_pendulum() then ( if styling.pendulum_transparency=="yes" then ( if styling.pendulum_size=="more" then 363 else 347 ) else if styling.pendulum_transparency=="no" then ( if styling.pendulum_size=="less" then 293 else 273) ) else if styling.image_frame then 333 else if styling.artwork_size=="extended" and card.card_type=="link monster" then 479 else if styling.artwork_size=="extended" then 470 else 320 }
height: { if card.rarity=="parallel rare" or card.rarity=="star rare" or card.rarity=="mosaic rare" or card.rarity=="gold rare" or card.rarity=="ultimate rare" then 614 else if card.rarity=="promo" or card.rarity=="secret rare" or card.rarity=="ultra rare" or card.rarity=="super rare" and is_pendulum() then ( if styling.pendulum_transparency then ( if styling.pendulum_size=="more" then 363 else 347 ) else if styling.pendulum_transparency=="no" then ( if styling.pendulum_size=="less" then 293 else 273) ) else if styling.image_frame then 333 else if styling.artwork_size=="extended" and card.card_type=="link monster" then 479 else if styling.artwork_size=="extended" then 470 else 320 }
#height: { if card.rarity=="parallel rare" or card.rarity=="star rare" or card.rarity=="mosaic rare" or card.rarity=="gold rare" then 614 else if card.rarity=="promo" or card.rarity=="secret rare" or card.rarity=="ultimate rare" or card.rarity=="ultra rare" or card.rarity=="super rare" and card.card_type=="pendulum normal monster" or card.card_type=="pendulum effect monster" or card.card_type=="pendulum fusion monster" or card.card_type=="pendulum ritual monster" or card.card_type=="pendulum synchro monster" or card.card_type=="pendulum dark synchro monster" or card.card_type=="pendulum xyz monster" then 273 else if styling.image_frame then 333 else 320 }
z index: 5
render style: image
......@@ -173,7 +162,7 @@ card style:
if card.rarity=="gold rare" and styling.image_frame then "goldfoil-anniversary.png" else
if card.rarity=="gold rare" and styling.artwork_size=="extended" then "goldfoil-anniversary.png" else
if card.rarity=="gold rare" and styling.image_frame=="no" then "goldfoil.png" else
if styling.foil_texture=="yes" then (
if styling.foil_texture then (
if card.rarity=="super rare" then "defaultfoil.png" else
if card.rarity=="ultra rare" then "ultrafoil.png" else
if card.rarity=="secret rare" then "secretfoil.png" else
......@@ -184,7 +173,7 @@ card style:
if card.rarity=="mosaic rare" then "mosaicfoil.png" else
if card.rarity=="promo" then "superfoil.png") else
"blank2.png"
mask: { if card.rarity=="promo" or card.rarity=="secret rare" or card.rarity=="ultimate rare" or card.rarity=="ultra rare" or card.rarity=="super rare" then ( if is_pendulum() then ( if styling.pendulum_transparency=="yes" then ( if styling.pendulum_size=="less" then "mask-p_less.png" else if styling.pendulum_size=="more" then "mask-p_more.png" else "mask-p.png" ) else ( if styling.pendulum_size=="less" then "mask-p_opaque_less.png" else "mask-p_opaque.png" ) ) else "mask.png" ) else "" }
mask: { if card.rarity=="promo" or card.rarity=="secret rare" or card.rarity=="ultimate rare" or card.rarity=="ultra rare" or card.rarity=="super rare" then ( if is_pendulum() then ( if styling.pendulum_transparency then ( if styling.pendulum_size=="less" then "mask-p_less.png" else if styling.pendulum_size=="more" then "mask-p_more.png" else "mask-p.png" ) else ( if styling.pendulum_size=="less" then "mask-p_opaque_less.png" else "mask-p_opaque.png" ) ) else "mask.png" ) else "" }
combine: normal
############################# Name line
name:
......@@ -314,10 +303,10 @@ card style:
left: { if is_pendulum() and styling.template_style="actual style" then 27 else if is_pendulum() then 28 else if card.card_type=="pandemonium monster" then 27 else if styling.image_frame then 44 else if card.card_type=="link monster" and ( styling.artwork_size=="extended" and styling.template_style=="actual style" ) then 23 else if card.card_type=="link monster" and styling.artwork_size=="extended" then 28 else if styling.artwork_size=="extended" and styling.template_style=="actual style" then 24 else if styling.artwork_size=="extended" then 28 else if styling.template_style=="actual style" then 47 else 51 }
top: { if is_pendulum() and styling.template_style="actual style" then 111 else if is_pendulum() then 110 else if styling.image_frame then 106 else if card.card_type=="link monster" and ( styling.artwork_size=="extended" and styling.template_style=="actual style" ) then 102 else if card.card_type=="link monster" and styling.artwork_size=="extended" then 99 else if styling.artwork_size=="extended" then 110 else if styling.artwork_size=="extended" and styling.template_style=="actual style" then 111 else if styling.template_style=="actual style" then 110 else 113 }
width: { if is_pendulum() and styling.template_style="actual style" then 368 else if is_pendulum() then 364 else if styling.image_frame then 333 else if card.card_type=="link monster" and ( styling.artwork_size=="extended" and styling.template_style=="actual style" ) then 374 else if styling.artwork_size=="extended" and styling.template_style=="actual style" then 373 else if styling.artwork_size=="extended" then 366 else if styling.template_style=="actual style" then 326 else 320 }
height: { if is_pendulum() then ( if styling.pendulum_transparency=="yes" then ( if styling.pendulum_size=="more" then 363 else 347 ) else if styling.pendulum_transparency=="no" then ( if styling.pendulum_size=="less" then 293 else 273) ) else if styling.image_frame then 333 else if card.card_type=="link monster" and ( styling.artwork_size=="extended" and styling.template_style=="actual style" ) then 483 else if card.card_type=="link monster" and styling.artwork_size=="extended" then 479 else if styling.artwork_size=="extended" and styling.template_style=="actual style" then 474 else if styling.artwork_size=="extended" then 470 else if styling.template_style=="actual style" then 326 else 320 }
height: { if is_pendulum() then ( if styling.pendulum_transparency then ( if styling.pendulum_size=="more" then 363 else 347 ) else if styling.pendulum_transparency=="no" then ( if styling.pendulum_size=="less" then 293 else 273) ) else if styling.image_frame then 333 else if card.card_type=="link monster" and ( styling.artwork_size=="extended" and styling.template_style=="actual style" ) then 483 else if card.card_type=="link monster" and styling.artwork_size=="extended" then 479 else if styling.artwork_size=="extended" and styling.template_style=="actual style" then 474 else if styling.artwork_size=="extended" then 470 else if styling.template_style=="actual style" then 326 else 320 }
z index: 1
#mask: { if is_pendulum() then ( if styling.pendulum_transparency=="yes" then ( if styling.pendulum_size=="less" then "mask-p_less.png" else if styling.pendulum_size=="more" then "mask-p_more.png" else "mask-p.png" ) else ( if styling.pendulum_size=="less" then "mask-p_opaque_less.png" else "mask-p_opaque.png" ) ) else if styling.artwork_size=="extended" then "maskex3.png" else "" }
mask: { if is_pendulum() then ( if styling.pendulum_transparency=="yes" then ( if styling.pendulum_size=="less" then "mask-p_less.png" else if styling.pendulum_size=="more" then "mask-p_more.png" else "mask-p.png" ) else ( if styling.pendulum_size=="less" then "mask-p_opaque_less.png" else "mask-p_opaque.png" ) ) else if styling.template_style=="actual style" and styling.artwork_size=="extended" then ( if card.card_type=="spell card" or card.card_type=="trap card" then "new/maskex1.png" else if card.card_type=="link monster" then "new/maskex1.png" else "new/maskex1.png" ) else if styling.artwork_size=="extended" then (if card.card_type=="spell card" or card.card_type=="trap card" then "maskex1.png" else if card.card_type=="link monster" then "maskex2.png" else "maskex.png") else "" }
#mask: { if is_pendulum() then ( if styling.pendulum_transparency then ( if styling.pendulum_size=="less" then "mask-p_less.png" else if styling.pendulum_size=="more" then "mask-p_more.png" else "mask-p.png" ) else ( if styling.pendulum_size=="less" then "mask-p_opaque_less.png" else "mask-p_opaque.png" ) ) else if styling.artwork_size=="extended" then "maskex3.png" else "" }
mask: { if is_pendulum() then ( if styling.pendulum_transparency then ( if styling.pendulum_size=="less" then "mask-p_less.png" else if styling.pendulum_size=="more" then "mask-p_more.png" else "mask-p.png" ) else ( if styling.pendulum_size=="less" then "mask-p_opaque_less.png" else "mask-p_opaque.png" ) ) else if styling.template_style=="actual style" and styling.artwork_size=="extended" then ( if card.card_type=="spell card" or card.card_type=="trap card" then "new/maskex1.png" else if card.card_type=="link monster" then "new/maskex1.png" else "new/maskex1.png" ) else if styling.artwork_size=="extended" then (if card.card_type=="spell card" or card.card_type=="trap card" then "maskex1.png" else if card.card_type=="link monster" then "maskex2.png" else "maskex.png") else "" }
############################# Link Marker Border INDENTS MATTER
linkborder:
left:
......@@ -460,7 +449,7 @@ card style:
monster type:
left: { if styling.template_style=="actual style" then 38 else 40 }
top : { if is_pendulum() and ( styling.template_style=="actual style" and styling.pendulum_size=="more" ) then 475 else if is_pendulum() and styling.pendulum_size=="more" then 476 else if styling.template_style=="actual style" then 463 else 462 }
width: { if styling.large_type=="yes" then card_style.monster_type.content_width + 8 else card_style.monster_type.content_width + 6 }
width: { if styling.large_type then card_style.monster_type.content_width + 8 else card_style.monster_type.content_width + 6 }
height: 15
alignment: middle left
z index: 2
......@@ -471,7 +460,7 @@ card style:
else if styling.language=="chinese simplified" then "方正隶变_GBK"
else if styling.language=="chinese traditional" then "DFPLiShuW5-B5"
else "Yu-Gi-Oh!ITCStoneSerifSmallCaps"
size: { if styling.large_type=="yes" then 13.1 else if styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional" then 13 else 11.4 }
size: { if styling.large_type then 13.1 else if styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional" then 13 else 11.4 }
color: rgb(0,0,0)
symbol font:
name: yugioh-text-replacements
......@@ -534,12 +523,12 @@ card style:
line height line: { if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
line height soft: { if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
##Why..?
#line height hard max: { if is_nmonster() then 0.8 else if styling.max_line_space=="yes" and (styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional") then 1.2 else if styling.max_line_space=="yes" then 1 else if styling.text_size=="large" then 0.72 else 0.76 }
#line height soft max: { if styling.max_line_space=="yes" and (styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional") then 1.2 else if styling.max_line_space=="yes" then 1 else if styling.max_line_space=="yes" and styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional" then 1.5 else if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
#line height line max: { if styling.max_line_space=="yes" and (styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional") then 1.2 else if styling.max_line_space=="yes" then 1 else if styling.max_line_space=="yes" and styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional" then 1.5 else if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
line height hard max: { if styling.max_line_space=="yes" then 1 else if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
line height soft max: { if styling.max_line_space=="yes" then 1 else if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
line height line max: { if styling.max_line_space=="yes" then 1 else if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
#line height hard max: { if is_nmonster() then 0.8 else if styling.max_line_space and (styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional") then 1.2 else if styling.max_line_space then 1 else if styling.text_size=="large" then 0.72 else 0.76 }
#line height soft max: { if styling.max_line_space and (styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional") then 1.2 else if styling.max_line_space then 1 else if styling.max_line_space and styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional" then 1.5 else if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
#line height line max: { if styling.max_line_space and (styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional") then 1.2 else if styling.max_line_space then 1 else if styling.max_line_space and styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional" then 1.5 else if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
line height hard max: { if styling.max_line_space then 1 else if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
line height soft max: { if styling.max_line_space then 1 else if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
line height line max: { if styling.max_line_space then 1 else if is_nmonster() then 0.8 else if styling.text_size=="large" then 0.72 else 0.76 }
############################# Attack/Defense/Pendulum Scale/Spell Effect
attack:
#left: 262
......@@ -600,7 +589,7 @@ card style:
name: yugioh-text-numbers
alignment: bottom center
size: 4
alignment: { if styling.pendulum_text_centering=="yes" then "middle left justify" else "top left justify" }
alignment: { if styling.pendulum_text_centering then "middle left justify" else "top left justify" }
z index: 3
padding left: 1
padding top: 1
......@@ -609,9 +598,9 @@ card style:
line height hard: 0.73
line height line: 0.73
line height soft: 0.73
line height hard max: { if styling.max_line_space=="yes" then 1 else 0.73 }
line height soft max: { if styling.max_line_space=="yes" then 1 else 0.73 }
line height line max: { if styling.max_line_space=="yes" then 1 else 0.73 }
line height hard max: { if styling.max_line_space then 1 else 0.73 }
line height soft max: { if styling.max_line_space then 1 else 0.73 }
line height line max: { if styling.max_line_space then 1 else 0.73 }
blue scale:
#may need further adjustement after OSUME's new template arrives.
left: { if is_pendulum() and styling.template_style="actual style" then true and 27 else if is_pendulum() then true and 30 }
......@@ -679,7 +668,7 @@ card style:
render style: image list
choice images:
stamp:
script: if styling.disable_hologram=="yes" then "blank2.png" else if card.edition!="" then "cornerfirst.png" else "cornerunlimited.png"
script: if styling.disable_hologram then "blank2.png" else if card.edition!="" then "cornerfirst.png" else "cornerunlimited.png"
copyright:
left: 230
#top : 584
......@@ -753,9 +742,9 @@ extra card style:
visible: script: if is_nmonster() then false else true
leftbracket:
left: { if is_nmonster() then (359 - card_style.level.content_width) else if styling.template_style=="actual style" then 30 else 32 }
top : { if is_nmonster() then 80 else if styling.pendulum_size=="more" then 479 else if styling.large_type=="yes" then 464 else 464 }
top : { if is_nmonster() then 80 else if styling.pendulum_size=="more" then 479 else if styling.large_type then 464 else 464 }
width: { if is_nmonster() then 6 else 6 }
height: { if is_nmonster() then 19 else if styling.large_type=="yes" then 15 else 14 }
height: { if is_nmonster() then 19 else if styling.large_type then 15 else 14 }
z index: 2
render style: image list
choice images:
......@@ -767,10 +756,10 @@ extra card style:
else if styling.language=="chinese traditional" then "/yugioh-standard-levels.mse-symbol-font/leftbracket_tc.png"
else "/yugioh-standard-levels.mse-symbol-font/leftbracket.png"
rightbracket:
left: { if is_nmonster() then 372 else if styling.large_type=="yes" then (card_style.monster_type.content_width + 42) else (card_style.monster_type.content_width + 42) }
top : { if is_nmonster() then 80 else if styling.pendulum_size=="more" then 479 else if styling.large_type=="yes" then 464 else 464 }
left: { if is_nmonster() then 372 else if styling.large_type then (card_style.monster_type.content_width + 42) else (card_style.monster_type.content_width + 42) }
top : { if is_nmonster() then 80 else if styling.pendulum_size=="more" then 479 else if styling.large_type then 464 else 464 }
width: { if is_nmonster() then 6 else 6 }
height: { if is_nmonster() then 19 else if styling.large_type=="yes" then 15 else 14 }
height: { if is_nmonster() then 19 else if styling.large_type then 15 else 14 }
z index: 4
render style: image list
choice images:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment