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: ...@@ -44,6 +44,7 @@ styling field:
choice: chinese duel links traditional choice: chinese duel links traditional
choice: chinese duel links simplified choice: chinese duel links simplified
choice: chinese ocg official choice: chinese ocg official
choice: japanese rubytext experimental
styling field: styling field:
type: choice type: choice
name: template style name: template style
...@@ -311,6 +312,7 @@ styling style: ...@@ -311,6 +312,7 @@ styling style:
chinese duel links traditional: /yugioh.mse-game/icons/language-tw.png chinese duel links traditional: /yugioh.mse-game/icons/language-tw.png
chinese duel links simplified: /yugioh.mse-game/icons/language-zh.png chinese duel links simplified: /yugioh.mse-game/icons/language-zh.png
chinese ocg official: /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: template style:
render style: both render style: both
choice images: choice images:
...@@ -509,10 +511,11 @@ card style: ...@@ -509,10 +511,11 @@ card style:
else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-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 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 if card.card_type=="skill card" then "Arial Narrow" else if card.card_type=="skill card" then "Arial Narrow"
else "Yu-Gi-Oh! Matrix Small Caps 2" else "Yu-Gi-Oh! Matrix Small Caps 2"
size: 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: color:
script: if styling.name_color_override then styling.name_color script: if styling.name_color_override then styling.name_color
else if card.rarity=="rare" then rgb(133,168,169) else if card.rarity=="rare" then rgb(133,168,169)
...@@ -555,16 +558,16 @@ card style: ...@@ -555,16 +558,16 @@ card style:
render style: image render style: image
popup style: in place popup style: in place
choice images: 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"} 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" 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"} 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" 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"} 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" 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"} 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" 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"} 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"} 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"} 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" 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"} 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" 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"} 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" 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"} 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"} trell: {if card.rarity=="ultimate rare" then "utrell.png" else "trell.png"}
level: level:
...@@ -584,6 +587,7 @@ card style: ...@@ -584,6 +587,7 @@ card style:
else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-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 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" else "Stone Serif Sem SC ITC TT"
size: 15 size: 15
size: { if is_nmonster() and styling.language=="chinese ocg official" then 19.5 else 15} size: { if is_nmonster() and styling.language=="chinese ocg official" then 19.5 else 15}
...@@ -757,8 +761,9 @@ card style: ...@@ -757,8 +761,9 @@ card style:
else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-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 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 "Yu-Gi-Oh!ITCStoneSerifSmallCaps" 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) color: rgb(0,0,0)
symbol font: symbol font:
name: yugioh-text-replacements name: yugioh-text-replacements
...@@ -805,8 +810,9 @@ card style: ...@@ -805,8 +810,9 @@ card style:
else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-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 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 "Yu-Gi-Oh! Matrix Book" 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" } 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 scale down to: 4
color: rgb(0,0,0) color: rgb(0,0,0)
...@@ -827,9 +833,9 @@ card style: ...@@ -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 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 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 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 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.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.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/Defense/Pendulum Scale/Spell Effect
attack: attack:
#left: 262 #left: 262
...@@ -887,6 +893,7 @@ card style: ...@@ -887,6 +893,7 @@ card style:
else if styling.language=="chinese duel links traditional" then "DFPTanLiW5-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 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 "Yu-Gi-Oh! Matrix Book" else "Yu-Gi-Oh! Matrix Book"
size: { if styling.pendulum_size=="less" then 10.4 else 9.7 } size: { if styling.pendulum_size=="less" then 10.4 else 9.7 }
#9.5 for regular, 6.9 for medium size #9.5 for regular, 6.9 for medium size
...@@ -905,9 +912,9 @@ card style: ...@@ -905,9 +912,9 @@ card style:
line height hard: 0.73 line height hard: 0.73
line height line: 0.73 line height line: 0.73
line height soft: 0.73 line height soft: 0.73
line height hard 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 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 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: blue scale:
#may need further adjustement after OSUME's new template arrives. <-Already Arrived #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 } 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