short modals
@@ -55,7 +55,8 @@
|
||||
<option value="m15Promo">Promo (Tall-Art)</option>
|
||||
<option value="m15Textless">Textless/Fullart</option>
|
||||
<option value="expedition">Zendikar Expeditions</option>
|
||||
<option value="modal">Modal (Incomplete)</option>
|
||||
<option value="modal">Modal (Front only)</option>
|
||||
<option value="short">Short Modal</option>
|
||||
<option disabled value=''>Standalone Frames</option>
|
||||
<option value="storybook">Eldraine Storybook</option>
|
||||
<option value="ixalan">Ixalan Maps</option>
|
||||
|
BIN
data/images/cardImages/short/modal/shortModalFrameBB.png
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
data/images/cardImages/short/modal/shortModalFrameBF.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
data/images/cardImages/short/modal/shortModalFrameGB.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
data/images/cardImages/short/modal/shortModalFrameGF.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
data/images/cardImages/short/modal/shortModalFrameRB.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
data/images/cardImages/short/modal/shortModalFrameRF.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
data/images/cardImages/short/modal/shortModalFrameUB.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
data/images/cardImages/short/modal/shortModalFrameUF.png
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
data/images/cardImages/short/modal/shortModalFrameWB.png
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
data/images/cardImages/short/modal/shortModalFrameWF.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
data/images/cardImages/short/modal/shortModalMaskBorder.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
data/images/cardImages/short/modal/shortModalMaskPinline.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
data/images/cardImages/short/modal/shortModalMaskReminder.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
data/images/cardImages/short/modal/shortModalMaskText.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
data/images/cardImages/short/modal/shortModalMaskTitle.png
Normal file
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 21 KiB |
BIN
data/images/cardImages/short/modal/shortModalNicknameTitleB.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
data/images/cardImages/short/modal/shortModalNicknameTitleG.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
data/images/cardImages/short/modal/shortModalNicknameTitleR.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
data/images/cardImages/short/modal/shortModalNicknameTitleU.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
data/images/cardImages/short/modal/shortModalNicknameTitleW.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
data/images/cardImages/short/shortMaskType.png
Normal file
After Width: | Height: | Size: 16 KiB |
27
data/scripts/versions/short/modalNickname.js
Normal file
@@ -0,0 +1,27 @@
|
||||
if (!loadedVersions.includes('short/modalNickname')) {
|
||||
loadedVersions.push('short/modalNickname')
|
||||
loadMaskImages([['Nickname Title (short modal)', '/data/images/cardImages/short/modal/shortModalNicknameMaskTitle.png']])
|
||||
loadFrameImages([
|
||||
['White Nickname Title', '/data/images/cardImages/short/modal/shortModalNicknameTitleW.png', 37/1500, 85/2100, 1389/1500, 221/2100, ['Full', 'Nickname Title (short modal)']],
|
||||
['Blue Nickname Title', '/data/images/cardImages/short/modal/shortModalNicknameTitleU.png', 37/1500, 85/2100, 1389/1500, 221/2100, ['Full', 'Nickname Title (short modal)']],
|
||||
['Black Nickname Title', '/data/images/cardImages/short/modal/shortModalNicknameTitleB.png', 37/1500, 85/2100, 1389/1500, 221/2100, ['Full', 'Nickname Title (short modal)']],
|
||||
['Red Nickname Title', '/data/images/cardImages/short/modal/shortModalNicknameTitleR.png', 37/1500, 85/2100, 1389/1500, 221/2100, ['Full', 'Nickname Title (short modal)']],
|
||||
['Green Nickname Title', '/data/images/cardImages/short/modal/shortModalNicknameTitleG.png', 37/1500, 85/2100, 1389/1500, 221/2100, ['Full', 'Nickname Title (short modal)']],
|
||||
], 'frameClassShortModalNickname')
|
||||
}
|
||||
|
||||
if (currentVersion != 'short/modalNickname') {
|
||||
currentVersion = 'short/modalNickname'
|
||||
|
||||
loadTextOptions([
|
||||
new cardText('Card Nickname', '', 242/1500, 188/2100, 1132/1500, 80/2100, 'belerenb', 80/2100, 'black', ['oneLine=true']),
|
||||
new cardText('Card Title', '', 210/1500, 276/2100, 1080/1500, 48/2100, 'belerenb', 48/2100, 'white', ['oneLine=true', 'textAlign="center"', 'fontStyle="italic "', 'shadow=3']),
|
||||
new cardText('Card Type', '', 126/1500, 1550/2100, 1248/1500, 68/2100, 'belerenb', 68/2100, 'black', ['oneLine=true']),
|
||||
new cardText('Rules Text', '', 135/1500, 1656/2100, 1230/1500, 339/2100, 'mplantin', 74/2100, 'black'),
|
||||
new cardText('Flipside Type', '', 102/1500, 1927/2100, 546/1500, 49/2100, 'belerenb', 49/2100, 'white', ['oneLine=true']),
|
||||
new cardText('Flipside Reminder', '', 102/1500, 1929/2100, 546/1500, 54/2100, 'mplantin', 54/2100, 'white', ['oneLine=true', 'textAlign="right"']),
|
||||
new cardText('Power/Toughness', '', 1191/1500, 1954/2100, 205/1500, 78/2100, 'belerenbsc', 78/2100, 'black', ['oneLine=true,textAlign="center"'])
|
||||
])
|
||||
}
|
||||
|
||||
hideFrameImages('frameClassShortModalNickname')
|
23
data/scripts/versions/short/regular.js
Normal file
@@ -0,0 +1,23 @@
|
||||
if (!loadedVersions.includes('short/regular')) {
|
||||
loadedVersions.push('short/regular')
|
||||
loadMaskImages([['Flipside (short modal)', '/data/images/cardImages/short/modal/shortModalMaskReminder.png'], ['Border (short modal)', '/data/images/cardImages/short/modal/shortModalMaskBorder.png'], ['Pinline (short modal)', '/data/images/cardImages/short/modal/shortModalMaskPinline.png'], ['Title (short modal)', '/data/images/cardImages/short/modal/shortModalMaskTitle.png'], ['Rules (short modal)', '/data/images/cardImages/short/modal/shortModalMaskText.png']])
|
||||
loadFrameImages([
|
||||
['White Frame (Front)', '/data/images/cardImages/short/modal/shortModalFrameWF.png', 0, 0, 1, 1, ['Full', 'Flipside (short modal)', 'Pinline (short modal)', 'Title (short modal)', 'Type (short)', 'Rules (short modal)', 'Border (short modal)']],
|
||||
['Blue Frame (Front)', '/data/images/cardImages/short/modal/shortModalFrameUF.png', 0, 0, 1, 1, ['Full', 'Flipside (short modal)', 'Pinline (short modal)', 'Title (short modal)', 'Type (short)', 'Rules (short modal)', 'Border (short modal)']],
|
||||
['Black Frame (Front)', '/data/images/cardImages/short/modal/shortModalFrameBF.png', 0, 0, 1, 1, ['Full', 'Flipside (short modal)', 'Pinline (short modal)', 'Title (short modal)', 'Type (short)', 'Rules (short modal)', 'Border (short modal)']],
|
||||
['Red Frame (Front)', '/data/images/cardImages/short/modal/shortModalFrameRF.png', 0, 0, 1, 1, ['Full', 'Flipside (short modal)', 'Pinline (short modal)', 'Title (short modal)', 'Type (short)', 'Rules (short modal)', 'Border (short modal)']],
|
||||
['Green Frame (Front)', '/data/images/cardImages/short/modal/shortModalFrameGF.png', 0, 0, 1, 1, ['Full', 'Flipside (short modal)', 'Pinline (short modal)', 'Title (short modal)', 'Type (short)', 'Rules (short modal)', 'Border (short modal)']],
|
||||
['White Frame (Back)', '/data/images/cardImages/short/modal/shortModalFrameWB.png', 0, 0, 1, 1, ['Full', 'Flipside (short modal)', 'Pinline (short modal)', 'Title (short modal)', 'Type (short)', 'Rules (short modal)', 'Border (short modal)']],
|
||||
['Blue Frame (Back)', '/data/images/cardImages/short/modal/shortModalFrameUB.png', 0, 0, 1, 1, ['Full', 'Flipside (short modal)', 'Pinline (short modal)', 'Title (short modal)', 'Type (short)', 'Rules (short modal)', 'Border (short modal)']],
|
||||
['Black Frame (Back)', '/data/images/cardImages/short/modal/shortModalFrameBB.png', 0, 0, 1, 1, ['Full', 'Flipside (short modal)', 'Pinline (short modal)', 'Title (short modal)', 'Type (short)', 'Rules (short modal)', 'Border (short modal)']],
|
||||
['Red Frame (Back)', '/data/images/cardImages/short/modal/shortModalFrameRB.png', 0, 0, 1, 1, ['Full', 'Flipside (short modal)', 'Pinline (short modal)', 'Title (short modal)', 'Type (short)', 'Rules (short modal)', 'Border (short modal)']],
|
||||
['Green Frame (Back)', '/data/images/cardImages/short/modal/shortModalFrameGB.png', 0, 0, 1, 1, ['Full', 'Flipside (short modal)', 'Pinline (short modal)', 'Title (short modal)', 'Type (short)', 'Rules (short modal)', 'Border (short modal)']],
|
||||
['White Power/Toughness', '/data/images/cardImages/m15/m15PTW.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||
['Blue Power/Toughness', '/data/images/cardImages/m15/m15PTU.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||
['Black Power/Toughness', '/data/images/cardImages/m15/m15PTB.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||
['Red Power/Toughness', '/data/images/cardImages/m15/m15PTR.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||
['Green Power/Toughness', '/data/images/cardImages/m15/m15PTG.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']]
|
||||
], 'frameClassShortRegular')
|
||||
}
|
||||
|
||||
hideFrameImages('frameClassShortRegular')
|
42
data/scripts/versions/short/version.js
Normal file
@@ -0,0 +1,42 @@
|
||||
if (!loadedVersions.includes('short/version')) {
|
||||
loadedVersions.push('short/version')
|
||||
loadMaskImages([['Type (short)', '/data/images/cardImages/short/shortMaskType.png']])
|
||||
}
|
||||
|
||||
if (currentVersion != 'short/version') {
|
||||
currentVersion = 'short/version'
|
||||
|
||||
artX = scaleX(0 / 1500)
|
||||
artY = scaleY(0 / 2100)
|
||||
artWidth = 1
|
||||
artHeight = scaleY(1937 / 2100)
|
||||
|
||||
manaCostXPath = '1316 - 78 * manaSymbolIndex'
|
||||
manaCostYPath = '121'
|
||||
manaCostDiameter = '70'
|
||||
manaCostShadowOffset = '[-2, 6]'
|
||||
manaCostDirection = 'reverse'
|
||||
|
||||
setSymbolX = [scaleX(1382/1500), 'right']
|
||||
setSymbolY = [scaleY(1527/2100), 'center']
|
||||
setSymbolWidth = scaleX(180/1500)
|
||||
setSymbolHeight = scaleY(86/2100)
|
||||
|
||||
watermarkX = scaleX(0.5)
|
||||
watermarkY = scaleY(1630/2100)
|
||||
watermarkWidth = scaleX(1140/1500)
|
||||
watermarkHeight = scaleY(484/2100)
|
||||
|
||||
bottomInfoFunction = 'bottomInfoM15'
|
||||
|
||||
loadTextOptions([
|
||||
new cardText('Card Title', '', 242/1500, 188/2100, 1132/1500, 80/2100, 'belerenb', 80/2100, 'black', ['oneLine=true']),
|
||||
new cardText('Card Type', '', 126/1500, 1550/2100, 1248/1500, 68/2100, 'belerenb', 68/2100, 'black', ['oneLine=true']),
|
||||
new cardText('Rules Text', '', 135/1500, 1656/2100, 1230/1500, 339/2100, 'mplantin', 74/2100, 'black'),
|
||||
new cardText('Flipside Type', '', 102/1500, 1927/2100, 546/1500, 49/2100, 'belerenb', 49/2100, 'white', ['oneLine=true']),
|
||||
new cardText('Flipside Reminder', '', 102/1500, 1929/2100, 546/1500, 54/2100, 'mplantin', 54/2100, 'white', ['oneLine=true', 'textAlign="right"']),
|
||||
new cardText('Power/Toughness', '', 1191/1500, 1954/2100, 205/1500, 78/2100, 'belerenbsc', 78/2100, 'black', ['oneLine=true,textAlign="center"'])
|
||||
])
|
||||
}
|
||||
|
||||
loadFramePackOptions([['regular', 'Modal'], ['modalNickname', 'Modal Nickname']])
|