diff --git a/img/frames/m15/custom/purple.png b/img/frames/m15/custom/purple.png new file mode 100644 index 00000000..9c7c9a14 Binary files /dev/null and b/img/frames/m15/custom/purple.png differ diff --git a/img/frames/m15/custom/purpleThumb.png b/img/frames/m15/custom/purpleThumb.png new file mode 100644 index 00000000..2287d4c7 Binary files /dev/null and b/img/frames/m15/custom/purpleThumb.png differ diff --git a/js/frames/groupCustom.js b/js/frames/groupCustom.js index ad62cb71..ade1ab85 100644 --- a/js/frames/groupCustom.js +++ b/js/frames/groupCustom.js @@ -1,4 +1,5 @@ loadFramePacks([ + {name:'Misc. Custom Frames', value:'MiscCustom'}, {name:'Cartoony - Sheepwave', value:'Cartoony'}, {name:'Classic-Shifted', value:'Classicshifted'}, {name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'}, diff --git a/js/frames/packMiscCustom.js b/js/frames/packMiscCustom.js new file mode 100644 index 00000000..09b85c8a --- /dev/null +++ b/js/frames/packMiscCustom.js @@ -0,0 +1,13 @@ +//Create objects for common properties across available frames +var masks = [{src:'/img/frames/m15/regular/m15MaskPinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/m15/regular/m15MaskType.png', name:'Type'}, {src:'/img/frames/m15/regular/m15MaskRules.png', name:'Rules'}, {src:'/img/frames/m15/regular/m15MaskFrame.png', name:'Frame'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}]; +// var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733}; +//defines available frames +availableFrames = [ + {name:'Purple Frame', src:'/img/frames/m15/custom/purple.png', masks:masks}, + {name:'Midnight Frame', src:'/img/frames/m15/custom/m15Midnight.png', masks:masks}, + {name:'PT Inner Fill', src:'/img/frames/m15/custom/m15CustomPTInnerFill.png', bounds:{x:0.79, y:0.8977, width:0.1414, height:0.04}} +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = true; +//loads available frames +loadFramePack(); \ No newline at end of file