Commit fb8e4b7d authored by 不如归去's avatar 不如归去 Committed by GitHub

Merge pull request #2 from 247321453/master

Merge From Source.
parents 4e75f302 a58bf06e
/update/version_new.txt
...@@ -7,7 +7,7 @@ installer group: Yugioh/Symbol Fonts/Level Symbols ...@@ -7,7 +7,7 @@ installer group: Yugioh/Symbol Fonts/Level Symbols
# Symbol font for level symbols # Symbol font for level symbols
image font size: 16 image font size: 16
horizontal space: 0 horizontal space: 3
symbol: symbol:
code: % code: %
...@@ -74,7 +74,7 @@ symbol: ...@@ -74,7 +74,7 @@ symbol:
code: * code: *
image: dstar.png image: dstar.png
enabled: {card.card_type == "dark synchro monster"} enabled: {card.card_type == "dark synchro monster"}
image font size: 17.95 image font size: 16.5
symbol: symbol:
code: * code: *
image: xyzstar.png image: xyzstar.png
......
...@@ -11,7 +11,7 @@ depends on: ...@@ -11,7 +11,7 @@ depends on:
version: 2009-08-08 version: 2009-08-08
card width: 421 card width: 421
card height: 610 card height: 614
card dpi: 178.0156 card dpi: 178.0156
# 5.9 8.6 # 5.9 8.6
...@@ -126,7 +126,7 @@ card style: ...@@ -126,7 +126,7 @@ card style:
left: 0 left: 0
top: 0 top: 0
width: 421 width: 421
height: 610 height: 614
z index: -2 z index: -2
render style: image render style: image
popup style: in place popup style: in place
...@@ -139,6 +139,7 @@ card style: ...@@ -139,6 +139,7 @@ card style:
fusion monster: card-fusion.png fusion monster: card-fusion.png
token monster: card-token.png token monster: card-token.png
xyz monster: card-xyz.png xyz monster: card-xyz.png
link monster: card-link.png
obelisk: card-obelisk.png obelisk: card-obelisk.png
slifer: card-slifer.png slifer: card-slifer.png
ra: card-ra.png ra: card-ra.png
...@@ -150,32 +151,35 @@ card style: ...@@ -150,32 +151,35 @@ card style:
script: script:
if foil_is_full() then 0 if foil_is_full() then 0
else if is_transparent() then 14 else if is_transparent() then 14
else if image_noframe() and is_nopendulum() then 44 else if image_noframe() and is_nopendulum() then 45.5
else if is_nopendulum() then 51.6 else if is_nopendulum() then 50
else 29.5 else 29
top: top:
script: script:
if foil_is_full() then 0 if foil_is_full() then 0
else if is_transparent() then 14 else if is_transparent() then 14
else if image_noframe() and is_nopendulum() then 105 else if image_noframe() and is_nopendulum() then 107.5
else if is_nopendulum() then 113 else if is_nopendulum() then 113
else 107 else 113
width: width:
script: script:
if foil_is_full() then 421 if foil_is_full() then 421
else if is_transparent() then 393 else if is_transparent() then 393
else if image_noframe() and is_nopendulum() then 332 else if image_noframe() and is_nopendulum() then 332
else if is_nopendulum() then 319 else if is_nopendulum() then 320
else 363 else 365.5
height: height:
script: script:
if foil_is_full() then 610 if foil_is_full() then 614
else if is_transparent() then 610 else if is_transparent() then 586
else if image_noframe() and is_nopendulum() then 330 else if image_noframe() and is_nopendulum() then 332
else if is_big_pend() then 273 else if pend_image_is_small() and is_big_pend() then 276.5
else if is_medium_pend() then 273 else if pend_image_is_small() and is_medium_pend() then 276.5
else if is_small_pend() then 293 else if pend_image_is_small() and is_small_pend() then 297
else 317 else if is_big_pend() then 360.5
else if is_medium_pend() then 344.5
else if is_small_pend() then 344.5
else 320
z index: 5 z index: 5
render style: image render style: image
popup style: in place popup style: in place
...@@ -194,10 +198,10 @@ card style: ...@@ -194,10 +198,10 @@ card style:
############################# Name line ############################# Name line
name: name:
left: 31.5 left: 31.5
top: {if is_jp() then 30 else if is_tw() then 30 else 31.5 } top: 31.5
width: 315 width: 314.5
height: script: if is_jp() then 36 else 37 height: 38
alignment: middle shrink-overflow alignment: left middle shrink-overflow
padding bottom: 0 padding bottom: 0
z index: 2 z index: 2
font: font:
...@@ -209,40 +213,39 @@ card style: ...@@ -209,40 +213,39 @@ card style:
else if is_cn() then "FZLiBian-S02" else if is_cn() then "FZLiBian-S02"
else "MatrixRegularSmallCaps" else "MatrixRegularSmallCaps"
italic name: { if is_tw() then "Yu-Gi-Oh! DFG Leisho 5" else "Yu-Gi-Oh! DFG Leisho 4" } italic name: { if is_tw() then "Yu-Gi-Oh! DFG Leisho 5" else "Yu-Gi-Oh! DFG Leisho 4" }
size: { if is_tw() or is_cn() or is_jp() then 24 else if is_ko() then 27 else 29 } size: { if is_tw() or is_cn() or is_jp() then 24 else if is_ko() then 27 else 38 }
color: color:
script: if use_name_color() then styling.name_color script:
else if card.rarity=="rare" then rgb(206,212,217) if use_name_color() then styling.name_color
else if card.rarity=="star rare" and is_blmonster() then rgb(255,255,255) else if hide_foil() and is_blmonster() or is_nmonster() then rgb(255,255,255)
else if card.rarity=="star rare" then rgb(35,40,49) else if hide_foil() and not is_blmonster() then rgb(0,0,0)
else if card.rarity=="mosaic rare" and is_blmonster() then rgb(255,255,255) else if card.card_type=="normal monster" and card.rarity=="ultra rare" then rgb(231,204,1)
else if card.rarity=="mosaic rare" then rgb(10,10,10) else if card.card_type=="synchro monster" and card.rarity=="secret rare" then rgb(0,0,0)
else if card.rarity=="promo" then rgb(60,0,0) else if card.card_type=="synchro monster" and card.rarity=="collectors rare" then rgb(0,0,0)
else if card.rarity=="secret rare" then rgb(102,255,255) else if card.card_type=="synchro monster" and card.rarity=="ghost rare" then rgb(0,0,0)
else if card.rarity=="ghost rare (No foil)" then rgb(133,168,169) else if card.card_type=="synchro monster" and card.rarity=="rare" then rgb(0,0,0)
else if card.rarity=="ultra rare" then rgb(255,240,0) else if card.rarity=="rare" then rgb(188,198,204) ##silver text if enable then disable shadow
else if card.card_type=="synchro monster" and card.rarity=="ultra rare" then rgb(158,141,33)
else if card.rarity=="secret rare" then rgb(211,252,252)
else if card.rarity=="collectors rare" then rgb(211,252,252)
else if card.rarity=="ghost rare" then rgb(211,252,252)
##else if card.rarity=="ultra rare" then rgb(88,76,12)
else if card.rarity=="ultra rare" then rgb(228,190,5) ##yellow text if enable disable shadow
##else if card.rarity=="ultra rare" then rgb(231,204,1)
else if card.rarity=="ultimate rare" then rgb(88,76,12) else if card.rarity=="ultimate rare" then rgb(88,76,12)
else if card.rarity=="ultimate rare (No foil)" then rgb(69,60,0)
else if card.rarity=="parallel rare" then rgb(88,76,12)
else if card.rarity=="gold rare" then rgb(88,76,12) else if card.rarity=="gold rare" then rgb(88,76,12)
else if is_blmonster() then rgb(255,255,255) else if is_blmonster() then rgb(255,255,255)
else if is_nmonster() then rgb(255,255,255) else if is_nmonster() then rgb(255,255,255)
else rgb(0,0,0) else rgb(0,0,0)
shadow color: shadow color:
script: script:
if no_shadow() then rgba(0,0,0,0) #没阴影 if no_shadow() or hide_foil() then rgba(0,0,0,0) #没阴影
else if set_shadow() then styling.shadow_color #自定义阴影颜色 else if set_shadow() then styling.shadow_color #自定义阴影颜色
else if card.rarity=="star rare" and is_blmonster() then rgb(255,255,255) else if card.rarity=="ultra rare" and card.card_type=="normal monster" then rgba(0,0,0,0)
else if card.rarity=="star rare" then rgb(255,255,255) ##else if card.rarity=="rare" then rgb(188,198,204) ##silver shadow
else if card.rarity=="mosaic rare" and is_blmonster() then rgb(255,255,255) ##else if card.rarity=="rare" then rgb(180,175,172)
else if card.rarity=="mosaic rare" then rgb(255,255,255) ##else if card.rarity=="ultra rare" then rgb(255,215,0)
else if card.rarity=="promo" then rgb(255,200,210)
###else if card.rarity=="secret rare" then rgb(182,162,255)
else if card.rarity=="ghost rare (No foil)" then rgb(234,255,255)
###else if card.rarity=="ultra rare" then rgb(255,215,0)
else if card.rarity=="ultimate rare" then rgb(255,215,0) else if card.rarity=="ultimate rare" then rgb(255,215,0)
else if card.rarity=="ultimate rare (No foil)" then rgb(255,243,110)
else if card.rarity=="parallel rare" then rgb(255,215,0)
else if card.rarity=="gold rare" then rgb(255,215,0) else if card.rarity=="gold rare" then rgb(255,215,0)
else rgba(0,0,0,0) else rgba(0,0,0,0)
shadow displacement x: 0.3 shadow displacement x: 0.3
...@@ -250,14 +253,14 @@ card style: ...@@ -250,14 +253,14 @@ card style:
shadow blur: 2 shadow blur: 2
symbol font: symbol font:
name: yugioh-text-replacements name: yugioh-text-replacements
alignment: middle center alignment: right middle center
scale down to: 1 scale down to: 1
size: 6 size: 6
attribute: attribute:
left: 350 left: 352
top : 29 top : 29.5
width: 38.5 width: 39
height: 38.5 height: 39
z index: 2 z index: 2
render style: image render style: image
popup style: in place popup style: in place
...@@ -272,21 +275,12 @@ card style: ...@@ -272,21 +275,12 @@ card style:
spell: { "attribute/spell_"+get_lang_ex()+".png"} spell: { "attribute/spell_"+get_lang_ex()+".png"}
trap: { "attribute/trap_"+get_lang_ex()+".png"} trap: { "attribute/trap_"+get_lang_ex()+".png"}
level: level:
left: left: 44.5
script: top : 76.5
if is_12star() then if card.card_type == "dark synchro monster" then "36" else "41" height: 26
else if is_13star() then if card.card_type == "dark synchro monster" then "22" else "27" width: 331.5
else "44"
top : 72
height: 32.5
width:
script:
if is_nmonster() then "331"
else if is_12star() then if card.card_type == "dark synchro monster" then "348" else "338"
else if is_13star() then if card.card_type == "dark synchro monster" then "376" else "366"
else "334.5"
z index: 3 z index: 3
alignment: { if is_blmonster() then "middle left" else "middle right" } alignment: { if is_blmonster() then "middle left shrink-overflow" else "middle right shrink-overflow" }
font: font:
name: name:
script: script:
...@@ -318,51 +312,62 @@ card style: ...@@ -318,51 +312,62 @@ card style:
else 8 else 8
else 8 else 8
else 8 else 8
visible: script: if is_link() then false else true
############################# Image ############################# Image
image: image:
left: left:
script: script:
if is_transparent() then if is_pendulum() then 29.5 else 14
if is_transparent() then if is_pendulum() then 29 else 14
else if image_noframe() and is_nopendulum() then 45.5
else if is_nopendulum() then 51
else 28
top:
script:
if is_transparent() then if is_pendulum() then 110 else 14
else if image_noframe() and is_nopendulum() then 107.5
else if is_nopendulum() then 112.5
else 109.5
if is_transparent() then if is_pendulum() then 28.5 else 14
else if image_noframe() and is_nopendulum() then 44 else if image_noframe() and is_nopendulum() then 44
else if is_nopendulum() then 51.6 else if is_nopendulum() then 50
else 29.5 else 28.5
top: top:
script: script:
if is_transparent() then if is_pendulum() then 108 else 14 if is_transparent() then if is_pendulum() then 106.5 else 14
else if image_noframe() and is_nopendulum() then 105 else if image_noframe() and is_nopendulum() then 105
else if is_nopendulum() then 113 else if is_nopendulum() then 113
else 108 else 106.5
width: width:
script: script:
if is_transparent() then if is_pendulum() then 363 else 393 if is_transparent() then if is_pendulum() then 365.5 else 392
else if image_noframe() and is_nopendulum() then 332 else if image_noframe() and is_nopendulum() then 332
else if is_nopendulum() then 319 else if is_nopendulum() then 320
else 363
else 365.5
height: height:
script: script:
if is_transparent() then if is_pendulum() then 466 else 582 if is_transparent() then if is_pendulum() then 466 else 585
else if image_noframe() and is_nopendulum() then 330 else if image_noframe() and is_nopendulum() then 332
else if is_nopendulum() then 317 else if is_nopendulum() then 320
else if pend_image_is_small() and is_big_pend() then 275 else if pend_image_is_small() and is_big_pend() then 277
else if pend_image_is_small() and is_medium_pend() then 275 else if pend_image_is_small() and is_medium_pend() then 277
else if pend_image_is_small() and is_small_pend() then 298 else if pend_image_is_small() and is_small_pend() then 297.5
else if is_big_pend() then 360 else if is_big_pend() then 360.5
else if is_medium_pend() then 345 else if is_medium_pend() then 344.5
else if is_small_pend() then 345 else if is_small_pend() then 344.5
else 317 else 320
z index: 1 z index: -1
mask: {if is_link() then "mask-link.png"}
############################# Card type ############################# Card type
monster type: monster type:
left: { if is_jp() then 32 else 34 } left: 33
top : top: script: if is_big_pend() then 479.5 else 464.5
script: width: 353
if is_big_pend() then
if is_en() then 477 else 479
else
if is_en() then 460 else 463
width: { card_style.monster_type.content_width + 8 }
height: 14 height: 14
alignment: middle left alignment: middle left shrink-overflow
z index: 2 z index: 2
font: font:
name: name:
...@@ -373,7 +378,7 @@ card style: ...@@ -373,7 +378,7 @@ card style:
else if is_cn() then "FZLiBian-S02" else if is_cn() then "FZLiBian-S02"
else "Yu-Gi-Oh!ITCStoneSerifSmallCapsBold" else "Yu-Gi-Oh!ITCStoneSerifSmallCapsBold"
italic name: { if is_en() or is_ko() then "ITC Stone Serif" else if is_cn() then "DFPLiShuW5-B5" else "Yu-Gi-Oh! DFG Leisho 4" } italic name: { if is_en() or is_ko() then "ITC Stone Serif" else if is_cn() then "DFPLiShuW5-B5" else "Yu-Gi-Oh! DFG Leisho 4" }
size: { if is_cn() then 13.5 else if is_jp() or is_tw() then 13 else 12.5 } size: { if is_cn() then 13.5 else if is_jp() or is_tw() then 13 else 14 }
color: rgb(0,0,0) color: rgb(0,0,0)
symbol font: symbol font:
name: yugioh-text-replacements name: yugioh-text-replacements
...@@ -382,35 +387,35 @@ card style: ...@@ -382,35 +387,35 @@ card style:
visible: script: if is_nmonster() then false else true visible: script: if is_nmonster() then false else true
############################# Edition and Card ID ############################# Edition and Card ID
number: number:
left: script: if is_nopendulum() then 261 else 38 left: script: if is_transparent() then 302 else if is_link() then 269.5 else if is_nopendulum() then 302 else 35
top : script: if is_nopendulum() then 437 else 556 top : script: if is_nopendulum() then 442 else 563
width: 116 width: 74
height: 16 height: 10
z index: 2 z index: 2
alignment: script: if is_nopendulum() then "top right" else "top left" alignment: {if is_pendulum() then "shrink-overflow left middle" else "shrink-overflow right middle"}
font: font:
name: ITC Stone Serif name: ITC Stone Serif
size: 10 size: 10
color: script: if is_pendulum() then rgb(0,0,0) else if is_blmonster() or is_transparent() then rgb(255,255,255)else rgb(0,0,0) color: script: if is_pendulum() then rgb(0,0,0) else if is_blmonster() then rgb(255,255,255)else rgb(0,0,0)
edition: edition:
left: 80 left: 84.5
top : script: if is_nopendulum() then 579 else 580 top : {if is_transparent() then 586 else 587}
width: 116 width: 90
height: 16 height: 9
z index: 2 z index: 2
alignment: top left alignment: left middle
font: font:
name: { if card.edition=="DUEL TERMINAL" then "BankGothic Md BT" else "Palatino Linotype Bold" } name: { if card.edition=="DUEL TERMINAL" then "BankGothic Md BT" else "Palatino Linotype Bold" }
size: { if card.edition=="DUEL TERMINAL" then "12" else "10" } size: { if card.edition=="DUEL TERMINAL" then "12" else "9" }
color: script: if is_pendulum() then rgb(0,0,0) else if is_blmonster() or is_transparent() then rgb(255,255,255)else rgb(0,0,0) color: script: if is_pendulum() then rgb(0,0,0) else if is_blmonster() then rgb(255,255,255) else rgb(0,0,0)
############################# Text box ############################# Text box
rule text: rule text:
left: 34 left: 34
top : top :
script: if is_nmonster() then 461 else if is_big_pend() then 496 else 479 script: if is_nmonster() then 466 else if is_big_pend() then 495.5 else 480.5
width: 353 width: 353
height: height:
script: if is_nmonster() then 110 else if is_big_pend() then 57 else 73 script: if is_nmonster() then 107.5 else if is_big_pend() then 59 else 77
font: font:
name: name:
script: script:
...@@ -420,7 +425,7 @@ card style: ...@@ -420,7 +425,7 @@ card style:
else if is_cn() then "FZLiBian-S02" else if is_cn() then "FZLiBian-S02"
else "MatrixBook" else "MatrixBook"
italic name: { if is_en() then "ITC Stone Serif Italic" else if is_tw() then "Yu-Gi-Oh! DFG Leisho 5" else "Yu-Gi-Oh! DFG Leisho 4" } italic name: { if is_en() then "ITC Stone Serif Italic" else if is_tw() then "Yu-Gi-Oh! DFG Leisho 5" else "Yu-Gi-Oh! DFG Leisho 4" }
size: { if is_ko() then "10.5" else if is_en() then "12" else if is_tw() then "12" else "11.5"} size: { if is_ko() then "10.5" else if is_en() then "11.5" else if is_tw() then "12" else "11.5"}
scale down to: 3 scale down to: 3
color: rgb(0,0,0) color: rgb(0,0,0)
symbol font: symbol font:
...@@ -440,12 +445,12 @@ card style: ...@@ -440,12 +445,12 @@ card style:
line height line max: 1.1 line height line max: 1.1
############################# Attack/Defense ############################# Attack/Defense
attack: attack:
left: 244 left: 265
top: 553.6 top: 562
width: 56 width: 37
height: 21.5 height: 13
z index: 3 z index: 3
alignment: right middle alignment: right middle shrink-overflow
font: font:
name: MatrixBoldSmallCaps name: MatrixBoldSmallCaps
italic name: Matrix-Bold italic name: Matrix-Bold
...@@ -457,12 +462,12 @@ card style: ...@@ -457,12 +462,12 @@ card style:
size: 3 size: 3
visible: script: if is_nmonster() then false else true visible: script: if is_nmonster() then false else true
defense: defense:
left: 329.5 left: 349
top: 553.6 top: 562
width: 56 width: 37
height: 21.5 height: 13
z index: 3 z index: 3
alignment: right middle alignment: right middle shrink-overflow
font: font:
name: MatrixBoldSmallCaps name: MatrixBoldSmallCaps
italic name: Matrix-Bold italic name: Matrix-Bold
...@@ -472,14 +477,120 @@ card style: ...@@ -472,14 +477,120 @@ card style:
name: yugioh-text-replacements name: yugioh-text-replacements
alignment: middle center alignment: middle center
size: 3 size: 3
visible: script: if is_nmonster() then false else true visible: script: if is_nmonster() or is_link() then false else true
###################### Link
link number:
left: 374
top: 562
height: 12
width: 13
z index: 3
alignment: right bottom stretch
font:
name: Matrix-Bold
size: 16
color: rgb(0,0,0)
symbol font:
name: yugioh-text-replacements
alignment: shrink-overflow middle center
size: 7
visible: script: if is_nmonster() or not is_link() then false else true
###################### Link markers
Link Marker Up:
left: 175
top: 91
width: 73
height: {if is_link() then 22.5 else 0}
z index: 5
render style: image
popup style: in place
choice images:
yes: link_marker_u.png
visible: script: if is_link() then true else false
Link Marker UL:
left: 35.5
top: 98.5
width: {if is_link() then 38 else 0}
height: {if is_link() then 38 else 0}
z index: 5
render style:image
popup style: in place
choice images:
yes: link_marker_ul.png
visible: script: if is_link() then true else false
Link Marker UR:
left: 348
top: 98.5
width: {if is_link() then 38 else 0}
height: {if is_link() then 38 else 0}
z index: 5
render style:image
popup style: in place
choice images:
yes: link_marker_ur.png
visible: script: if is_link() then true else false
Link Marker Down:
left: 175
top: 433
width: 73
height: {if is_link() then 22.5 else 0}
z index: 5
render style:image
popup style: in place
choice images:
yes: link_marker_d.png
visible: script: if is_link() then true else false
Link Marker DL:
left: 35.5
top: 412
width: {if is_link() then 38 else 0}
height: {if is_link() then 38 else 0}
z index: 5
render style:image
popup style: in place
choice images:
yes: link_marker_dl.png
visible: script: if is_link() then true else false
Link Marker DR:
left: 348
top: 412
width: {if is_link() then 38 else 0}
height: {if is_link() then 38 else 0}
z index: 5
render style:image
popup style: in place
choice images:
yes: link_marker_dr.png
visible: script: if is_link() then true else false
Link Marker Left:
left: 29.5
top: 239
width:{if is_link() then 22.5 else 0}
height: 73
z index: 5
render style:image
popup style: in place
choice images:
yes: link_marker_l.png
visible: script: if is_link() then true else false
Link Marker Right:
left: 371.5
top: 239
width: {if is_link() then 22.5 else 0}
height: 73
z index: 5
render style:image
popup style: in place
choice images:
yes: link_marker_r.png
visible: script: if is_link() then true else false
############################# Card sorting / numbering ############################# Card sorting / numbering
############################# Copyright stuff ############################# Copyright stuff
rarity: rarity:
left: 388 left: 384
top : script: if is_nopendulum() then 575 else 576.5 top : 577
height: 21 height: 22.5
width: 21 width: 22.5
z index: 3 z index: 3
render style: image render style: image
popup style: in place popup style: in place
...@@ -494,10 +605,10 @@ card style: ...@@ -494,10 +605,10 @@ card style:
gold tech: blank2.png gold tech: blank2.png
promo: blank2.png promo: blank2.png
corner foil: corner foil:
left: 388 left: 384
top : script: if is_nopendulum() then 575 else 576.5 top : 577
height: 21 height: 22.5
width: 21 width: 22.5
z index: 6 z index: 6
render style: image list render style: image list
choice images: choice images:
...@@ -507,31 +618,31 @@ card style: ...@@ -507,31 +618,31 @@ card style:
else if card.rarity=="common" then "cornerdefault.png" else if card.rarity=="common" then "cornerdefault.png"
else "cornerunlimited.png" else "cornerunlimited.png"
copyright: copyright:
left: 216 left: 223
top : script: if is_nopendulum() then 577 else 578.5 top : {if is_transparent() then 586 else 588}
width: 169 width: 149.5
height: 21 height: 9
z index: 4 z index: 4
alignment: middle right alignment: middle right
font: font:
name: {if is_en() or is_ko() then "ITC Stone Serif" else "FOT-Rodin Pro M" } name: {if is_en() or is_ko() then "ITC Stone Serif" else "FOT-Rodin Pro M" }
size: {if is_en() then 9 else 7.4 } size: 9
color: script: if is_pendulum() then rgb(0,0,0) else if is_blmonster() then rgb(255,255,255) else rgb(0,0,0) color: script: if is_pendulum() then rgb(0,0,0) else if is_blmonster() then rgb(255,255,255) else rgb(0,0,0)
###################### pendulum ###################### pendulum
pendulum: pendulum:
left: 14.5 left: 14.5
top: 273 top: 316.5
width: 392 width: 392
height: 175 height: 86
z index: -1 z index: -1
render style:image list render style:image list
popup style: in place popup style: in place
choice images: choice images:
pendulum text: pendulum text:
left: 67 left: 66
top: script: if is_small_pend() then 408 else 387 top: script: if is_small_pend() then 404.5 else 391.5
width: script: if is_nopendulum() then 0 else 288 width: script: if is_nopendulum() then 0 else 286.5
height: script: if is_small_pend() then 42 else if is_big_pend() then 79 else 63 height: script: if is_small_pend() then 47 else if is_big_pend() then 76 else 60
font: font:
name: name:
script: script:
...@@ -540,8 +651,8 @@ card style: ...@@ -540,8 +651,8 @@ card style:
else if is_ko() then "SD Book-L" else if is_ko() then "SD Book-L"
else if is_cn() then "FZLiBian-S02" else if is_cn() then "FZLiBian-S02"
else "MatrixBook" else "MatrixBook"
size: { if is_ko() then "8" else if is_en() then "10" else "9" } size: 8
scale down to: 5 scale down to: 3
color: rgb(0,0,0) color: rgb(0,0,0)
symbol font: symbol font:
name: yugioh-text-replacements name: yugioh-text-replacements
...@@ -561,41 +672,41 @@ card style: ...@@ -561,41 +672,41 @@ card style:
line height line max: 1.1 line height line max: 1.1
visible: script: if is_nopendulum() then false else true visible: script: if is_nopendulum() then false else true
pendulum scale 1: pendulum scale 1:
left: 32.5 left: 31.5
top: script: if is_big_pend() then 415 else if is_small_pend() then 417 else 408 top: script: if is_big_pend() then 430.5 else if is_small_pend() then 432.5 else 421.5
width: 28 width: 25
height: script: if is_big_pend() then 38 else if is_small_pend() then 34 else 36 height: 19
z index: 3 z index: 3
alignment: bottom center alignment: center middle shrink-overflow
font: font:
name: MatrixBoldSmallCaps name: MatrixBoldSmallCaps
italic name: Matrix-Bold italic name: Matrix-Bold
size: 21 size: 19
color: rgb(0,0,0) color: rgb(0,0,0)
visible: script: if is_nopendulum() then false else true visible: script: if is_nopendulum() then false else true
pendulum scale 2: pendulum scale 2:
left: 361.5 left: 364.5
top: script: if is_big_pend() then 415 else if is_small_pend() then 417 else 408 top: script: if is_big_pend() then 430.5 else if is_small_pend() then 432.5 else 421.5
width: 28 width: 25
height: script: if is_big_pend() then 38 else if is_small_pend() then 34 else 36 height: 19
z index: 3 z index: 3
alignment: bottom center alignment: center middle shrink-overflow
font: font:
name: MatrixBoldSmallCaps name: MatrixBoldSmallCaps
italic name: Matrix-Bold italic name: Matrix-Bold
size: 21 size: 19
color: rgb(0,0,0) color: rgb(0,0,0)
visible: script: if is_nopendulum() then false else true visible: script: if is_nopendulum() then false else true
gamecode: gamecode:
left: 18.5 left: 18
top : 578 top : {if is_transparent() then 586 else 587.5}
width: 56 width: 60.5
height: 21 height: 9
alignment: middle left alignment: middle left
z index: 2 z index: 2
font: font:
name: ITC Stone Serif name: ITC Stone Serif
size: 8.5 size: 9
color: script: if is_pendulum() then rgb(0,0,0) else if is_blmonster() then rgb(255,255,255) else rgb(0,0,0) color: script: if is_pendulum() then rgb(0,0,0) else if is_blmonster() then rgb(255,255,255) else rgb(0,0,0)
visible: script: not hide_gamecode() visible: script: not hide_gamecode()
###################### ######################
...@@ -777,7 +888,7 @@ extra card style: ...@@ -777,7 +888,7 @@ extra card style:
visible:script: if is_pendulum() then false else if is_transparent() then true else false visible:script: if is_pendulum() then false else if is_transparent() then true else false
desc bg: desc bg:
left: 23 left: 23
top: 451.5 top: 455
width: 373 width: 373
height: 126 height: 126
z index: 1 z index: 1
...@@ -785,16 +896,6 @@ extra card style: ...@@ -785,16 +896,6 @@ extra card style:
choice images: choice images:
bg:desc.png bg:desc.png
visible:script: if is_pendulum() then false else if is_transparent() then true else false visible:script: if is_pendulum() then false else if is_transparent() then true else false
pendulum bg:
left: 14.5
top: 273
width: 392
height: 324
z index: -1
render style:image list
choice images:
bg: pendulum/pendulum.png
visible: script: if is_nopendulum() then false else true
bar: bar:
left: 35 left: 35
top : 554 top : 554
...@@ -806,10 +907,10 @@ extra card style: ...@@ -806,10 +907,10 @@ extra card style:
bar: bar.png bar: bar.png
visible: script: if is_pendulum() then false else if is_transparent() then true else false visible: script: if is_pendulum() then false else if is_transparent() then true else false
atkoverlay: atkoverlay:
left: 204.5 left: 209
top: 554 top: 562
width: 56 width: 56
height: 21 height: 13
z index: 2 z index: 2
alignment: right middle alignment: right middle
font: font:
...@@ -817,12 +918,12 @@ extra card style: ...@@ -817,12 +918,12 @@ extra card style:
italic name: Matrix-Bold italic name: Matrix-Bold
size: 14 size: 14
color: rgb(32,32,32) color: rgb(32,32,32)
visible: script: if is_pendulum() then false else if is_transparent() then true else false visible: script: if is_pendulum() or is_nmonster() then false else if is_transparent() then true else false
defoverlay: defoverlay:
left: 290.5 left: 294
top: 554 top: 562
width: 56 width: 56
height: 21 height: 13
z index: 2 z index: 2
alignment: right middle alignment: right middle
font: font:
...@@ -830,7 +931,7 @@ extra card style: ...@@ -830,7 +931,7 @@ extra card style:
italic name: Matrix-Bold italic name: Matrix-Bold
size: 14 size: 14
color: rgb(32,32,32) color: rgb(32,32,32)
visible: script: if is_pendulum() then false else if is_transparent() then true else false visible: script: if is_pendulum() or is_nmonster() then false else if is_transparent() then true else false
copyright image: copyright image:
left: 224 left: 224
top : 584 top : 584
...@@ -883,10 +984,10 @@ extra card style: ...@@ -883,10 +984,10 @@ extra card style:
z index: 0 z index: 0
visible: script: if is_nopendulum() then false else if pend_image_is_small() then true else false visible: script: if is_nopendulum() then false else if pend_image_is_small() then true else false
pendulum border: pendulum border:
left: 19 left: 0
top: 100 top: 0
width: 383 width: 421
height: 484 height: 614
z index: 1 z index: 1
render style:image render style:image
choice images: choice images:
......
...@@ -12,6 +12,7 @@ card field: ...@@ -12,6 +12,7 @@ card field:
choice: fusion monster choice: fusion monster
choice: token monster choice: token monster
choice: xyz monster choice: xyz monster
choice: link monster
choice: obelisk choice: obelisk
choice: slifer choice: slifer
choice: ra choice: ra
...@@ -130,6 +131,11 @@ card field: ...@@ -130,6 +131,11 @@ card field:
name: type 4 name: type 4
script: card_class_filter(value) script: card_class_filter(value)
default: if contains(card.type2, match:get_sep()) then split_text(match:get_sep(), card.type2).2 else "" # Remove when card.type2 is removed. default: if contains(card.type2, match:get_sep()) then split_text(match:get_sep(), card.type2).2 else "" # Remove when card.type2 is removed.
card field:
type: text
name: type 5
script: card_class_filter(value)
default: if contains(card.type2, match:get_sep()) then split_text(match:get_sep(), card.type3).3 else "" # Remove when card.type2 is removed.
card field: card field:
type: text type: text
name: monster type name: monster type
...@@ -147,6 +153,8 @@ card field: ...@@ -147,6 +153,8 @@ card field:
field3: card.type_3, field3: card.type_3,
separator3: get_sep(), separator3: get_sep(),
field4: card.type_4, field4: card.type_4,
separator4: get_sep(),
field5: card.type_5,
soft_before_empty: true, soft_before_empty: true,
hide_when_empty: true hide_when_empty: true
) )
...@@ -159,6 +167,8 @@ card field: ...@@ -159,6 +167,8 @@ card field:
field3: card.type_3, field3: card.type_3,
separator3: get_sepex(card.type_4), separator3: get_sepex(card.type_4),
field4: card.type_4, field4: card.type_4,
separator4: get_sepex(card.type_5),
field5: card.type_5,
prefix: if remove_tags(card.type_1)==" " then "" else if is_jp() then "【" else if is_en() then "[" else "<sym-auto>[</sym-auto>", prefix: if remove_tags(card.type_1)==" " then "" else if is_jp() then "【" else if is_en() then "[" else "<sym-auto>[</sym-auto>",
suffix: if remove_tags(card.type_1)==" " then "" else if is_jp() then "】" else if is_en() then "]" else "<sym-auto>]</sym-auto>", suffix: if remove_tags(card.type_1)==" " then "" else if is_jp() then "】" else if is_en() then "]" else "<sym-auto>]</sym-auto>",
soft_before_empty: true, soft_before_empty: true,
...@@ -237,6 +247,63 @@ card field: ...@@ -237,6 +247,63 @@ card field:
name: pendulum scale 2 name: pendulum scale 2
save value: true save value: true
show statistics: false show statistics: false
############################# Link Markers
card field:
type: choice
name: Link Marker Up
choice: none
choice: yes
save value: yes
show statistics: false
card field:
type: choice
name: Link Marker UL
choice: none
choice: yes
save value: yes
show statistics: false
card field:
type: choice
name: Link Marker UR
choice: none
choice: yes
save value: yes
show statistics: false
card field:
type: choice
name: Link Marker Down
choice: none
choice: yes
save value: yes
show statistics: false
card field:
type: choice
name: Link Marker DL
choice: none
choice: yes
save value: yes
show statistics: false
card field:
type: choice
name: Link Marker DR
choice: none
choice: yes
save value: yes
show statistics: false
card field:
type: choice
name: Link Marker Left
choice: none
choice: yes
save value: yes
show statistics: false
card field:
type: choice
name: Link Marker Right
choice: none
choice: yes
save value: yes
show statistics: false
############################# Attack/Defense ############################# Attack/Defense
card field: card field:
type: text type: text
...@@ -258,6 +325,16 @@ card field: ...@@ -258,6 +325,16 @@ card field:
card list width: 33 card list width: 33
card list name: DEF card list name: DEF
description: & = unlimited 无限 description: & = unlimited 无限
############################ Link
card field:
type: text
name: link number
save value: true
script: a_and_d_filter(value)
card list visible: true
card list column: 5
card list name: Link
card list width: 33
############################# Copyright stuff ############################# Copyright stuff
card field: card field:
type: choice type: choice
...@@ -278,7 +355,7 @@ card field: ...@@ -278,7 +355,7 @@ card field:
choice: promo choice: promo
card list visible: true card list visible: true
card list column: 7 card list column: 7
description: Ratity.罕见度 description: Rarity.罕见度
card field: card field:
type: choice type: choice
name: corner foil name: corner foil
...@@ -324,6 +401,13 @@ card field: ...@@ -324,6 +401,13 @@ card field:
editable: false editable: false
default: small_type(card.type_4) default: small_type(card.type_4)
save value: false save value: false
card field:
type: text
name: small type 5
show statistics: false
editable: false
default: small_type(card.type_5)
save value: false
############################ ############################
card field: card field:
type: text type: text
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
is_12star :={ remove_tags(card.level) == "************" } is_12star :={ remove_tags(card.level) == "************" }
is_13star :={ remove_tags(card.level) == "*************" } is_13star :={ remove_tags(card.level) == "*************" }
is_blmonster := {card.card_type == "dark synchro monster" or card.card_type == "xyz monster"} is_blmonster := {card.card_type == "dark synchro monster" or card.card_type == "xyz monster"}
is_link := {card.card_type == "link monster"}
is_tw := { set.language == "TW" } is_tw := { set.language == "TW" }
is_cn := { set.language == "CN" } is_cn := { set.language == "CN" }
is_en := { set.language == "EN" } is_en := { set.language == "EN" }
...@@ -10,6 +11,7 @@ ...@@ -10,6 +11,7 @@
is_ko := { set.language == "KO" } is_ko := { set.language == "KO" }
hide_gamecode := {set.hide_gamecode == "yes"} hide_gamecode := {set.hide_gamecode == "yes"}
hide_foil := {set.hide_foil == "yes"}
st_has_text :={ set.ST_mark_is_text=="yes"} st_has_text :={ set.ST_mark_is_text=="yes"}
get_sep := {if is_en() or is_ko() then " / " else if is_cn()then "<i>/</i>" else "/" } get_sep := {if is_en() or is_ko() then " / " else if is_cn()then "<i>/</i>" else "/" }
......
...@@ -12,7 +12,7 @@ set field: ...@@ -12,7 +12,7 @@ set field:
set field: set field:
type: choice type: choice
name: language name: language
initial: TW initial: EN
choice: CN choice: CN
choice: TW choice: TW
choice: JP choice: JP
...@@ -22,18 +22,13 @@ set field: ...@@ -22,18 +22,13 @@ set field:
set field: set field:
type: text type: text
name: edition name: edition
default: "MSE Edition" default: "LIMITED Edition"
description: such as "DUEL TERMINAL" description: such as "DUEL TERMINAL"
set field: set field:
type: text type: text
name: author name: author
default: "Your Name" default: "AntiMetaman"
description: 247321453 description: 247321453
set field:
type: text
name: description
multi line: true
description: This information will not appear on the card.
set field: set field:
type: text type: text
name: copyright name: copyright
...@@ -56,11 +51,31 @@ set field: ...@@ -56,11 +51,31 @@ set field:
name: hide gamecode name: hide gamecode
description: 隐藏密码,最好先写好密码,再导出的时候再设置这个 description: 隐藏密码,最好先写好密码,再导出的时候再设置这个
initial: no initial: no
set field:
type: boolean
name: hide copyright
description: 隐藏密码,最好先写好密码,再导出的时候再设置这个
initial: no
set field:
type: boolean
name: hide edition
description: 隐藏密码,最好先写好密码,再导出的时候再设置这个
initial: no
set field:
type: boolean
name: hide number
description: 隐藏密码,最好先写好密码,再导出的时候再设置这个
initial: false
set field:
type: boolean
name: hide foil
description: 隐藏密码,最好先写好密码,再导出的时候再设置这个
initial: false
set field: set field:
type: boolean type: boolean
name: ST mark is text name: ST mark is text
description: 魔法陷阱的符号带标志文字?用于OCG制作 description: 魔法陷阱的符号带标志文字?用于OCG制作
initial: no initial: yes
set field: set field:
type: boolean type: boolean
name: copyright images name: copyright images
...@@ -70,7 +85,7 @@ set field: ...@@ -70,7 +85,7 @@ set field:
type: boolean type: boolean
name: pendulum image is small name: pendulum image is small
description: pendulum image is small? Pendulum怪兽的中间图,不包含P的描述区域?用于YGOCORE description: pendulum image is small? Pendulum怪兽的中间图,不包含P的描述区域?用于YGOCORE
initial: no initial: yes
############################# Default style ############################# Default style
default set style: default set style:
Set Options: Set Options:
......
...@@ -25,6 +25,7 @@ word list: ...@@ -25,6 +25,7 @@ word list:
word: 幻神兽族 word: 幻神兽族
word: 创造神族 word: 创造神族
word: 幻龙族 word: 幻龙族
word: 电子界
word list: word list:
name: CNeffect name: CNeffect
word: 同调 word: 同调
...@@ -32,6 +33,7 @@ word list: ...@@ -32,6 +33,7 @@ word list:
word: 融合 word: 融合
word: 仪式 word: 仪式
word: 效果 word: 效果
word: 连接
word: 调整 word: 调整
word: 灵魂 word: 灵魂
word: 卡通 word: 卡通
......
...@@ -25,11 +25,14 @@ word list: ...@@ -25,11 +25,14 @@ word list:
word: Divine-Beast word: Divine-Beast
word: Created-Divine word: Created-Divine
word: Wyrm word: Wyrm
word: Cyberse
word: Charisma
word list: word list:
name: ENeffect name: ENeffect
word: Synchro word: Synchro
word: Xyz word: Xyz
word: Fusion word: Fusion
word: Link
word: Ritual word: Ritual
word: Effect word: Effect
word: Tuner word: Tuner
......
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