diff --git a/img/frames/custom/tapped/a.png b/img/frames/custom/tapped/a.png new file mode 100644 index 00000000..920a949f Binary files /dev/null and b/img/frames/custom/tapped/a.png differ diff --git a/img/frames/custom/tapped/aThumb.png b/img/frames/custom/tapped/aThumb.png new file mode 100644 index 00000000..9b4d4ba0 Binary files /dev/null and b/img/frames/custom/tapped/aThumb.png differ diff --git a/img/frames/custom/tapped/b.png b/img/frames/custom/tapped/b.png new file mode 100644 index 00000000..f7ea2878 Binary files /dev/null and b/img/frames/custom/tapped/b.png differ diff --git a/img/frames/custom/tapped/bThumb.png b/img/frames/custom/tapped/bThumb.png new file mode 100644 index 00000000..eb6dd144 Binary files /dev/null and b/img/frames/custom/tapped/bThumb.png differ diff --git a/img/frames/custom/tapped/border.svg b/img/frames/custom/tapped/border.svg new file mode 100644 index 00000000..e86c8e85 --- /dev/null +++ b/img/frames/custom/tapped/border.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/img/frames/custom/tapped/borderThumb.png b/img/frames/custom/tapped/borderThumb.png new file mode 100644 index 00000000..3c23f4b0 Binary files /dev/null and b/img/frames/custom/tapped/borderThumb.png differ diff --git a/img/frames/custom/tapped/g.png b/img/frames/custom/tapped/g.png new file mode 100644 index 00000000..70811605 Binary files /dev/null and b/img/frames/custom/tapped/g.png differ diff --git a/img/frames/custom/tapped/gThumb.png b/img/frames/custom/tapped/gThumb.png new file mode 100644 index 00000000..47358d80 Binary files /dev/null and b/img/frames/custom/tapped/gThumb.png differ diff --git a/img/frames/custom/tapped/l.png b/img/frames/custom/tapped/l.png new file mode 100644 index 00000000..e9d515ad Binary files /dev/null and b/img/frames/custom/tapped/l.png differ diff --git a/img/frames/custom/tapped/lThumb.png b/img/frames/custom/tapped/lThumb.png new file mode 100644 index 00000000..deec42fb Binary files /dev/null and b/img/frames/custom/tapped/lThumb.png differ diff --git a/img/frames/custom/tapped/m.png b/img/frames/custom/tapped/m.png new file mode 100644 index 00000000..d879cfb2 Binary files /dev/null and b/img/frames/custom/tapped/m.png differ diff --git a/img/frames/custom/tapped/mThumb.png b/img/frames/custom/tapped/mThumb.png new file mode 100644 index 00000000..2ada597a Binary files /dev/null and b/img/frames/custom/tapped/mThumb.png differ diff --git a/img/frames/custom/tapped/pinline.svg b/img/frames/custom/tapped/pinline.svg new file mode 100644 index 00000000..9623d68d --- /dev/null +++ b/img/frames/custom/tapped/pinline.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/img/frames/custom/tapped/pinlineThumb.png b/img/frames/custom/tapped/pinlineThumb.png new file mode 100644 index 00000000..4fd3e257 Binary files /dev/null and b/img/frames/custom/tapped/pinlineThumb.png differ diff --git a/img/frames/custom/tapped/r.png b/img/frames/custom/tapped/r.png new file mode 100644 index 00000000..304a4035 Binary files /dev/null and b/img/frames/custom/tapped/r.png differ diff --git a/img/frames/custom/tapped/rThumb.png b/img/frames/custom/tapped/rThumb.png new file mode 100644 index 00000000..72407f7d Binary files /dev/null and b/img/frames/custom/tapped/rThumb.png differ diff --git a/img/frames/custom/tapped/rightHalf.png b/img/frames/custom/tapped/rightHalf.png new file mode 100644 index 00000000..e229528c Binary files /dev/null and b/img/frames/custom/tapped/rightHalf.png differ diff --git a/img/frames/custom/tapped/rightHalfThumb.png b/img/frames/custom/tapped/rightHalfThumb.png new file mode 100644 index 00000000..12d2fe9a Binary files /dev/null and b/img/frames/custom/tapped/rightHalfThumb.png differ diff --git a/img/frames/custom/tapped/text.svg b/img/frames/custom/tapped/text.svg new file mode 100644 index 00000000..a058febf --- /dev/null +++ b/img/frames/custom/tapped/text.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/img/frames/custom/tapped/textThumb.png b/img/frames/custom/tapped/textThumb.png new file mode 100644 index 00000000..f2eaf2e1 Binary files /dev/null and b/img/frames/custom/tapped/textThumb.png differ diff --git a/img/frames/custom/tapped/title.svg b/img/frames/custom/tapped/title.svg new file mode 100644 index 00000000..6f6efe8a --- /dev/null +++ b/img/frames/custom/tapped/title.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/img/frames/custom/tapped/titleThumb.png b/img/frames/custom/tapped/titleThumb.png new file mode 100644 index 00000000..520e21ad Binary files /dev/null and b/img/frames/custom/tapped/titleThumb.png differ diff --git a/img/frames/custom/tapped/type.svg b/img/frames/custom/tapped/type.svg new file mode 100644 index 00000000..c3264bed --- /dev/null +++ b/img/frames/custom/tapped/type.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/img/frames/custom/tapped/typeThumb.png b/img/frames/custom/tapped/typeThumb.png new file mode 100644 index 00000000..a4cc7c14 Binary files /dev/null and b/img/frames/custom/tapped/typeThumb.png differ diff --git a/img/frames/custom/tapped/u.png b/img/frames/custom/tapped/u.png new file mode 100644 index 00000000..eaba382d Binary files /dev/null and b/img/frames/custom/tapped/u.png differ diff --git a/img/frames/custom/tapped/uThumb.png b/img/frames/custom/tapped/uThumb.png new file mode 100644 index 00000000..d427dba9 Binary files /dev/null and b/img/frames/custom/tapped/uThumb.png differ diff --git a/img/frames/custom/tapped/w.png b/img/frames/custom/tapped/w.png new file mode 100644 index 00000000..ad8b0423 Binary files /dev/null and b/img/frames/custom/tapped/w.png differ diff --git a/img/frames/custom/tapped/wThumb.png b/img/frames/custom/tapped/wThumb.png new file mode 100644 index 00000000..d0cf9e7c Binary files /dev/null and b/img/frames/custom/tapped/wThumb.png differ diff --git a/img/frames/m15/genericShowcase/m15GenericShowcaseFrameM.png b/img/frames/m15/genericShowcase/m15GenericShowcaseFrameM.png index 392cd1d3..cf4e868d 100644 Binary files a/img/frames/m15/genericShowcase/m15GenericShowcaseFrameM.png and b/img/frames/m15/genericShowcase/m15GenericShowcaseFrameM.png differ diff --git a/img/frames/m15/genericShowcase/m15GenericShowcaseFrameMThumb.png b/img/frames/m15/genericShowcase/m15GenericShowcaseFrameMThumb.png index d3c1a899..c9d06523 100644 Binary files a/img/frames/m15/genericShowcase/m15GenericShowcaseFrameMThumb.png and b/img/frames/m15/genericShowcase/m15GenericShowcaseFrameMThumb.png differ diff --git a/img/frames/old/abu/a.png b/img/frames/old/abu/a.png new file mode 100644 index 00000000..e7cd7a66 Binary files /dev/null and b/img/frames/old/abu/a.png differ diff --git a/img/frames/old/abu/aThumb.png b/img/frames/old/abu/aThumb.png new file mode 100644 index 00000000..f231f57a Binary files /dev/null and b/img/frames/old/abu/aThumb.png differ diff --git a/img/frames/old/abu/b.png b/img/frames/old/abu/b.png new file mode 100644 index 00000000..fc30fedf Binary files /dev/null and b/img/frames/old/abu/b.png differ diff --git a/img/frames/old/abu/bThumb.png b/img/frames/old/abu/bThumb.png new file mode 100644 index 00000000..8964418b Binary files /dev/null and b/img/frames/old/abu/bThumb.png differ diff --git a/img/frames/old/abu/bl.png b/img/frames/old/abu/bl.png new file mode 100644 index 00000000..d56f19f3 Binary files /dev/null and b/img/frames/old/abu/bl.png differ diff --git a/img/frames/old/abu/blThumb.png b/img/frames/old/abu/blThumb.png new file mode 100644 index 00000000..74600c12 Binary files /dev/null and b/img/frames/old/abu/blThumb.png differ diff --git a/img/frames/old/abu/dualLand.png b/img/frames/old/abu/dualLand.png new file mode 100644 index 00000000..d5d54851 Binary files /dev/null and b/img/frames/old/abu/dualLand.png differ diff --git a/img/frames/old/abu/dualLandThumb.png b/img/frames/old/abu/dualLandThumb.png new file mode 100644 index 00000000..a54a69a5 Binary files /dev/null and b/img/frames/old/abu/dualLandThumb.png differ diff --git a/img/frames/old/abu/g.png b/img/frames/old/abu/g.png new file mode 100644 index 00000000..26c9b74c Binary files /dev/null and b/img/frames/old/abu/g.png differ diff --git a/img/frames/old/abu/gThumb.png b/img/frames/old/abu/gThumb.png new file mode 100644 index 00000000..8df86b85 Binary files /dev/null and b/img/frames/old/abu/gThumb.png differ diff --git a/img/frames/old/abu/gl.png b/img/frames/old/abu/gl.png new file mode 100644 index 00000000..20b41000 Binary files /dev/null and b/img/frames/old/abu/gl.png differ diff --git a/img/frames/old/abu/glThumb.png b/img/frames/old/abu/glThumb.png new file mode 100644 index 00000000..df96b1fc Binary files /dev/null and b/img/frames/old/abu/glThumb.png differ diff --git a/img/frames/old/abu/l.png b/img/frames/old/abu/l.png new file mode 100644 index 00000000..d455926a Binary files /dev/null and b/img/frames/old/abu/l.png differ diff --git a/img/frames/old/abu/lThumb.png b/img/frames/old/abu/lThumb.png new file mode 100644 index 00000000..19be7e25 Binary files /dev/null and b/img/frames/old/abu/lThumb.png differ diff --git a/img/frames/old/abu/r.png b/img/frames/old/abu/r.png new file mode 100644 index 00000000..189d4532 Binary files /dev/null and b/img/frames/old/abu/r.png differ diff --git a/img/frames/old/abu/rThumb.png b/img/frames/old/abu/rThumb.png new file mode 100644 index 00000000..3916c414 Binary files /dev/null and b/img/frames/old/abu/rThumb.png differ diff --git a/img/frames/old/abu/rl.png b/img/frames/old/abu/rl.png new file mode 100644 index 00000000..d10e7d10 Binary files /dev/null and b/img/frames/old/abu/rl.png differ diff --git a/img/frames/old/abu/rlThumb.png b/img/frames/old/abu/rlThumb.png new file mode 100644 index 00000000..390a69fd Binary files /dev/null and b/img/frames/old/abu/rlThumb.png differ diff --git a/img/frames/old/abu/u.png b/img/frames/old/abu/u.png new file mode 100644 index 00000000..237f0491 Binary files /dev/null and b/img/frames/old/abu/u.png differ diff --git a/img/frames/old/abu/uThumb.png b/img/frames/old/abu/uThumb.png new file mode 100644 index 00000000..cbd1991b Binary files /dev/null and b/img/frames/old/abu/uThumb.png differ diff --git a/img/frames/old/abu/ul.png b/img/frames/old/abu/ul.png new file mode 100644 index 00000000..d82418d7 Binary files /dev/null and b/img/frames/old/abu/ul.png differ diff --git a/img/frames/old/abu/ulThumb.png b/img/frames/old/abu/ulThumb.png new file mode 100644 index 00000000..9aa6cf86 Binary files /dev/null and b/img/frames/old/abu/ulThumb.png differ diff --git a/img/frames/old/abu/w.png b/img/frames/old/abu/w.png new file mode 100644 index 00000000..a8782b62 Binary files /dev/null and b/img/frames/old/abu/w.png differ diff --git a/img/frames/old/abu/wThumb.png b/img/frames/old/abu/wThumb.png new file mode 100644 index 00000000..29fec8a4 Binary files /dev/null and b/img/frames/old/abu/wThumb.png differ diff --git a/img/frames/old/abu/wl.png b/img/frames/old/abu/wl.png new file mode 100644 index 00000000..c610ebef Binary files /dev/null and b/img/frames/old/abu/wl.png differ diff --git a/img/frames/old/abu/wlThumb.png b/img/frames/old/abu/wlThumb.png new file mode 100644 index 00000000..1aa56ec8 Binary files /dev/null and b/img/frames/old/abu/wlThumb.png differ diff --git a/img/frames/promo/genericShowcase/m.png b/img/frames/promo/genericShowcase/m.png index 78b9714a..98395a69 100644 Binary files a/img/frames/promo/genericShowcase/m.png and b/img/frames/promo/genericShowcase/m.png differ diff --git a/img/frames/promo/genericShowcase/mThumb.png b/img/frames/promo/genericShowcase/mThumb.png index 7001a122..db85a467 100644 Binary files a/img/frames/promo/genericShowcase/mThumb.png and b/img/frames/promo/genericShowcase/mThumb.png differ diff --git a/img/frames/textless/genericShowcase/m15TextlessGenericShowcaseFrameM.png b/img/frames/textless/genericShowcase/m15TextlessGenericShowcaseFrameM.png index 100f220b..cd1cff2b 100644 Binary files a/img/frames/textless/genericShowcase/m15TextlessGenericShowcaseFrameM.png and b/img/frames/textless/genericShowcase/m15TextlessGenericShowcaseFrameM.png differ diff --git a/img/frames/textless/genericShowcase/m15TextlessGenericShowcaseFrameMThumb.png b/img/frames/textless/genericShowcase/m15TextlessGenericShowcaseFrameMThumb.png index 0d4ae8cf..f2b331e7 100644 Binary files a/img/frames/textless/genericShowcase/m15TextlessGenericShowcaseFrameMThumb.png and b/img/frames/textless/genericShowcase/m15TextlessGenericShowcaseFrameMThumb.png differ diff --git a/js/creator-17.js b/js/creator-17.js index fc0f8c19..1d1f355b 100644 --- a/js/creator-17.js +++ b/js/creator-17.js @@ -43,6 +43,7 @@ var availableFrames = []; var selectedFrameIndex = 0; var selectedMaskIndex = 0; var selectedTextIndex = 0; +var replacementMasks = {}; //for imports var scryfallArt; var scryfallCard; @@ -57,6 +58,7 @@ var loadedVersions = []; async function resetCardIrregularities({canvas = [1500, 2100, 0, 0], resetOthers = true} = {}) { //misc details card.margins = false; + replacementMasks = {}; //rotation if (card.landscape) { // previewContext.scale(card.width/card.height, card.height/card.width); @@ -383,7 +385,12 @@ async function addFrame(additionalMasks = [], loadingFrame = false) { frameToAdd.masks = []; maskThumbnail = false; } - additionalMasks.forEach(item => frameToAdd.masks.push(item)); + additionalMasks.forEach(item => { + if (item.name in replacementMasks) { + item.src = replacementMasks[item.name]; + } + frameToAdd.masks.push(item); + }); // Likewise, we now add any complementary frames if ('complementary' in frameToAdd && frameToAdd.masks.length == 0) { if (typeof frameToAdd.complementary == 'number') { diff --git a/js/frames/groupCustom.js b/js/frames/groupCustom.js index 0ed9798e..b70ee33f 100644 --- a/js/frames/groupCustom.js +++ b/js/frames/groupCustom.js @@ -2,6 +2,7 @@ loadFramePacks([ {name:'Cartoony - Sheepwave', value:'Cartoony'}, {name:'Classic-Shifted', value:'Classicshifted'}, {name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'}, + {name:'Tapped (Horizontal M15)', value:'Tapped'}, {name:'Custom Addons', value:'disabled'}, {name:'Brawl Legend Crowns', value:'Brawl'} ]) \ No newline at end of file diff --git a/js/frames/groupMisc-1.js b/js/frames/groupMisc-1.js index 273aa1c3..fe42dfcf 100644 --- a/js/frames/groupMisc-1.js +++ b/js/frames/groupMisc-1.js @@ -3,6 +3,7 @@ loadFramePacks([ {name:'Seventh Edition', value:'Seventh'}, {name:'Fifth Edition', value:'SeventhButFifth'}, {name:'Legends Multicolored', value:'Legends'}, + {name:'Alpha/Beta/Unlimited', value:'ABU'}, {name:'Misc', value:'disabled'}, {name:'Planechase', value:'Planechase'}, {name:'Vanguard', value:'Vanguard'} diff --git a/js/frames/manaSymbolsOld.js b/js/frames/manaSymbolsOld.js new file mode 100644 index 00000000..19172ff6 --- /dev/null +++ b/js/frames/manaSymbolsOld.js @@ -0,0 +1,9 @@ +//checks to see if it needs to run +if (!card.manaSymbols.includes('/js/frames/manaSymbolsOld.js')) { + card.manaSymbols.push('/js/frames/manaSymbolsOld.js'); +} +if (findManaSymbolIndex('old') == -1) { + loadManaSymbols([ + 'old/oldw', 'old/oldu', 'old/oldb', 'old/oldr', 'old/oldg', + ]); +} \ No newline at end of file diff --git a/js/frames/packABU.js b/js/frames/packABU.js new file mode 100644 index 00000000..da132133 --- /dev/null +++ b/js/frames/packABU.js @@ -0,0 +1,51 @@ +//Create objects for common properties across available frames +var masks = [{src:'/img/frames/old/abu/dualLand.png', name:'Dual Land'}]; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/old/abu/w.png'}, + {name:'Blue Frame', src:'/img/frames/old/abu/u.png'}, + {name:'Black Frame', src:'/img/frames/old/abu/b.png'}, + {name:'Red Frame', src:'/img/frames/old/abu/r.png'}, + {name:'Green Frame', src:'/img/frames/old/abu/g.png'}, + {name:'Artifact Frame', src:'/img/frames/old/abu/a.png'}, + {name:'Land Frame', src:'/img/frames/old/abu/l.png', masks:masks}, + {name:'White Land Frame', src:'/img/frames/old/abu/wl.png', masks:masks}, + {name:'Blue Land Frame', src:'/img/frames/old/abu/ul.png', masks:masks}, + {name:'Black Land Frame', src:'/img/frames/old/abu/bl.png', masks:masks}, + {name:'Red Land Frame', src:'/img/frames/old/abu/rl.png', masks:masks}, + {name:'Green Land Frame', src:'/img/frames/old/abu/gl.png', masks:masks} +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = false; +//defines process for loading this version, if applicable +document.querySelector('#loadFrameVersion').onclick = async function() { + //resets things so that every frame doesn't have to + await resetCardIrregularities(); + //sets card version + card.version = 'abu'; + loadScript('/js/frames/manaSymbolsOld.js'); + //art bounds + card.artBounds = {x:0.116, y:0.1043, width:0.7654, height:0.441}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.8914, y:0.5758, width:0.12, height:0.0353, vertical:'center', horizontal: 'right'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.18, y:0.64, width:0.64, height:0.24}; + resetWatermark(); + //text + loadTextOptions({ + mana: {name:'Mana Cost', text:'', x:0.07, y:0.0572, width:0.8467, height:74/2100, oneLine:true, size:74/1638, align:'right', manaCost:true, manaSpacing:0.0014, manaPrefix:'old'}, + title: {name:'Title', text:'', x:0.07, y:0.05, width:0.8667, height:0.0429, oneLine:true, font:'goudymedieval', size:0.0429, color:'#ababab', shadowX:0.0021, shadowY:0.0015}, + type: {name:'Type', text:'', x:0.1, y:0.5586, width:0.8, height:0.0334, oneLine:true, size:0.0334, color:'#ababab', shadowX:0.0021, shadowY:0.0015}, + rules: {name:'Rules Text', text:'', x:0.15, y:0.6048, width:0.7, height:0.2762, size:0.0477}, + pt: {name:'Power/Toughness', text:'', x:0.8, y:0.8972, width:0.16, height:0.0415, size:0.0415, oneLine:true, align:'center', color:'#ababab', shadowX:0.0021, shadowY:0.0015} + }); + //bottom info + loadBottomInfo({ + artist: {text:'Illus. \u00a9 {elemidinfo-artist}', x:0.1, y:0.9, width:0.7334, height:0.0334, oneLine:true, size:0.0334, align:'left', shadowX:0.0027, shadowY:0.002, color:'#ababab'}, + cc: {text:'NOT FOR SALE CardConjurer.com', x:0.0614, y:9791, width:0.8774, height:0.0124, oneLine:true, size:0.0124, align:'center', shadowX:0.0027, shadowY:0.002, color:'#ababab'} + }); +} +//loads available frames +loadFramePack(); \ No newline at end of file diff --git a/js/frames/packTapped.js b/js/frames/packTapped.js new file mode 100644 index 00000000..97a6ae95 --- /dev/null +++ b/js/frames/packTapped.js @@ -0,0 +1,57 @@ +//Create objects for common properties across available frames +var masks = [{src:'/img/frames/custom/tapped/pinline.svg', name:'Pinline'}, {src:'/img/frames/custom/tapped/title.svg', name:'Title'}, {src:'/img/frames/custom/tapped/type.svg', name:'Type'}, {src:'/img/frames/custom/tapped/text.svg', name:'Textbox'}, {src:'/img/frames/custom/tapped/border.svg', name:'Border'}]; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/custom/tapped/w.png', masks:masks}, + {name:'Blue Frame', src:'/img/frames/custom/tapped/u.png', masks:masks}, + {name:'Black Frame', src:'/img/frames/custom/tapped/b.png', masks:masks}, + {name:'Red Frame', src:'/img/frames/custom/tapped/r.png', masks:masks}, + {name:'Green Frame', src:'/img/frames/custom/tapped/g.png', masks:masks}, + {name:'Multicolored Frame', src:'/img/frames/custom/tapped/m.png', masks:masks}, + {name:'Artifact Frame', src:'/img/frames/custom/tapped/a.png', masks:masks}, + {name:'Land Frame', src:'/img/frames/custom/tapped/l.png', masks:masks} +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = false; +//defines process for loading this version, if applicable +document.querySelector('#loadFrameVersion').onclick = async function() { + //resets things so that every frame doesn't have to + var previousCardHeight = card.height + await resetCardIrregularities({canvas:[2100, 1500, 0, 0]}); + replacementMasks = {'Right Half':'/img/frames/custom/tapped/rightHalf.png'}; + //sets card version + card.version = 'tapped'; + //rotation + card.landscape = true; + previewContext.translate(0, previousCardHeight / 2); + previewContext.rotate(-Math.PI / 2); + previewContext.scale(7/5, 5/7); + //art bounds + card.artBounds = {x:0.0281, y:0.0394, width:0.9439, height:0.8614}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.9439, y:0.8927, width:0.0858, height:0.0467, vertical:'center', horizontal: 'right'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.7253, y:0.5, width:0.381, height:0.5667}; + resetWatermark(); + //text + loadTextOptions({ + title: {name:'Title', text:'', x:0.5153, y:0.0814, width:0.4181, height:0.0607, oneLine:true, font:'belerenb', size:0.0607}, + type: {name:'Type', text:'', x:0.5153, y:0.8707, width:0.4181, height:0.0474, oneLine:true, font:'belerenb', size:0.0474}, + rules: {name:'Rules Text', text:'', x:0.5191, y:0.1634, width:0.4096, height:0.6734, size:0.0507}, + additional: {name:'Extra Textbox', text:`Adjust Life{i}{lns}{up${scaleHeight(0.01)}}{bar}{lns}{right}{fontsize-${scaleHeight(0.0067)}}Revived — 20{lns}Survived — +10`, x:0.1286, width:0.2739, y:0.64, height:0.2534, size:0.0607, color:'white', align:'center'} + }); + //bottom info + await loadBottomInfo({ + 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}, + 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 + drawFrames(); +} +//loads available frames +loadFramePack(); \ No newline at end of file