diff --git a/creator/index.php b/creator/index.php index 63acfb66..0c66060d 100644 --- a/creator/index.php +++ b/creator/index.php @@ -511,6 +511,7 @@ include('../globalHTML/header-1.php'); +
diff --git a/data/scripts/main.js b/data/scripts/main.js index 87c62e77..eb42f9d6 100644 --- a/data/scripts/main.js +++ b/data/scripts/main.js @@ -529,7 +529,7 @@ function writeText(textObjectList, targetContext) { for (var i = 0; i < textObjectList.length; i++) { //FINDME - TESTING PURPOSES ONLY if (URLParams.get('copyright') != null && textObjectList[i].text.includes('\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast') && currentVersion.includes('bleedEdge')) { - textObjectList[i].text = textObjectList[i].text.replace('\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', URLParams.get('copyright')) + textObjectList[i].text = textObjectList[i].text.replace('\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', URLParams.get('copyright')) } if (!rewritingLine) { textSize = scaleY(textObjectList[i].fontSize) diff --git a/img/frames/custom/classicshifted/b2.png b/img/frames/custom/classicshifted/b2.png new file mode 100644 index 00000000..9aeb0d1e Binary files /dev/null and b/img/frames/custom/classicshifted/b2.png differ diff --git a/img/frames/custom/classicshifted/b2Thumb.png b/img/frames/custom/classicshifted/b2Thumb.png new file mode 100644 index 00000000..7c45a74f Binary files /dev/null and b/img/frames/custom/classicshifted/b2Thumb.png differ diff --git a/js/creator-23.js b/js/creator-23.js index 65c1d548..348840e6 100644 --- a/js/creator-23.js +++ b/js/creator-23.js @@ -70,7 +70,8 @@ var savedFont = null; var savedTextContents = {}; //for misc var date = new Date(); -const year = 'WOW' //date.getFullYear(); +card.infoYear = date.getFullYear(); +document.querySelector("#info-year").value = card.infoYear; //to avoid rerunning special scripts (planeswalker, saga, etc...) var loadedVersions = []; //Card Object managament @@ -103,7 +104,7 @@ async function resetCardIrregularities({canvas = [1500, 2100, 0, 0], resetOthers midLeft: {text:'{elemidinfo-set}*{elemidinfo-language} {savex}{fontbelerenbsc}{fontsize' + scaleHeight(0.001) + '}{upinline' + scaleHeight(0.0005) + '}\uFFEE{elemidinfo-artist}', x:0.0647, y:0.9548, width:0.8707, height:0.0171, oneLine:true, font:'gothammedium', size:0.0171, color:'white', outlineWidth:0.003}, topLeft: {text:'{elemidinfo-number} {loadx}{elemidinfo-rarity}', x:0.0647, y:0.9377, width:0.8707, height:0.0171, oneLine:true, font:'gothammedium', size:0.0171, color:'white', outlineWidth:0.003}, bottomLeft: {text:'NOT FOR SALE', x:0.0647, y:0.9719, width:0.8707, height:0.0143, oneLine:true, font:'gothammedium', size:0.0143, color:'white', outlineWidth:0.003}, - wizards: {name:'wizards', text:'{ptshift0,0.0172}\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.0647, y:0.9377, width:0.8707, height:0.0167, oneLine:true, font:'mplantin', size:0.0162, color:'white', align:'right', outlineWidth:0.003}, + wizards: {name:'wizards', text:'{ptshift0,0.0172}\u2122 & \u00a9 {elemidinfo-year} Wizards of the Coast', x:0.0647, y:0.9377, width:0.8707, height:0.0167, oneLine:true, font:'mplantin', size:0.0162, color:'white', align:'right', outlineWidth:0.003}, bottomRight: {text:'{ptshift0,0.0172}CardConjurer.com', x:0.0647, y:0.9548, width:0.8707, height:0.0143, oneLine:true, font:'mplantin', size:0.0143, color:'white', align:'right', outlineWidth:0.003} }); //onload @@ -1679,6 +1680,7 @@ async function bottomInfoEdited() { card.infoSet = document.querySelector('#info-set').value; card.infoLanguage = document.querySelector('#info-language').value; card.infoArtist = document.querySelector('#info-artist').value; + card.infoYear = document.querySelector('#info-year').value; for (var textObject of Object.entries(card.bottomInfo)) { await writeText(textObject[1], bottomInfoContext); continue; @@ -1986,6 +1988,7 @@ async function loadCard(selectedCardKey) { document.querySelector('#info-rarity').value = card.infoRarity; document.querySelector('#info-set').value = card.infoSet; document.querySelector('#info-language').value = card.infoLanguage; + document.querySelector('#info-year').value = card.infoYear; artistEdited(card.infoArtist); document.querySelector('#text-editor').value = card.text[Object.keys(card.text)[selectedTextIndex]].text; loadTextOptions(card.text); diff --git a/js/frames/groupFleshAndBlood.js b/js/frames/groupFleshAndBlood.js index d7256d12..f8c1ff10 100644 --- a/js/frames/groupFleshAndBlood.js +++ b/js/frames/groupFleshAndBlood.js @@ -38,7 +38,7 @@ var LoadFABVersion = async () => { }); //bottom info await loadBottomInfo({ - regular: {text:'{kerning-2}{elemidinfo-rarity} {elemidinfo-set}{elemidinfo-number} {elemidinfo-artist} \u00a9 ' + date.getFullYear() + ' Legend Story Studios', x:0.25, y:1987/2100, width:0.5, height:0.0143, oneLine:true, font:'gothammedium', size:0.0143, color:'white', align:'center'}, + regular: {text:'{kerning-2}{elemidinfo-rarity} {elemidinfo-set}{elemidinfo-number} {elemidinfo-artist} \u00a9 ' + card.infoYear + ' Legend Story Studios', x:0.25, y:1987/2100, width:0.5, height:0.0143, oneLine:true, font:'gothammedium', size:0.0143, color:'white', align:'center'}, extra: {text:'UNOFFICIAL - NOT FOR SALE CardConjurer.com', y:2020/2100, height:0.0134, oneLine:true, font:'gothammedium', size:0.0134, color:'white', align:'center'}, }); } diff --git a/js/frames/pack8th.js b/js/frames/pack8th.js index 6b78d017..b4b4f454 100644 --- a/js/frames/pack8th.js +++ b/js/frames/pack8th.js @@ -54,7 +54,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'{conditionalcolor:Black_Frame,Land_Frame:white}\uFFEE {elemidinfo-artist}', x:0.094, y:1904/2100, width:0.8107, height:0.0248, oneLine:true, font:'matrixb', size:0.0248, color:'black', shadowX:0.0007, shadowY:0.0005}, - wizards: {name:'wizards', text:'{conditionalcolor:Black_Frame,Land_Frame:white}\u2122 & \u00a9 1993-' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.094, y:1958/2100, width:0.8107, height:0.0153, oneLine:true, font:'mplantin', size:0.0153, color:'black', shadowX:0.0007, shadowY:0.0005}, + wizards: {name:'wizards', text:'{conditionalcolor:Black_Frame,Land_Frame:white}\u2122 & \u00a9 1993-' + card.infoYear + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.094, y:1958/2100, width:0.8107, height:0.0153, oneLine:true, font:'mplantin', size:0.0153, color:'black', shadowX:0.0007, shadowY:0.0005}, bottom: {text:'{conditionalcolor:Black_Frame,Land_Frame:white}NOT FOR SALE CardConjurer.com', x:0.094, y:1994/2100, width:0.8107, height:0.0134, oneLine:true, font:'mplantin', size:0.0134, color:'black', shadowX:0.0007, shadowY:0.0005} }); } diff --git a/js/frames/packCardback.js b/js/frames/packCardback.js index fb0b81b3..b27779fa 100644 --- a/js/frames/packCardback.js +++ b/js/frames/packCardback.js @@ -28,7 +28,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { loadBottomInfo({ midLeft: {text:'{elemidinfo-set}*{elemidinfo-language} {savex}{fontbelerenbsc}{fontsize' + scaleHeight(0.001) + '}{upinline' + scaleHeight(0.0005) + '}\uFFEE{elemidinfo-artist}', x:0.0647, y:0.9548 + 12/2100, width:0.8707, height:0.0171, oneLine:true, font:'gothammedium', size:0.0171, color:'white', outlineWidth:0.003}, bottomLeft: {text:'NOT FOR SALE', x:0.0647, y:0.9719 + 12/2100, width:0.8707, height:0.0143, oneLine:true, font:'gothammedium', size:0.0143, color:'white', outlineWidth:0.003}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.0647, y:0.9549 + 12/2100, width:0.8707, height:0.0167, oneLine:true, font:'mplantin', size:0.0162, color:'white', align:'right', outlineWidth:0.003}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', x:0.0647, y:0.9549 + 12/2100, width:0.8707, height:0.0167, oneLine:true, font:'mplantin', size:0.0162, color:'white', align:'right', outlineWidth:0.003}, bottomRight: {text:'CardConjurer.com', x:0.0647, y:0.972 + 12/2100, width:0.8707, height:0.0143, oneLine:true, font:'mplantin', size:0.0143, color:'white', align:'right', outlineWidth:0.003} }); } diff --git a/js/frames/packCartoony.js b/js/frames/packCartoony.js index badec7f1..20a19a29 100644 --- a/js/frames/packCartoony.js +++ b/js/frames/packCartoony.js @@ -39,7 +39,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { topLeft: {text:'Art: {elemidinfo-artist}', x:0.01, y:0.9572, width:0.98, height:0.0177, oneLine:true, font:'Acme-Regular', size:0.0177, color:'white', outlineWidth:0.003}, bottomLeft: {text:'Sheepwave.com', x:0.03, y:0.9767, width:0.94, height:0.0177, oneLine:true, font:'Acme-Regular', size:0.0177, color:'white', outlineWidth:0.003}, topRight: {text:'*NOT FOR SALE*', x:0.01, y:0.9572, width:0.98, height:0.0177, oneLine:true, font:'Acme-Regular', size:0.0177, color:'white', outlineWidth:0.003, align:'right'}, - wizards: {name:'wizards', text:'{ptshift0,0.0172}\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.03, y:0.9767, width:0.94, height:0.0177, oneLine:true, font:'Acme-Regular', size:0.0177, color:'white', align:'right', outlineWidth:0.003}, + wizards: {name:'wizards', text:'{ptshift0,0.0172}\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', x:0.03, y:0.9767, width:0.94, height:0.0177, oneLine:true, font:'Acme-Regular', size:0.0177, color:'white', align:'right', outlineWidth:0.003}, }); setTimeout(bottomInfoEdited, 250); } diff --git a/js/frames/packClassicshifted.js b/js/frames/packClassicshifted.js index 9abb5fc6..05032a89 100644 --- a/js/frames/packClassicshifted.js +++ b/js/frames/packClassicshifted.js @@ -33,7 +33,8 @@ availableFrames = [ {name:'Snow Overlay', src:'/img/frames/custom/classicshifted/snow.png'}, {name:'White Border', src:'/img/frames/white.png', masks:masks2, noDefaultMask:true}, {name:'Silver Border', src:'/img/frames/silver.png', masks:masks2, noDefaultMask:true}, - {name:'Gold Border', src:'/img/frames/gold.png', masks:masks2, noDefaultMask:true} + {name:'Gold Border', src:'/img/frames/gold.png', masks:masks2, noDefaultMask:true}, + {name:'Black Frame (Alt)', src:'/img/frames/custom/classicshifted/b2.png', masks:masks} ]; //disables/enables the "Load Frame Version" button document.querySelector('#loadFrameVersion').disabled = false; diff --git a/js/frames/packCustomDeckCover.js b/js/frames/packCustomDeckCover.js index c1b8642f..b417bccf 100644 --- a/js/frames/packCustomDeckCover.js +++ b/js/frames/packCustomDeckCover.js @@ -41,7 +41,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await loadBottomInfo({ midLeft: {text:'{elemidinfo-set}*{elemidinfo-language} {fontbelerenbsc}{fontsize' + scaleHeight(0.001) + '}{upinline' + scaleHeight(0.0005) + '}\uFFEE{elemidinfo-artist}', x:0.0647, y:0.9548, width:0.8707, height:0.0171, oneLine:true, font:'gothammedium', size:0.0171, color:'white', outlineWidth:0.003}, bottomLeft: {text:'NOT FOR SALE', x:0.0647, y:0.9719, width:0.8707, height:0.0143, oneLine:true, font:'gothammedium', size:0.0143, color:'white', outlineWidth:0.003}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.0647, y:0.9549, width:0.8707, height:0.0167, oneLine:true, font:'mplantin', size:0.0162, color:'white', align:'right', outlineWidth:0.003}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', x:0.0647, y:0.9549, width:0.8707, height:0.0167, oneLine:true, font:'mplantin', size:0.0162, color:'white', align:'right', outlineWidth:0.003}, bottomRight: {text:'CardConjurer.com', x:0.0647, y:0.972, width:0.8707, height:0.0143, oneLine:true, font:'mplantin', size:0.0143, color:'white', align:'right', outlineWidth:0.003} }); } diff --git a/js/frames/packFeuerAmeiseIxalan.js b/js/frames/packFeuerAmeiseIxalan.js index 41a50d4c..0c5c33fc 100644 --- a/js/frames/packFeuerAmeiseIxalan.js +++ b/js/frames/packFeuerAmeiseIxalan.js @@ -13,7 +13,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'feuerAmeiseIxalan'; - document.querySelector('#info-number').value = document.querySelector('#info-number').value.replace(date.getFullYear(), 'FeuerAmeise'); + document.querySelector('#info-number').value = document.querySelector('#info-number').value.replace(card.infoYear, 'FeuerAmeise'); bottomInfoEdited(); //art bounds card.artBounds = {x:0.0394, y:0.0286, width:0.9214, height:0.8939}; diff --git a/js/frames/packFourth.js b/js/frames/packFourth.js index f9353c07..ab0a386b 100644 --- a/js/frames/packFourth.js +++ b/js/frames/packFourth.js @@ -40,7 +40,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'Illus: {elemidinfo-artist}', x:0.1, y:1894/2100, width:0.8, height:0.0267, oneLine:true, size:0.0267, shadowX:0.0021, shadowY:0.0015, color:'white'}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1955/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, shadowX:0.0014, shadowY:0.001, color:'white'}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1955/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, shadowX:0.0014, shadowY:0.001, color:'white'}, bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.1, y:1995/2100, width:0.8, height:26/2100, oneLine:true, size:26/2100, shadowX:0.0014, shadowY:0.001, color:'white'} }); } diff --git a/js/frames/packFutureRegular.js b/js/frames/packFutureRegular.js index 7fc3f35b..7c3f0904 100644 --- a/js/frames/packFutureRegular.js +++ b/js/frames/packFutureRegular.js @@ -55,7 +55,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'{conditionalcolor:White_Frame,Artifact_Frame,Colorless_Frame:black}{ptshift-0.1667,0}\uFFEE {elemidinfo-artist}', x:0.094, y:1898/2100, width:0.8107, height:0.0248, oneLine:true, font:'matrixb', size:0.0248, color:'white', align:'right', shadowX:0.0007, shadowY:0.0005}, - wizards: {name:'wizards', text:'{conditionalcolor:White_Frame,Artifact_Frame,Colorless_Frame:black}{ptshift-0.1667,0}\u2122 & \u00a9 1993-' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.094, y:1954/2100, width:0.8107, height:0.0153, oneLine:true, font:'mplantin', size:0.0153, color:'white', align:'right', shadowX:0.0007, shadowY:0.0005}, + wizards: {name:'wizards', text:'{conditionalcolor:White_Frame,Artifact_Frame,Colorless_Frame:black}{ptshift-0.1667,0}\u2122 & \u00a9 1993-' + card.infoYear + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.094, y:1954/2100, width:0.8107, height:0.0153, oneLine:true, font:'mplantin', size:0.0153, color:'white', align:'right', shadowX:0.0007, shadowY:0.0005}, bottom: {text:'{conditionalcolor:White_Frame,Artifact_Frame,Colorless_Frame:black}{ptshift-0.1667,0}NOT FOR SALE CardConjurer.com', x:0.094, y:1990/2100, width:0.8107, height:0.0134, oneLine:true, font:'mplantin', size:0.0134, color:'white', align:'right', shadowX:0.0007, shadowY:0.0005} }); } diff --git a/js/frames/packInvocation.js b/js/frames/packInvocation.js index 2ba22d79..f2c6dce2 100644 --- a/js/frames/packInvocation.js +++ b/js/frames/packInvocation.js @@ -55,7 +55,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { info: {text:'{elemidinfo-number} {elemidinfo-set}*{elemidinfo-language} {elemidinfo-rarity}', x:0.0787, y:0.912, width:0.29, height:0.0162, oneLine:true, font:'gothammedium', size:0.0162, color:'#24150E'}, artist: {text:`\uFFEE{fontsize-${scaleHeight(0.002)}}{fontinvocation-text}{elemidinfo-artist}`, x:0.0787, y:0.93, width:0.29, height:0.0181, oneLine:true, font:'belerenbsc', size:0.0181, color:'#24150E'}, nfs: {text:'NOT FOR SALE', x:0.2534, y:0.9667, width:0.8707, height:0.0134, oneLine:true, font:'invocation-text', size:0.0134, color:'#24150E'}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.0647, y:0.9453, width:0.86, height:0.0134, oneLine:true, font:'invocation-text', size:0.0134, color:'#24150E', align:'right'}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', x:0.0647, y:0.9453, width:0.86, height:0.0134, oneLine:true, font:'invocation-text', size:0.0134, color:'#24150E', align:'right'}, cc: {text:'CardConjurer.com', x:0.0647, y:0.9677, width:0.7467, height:0.0134, oneLine:true, font:'invocation-text', size:0.0134, color:'#24150E', align:'right'} }); } diff --git a/js/frames/packJMPFront.js b/js/frames/packJMPFront.js index 3c2163d7..570575cd 100644 --- a/js/frames/packJMPFront.js +++ b/js/frames/packJMPFront.js @@ -31,7 +31,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { topLeft: {text:'{elemidinfo-number} {loadx}{elemidinfo-rarity}', x:0.0647, y:0.9377, width:0.8707, height:0.0171, oneLine:true, font:'gothammedium', size:0.0171, color:'white', outlineWidth:0.003}, bottomLeft: {text:'NOT FOR SALE', x:0.0647, y:0.9719, width:0.8707, height:0.0143, oneLine:true, font:'gothammedium', size:0.0143, color:'white', outlineWidth:0.003}, bottomRight: {text:'CardConjurer.com', x:0.0647, y:0.972, width:0.8707, height:0.0143, oneLine:true, font:'mplantin', size:0.0143, color:'white', align:'right', outlineWidth:0.003}, - wizards: {name:'wizards', text:'{ptshift0,0.0172}\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast. Illus. {elemidinfo-artist}', x:0.91, y:0.9762, width:1.3014, height:0.0153, oneLine:true, font:'mplantin', size:0.0153, color:'white', align:'right', rotation:270} + wizards: {name:'wizards', text:'{ptshift0,0.0172}\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast. Illus. {elemidinfo-artist}', x:0.91, y:0.9762, width:1.3014, height:0.0153, oneLine:true, font:'mplantin', size:0.0153, color:'white', align:'right', rotation:270} }); } //loads available frames diff --git a/js/frames/packOldFloating.js b/js/frames/packOldFloating.js index 854c29b9..57ce3c91 100644 --- a/js/frames/packOldFloating.js +++ b/js/frames/packOldFloating.js @@ -40,7 +40,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'Illus: {elemidinfo-artist}', x:0.1, y:1872/2100, width:0.8, height:0.0267, oneLine:true, size:0.0267, align:'center', shadowX:0.0021, shadowY:0.0015, color:'white'}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1933/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1933/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.1, y:1973/2100, width:0.8, height:26/2100, oneLine:true, size:26/2100, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'} }); } diff --git a/js/frames/packPlanechase.js b/js/frames/packPlanechase.js index 48077bfc..1147d43c 100644 --- a/js/frames/packPlanechase.js +++ b/js/frames/packPlanechase.js @@ -44,7 +44,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info await loadBottomInfo({ top: {text:'\uFFEE{elemidinfo-artist}', x:0.0647, y:0.9434, width:0.8707, height:0.0174, oneLine:true, font:'belerenbsc', size:0.0174, color:'white', outlineWidth:0.003, align:'center'}, - wizards: {name:'wizards', text:'{elemidinfo-number} {elemidinfo-set} * {elemidinfo-language} {fontmplantin}\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.0647, y:0.9614, width:0.8707, height:0.0167, oneLine:true, font:'gothammedium', size:0.0162, color:'white', align:'center', outlineWidth:0.003}, + wizards: {name:'wizards', text:'{elemidinfo-number} {elemidinfo-set} * {elemidinfo-language} {fontmplantin}\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', x:0.0647, y:0.9614, width:0.8707, height:0.0167, oneLine:true, font:'gothammedium', size:0.0162, color:'white', align:'center', outlineWidth:0.003}, bottom: {text:'NOT FOR SALE {fontmplantin}CardConjurer.com', x:0.0647, y:0.98, width:0.8707, height:0.0143, oneLine:true, font:'gothammedium', size:0.0143, color:'white', align:'center', outlineWidth:0.003} }); //runs other necessary functions diff --git a/js/frames/packPlaneswalkerSeventh.js b/js/frames/packPlaneswalkerSeventh.js index 89564faa..f0808f30 100644 --- a/js/frames/packPlaneswalkerSeventh.js +++ b/js/frames/packPlaneswalkerSeventh.js @@ -52,7 +52,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'Illus: {elemidinfo-artist}', x:0.1, y:1872/2100, width:0.8, height:0.0267, oneLine:true, size:0.0267, align:'center', shadowX:0.0021, shadowY:0.0015, color:'white'}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1933/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1933/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.1, y:1973/2100, width:0.8, height:26/2100, oneLine:true, size:26/2100, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'} }); } diff --git a/js/frames/packPlaytest.js b/js/frames/packPlaytest.js index 8d07f87f..1b0bb8d7 100644 --- a/js/frames/packPlaytest.js +++ b/js/frames/packPlaytest.js @@ -47,7 +47,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await loadBottomInfo({ midLeft: {text:'\uFFEE{elemidinfo-artist}', x:0.1, y:0.9391, width:0.8, height:0.0181, oneLine:true, font:'belerenbsc', size:0.0181}, bottomLeft: {text:'NOT FOR SALE', x:0.1, y:0.9562, width:0.8, height:0.0143, oneLine:true, font:'gothammedium', size:0.0143}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.1, y:0.9391, width:0.8, height:0.0167, oneLine:true, font:'mplantin', size:0.0162, align:'right', outlineWidth:0.0005}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', x:0.1, y:0.9391, width:0.8, height:0.0167, oneLine:true, font:'mplantin', size:0.0162, align:'right', outlineWidth:0.0005}, bottomRight: {text:'CardConjurer.com', x:0.1, y:0.9562, width:0.8, height:0.0143, oneLine:true, font:'mplantin', size:0.0143, align:'right', outlineWidth:0.0005} }); } diff --git a/js/frames/packSeventh.js b/js/frames/packSeventh.js index 8e8184ab..23fa4109 100644 --- a/js/frames/packSeventh.js +++ b/js/frames/packSeventh.js @@ -66,7 +66,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'Illus: {elemidinfo-artist}', x:0.1, y:1872/2100, width:0.8, height:0.0267, oneLine:true, size:0.0267, align:'center', shadowX:0.0021, shadowY:0.0015, color:'white'}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1933/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1933/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.1, y:1973/2100, width:0.8, height:26/2100, oneLine:true, size:26/2100, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'} }); } diff --git a/js/frames/packSeventhButFifth.js b/js/frames/packSeventhButFifth.js index f99140cb..b3747121 100644 --- a/js/frames/packSeventhButFifth.js +++ b/js/frames/packSeventhButFifth.js @@ -66,7 +66,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'Illus: {elemidinfo-artist}', x:0.1, y:1872/2100, width:0.8, height:0.0267, oneLine:true, size:0.0267, shadowX:0.0021, shadowY:0.0015, color:'white'}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1933/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, shadowX:0.0014, shadowY:0.001, color:'white'}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:1933/2100, width:0.8, height:0.0172, oneLine:true, size:0.0172, shadowX:0.0014, shadowY:0.001, color:'white'}, bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.1, y:1973/2100, width:0.8, height:26/2100, oneLine:true, size:26/2100, shadowX:0.0014, shadowY:0.001, color:'white'} }); } diff --git a/js/frames/packSeventhTextless.js b/js/frames/packSeventhTextless.js index 001be536..5789389e 100644 --- a/js/frames/packSeventhTextless.js +++ b/js/frames/packSeventhTextless.js @@ -39,7 +39,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'Illus: {elemidinfo-artist}', x:0.0614, y:0.8915, width:0.8774, height:0.0281, oneLine:true, size:0.0281, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.0614, y:0.921, width:0.8774, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', x:0.0614, y:0.921, width:0.8774, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.0614, y:0.94, width:0.8774, height:0.0143, oneLine:true, size:0.0143, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'} }); } diff --git a/js/frames/packTapped.js b/js/frames/packTapped.js index 97a6ae95..b12ed4f1 100644 --- a/js/frames/packTapped.js +++ b/js/frames/packTapped.js @@ -47,7 +47,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { midLeft: {text:'{elemidinfo-set}*{elemidinfo-language} {savex}{fontbelerenbsc}{fontsize' + scaleHeight(0.001) + '}{upinline' + scaleHeight(0.0005) + '}\uFFEE{elemidinfo-artist}', x:0.0462, y:0.9367, width:0.9077, height:0.024, oneLine:true, font:'gothammedium', size:0.024, color:'white', outlineWidth:0.003}, topLeft: {text:'{elemidinfo-number} {loadx}{elemidinfo-rarity}', x:0.0462, y:0.9127, width:0.9077, height:0.024, oneLine:true, font:'gothammedium', size:0.024, color:'white', outlineWidth:0.003}, bottomLeft: {text:'NOT FOR SALE', x:0.0462, y:0.9607, width:0.9077, height:0.02, oneLine:true, font:'gothammedium', size:0.02, color:'white', outlineWidth:0.003}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x:0.0462, y:0.9607, width:0.9077, height:0.0227, oneLine:true, font:'mplantin', size:0.0227, color:'white', align:'right', outlineWidth:0.003}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', x:0.0462, y:0.9607, width:0.9077, height:0.0227, oneLine:true, font:'mplantin', size:0.0227, color:'white', align:'right', outlineWidth:0.003}, bottomRight: {text:'CardConjurer.com', x:227/2100, y:0.9607, width:0.9077, height:0.02, oneLine:true, font:'mplantin', size:0.02, color:'white', align:'center', outlineWidth:0.003} }); //runs other necessary functions diff --git a/js/frames/packTokenOld.js b/js/frames/packTokenOld.js index 7ead9571..2033a1d0 100644 --- a/js/frames/packTokenOld.js +++ b/js/frames/packTokenOld.js @@ -38,7 +38,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'Illus: {elemidinfo-artist}', x:0.1, y:0.8648, width:0.8, height:0.0267, oneLine:true, size:0.0267, align:'center', shadowX:0.0021, shadowY:0.0015, color:'white'}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:0.8929, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:0.8929, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.1, y:0.912, width:0.8, height:26/2100, oneLine:true, size:26/2100, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'} }); } diff --git a/js/frames/packTokenUnglued.js b/js/frames/packTokenUnglued.js index 2e25238b..9fc4f027 100644 --- a/js/frames/packTokenUnglued.js +++ b/js/frames/packTokenUnglued.js @@ -33,7 +33,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'Illus: {elemidinfo-artist}', x:0.1, y:0.8829, width:0.8, height:0.0267, oneLine:true, size:0.0267, align:'center', shadowX:0.0021, shadowY:0.0015, color:'white'}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:0.912, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.1, y:0.912, width:0.8, height:0.0172, oneLine:true, size:0.0172, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'}, bottom: {text:'NOT FOR SALE CardConjurer.com', x:0.1, y:0.931, width:0.8, height:26/2100, oneLine:true, size:26/2100, align:'center', shadowX:0.0014, shadowY:0.001, color:'white'} }); } diff --git a/js/frames/packUnhinged.js b/js/frames/packUnhinged.js index 36b49a13..bb3b20e4 100644 --- a/js/frames/packUnhinged.js +++ b/js/frames/packUnhinged.js @@ -35,7 +35,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info loadBottomInfo({ top: {text:'{ptshift-0.1667,0}\uFFEE {elemidinfo-artist}', x:0.08, y:1898/2100, width:0.8107, height:0.0248, oneLine:true, font:'matrixb', size:0.0248, color:'white', shadowX:0.0007, shadowY:0.0005}, - wizards: {name:'wizards', text:'{ptshift-0.1667,0}\u2122 & \u00a9 1993-' + date.getFullYear() + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.08, y:1954/2100, width:0.8107, height:0.0153, oneLine:true, font:'mplantin', size:0.0153, color:'white', shadowX:0.0007, shadowY:0.0005}, + wizards: {name:'wizards', text:'{ptshift-0.1667,0}\u2122 & \u00a9 1993-' + card.infoYear + ' Wizards of the Coast, Inc. {elemidinfo-number}', x:0.08, y:1954/2100, width:0.8107, height:0.0153, oneLine:true, font:'mplantin', size:0.0153, color:'white', shadowX:0.0007, shadowY:0.0005}, bottom: {text:'{ptshift-0.1667,0}NOT FOR SALE CardConjurer.com', x:0.08, y:1990/2100, width:0.8107, height:0.0134, oneLine:true, font:'mplantin', size:0.0134, color:'white', shadowX:0.0007, shadowY:0.0005} }); } diff --git a/js/frames/packVanguard.js b/js/frames/packVanguard.js index b30381e7..798e5807 100644 --- a/js/frames/packVanguard.js +++ b/js/frames/packVanguard.js @@ -33,7 +33,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { //bottom info await loadBottomInfo({ illus: {text:'Illus. {elemidinfo-artist}', x:0.0647, y:0.8977, width:0.8707, height:0.0171, font:'mplantin', size:0.0167, align:'center'}, - wizards: {name:'wizards', text:'\u2122 & \u00a9 1993—' + date.getFullYear() + ' Wizards of the Coast, Inc.', x:0.0647, y:0.9134, width:0.8707, height:0.0167, font:'mplantin', size:0.0124, align:'center'}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 1993—' + card.infoYear + ' Wizards of the Coast, Inc.', x:0.0647, y:0.9134, width:0.8707, height:0.0167, font:'mplantin', size:0.0124, align:'center'}, bottomLeft: {text:'NOT FOR SALE', x:0.0647, y:0.9719, width:0.8707, height:0.0143, oneLine:true, font:'mplantin', size:0.0143, color:'white', outlineWidth:0.003}, bottomRight: {text:'CardConjurer.com', x:0.0647, y:0.972, width:0.8707, height:0.0143, oneLine:true, font:'mplantin', size:0.0143, color:'white', align:'right', outlineWidth:0.003} });