expeditions
BIN
data/images/expedition/expeditionFrameA.png
Normal file
After Width: | Height: | Size: 676 KiB |
BIN
data/images/expedition/expeditionFrameB.png
Normal file
After Width: | Height: | Size: 754 KiB |
BIN
data/images/expedition/expeditionFrameG.png
Normal file
After Width: | Height: | Size: 782 KiB |
BIN
data/images/expedition/expeditionFrameL.png
Normal file
After Width: | Height: | Size: 763 KiB |
BIN
data/images/expedition/expeditionFrameM.png
Normal file
After Width: | Height: | Size: 701 KiB |
BIN
data/images/expedition/expeditionFrameR.png
Normal file
After Width: | Height: | Size: 796 KiB |
BIN
data/images/expedition/expeditionFrameU.png
Normal file
After Width: | Height: | Size: 575 KiB |
BIN
data/images/expedition/expeditionFrameW.png
Normal file
After Width: | Height: | Size: 610 KiB |
BIN
data/images/expedition/expeditionMaskFrame.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
data/images/expedition/expeditionMaskPinline.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
data/images/expedition/expeditionMaskTextbox.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
data/images/expedition/expeditionMaskType.png
Normal file
After Width: | Height: | Size: 18 KiB |
@@ -451,10 +451,8 @@ function writeText(textObjectList, targetContext) {
|
||||
fontStyle += 'italic '
|
||||
textLineContext.font = fontStyle + textSize + 'px ' + textFont
|
||||
} else if (possibleCodeLower == '/i') {
|
||||
console.log(fontStyle)
|
||||
fontStyle = fontStyle.replace('italic ', '')
|
||||
textLineContext.font = fontStyle + textSize + 'px ' + textFont
|
||||
console.log(textLineContext.font)
|
||||
} else if (possibleCodeLower.includes('fontsize')) {
|
||||
textSize += parseInt(possibleCodeLower.slice(8, possibleCodeLower.length))
|
||||
textLineContext.font = fontStyle + textSize + 'px ' + textFont
|
||||
|
16
data/scripts/versions/expedition/floatingCrowns.js
Normal file
@@ -0,0 +1,16 @@
|
||||
if (!loadedVersions.includes('m15FloatingCrowns')) {
|
||||
loadedVersions.push("m15FloatingCrowns")
|
||||
loadFrameImages([
|
||||
['White Floating Legend Crown', 'data/images/m15/m15CrownFloatingW.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||
['Blue Floating Legend Crown', 'data/images/m15/m15CrownFloatingU.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||
['Black Floating Legend Crown', 'data/images/m15/m15CrownFloatingB.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||
['Red Floating Legend Crown', 'data/images/m15/m15CrownFloatingR.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||
['Green Floating Legend Crown', 'data/images/m15/m15CrownFloatingG.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||
['Multicolored Floating Legend Crown', 'data/images/m15/m15CrownFloatingM.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||
['Artifact Floating Legend Crown', 'data/images/m15/m15CrownFloatingA.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||
['Land Floating Legend Crown', 'data/images/m15/m15CrownFloatingL.png', 46/1500, 40/2100, 1408/1500, 215/2100, ['Full']],
|
||||
['Legend Crown Border Cover', 'data/images/black.png', 59/1500, 58/2100, 1384/1500, 37/2100, ['Full']]
|
||||
], 'frameClassM15FloatingCrowns')
|
||||
}
|
||||
|
||||
hideFrameImages('frameClassM15FloatingCrowns')
|
22
data/scripts/versions/expedition/regular.js
Normal file
@@ -0,0 +1,22 @@
|
||||
if (!loadedVersions.includes('expeditionRegular')) {
|
||||
loadedVersions.push('expeditionRegular')
|
||||
loadFrameImages([
|
||||
['Land Frame', 'data/images/expedition/expeditionFrameL.png', 0, 0, 1, 1, ['Full', 'Pinline (expedition)', 'Title (m15)', 'Type (expedition)', 'Frame (expedition)', 'Rules (expedition)', 'Border (m15)']],
|
||||
['White Frame', 'data/images/expedition/expeditionFrameW.png', 0, 0, 1, 1, ['Full', 'Pinline (expedition)', 'Title (m15)', 'Type (expedition)', 'Frame (expedition)', 'Rules (expedition)', 'Border (m15)']],
|
||||
['Blue Frame', 'data/images/expedition/expeditionFrameU.png', 0, 0, 1, 1, ['Full', 'Pinline (expedition)', 'Title (m15)', 'Type (expedition)', 'Frame (expedition)', 'Rules (expedition)', 'Border (m15)']],
|
||||
['Black Frame', 'data/images/expedition/expeditionFrameB.png', 0, 0, 1, 1, ['Full', 'Pinline (expedition)', 'Title (m15)', 'Type (expedition)', 'Frame (expedition)', 'Rules (expedition)', 'Border (m15)']],
|
||||
['Red Frame', 'data/images/expedition/expeditionFrameR.png', 0, 0, 1, 1, ['Full', 'Pinline (expedition)', 'Title (m15)', 'Type (expedition)', 'Frame (expedition)', 'Rules (expedition)', 'Border (m15)']],
|
||||
['Green Frame', 'data/images/expedition/expeditionFrameG.png', 0, 0, 1, 1, ['Full', 'Pinline (expedition)', 'Title (m15)', 'Type (expedition)', 'Frame (expedition)', 'Rules (expedition)', 'Border (m15)']],
|
||||
['Multicolored Frame', 'data/images/expedition/expeditionFrameM.png', 0, 0, 1, 1, ['Full', 'Pinline (expedition)', 'Title (m15)', 'Type (expedition)', 'Frame (expedition)', 'Rules (expedition)', 'Border (m15)']],
|
||||
['Artifact Frame', 'data/images/expedition/expeditionFrameA.png', 0, 0, 1, 1, ['Full', 'Pinline (expedition)', 'Title (m15)', 'Type (expedition)', 'Frame (expedition)', 'Rules (expedition)', 'Border (m15)']],
|
||||
['White Power/Toughness', 'data/images/m15/m15PTW.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||
['Blue Power/Toughness', 'data/images/m15/m15PTU.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||
['Black Power/Toughness', 'data/images/m15/m15PTB.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||
['Red Power/Toughness', 'data/images/m15/m15PTR.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||
['Green Power/Toughness', 'data/images/m15/m15PTG.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||
['Multicolored Power/Toughness', 'data/images/m15/m15PTM.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']],
|
||||
['Artifact Power/Toughness', 'data/images/m15/m15PTA.png', 1136/1500, 1858/2100, 282/1500, 154/2100, ['Full']]
|
||||
], 'frameClassExpeditionRegular')
|
||||
}
|
||||
|
||||
hideFrameImages('frameClassExpeditionRegular')
|
42
data/scripts/versions/expedition/version.js
Normal file
@@ -0,0 +1,42 @@
|
||||
if (!loadedVersions.includes('expedition')) {
|
||||
loadedVersions.push('expedition')
|
||||
loadMaskImages([['Pinline (expedition)', 'data/images/expedition/expeditionMaskPinline.png'], ['Type (expedition)', 'data/images/expedition/expeditionMaskType.png'], ['Rules (expedition)', 'data/images/expedition/expeditionMaskTextbox.png'], ['Frame (expedition)', 'data/images/expedition/expeditionMaskFrame.png']])
|
||||
}
|
||||
|
||||
if (currentVersion != 'expedition') {
|
||||
currentVersion = 'expedition'
|
||||
|
||||
loadTextOptions([
|
||||
new cardText('Card Title', '', 126/1500, 188/2100, 1248/1500, 80/2100, 'belerenb', 80/2100, 'black', ['oneLine=true']),
|
||||
new cardText('Card Type', '', 126/1500, 1795/2100, 1248/1500, 68/2100, 'belerenb', 68/2100, 'black', ['oneLine=true']),
|
||||
new cardText('Rules Text', '', 135/1500, 1238/2100, 1230/1500, 600/2100, 'mplantin', 74/2100, 'black'),
|
||||
new cardText('Power/Toughness', '', 1191/1500, 1954/2100, 205/1500, 78/2100, 'belerenbsc', 78/2100, 'black', ['oneLine=true,textAlign="center"'])
|
||||
])
|
||||
|
||||
artX = scaleX(113 / 1500)
|
||||
artY = scaleY(233 / 2100)
|
||||
artWidth = scaleX(1274 / 1500)
|
||||
artHeight = scaleY(1468 / 2100)
|
||||
|
||||
manaCostXPath = '1316 - 78 * manaSymbolIndex'
|
||||
manaCostYPath = '121'
|
||||
manaCostDiameter = '70'
|
||||
manaCostShadowOffset = '[-2, 6]'
|
||||
manaCostDirection = 'reverse'
|
||||
|
||||
setSymbolX = [scaleX(1382/1500), 'right']
|
||||
setSymbolY = [scaleY(1772/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'
|
||||
|
||||
bottomInfoUpdated()
|
||||
}
|
||||
|
||||
loadFramePackOptions([['regular', 'Regular'], ['floatingCrowns', 'Floating Crowns']])
|