Commit 652c4462 authored by Nemo Ma's avatar Nemo Ma

Random Change

Add a non-functional function.
parent fa690781
No preview for this file type
......@@ -44,6 +44,7 @@ styling field:
choice: chinese duel links traditional
choice: chinese duel links simplified
choice: chinese ocg official
choice: japanese rubytext experimental
styling field:
type: choice
name: template style
......@@ -311,6 +312,7 @@ styling style:
chinese duel links traditional: /yugioh.mse-game/icons/language-tw.png
chinese duel links simplified: /yugioh.mse-game/icons/language-zh.png
chinese ocg official: /yugioh.mse-game/icons/language-zh.png
japanese rubytext experimental: /yugioh.mse-game/icons/language-ja.png
template style:
render style: both
choice images:
......@@ -509,10 +511,11 @@ card style:
else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-B5"
else if styling.language=="chinese duel links simplified" then "DFPTanLiW5-GB"
else if styling.language=="chinese ocg official" then "DFKaiW5-A"
else if styling.language=="japanese rubytext experimental" then "YGODIY-JP"
else if card.card_type=="skill card" then "Arial Narrow"
else "Yu-Gi-Oh! Matrix Small Caps 2"
size:
script: if styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or card.card_type=="skill card" then 27 else if styling.language=="chinese ocg official" then 26 else 35
script: if styling.language=="japanese" or styling.language=="japanese rubytext experimental" or styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or card.card_type=="skill card" then 27 else if styling.language=="chinese ocg official" then 26 else 35
color:
script: if styling.name_color_override then styling.name_color
else if card.rarity=="rare" then rgb(133,168,169)
......@@ -555,16 +558,16 @@ card style:
render style: image
popup style: in place
choice images:
earth: {if card.rarity=="ultimate rare" then "uearth.png" else if styling.language=="japanese" then "jpball/earth.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/earth.png" else "earth.png"}
water: {if card.rarity=="ultimate rare" then "uwater.png" else if styling.language=="japanese" then "jpball/water.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/water.png" else "water.png"}
fire: {if card.rarity=="ultimate rare" then "ufire.png" else if styling.language=="japanese" then "jpball/fire.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/fire.png" else "fire.png"}
wind: {if card.rarity=="ultimate rare" then "uwind.png" else if styling.language=="japanese" then "jpball/wind.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/wind.png" else "wind.png"}
light: {if card.rarity=="ultimate rare" then "ulight.png" else if styling.language=="japanese" then "jpball/light.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/light.png" else "light.png"}
earth: {if card.rarity=="ultimate rare" then "uearth.png" else if styling.language=="japanese" or styling.language=="japanese rubytext experimental" then "jpball/earth.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/earth.png" else "earth.png"}
water: {if card.rarity=="ultimate rare" then "uwater.png" else if styling.language=="japanese" or styling.language=="japanese rubytext experimental" then "jpball/water.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/water.png" else "water.png"}
fire: {if card.rarity=="ultimate rare" then "ufire.png" else if styling.language=="japanese" or styling.language=="japanese rubytext experimental" then "jpball/fire.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/fire.png" else "fire.png"}
wind: {if card.rarity=="ultimate rare" then "uwind.png" else if styling.language=="japanese" or styling.language=="japanese rubytext experimental" then "jpball/wind.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/wind.png" else "wind.png"}
light: {if card.rarity=="ultimate rare" then "ulight.png" else if styling.language=="japanese" or styling.language=="japanese rubytext experimental" then "jpball/light.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/light.png" else "light.png"}
time: {if card.rarity=="ultimate rare" then "utime.png" else "time.png"}
dark: {if card.rarity=="ultimate rare" then "udark.png" else if styling.language=="japanese" then "jpball/dark.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/dark.png" else "dark.png"}
divine: {if card.rarity=="ultimate rare" then "udivine.png" else if styling.language=="japanese" then "jpball/divine.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/divine.png" else "divine.png"}
spell: {if card.rarity=="ultimate rare" then "uspell.png" else if styling.language=="japanese" then "jpball/spell.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/spell.png" else "spell.png"}
trap: {if card.rarity=="ultimate rare" then "utrap.png" else if styling.language=="japanese" then "jpball/trap.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/trap.png" else "trap.png"}
dark: {if card.rarity=="ultimate rare" then "udark.png" else if styling.language=="japanese" or styling.language=="japanese rubytext experimental" then "jpball/dark.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/dark.png" else "dark.png"}
divine: {if card.rarity=="ultimate rare" then "udivine.png" else if styling.language=="japanese" or styling.language=="japanese rubytext experimental" then "jpball/divine.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/divine.png" else "divine.png"}
spell: {if card.rarity=="ultimate rare" then "uspell.png" else if styling.language=="japanese" or styling.language=="japanese rubytext experimental" then "jpball/spell.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/spell.png" else "spell.png"}
trap: {if card.rarity=="ultimate rare" then "utrap.png" else if styling.language=="japanese" or styling.language=="japanese rubytext experimental" then "jpball/trap.png" else if styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links traditional" or styling.language=="chinese duel links simplified" or styling.language=="chinese ocg official" then "cnball/trap.png" else "trap.png"}
trell: {if card.rarity=="ultimate rare" then "utrell.png" else "trell.png"}
level:
......@@ -583,7 +586,8 @@ card style:
else if styling.language=="chinese traditional" then "DFPLiShuW5-B5"
else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-B5"
else if styling.language=="chinese duel links simplified" then "DFPTanLiW5-GB"
else if styling.language=="chinese ocg official" then "DFKaiW5-A"
else if styling.language=="chinese ocg official" then "DFKaiW5-A"
else if styling.language=="japanese rubytext experimental" then "YGODIY-JP"
else "Stone Serif Sem SC ITC TT"
size: 15
size: { if is_nmonster() and styling.language=="chinese ocg official" then 19.5 else 15}
......@@ -757,8 +761,9 @@ card style:
else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-B5"
else if styling.language=="chinese duel links simplified" then "DFPTanLiW5-GB"
else if styling.language=="chinese ocg official" then "DFKaiW5-A"
else if styling.language=="japanese rubytext experimental" then "YGODIY-JP"
else "Yu-Gi-Oh!ITCStoneSerifSmallCaps"
size: { if styling.large_type then 13.1 else if styling.language=="japanese" or styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links" then 13 else 11.4 }
size: { if styling.large_type then 13.1 else if styling.language=="japanese" or styling.language=="japanese rubytext experimental" or styling.language=="chinese simplified" or styling.language=="chinese traditional" or styling.language=="chinese duel links" then 13 else 11.4 }
color: rgb(0,0,0)
symbol font:
name: yugioh-text-replacements
......@@ -805,8 +810,9 @@ card style:
else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-B5"
else if styling.language=="chinese duel links simplified" then "DFPTanLiW5-GB"
else if styling.language=="chinese ocg official" then "DFKaiW5-A"
else if styling.language=="japanese rubytext experimental" then "YGODIY-JP"
else "Yu-Gi-Oh! Matrix Book"
italic name: { if styling.language=="japanese" then "Yu-Gi-Oh! DF Leisho 3" else if styling.language=="chinese simplified" then "方正隶变_GBK" else if styling.language=="chinese traditional" then "DFPLiShuW5-B5" else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-B5" else if styling.language=="chinese duel links simplified" then "DFPTanLiW5-GB" else if styling.language=="chinese ocg official" then "DFKaiW5-A" else "Stone Serif ITC Medium Italic" }
italic name: { if styling.language=="japanese" then "Yu-Gi-Oh! DF Leisho 3" else if styling.language=="japanese rubytext experimental" then "YGODIY-JP" else if styling.language=="chinese simplified" then "方正隶变_GBK" else if styling.language=="chinese traditional" then "DFPLiShuW5-B5" else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-B5" else if styling.language=="chinese duel links simplified" then "DFPTanLiW5-GB" else if styling.language=="chinese ocg official" then "DFKaiW5-A" else "Stone Serif ITC Medium Italic" }
size: { if is_nmonster() and styling.text_size=="large" then "10" else if is_nmonster() and styling.text_size=="small" then "9.2" else if styling.bold_effect_text then "8.2" else if styling.text_size=="large" then "9.8" else "9.2" }
scale down to: 4
color: rgb(0,0,0)
......@@ -827,9 +833,9 @@ card style:
#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 }
line height hard max: { if styling.max_line_space then 1 else if is_nmonster() then 0.8 else if styling.language=="japanese rubytext experimental" then 1.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.language=="japanese rubytext experimental" then 1.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.language=="japanese rubytext experimental" then 1.8 else if styling.text_size=="large" then 0.72 else 0.76 }
############################# Attack/Defense/Pendulum Scale/Spell Effect
attack:
#left: 262
......@@ -887,6 +893,7 @@ card style:
else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-B5"
else if styling.language=="chinese duel links simplified" then "DFPTanLiW5-GB"
else if styling.language=="chinese ocg official" then "DFKaiW5-A"
else if styling.language=="japanese rubytext experimental" then "YGODIY-JP"
else "Yu-Gi-Oh! Matrix Book"
size: { if styling.pendulum_size=="less" then 10.4 else 9.7 }
#9.5 for regular, 6.9 for medium size
......@@ -905,9 +912,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 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 }
line height hard max: { if styling.max_line_space then 1 else if styling.language=="japanese rubytext experimental" then 1.8 else 0.73 }
line height soft max: { if styling.max_line_space then 1 else if styling.language=="japanese rubytext experimental" then 1.8 else 0.73 }
line height line max: { if styling.max_line_space then 1 else if styling.language=="japanese rubytext experimental" then 1.8 else 0.73 }
blue scale:
#may need further adjustement after OSUME's new template arrives. <-Already Arrived
left: { if is_pendulum() and styling.template_style="actual style" then true and 27 else if is_pendulum() then true and 30 }
......
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