Commit 6e25e2a5 authored by Clara Grace Paulsen's avatar Clara Grace Paulsen

Fix Pendulum cards in custom style

parent 5b0fa0aa
......@@ -359,6 +359,13 @@ card style:
synchro monster : { if styling.extended_artwork=="yes" and styling.template_style=="actual style" then "new/fullart/synchroex.png" else if styling.extended_artwork=="yes" then "fullart/synchroex.png" else if styling.template_style=="actual style" then "new/synchronew.png" else "card-synchro.png" }
dark synchro monster : card-dsynchro.png
xyz monster : { if styling.extended_artwork=="yes" and styling.template_style=="actual style" then "new/fullart/xyzex.png" else if styling.extended_artwork=="yes" then "fullart/xyzex.png" else if styling.template_style=="actual style" then "new/xyznew.png" else "card-xyz.png" }
pendulum normal monster: { if styling.template_style=="actual style" then "new/normalnew.png" else if styling.pendulum_size != "default" then "card-normal-pendulum-"+styling.pendulum_size+".png" else "card-normal-pendulum.png" }
pendulum effect monster: { if styling.template_style=="actual style" then "new/effectnew.png" else if styling.pendulum_size != "default" then "card-effect-pendulum-"+styling.pendulum_size+".png" else "card-effect-pendulum.png" }
pendulum fusion monster: { if styling.is_ZARC_card and styling.pendulum_size=="less" then "ZARC_Small.png" else if styling.is_ZARC_card and styling.pendulum_size=="more" then "ZARC_Large.png" else if styling.is_ZARC_card then "ZARC_Medium.png" else if styling.template_style=="actual style" then "new/fusionnew.png" else if styling.pendulum_size != "default" then "card-fusion-pendulum-"+styling.pendulum_size+".png" else "card-fusion-pendulum.png" }
pendulum ritual monster: { if styling.template_style=="actual style" then "new/ritualnew.png" else if styling.pendulum_size != "default" then "card-ritual-pendulum-"+styling.pendulum_size+".png" else "card-ritual-pendulum.png" }
pendulum synchro monster: { if styling.is_ZARC_card and styling.pendulum_size=="less" then "ZARC_Small.png" else if styling.is_ZARC_card and styling.pendulum_size=="more" then "ZARC_Large.png" else if styling.is_ZARC_card then "ZARC_Medium.png" else if styling.template_style=="actual style" then "new/synchronew.png" else if styling.pendulum_size != "default" then "card-synchro-pendulum-"+styling.pendulum_size+".png" else "card-synchro-pendulum.png" }
pendulum dark synchro monster: card-dsynchro.png
pendulum xyz monster: { if styling.is_ZARC_card and styling.pendulum_size=="less" then "ZARC_Small.png" else if styling.is_ZARC_card and styling.pendulum_size=="more" then "ZARC_Large.png" else if styling.is_ZARC_card then "ZARC_Medium.png" else if styling.template_style=="actual style" then "new/xyznew.png" else if styling.pendulum_size != "default" then "card-xyz-pendulum-"+styling.pendulum_size+".png" else "card-xyz-pendulum.png" }
bigbang monster : { if styling.template_style=="actual style" then "new/bigbangnew.png" else "card-bigbang.png" }
dlc monster : card-dlc.png
token monster : { if styling.extended_artwork=="yes" and styling.template_style=="actual style" then "new/fullart/tokenex.png" else if styling.extended_artwork=="yes" then "fullart/tokenex.png" else if styling.template_style=="actual style" then "new/tokennew.png" else "card-token.png" }
......@@ -1121,7 +1128,7 @@ extra card style:
else if card.card_type=="spell card" then "pendulum/line-spell.png"
else if card.card_type=="trap card" then "pendulum/line-trap.png"
else "blank2.png"
visible: script: if is_pendulum() then true else false
visible: {styling.template_style=="actual style" and card.pendulum != "none" and card.pendulum != "relay"}
pendulum border:
left: 0
top: 0
......@@ -1155,4 +1162,4 @@ extra card style:
else if card.pendulum == "pandemonium" then "pendulum/pandemonium_md.png"
else if card.pendulum == "pendulum" then "pendulum/pendulum_md.png"
else if is_conjoint() and not contains(card.card_type, match: "spell card") and not contains(card.card_type, match: "trap card") then "pendulum/card-conjoint.png"
visible: {if card.pendulum != "none" then true else false}
visible: {card.pendulum != "none" and styling.template_style=="actual style"}
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