Commit 5b0fa0aa authored by Clara Grace Paulsen's avatar Clara Grace Paulsen

Merge remote-tracking branch 'remotes/origin/WIP' into WIP

parents 50587228 a8dbc0da
File added
mse version: 2.0.0 mse version: 2.0.0
game: yugioh game: yugioh
short name: Rush Duel short name: Rush Duel
full name: With Extended Art & i18n full name: With i18n
installer group: Yugioh/Series10 installer group: Yugioh/Series10
icon: card-sample.png icon: card-sample.png
position hint: 01 position hint: 01
...@@ -133,30 +133,30 @@ card style: ...@@ -133,30 +133,30 @@ card style:
symbol font: symbol font:
name: yugioh-text-replacements name: yugioh-text-replacements
alignment: bottom center alignment: bottom center
grade: #grade:
left: 351 # left: 351
top: 22 # top: 22
width: 48 # width: 48
height: 46 # height: 46
z index: 3 # z index: 3
alignment: middle center shrink-overflow # alignment: middle center shrink-overflow
font: # font:
name: Grades # name: Grades
size: 15 # size: 15
color: rgb(255,255,255) # color: rgb(255,255,255)
visible: {contains(card.card_type, match: "xros monster")} # visible: {contains(card.card_type, match: "xros monster")}
gate: #gate:
left: -91.2 # left: -91.2
top: 423.5 # top: 423.5
width: 600 # width: 600
height: 15 # height: 15
z index: 4 # z index: 4
alignment: center shrink-overflow # alignment: center shrink-overflow
font: # font:
name: Ro GSan Serif Std B # name: Ro GSan Serif Std B
size: 10 # size: 10
color: rgb(255,255,255) # color: rgb(255,255,255)
visible: {contains(card.card_type, match: "xros monster")} # visible: {contains(card.card_type, match: "xros monster")}
attribute: attribute:
left: {if contains(card.card_type, match: "xros") then 337 else 338} left: {if contains(card.card_type, match: "xros") then 337 else 338}
top: {if contains(card.card_type, match: "xros") then 13 else 15} top: {if contains(card.card_type, match: "xros") then 13 else 15}
...@@ -203,26 +203,26 @@ card style: ...@@ -203,26 +203,26 @@ card style:
popup style: in place popup style: in place
choice images: choice images:
visible: {not is_nmonster()} visible: {not is_nmonster()}
gate 1: #gate 1:
left: 14.5 # left: 14.5
top: 340 # top: 340
width: 98 # width: 98
height: 106 # height: 106
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:
visible: {contains(card.card_type, match: "xros")} # visible: {contains(card.card_type, match: "xros")}
gate 2: #gate 2:
right: 406.5 # right: 406.5
top: 340 # top: 340
width: 98 # width: 98
height: 106 # height: 106
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:
visible: {contains(card.card_type, match: "xros")} # visible: {contains(card.card_type, match: "xros")}
linkul: linkul:
left: {13+18} left: {13+18}
top: {362+18-(if is_pendulum() then (if styling.pendulum_size == "less" then 55 else if styling.pendulum_size == "more" then 105 else 72) else 0)} top: {362+18-(if is_pendulum() then (if styling.pendulum_size == "less" then 55 else if styling.pendulum_size == "more" then 105 else 72) else 0)}
...@@ -323,7 +323,8 @@ card style: ...@@ -323,7 +323,8 @@ card style:
size: 16 size: 16
color: {if card.card_type=="xros monster" or card.card_type=="dual xros monster" or card.card_type=="xyz monster" or card.card_type=="link monster" or card.card_type=="evolute monster" or card.card_type=="bigbang monster" or card.card_type=="dark synchro monster" then rgb(255,255,255) else rgb(0,0,0)} color: {if card.card_type=="xros monster" or card.card_type=="dual xros monster" or card.card_type=="xyz monster" or card.card_type=="link monster" or card.card_type=="evolute monster" or card.card_type=="bigbang monster" or card.card_type=="dark synchro monster" then rgb(255,255,255) else rgb(0,0,0)}
symbol font: symbol font:
name: yugioh-text-replacements #name: yugioh-text-replacements
name: yugioh-standard-levels
alignment: middle center alignment: middle center
size: 3.5 size: 3.5
visible: {not is_nmonster()} visible: {not is_nmonster()}
...@@ -368,33 +369,36 @@ card style: ...@@ -368,33 +369,36 @@ card style:
left: 150 left: 150
top: {if contains(card.card_type, match: "xros monster") then 338 else if is_pendulum() then (if styling.pendulum_size == "less" then 355 else if styling.pendulum_size == "more" then 305 else 338) else 408} top: {if contains(card.card_type, match: "xros monster") then 338 else if is_pendulum() then (if styling.pendulum_size == "less" then 355 else if styling.pendulum_size == "more" then 305 else 338) else 408}
width: 70 width: 70
height: 30 height: 27
z index: 5 z index: 5
alignment: right middle shrink-overflow alignment: right middle shrink-overflow
##Fixed size to better match original template
font: font:
name: Ro GSan Serif Std B name: Ro GSan Serif Std B
size: 20 size: 17
color: rgb(255,255,255) color: rgb(255,255,255)
symbol font: #don't really need this.
name: yugioh-text-replacements #symbol font:
alignment: middle center # name: yugioh-text-replacements
size: 6 # alignment: middle center
# size: 6
visible: {not is_nmonster()} visible: {not is_nmonster()}
defense: defense:
left: 280 left: 280
top: {if contains(card.card_type, match: "xros monster") then 338 else if is_pendulum() then (if styling.pendulum_size == "less" then 355 else if styling.pendulum_size == "more" then 305 else 338) else 408} top: {if contains(card.card_type, match: "xros monster") then 338 else if is_pendulum() then (if styling.pendulum_size == "less" then 355 else if styling.pendulum_size == "more" then 305 else 338) else 408}
width: 70 width: 70
height: 30 height: 27
z index: 5 z index: 5
alignment: right middle shrink-overflow alignment: right middle shrink-overflow
##same.
font: font:
name: Ro GSan Serif Std B name: Ro GSan Serif Std B
size: 20 size: 17
color: rgb(255,255,255) color: rgb(255,255,255)
symbol font: #symbol font:
name: yugioh-text-replacements # name: yugioh-text-replacements
alignment: middle center # alignment: middle center
size: 6 # size: 6
visible: {not is_nmonster()} visible: {not is_nmonster()}
pendulum text: pendulum text:
left: 30 left: 30
...@@ -580,7 +584,9 @@ extra card style: ...@@ -580,7 +584,9 @@ extra card style:
else if card.gate_1 == "none" and card.gate_2 != "none" then "pendulum/rdgate-"+card.gate_2+".png" else if card.gate_1 == "none" and card.gate_2 != "none" then "pendulum/rdgate-"+card.gate_2+".png"
else "blank2.png" else "blank2.png"
else "blank2.png" else "blank2.png"
visible: {is_pendulum() or card.pendulum == "relay" or contains(card.card_type, match: "xros monster")} #visible: {is_pendulum() or card.pendulum == "relay" or contains(card.card_type, match: "xros monster")}
#visible: {if card.pendulum != "none" then true else false}
visible: true
mask: {if contains(card.card_type, match: "xros monster") then "mask-gate.png" else ""} mask: {if contains(card.card_type, match: "xros monster") then "mask-gate.png" else ""}
rdlevel: rdlevel:
left: {if is_link() then 13 else 17} left: {if is_link() then 13 else 17}
......
...@@ -139,6 +139,17 @@ card field: ...@@ -139,6 +139,17 @@ card field:
choice: conjoint pendulum pandemonium choice: conjoint pendulum pandemonium
#Making Lyris' changes work with the original variant. #Making Lyris' changes work with the original variant.
script: script:
#if card.stylesheet == "series10" and contains(card.card_type, match: "pendulum") then "pendulum"
#if card.stylesheet == "yugioh-series10" and
#(card.card_type=="pendulum normal monster" or
#"pendulum effect monster" or
#"pendulum fusion monster" or
#"pendulum ritual monster" or
#"pendulum synchro monster" or
#"pendulum dark synchro monster" or
#"pendulum xyz monster")
#then "pendulum"
#if card.stylesheet == "series10" then
if card.card_type == "pendulum normal monster" or if card.card_type == "pendulum normal monster" or
card.card_type == "pendulum effect monster" or card.card_type == "pendulum effect monster" or
card.card_type == "pendulum fusion monster" or card.card_type == "pendulum fusion monster" or
...@@ -147,7 +158,7 @@ card field: ...@@ -147,7 +158,7 @@ card field:
card.card_type == "pendulum dark synchro monster" or card.card_type == "pendulum dark synchro monster" or
card.card_type == "pendulum xyz monster" card.card_type == "pendulum xyz monster"
then "pendulum" then "pendulum"
else "none" #else "none"
############################# Link Marker Border ############################# Link Marker Border
card field: card field:
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
is_en := { styling.language == "english" } is_en := { styling.language == "english" }
is_jp := { styling.language == "japanese" } is_jp := { styling.language == "japanese" }
get_sep := {if is_en() then "<color:black>/</color:black>" else if is_cn() then "<i>/</i>" else "/" } #get_sep := {if is_en() then "<color:black>/</color:black>" else if is_cn() then "<i>/</i>" else "/" }
get_sep := {if is_en() then "<test>/</test>" else if is_cn() then "<i>/</i>" else "/" }
get_sepex := { get_sepex := {
class :=remove_tags(input); class :=remove_tags(input);
if class == "" then "" else get_sep() if class == "" then "" else get_sep()
......
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