diff --git a/img/frames/akh/invocation/extended/a.png b/img/frames/akh/invocation/extended/a.png new file mode 100644 index 00000000..3aed0aea Binary files /dev/null and b/img/frames/akh/invocation/extended/a.png differ diff --git a/img/frames/akh/invocation/extended/aThumb.png b/img/frames/akh/invocation/extended/aThumb.png new file mode 100644 index 00000000..fc0bf06f Binary files /dev/null and b/img/frames/akh/invocation/extended/aThumb.png differ diff --git a/img/frames/akh/invocation/extended/b.png b/img/frames/akh/invocation/extended/b.png new file mode 100644 index 00000000..166748d8 Binary files /dev/null and b/img/frames/akh/invocation/extended/b.png differ diff --git a/img/frames/akh/invocation/extended/bThumb.png b/img/frames/akh/invocation/extended/bThumb.png new file mode 100644 index 00000000..6b03c626 Binary files /dev/null and b/img/frames/akh/invocation/extended/bThumb.png differ diff --git a/img/frames/akh/invocation/extended/g.png b/img/frames/akh/invocation/extended/g.png new file mode 100644 index 00000000..d85ed2df Binary files /dev/null and b/img/frames/akh/invocation/extended/g.png differ diff --git a/img/frames/akh/invocation/extended/gThumb.png b/img/frames/akh/invocation/extended/gThumb.png new file mode 100644 index 00000000..e908f994 Binary files /dev/null and b/img/frames/akh/invocation/extended/gThumb.png differ diff --git a/img/frames/akh/invocation/extended/m.png b/img/frames/akh/invocation/extended/m.png new file mode 100644 index 00000000..06bdfefc Binary files /dev/null and b/img/frames/akh/invocation/extended/m.png differ diff --git a/img/frames/akh/invocation/extended/mThumb.png b/img/frames/akh/invocation/extended/mThumb.png new file mode 100644 index 00000000..2700bba9 Binary files /dev/null and b/img/frames/akh/invocation/extended/mThumb.png differ diff --git a/img/frames/akh/invocation/extended/mana/1.png b/img/frames/akh/invocation/extended/mana/1.png new file mode 100644 index 00000000..559b8a06 Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/1.png differ diff --git a/img/frames/akh/invocation/extended/mana/10.png b/img/frames/akh/invocation/extended/mana/10.png new file mode 100644 index 00000000..e32b5276 Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/10.png differ diff --git a/img/frames/akh/invocation/extended/mana/10Thumb.png b/img/frames/akh/invocation/extended/mana/10Thumb.png new file mode 100644 index 00000000..f5b9122a Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/10Thumb.png differ diff --git a/img/frames/akh/invocation/extended/mana/1Thumb.png b/img/frames/akh/invocation/extended/mana/1Thumb.png new file mode 100644 index 00000000..c9e43b81 Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/1Thumb.png differ diff --git a/img/frames/akh/invocation/extended/mana/2.png b/img/frames/akh/invocation/extended/mana/2.png new file mode 100644 index 00000000..97022b5b Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/2.png differ diff --git a/img/frames/akh/invocation/extended/mana/2Thumb.png b/img/frames/akh/invocation/extended/mana/2Thumb.png new file mode 100644 index 00000000..b004beba Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/2Thumb.png differ diff --git a/img/frames/akh/invocation/extended/mana/3.png b/img/frames/akh/invocation/extended/mana/3.png new file mode 100644 index 00000000..5ca56037 Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/3.png differ diff --git a/img/frames/akh/invocation/extended/mana/3Thumb.png b/img/frames/akh/invocation/extended/mana/3Thumb.png new file mode 100644 index 00000000..c52e49f0 Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/3Thumb.png differ diff --git a/img/frames/akh/invocation/extended/mana/4.png b/img/frames/akh/invocation/extended/mana/4.png new file mode 100644 index 00000000..c51ca76b Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/4.png differ diff --git a/img/frames/akh/invocation/extended/mana/4Thumb.png b/img/frames/akh/invocation/extended/mana/4Thumb.png new file mode 100644 index 00000000..dda68c69 Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/4Thumb.png differ diff --git a/img/frames/akh/invocation/extended/mana/5.png b/img/frames/akh/invocation/extended/mana/5.png new file mode 100644 index 00000000..eef6342e Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/5.png differ diff --git a/img/frames/akh/invocation/extended/mana/5Thumb.png b/img/frames/akh/invocation/extended/mana/5Thumb.png new file mode 100644 index 00000000..313366f9 Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/5Thumb.png differ diff --git a/img/frames/akh/invocation/extended/mana/6.png b/img/frames/akh/invocation/extended/mana/6.png new file mode 100644 index 00000000..8d6248fe Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/6.png differ diff --git a/img/frames/akh/invocation/extended/mana/6Thumb.png b/img/frames/akh/invocation/extended/mana/6Thumb.png new file mode 100644 index 00000000..8f41e7a7 Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/6Thumb.png differ diff --git a/img/frames/akh/invocation/extended/mana/7.png b/img/frames/akh/invocation/extended/mana/7.png new file mode 100644 index 00000000..0927cb1b Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/7.png differ diff --git a/img/frames/akh/invocation/extended/mana/7Thumb.png b/img/frames/akh/invocation/extended/mana/7Thumb.png new file mode 100644 index 00000000..422b6b9a Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/7Thumb.png differ diff --git a/img/frames/akh/invocation/extended/mana/8.png b/img/frames/akh/invocation/extended/mana/8.png new file mode 100644 index 00000000..b5cce2b9 Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/8.png differ diff --git a/img/frames/akh/invocation/extended/mana/8Thumb.png b/img/frames/akh/invocation/extended/mana/8Thumb.png new file mode 100644 index 00000000..2a569534 Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/8Thumb.png differ diff --git a/img/frames/akh/invocation/extended/mana/9.png b/img/frames/akh/invocation/extended/mana/9.png new file mode 100644 index 00000000..044f799d Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/9.png differ diff --git a/img/frames/akh/invocation/extended/mana/9Thumb.png b/img/frames/akh/invocation/extended/mana/9Thumb.png new file mode 100644 index 00000000..f81ea03a Binary files /dev/null and b/img/frames/akh/invocation/extended/mana/9Thumb.png differ diff --git a/img/frames/akh/invocation/extended/margins/a.png b/img/frames/akh/invocation/extended/margins/a.png new file mode 100644 index 00000000..0e895dbc Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/a.png differ diff --git a/img/frames/akh/invocation/extended/margins/aThumb.png b/img/frames/akh/invocation/extended/margins/aThumb.png new file mode 100644 index 00000000..fd75516d Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/aThumb.png differ diff --git a/img/frames/akh/invocation/extended/margins/b.png b/img/frames/akh/invocation/extended/margins/b.png new file mode 100644 index 00000000..aae69d4d Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/b.png differ diff --git a/img/frames/akh/invocation/extended/margins/bThumb.png b/img/frames/akh/invocation/extended/margins/bThumb.png new file mode 100644 index 00000000..31463e9e Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/bThumb.png differ diff --git a/img/frames/akh/invocation/extended/margins/g.png b/img/frames/akh/invocation/extended/margins/g.png new file mode 100644 index 00000000..80f13f4f Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/g.png differ diff --git a/img/frames/akh/invocation/extended/margins/gThumb.png b/img/frames/akh/invocation/extended/margins/gThumb.png new file mode 100644 index 00000000..e198986c Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/gThumb.png differ diff --git a/img/frames/akh/invocation/extended/margins/m.png b/img/frames/akh/invocation/extended/margins/m.png new file mode 100644 index 00000000..b99472d4 Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/m.png differ diff --git a/img/frames/akh/invocation/extended/margins/mThumb.png b/img/frames/akh/invocation/extended/margins/mThumb.png new file mode 100644 index 00000000..275e26c1 Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/mThumb.png differ diff --git a/img/frames/akh/invocation/extended/margins/r.png b/img/frames/akh/invocation/extended/margins/r.png new file mode 100644 index 00000000..6340704a Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/r.png differ diff --git a/img/frames/akh/invocation/extended/margins/rThumb.png b/img/frames/akh/invocation/extended/margins/rThumb.png new file mode 100644 index 00000000..805065b4 Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/rThumb.png differ diff --git a/img/frames/akh/invocation/extended/margins/u.png b/img/frames/akh/invocation/extended/margins/u.png new file mode 100644 index 00000000..f42ad402 Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/u.png differ diff --git a/img/frames/akh/invocation/extended/margins/uThumb.png b/img/frames/akh/invocation/extended/margins/uThumb.png new file mode 100644 index 00000000..36500ff1 Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/uThumb.png differ diff --git a/img/frames/akh/invocation/extended/margins/w.png b/img/frames/akh/invocation/extended/margins/w.png new file mode 100644 index 00000000..ea84fd86 Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/w.png differ diff --git a/img/frames/akh/invocation/extended/margins/wThumb.png b/img/frames/akh/invocation/extended/margins/wThumb.png new file mode 100644 index 00000000..73087fcb Binary files /dev/null and b/img/frames/akh/invocation/extended/margins/wThumb.png differ diff --git a/img/frames/akh/invocation/extended/oreo.png b/img/frames/akh/invocation/extended/oreo.png new file mode 100644 index 00000000..381d7992 Binary files /dev/null and b/img/frames/akh/invocation/extended/oreo.png differ diff --git a/img/frames/akh/invocation/extended/oreoThumb.png b/img/frames/akh/invocation/extended/oreoThumb.png new file mode 100644 index 00000000..0f08fbe9 Binary files /dev/null and b/img/frames/akh/invocation/extended/oreoThumb.png differ diff --git a/img/frames/akh/invocation/extended/pt.png b/img/frames/akh/invocation/extended/pt.png new file mode 100644 index 00000000..5005b091 Binary files /dev/null and b/img/frames/akh/invocation/extended/pt.png differ diff --git a/img/frames/akh/invocation/extended/ptThumb.png b/img/frames/akh/invocation/extended/ptThumb.png new file mode 100644 index 00000000..f900221e Binary files /dev/null and b/img/frames/akh/invocation/extended/ptThumb.png differ diff --git a/img/frames/akh/invocation/extended/r.png b/img/frames/akh/invocation/extended/r.png new file mode 100644 index 00000000..c71ac645 Binary files /dev/null and b/img/frames/akh/invocation/extended/r.png differ diff --git a/img/frames/akh/invocation/extended/rThumb.png b/img/frames/akh/invocation/extended/rThumb.png new file mode 100644 index 00000000..7f21441c Binary files /dev/null and b/img/frames/akh/invocation/extended/rThumb.png differ diff --git a/img/frames/akh/invocation/extended/set.png b/img/frames/akh/invocation/extended/set.png new file mode 100644 index 00000000..bdb3d4bb Binary files /dev/null and b/img/frames/akh/invocation/extended/set.png differ diff --git a/img/frames/akh/invocation/extended/setThumb.png b/img/frames/akh/invocation/extended/setThumb.png new file mode 100644 index 00000000..03a0b8af Binary files /dev/null and b/img/frames/akh/invocation/extended/setThumb.png differ diff --git a/img/frames/akh/invocation/extended/u.png b/img/frames/akh/invocation/extended/u.png new file mode 100644 index 00000000..a8b00821 Binary files /dev/null and b/img/frames/akh/invocation/extended/u.png differ diff --git a/img/frames/akh/invocation/extended/uThumb.png b/img/frames/akh/invocation/extended/uThumb.png new file mode 100644 index 00000000..d20a3768 Binary files /dev/null and b/img/frames/akh/invocation/extended/uThumb.png differ diff --git a/img/frames/akh/invocation/extended/w.png b/img/frames/akh/invocation/extended/w.png new file mode 100644 index 00000000..223598ef Binary files /dev/null and b/img/frames/akh/invocation/extended/w.png differ diff --git a/img/frames/akh/invocation/extended/wThumb.png b/img/frames/akh/invocation/extended/wThumb.png new file mode 100644 index 00000000..9173f27b Binary files /dev/null and b/img/frames/akh/invocation/extended/wThumb.png differ diff --git a/js/frameSearch.js b/js/frameSearch.js index 6b6d8e78..bbb05f5b 100644 --- a/js/frameSearch.js +++ b/js/frameSearch.js @@ -147,6 +147,7 @@ const frameNames = new Map ([ ['Unhinged Basics (UNH)', 'Unhinged'], ['Generic Showcase', 'TextlessGenericShowcase'], ['Magic Fest Promos', 'MagicFest'], + ['Extended Art Invocations', 'AKHInvocationExtended'], ['Textless Inventions', 'TextlessInvention'], ['Textless Seventh', 'SeventhTextless'], //custom diff --git a/js/frames/groupCustom.js b/js/frames/groupCustom.js index d090cec5..a3e7a34a 100644 --- a/js/frames/groupCustom.js +++ b/js/frames/groupCustom.js @@ -22,6 +22,7 @@ loadFramePacks([ {name:'Textless Golden Age (SNC)', value:'SNCGildedTextless'}, {name:'Textless Equinox (MID)', value:'EquinoxTextless'}, {name:'Horizontal Japanese Mystical Archive (STA)', value:'MysticalArchiveJPHorizontal'}, + {name:'Extended Art Invocations', value:'AKHInvocationExtended'}, {name:'Textless Inventions', value:'TextlessInvention'}, {name:'Custom Addons', value:'disabled'}, {name:'Brawl Legend Crowns', value:'Brawl'}, diff --git a/js/frames/packAKHInvocationExtended.js b/js/frames/packAKHInvocationExtended.js new file mode 100644 index 00000000..62bbc022 --- /dev/null +++ b/js/frames/packAKHInvocationExtended.js @@ -0,0 +1,60 @@ +//Create objects for common properties across available frames +var bounds = {x:0.0527, y:0.0496, width:0.8947, height:0.0515}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/akh/invocation/extended/w.png'}, + {name:'Blue Frame', src:'/img/frames/akh/invocation/extended/u.png'}, + {name:'Black Frame', src:'/img/frames/akh/invocation/extended/b.png'}, + {name:'Red Frame', src:'/img/frames/akh/invocation/extended/r.png'}, + {name:'Green Frame', src:'/img/frames/akh/invocation/extended/g.png'}, + {name:'Multicolored Frame', src:'/img/frames/akh/invocation/extended/m.png'}, + {name:'Artifact Frame', src:'/img/frames/akh/invocation/extended/a.png'}, + {name:'Power/Toughness', src:'/img/frames/akh/invocation/extended/pt.png', bounds:{x:0.8587, y:0.8186, width:0.062, height:0.1258}}, + {name:'Mana Bracket (1)', src:'/img/frames/akh/invocation/extended/mana/1.png', bounds:bounds}, + {name:'Mana Bracket (2)', src:'/img/frames/akh/invocation/extended/mana/2.png', bounds:bounds}, + {name:'Mana Bracket (3)', src:'/img/frames/akh/invocation/extended/mana/3.png', bounds:bounds}, + {name:'Mana Bracket (4)', src:'/img/frames/akh/invocation/extended/mana/4.png', bounds:bounds}, + {name:'Mana Bracket (5)', src:'/img/frames/akh/invocation/extended/mana/5.png', bounds:bounds}, + {name:'Mana Bracket (6)', src:'/img/frames/akh/invocation/extended/mana/6.png', bounds:bounds}, + {name:'Mana Bracket (7)', src:'/img/frames/akh/invocation/extended/mana/7.png', bounds:bounds}, + {name:'Mana Bracket (8)', src:'/img/frames/akh/invocation/extended/mana/8.png', bounds:bounds}, + {name:'Mana Bracket (9)', src:'/img/frames/akh/invocation/extended/mana/9.png', bounds:bounds}, + {name:'Mana Bracket (10)', src:'/img/frames/akh/invocation/extended/mana/10.png', bounds:bounds} +]; +//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 = 'invocationExtended'; + loadScript('/js/frames/manaSymbolsOutline.js'); + //art bounds + card.artBounds = {x:0, y:0.1067, width:1, height:0.4386}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.8954, y:0.5910, width:0.06, height:0.0353, vertical:'center', horizontal: 'center'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305}; + resetWatermark(); + //text + loadTextOptions({ //old color: 24150E + mana: {name:'Mana Cost', text:'', y:0.0613, width:0.93, height:78/2100, oneLine:true, size:78/1638, align:'right', shadowX:-0.0015, shadowY:0.001, manaCost:true, manaSpacing:-0.002, manaPrefix:'outline', manaSymbolColor:'white', color:"black"}, + title: {name:'Title', text:'', x:0.0834, y:0.05, width:0.8334, height:0.0515, oneLine:true, font:'invocation', size:0.0515, shadowX:-0.0015, shadowY:0.001, color:'white'}, + type: {name:'Type', text:'', x:0.0767, y:0.5672, width:0.7334, height:0.0496, oneLine:true, font:'invocation', size:0.0496, align:'center', shadowX:-0.0015, shadowY:0.001, color:'white'}, + rules: {name:'Rules Text', text:'', x:0.1, y:0.6334, width:0.8, height:0.2429, size:0.0334, font:'invocation-text', justify:'center', manaPrefix:'outline', shadowX:-0.0015, shadowY:0.001, color:'white', manaPrefix:'outline', manaSymbolColor:'white'}, + pt: {name:'Power/Toughness', text:'', x:0.8707, y:0.8315, width:0.0387, height:0.0929, size:0.0372, font:'belerenbsc', align:'center', shadowX:-0.0015, shadowY:0.001, color:'white'} + }); + //bottom info + await loadBottomInfo({ + 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 {elemidinfo-year} 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'} + }); +} +//loads available frames +loadFramePack();