diff --git a/img/frames/lotr/a.png b/img/frames/lotr/a.png new file mode 100644 index 00000000..f0921d6c Binary files /dev/null and b/img/frames/lotr/a.png differ diff --git a/img/frames/lotr/aThumb.png b/img/frames/lotr/aThumb.png new file mode 100644 index 00000000..a6b51e5a Binary files /dev/null and b/img/frames/lotr/aThumb.png differ diff --git a/img/frames/lotr/b.png b/img/frames/lotr/b.png new file mode 100644 index 00000000..118739f5 Binary files /dev/null and b/img/frames/lotr/b.png differ diff --git a/img/frames/lotr/bThumb.png b/img/frames/lotr/bThumb.png new file mode 100644 index 00000000..5f2ce51a Binary files /dev/null and b/img/frames/lotr/bThumb.png differ diff --git a/img/frames/lotr/border.png b/img/frames/lotr/border.png new file mode 100644 index 00000000..980ed82b Binary files /dev/null and b/img/frames/lotr/border.png differ diff --git a/img/frames/lotr/borderThumb.png b/img/frames/lotr/borderThumb.png new file mode 100644 index 00000000..9b3e5037 Binary files /dev/null and b/img/frames/lotr/borderThumb.png differ diff --git a/img/frames/lotr/crown/a.png b/img/frames/lotr/crown/a.png new file mode 100644 index 00000000..04ee2171 Binary files /dev/null and b/img/frames/lotr/crown/a.png differ diff --git a/img/frames/lotr/crown/aThumb.png b/img/frames/lotr/crown/aThumb.png new file mode 100644 index 00000000..2266cdfa Binary files /dev/null and b/img/frames/lotr/crown/aThumb.png differ diff --git a/img/frames/lotr/crown/b.png b/img/frames/lotr/crown/b.png new file mode 100644 index 00000000..dce1862a Binary files /dev/null and b/img/frames/lotr/crown/b.png differ diff --git a/img/frames/lotr/crown/bThumb.png b/img/frames/lotr/crown/bThumb.png new file mode 100644 index 00000000..70925c7f Binary files /dev/null and b/img/frames/lotr/crown/bThumb.png differ diff --git a/img/frames/lotr/crown/g.png b/img/frames/lotr/crown/g.png new file mode 100644 index 00000000..48895b92 Binary files /dev/null and b/img/frames/lotr/crown/g.png differ diff --git a/img/frames/lotr/crown/gThumb.png b/img/frames/lotr/crown/gThumb.png new file mode 100644 index 00000000..b9641bfe Binary files /dev/null and b/img/frames/lotr/crown/gThumb.png differ diff --git a/img/frames/lotr/crown/l.png b/img/frames/lotr/crown/l.png new file mode 100644 index 00000000..838c957a Binary files /dev/null and b/img/frames/lotr/crown/l.png differ diff --git a/img/frames/lotr/crown/lThumb.png b/img/frames/lotr/crown/lThumb.png new file mode 100644 index 00000000..b0fe8cbc Binary files /dev/null and b/img/frames/lotr/crown/lThumb.png differ diff --git a/img/frames/lotr/crown/m.png b/img/frames/lotr/crown/m.png new file mode 100644 index 00000000..57a3a800 Binary files /dev/null and b/img/frames/lotr/crown/m.png differ diff --git a/img/frames/lotr/crown/mThumb.png b/img/frames/lotr/crown/mThumb.png new file mode 100644 index 00000000..f8c047e2 Binary files /dev/null and b/img/frames/lotr/crown/mThumb.png differ diff --git a/img/frames/lotr/crown/r.png b/img/frames/lotr/crown/r.png new file mode 100644 index 00000000..2966488d Binary files /dev/null and b/img/frames/lotr/crown/r.png differ diff --git a/img/frames/lotr/crown/rThumb.png b/img/frames/lotr/crown/rThumb.png new file mode 100644 index 00000000..88d64187 Binary files /dev/null and b/img/frames/lotr/crown/rThumb.png differ diff --git a/img/frames/lotr/crown/u.png b/img/frames/lotr/crown/u.png new file mode 100644 index 00000000..dc4e3a5a Binary files /dev/null and b/img/frames/lotr/crown/u.png differ diff --git a/img/frames/lotr/crown/uThumb.png b/img/frames/lotr/crown/uThumb.png new file mode 100644 index 00000000..d149199c Binary files /dev/null and b/img/frames/lotr/crown/uThumb.png differ diff --git a/img/frames/lotr/crown/w.png b/img/frames/lotr/crown/w.png new file mode 100644 index 00000000..e18775f2 Binary files /dev/null and b/img/frames/lotr/crown/w.png differ diff --git a/img/frames/lotr/crown/wThumb.png b/img/frames/lotr/crown/wThumb.png new file mode 100644 index 00000000..dd765820 Binary files /dev/null and b/img/frames/lotr/crown/wThumb.png differ diff --git a/img/frames/lotr/g.png b/img/frames/lotr/g.png new file mode 100644 index 00000000..f28ef96f Binary files /dev/null and b/img/frames/lotr/g.png differ diff --git a/img/frames/lotr/gThumb.png b/img/frames/lotr/gThumb.png new file mode 100644 index 00000000..6e10a351 Binary files /dev/null and b/img/frames/lotr/gThumb.png differ diff --git a/img/frames/lotr/l.png b/img/frames/lotr/l.png new file mode 100644 index 00000000..1b3794bb Binary files /dev/null and b/img/frames/lotr/l.png differ diff --git a/img/frames/lotr/lThumb.png b/img/frames/lotr/lThumb.png new file mode 100644 index 00000000..f1d44aae Binary files /dev/null and b/img/frames/lotr/lThumb.png differ diff --git a/img/frames/lotr/m.png b/img/frames/lotr/m.png new file mode 100644 index 00000000..3a5c18fd Binary files /dev/null and b/img/frames/lotr/m.png differ diff --git a/img/frames/lotr/mThumb.png b/img/frames/lotr/mThumb.png new file mode 100644 index 00000000..6eaa8024 Binary files /dev/null and b/img/frames/lotr/mThumb.png differ diff --git a/img/frames/lotr/margin/a.png b/img/frames/lotr/margin/a.png new file mode 100644 index 00000000..6bce086e Binary files /dev/null and b/img/frames/lotr/margin/a.png differ diff --git a/img/frames/lotr/margin/aThumb.png b/img/frames/lotr/margin/aThumb.png new file mode 100644 index 00000000..c50dfa23 Binary files /dev/null and b/img/frames/lotr/margin/aThumb.png differ diff --git a/img/frames/lotr/margin/b.png b/img/frames/lotr/margin/b.png new file mode 100644 index 00000000..ea29e30e Binary files /dev/null and b/img/frames/lotr/margin/b.png differ diff --git a/img/frames/lotr/margin/bThumb.png b/img/frames/lotr/margin/bThumb.png new file mode 100644 index 00000000..e53d7fb5 Binary files /dev/null and b/img/frames/lotr/margin/bThumb.png differ diff --git a/img/frames/lotr/margin/g.png b/img/frames/lotr/margin/g.png new file mode 100644 index 00000000..f78980dd Binary files /dev/null and b/img/frames/lotr/margin/g.png differ diff --git a/img/frames/lotr/margin/gThumb.png b/img/frames/lotr/margin/gThumb.png new file mode 100644 index 00000000..24dfbc74 Binary files /dev/null and b/img/frames/lotr/margin/gThumb.png differ diff --git a/img/frames/lotr/margin/l.png b/img/frames/lotr/margin/l.png new file mode 100644 index 00000000..1c19f14d Binary files /dev/null and b/img/frames/lotr/margin/l.png differ diff --git a/img/frames/lotr/margin/lThumb.png b/img/frames/lotr/margin/lThumb.png new file mode 100644 index 00000000..cbd65dbb Binary files /dev/null and b/img/frames/lotr/margin/lThumb.png differ diff --git a/img/frames/lotr/margin/m.png b/img/frames/lotr/margin/m.png new file mode 100644 index 00000000..42c1247d Binary files /dev/null and b/img/frames/lotr/margin/m.png differ diff --git a/img/frames/lotr/margin/mThumb.png b/img/frames/lotr/margin/mThumb.png new file mode 100644 index 00000000..fa2b2ca4 Binary files /dev/null and b/img/frames/lotr/margin/mThumb.png differ diff --git a/img/frames/lotr/margin/r.png b/img/frames/lotr/margin/r.png new file mode 100644 index 00000000..b0c469c7 Binary files /dev/null and b/img/frames/lotr/margin/r.png differ diff --git a/img/frames/lotr/margin/rThumb.png b/img/frames/lotr/margin/rThumb.png new file mode 100644 index 00000000..251e61c5 Binary files /dev/null and b/img/frames/lotr/margin/rThumb.png differ diff --git a/img/frames/lotr/margin/u.png b/img/frames/lotr/margin/u.png new file mode 100644 index 00000000..a57ed858 Binary files /dev/null and b/img/frames/lotr/margin/u.png differ diff --git a/img/frames/lotr/margin/uThumb.png b/img/frames/lotr/margin/uThumb.png new file mode 100644 index 00000000..ddb470d9 Binary files /dev/null and b/img/frames/lotr/margin/uThumb.png differ diff --git a/img/frames/lotr/margin/w.png b/img/frames/lotr/margin/w.png new file mode 100644 index 00000000..519a9fb3 Binary files /dev/null and b/img/frames/lotr/margin/w.png differ diff --git a/img/frames/lotr/margin/wThumb.png b/img/frames/lotr/margin/wThumb.png new file mode 100644 index 00000000..1e978a88 Binary files /dev/null and b/img/frames/lotr/margin/wThumb.png differ diff --git a/img/frames/lotr/maskRightHalf.png b/img/frames/lotr/maskRightHalf.png new file mode 100644 index 00000000..da13baba Binary files /dev/null and b/img/frames/lotr/maskRightHalf.png differ diff --git a/img/frames/lotr/pt/a.png b/img/frames/lotr/pt/a.png new file mode 100644 index 00000000..11680140 Binary files /dev/null and b/img/frames/lotr/pt/a.png differ diff --git a/img/frames/lotr/pt/aThumb.png b/img/frames/lotr/pt/aThumb.png new file mode 100644 index 00000000..27e55b54 Binary files /dev/null and b/img/frames/lotr/pt/aThumb.png differ diff --git a/img/frames/lotr/pt/b.png b/img/frames/lotr/pt/b.png new file mode 100644 index 00000000..e2b483a6 Binary files /dev/null and b/img/frames/lotr/pt/b.png differ diff --git a/img/frames/lotr/pt/bThumb.png b/img/frames/lotr/pt/bThumb.png new file mode 100644 index 00000000..8fce758d Binary files /dev/null and b/img/frames/lotr/pt/bThumb.png differ diff --git a/img/frames/lotr/pt/g.png b/img/frames/lotr/pt/g.png new file mode 100644 index 00000000..18ca8deb Binary files /dev/null and b/img/frames/lotr/pt/g.png differ diff --git a/img/frames/lotr/pt/gThumb.png b/img/frames/lotr/pt/gThumb.png new file mode 100644 index 00000000..5b95387b Binary files /dev/null and b/img/frames/lotr/pt/gThumb.png differ diff --git a/img/frames/lotr/pt/l.png b/img/frames/lotr/pt/l.png new file mode 100644 index 00000000..957ce5d8 Binary files /dev/null and b/img/frames/lotr/pt/l.png differ diff --git a/img/frames/lotr/pt/lThumb.png b/img/frames/lotr/pt/lThumb.png new file mode 100644 index 00000000..9edcdf2a Binary files /dev/null and b/img/frames/lotr/pt/lThumb.png differ diff --git a/img/frames/lotr/pt/m.png b/img/frames/lotr/pt/m.png new file mode 100644 index 00000000..d462422d Binary files /dev/null and b/img/frames/lotr/pt/m.png differ diff --git a/img/frames/lotr/pt/mThumb.png b/img/frames/lotr/pt/mThumb.png new file mode 100644 index 00000000..03843470 Binary files /dev/null and b/img/frames/lotr/pt/mThumb.png differ diff --git a/img/frames/lotr/pt/r.png b/img/frames/lotr/pt/r.png new file mode 100644 index 00000000..894ede42 Binary files /dev/null and b/img/frames/lotr/pt/r.png differ diff --git a/img/frames/lotr/pt/rThumb.png b/img/frames/lotr/pt/rThumb.png new file mode 100644 index 00000000..857491c0 Binary files /dev/null and b/img/frames/lotr/pt/rThumb.png differ diff --git a/img/frames/lotr/pt/u.png b/img/frames/lotr/pt/u.png new file mode 100644 index 00000000..bcce62b4 Binary files /dev/null and b/img/frames/lotr/pt/u.png differ diff --git a/img/frames/lotr/pt/uThumb.png b/img/frames/lotr/pt/uThumb.png new file mode 100644 index 00000000..20885cec Binary files /dev/null and b/img/frames/lotr/pt/uThumb.png differ diff --git a/img/frames/lotr/pt/w.png b/img/frames/lotr/pt/w.png new file mode 100644 index 00000000..3023a552 Binary files /dev/null and b/img/frames/lotr/pt/w.png differ diff --git a/img/frames/lotr/pt/wThumb.png b/img/frames/lotr/pt/wThumb.png new file mode 100644 index 00000000..ab23585f Binary files /dev/null and b/img/frames/lotr/pt/wThumb.png differ diff --git a/img/frames/lotr/r.png b/img/frames/lotr/r.png new file mode 100644 index 00000000..a6556fe2 Binary files /dev/null and b/img/frames/lotr/r.png differ diff --git a/img/frames/lotr/rThumb.png b/img/frames/lotr/rThumb.png new file mode 100644 index 00000000..df672e3d Binary files /dev/null and b/img/frames/lotr/rThumb.png differ diff --git a/img/frames/lotr/rules.png b/img/frames/lotr/rules.png new file mode 100644 index 00000000..2b1690ef Binary files /dev/null and b/img/frames/lotr/rules.png differ diff --git a/img/frames/lotr/rulesThumb.png b/img/frames/lotr/rulesThumb.png new file mode 100644 index 00000000..d2d2f6e6 Binary files /dev/null and b/img/frames/lotr/rulesThumb.png differ diff --git a/img/frames/lotr/stamp/a.png b/img/frames/lotr/stamp/a.png new file mode 100644 index 00000000..690add76 Binary files /dev/null and b/img/frames/lotr/stamp/a.png differ diff --git a/img/frames/lotr/stamp/aThumb.png b/img/frames/lotr/stamp/aThumb.png new file mode 100644 index 00000000..95caec2e Binary files /dev/null and b/img/frames/lotr/stamp/aThumb.png differ diff --git a/img/frames/lotr/stamp/b.png b/img/frames/lotr/stamp/b.png new file mode 100644 index 00000000..8f0849f0 Binary files /dev/null and b/img/frames/lotr/stamp/b.png differ diff --git a/img/frames/lotr/stamp/bThumb.png b/img/frames/lotr/stamp/bThumb.png new file mode 100644 index 00000000..4fe508b2 Binary files /dev/null and b/img/frames/lotr/stamp/bThumb.png differ diff --git a/img/frames/lotr/stamp/g.png b/img/frames/lotr/stamp/g.png new file mode 100644 index 00000000..2c093f94 Binary files /dev/null and b/img/frames/lotr/stamp/g.png differ diff --git a/img/frames/lotr/stamp/gThumb.png b/img/frames/lotr/stamp/gThumb.png new file mode 100644 index 00000000..ff00feb4 Binary files /dev/null and b/img/frames/lotr/stamp/gThumb.png differ diff --git a/img/frames/lotr/stamp/gold.png b/img/frames/lotr/stamp/gold.png new file mode 100644 index 00000000..9ea06e5e Binary files /dev/null and b/img/frames/lotr/stamp/gold.png differ diff --git a/img/frames/lotr/stamp/goldThumb.png b/img/frames/lotr/stamp/goldThumb.png new file mode 100644 index 00000000..701e5881 Binary files /dev/null and b/img/frames/lotr/stamp/goldThumb.png differ diff --git a/img/frames/lotr/stamp/gray.png b/img/frames/lotr/stamp/gray.png new file mode 100644 index 00000000..10d51c30 Binary files /dev/null and b/img/frames/lotr/stamp/gray.png differ diff --git a/img/frames/lotr/stamp/grayThumb.png b/img/frames/lotr/stamp/grayThumb.png new file mode 100644 index 00000000..6d30d351 Binary files /dev/null and b/img/frames/lotr/stamp/grayThumb.png differ diff --git a/img/frames/lotr/stamp/l.png b/img/frames/lotr/stamp/l.png new file mode 100644 index 00000000..3e2218eb Binary files /dev/null and b/img/frames/lotr/stamp/l.png differ diff --git a/img/frames/lotr/stamp/lThumb.png b/img/frames/lotr/stamp/lThumb.png new file mode 100644 index 00000000..0367beda Binary files /dev/null and b/img/frames/lotr/stamp/lThumb.png differ diff --git a/img/frames/lotr/stamp/m.png b/img/frames/lotr/stamp/m.png new file mode 100644 index 00000000..8e79ac1d Binary files /dev/null and b/img/frames/lotr/stamp/m.png differ diff --git a/img/frames/lotr/stamp/mThumb.png b/img/frames/lotr/stamp/mThumb.png new file mode 100644 index 00000000..092297e1 Binary files /dev/null and b/img/frames/lotr/stamp/mThumb.png differ diff --git a/img/frames/lotr/stamp/r.png b/img/frames/lotr/stamp/r.png new file mode 100644 index 00000000..4d59da63 Binary files /dev/null and b/img/frames/lotr/stamp/r.png differ diff --git a/img/frames/lotr/stamp/rThumb.png b/img/frames/lotr/stamp/rThumb.png new file mode 100644 index 00000000..405144a1 Binary files /dev/null and b/img/frames/lotr/stamp/rThumb.png differ diff --git a/img/frames/lotr/stamp/u.png b/img/frames/lotr/stamp/u.png new file mode 100644 index 00000000..cfe2dc84 Binary files /dev/null and b/img/frames/lotr/stamp/u.png differ diff --git a/img/frames/lotr/stamp/uThumb.png b/img/frames/lotr/stamp/uThumb.png new file mode 100644 index 00000000..95de8e36 Binary files /dev/null and b/img/frames/lotr/stamp/uThumb.png differ diff --git a/img/frames/lotr/stamp/w.png b/img/frames/lotr/stamp/w.png new file mode 100644 index 00000000..04c8c10d Binary files /dev/null and b/img/frames/lotr/stamp/w.png differ diff --git a/img/frames/lotr/stamp/wThumb.png b/img/frames/lotr/stamp/wThumb.png new file mode 100644 index 00000000..b45e58ea Binary files /dev/null and b/img/frames/lotr/stamp/wThumb.png differ diff --git a/img/frames/lotr/title.png b/img/frames/lotr/title.png new file mode 100644 index 00000000..f72956e2 Binary files /dev/null and b/img/frames/lotr/title.png differ diff --git a/img/frames/lotr/titleThumb.png b/img/frames/lotr/titleThumb.png new file mode 100644 index 00000000..fbb34a51 Binary files /dev/null and b/img/frames/lotr/titleThumb.png differ diff --git a/img/frames/lotr/type.png b/img/frames/lotr/type.png new file mode 100644 index 00000000..e768c22c Binary files /dev/null and b/img/frames/lotr/type.png differ diff --git a/img/frames/lotr/typeThumb.png b/img/frames/lotr/typeThumb.png new file mode 100644 index 00000000..87095106 Binary files /dev/null and b/img/frames/lotr/typeThumb.png differ diff --git a/img/frames/lotr/u.png b/img/frames/lotr/u.png new file mode 100644 index 00000000..4cdd108f Binary files /dev/null and b/img/frames/lotr/u.png differ diff --git a/img/frames/lotr/uThumb.png b/img/frames/lotr/uThumb.png new file mode 100644 index 00000000..781a9eec Binary files /dev/null and b/img/frames/lotr/uThumb.png differ diff --git a/img/frames/lotr/w.png b/img/frames/lotr/w.png new file mode 100644 index 00000000..94e04619 Binary files /dev/null and b/img/frames/lotr/w.png differ diff --git a/img/frames/lotr/wThumb.png b/img/frames/lotr/wThumb.png new file mode 100644 index 00000000..6c4cab0b Binary files /dev/null and b/img/frames/lotr/wThumb.png differ diff --git a/img/frames/m15/ub/regular/stamp/gold.png b/img/frames/m15/ub/regular/stamp/gold.png index 1000791c..05a0a1b0 100644 Binary files a/img/frames/m15/ub/regular/stamp/gold.png and b/img/frames/m15/ub/regular/stamp/gold.png differ diff --git a/img/frames/m15/ub/regular/stamp/goldThumb.png b/img/frames/m15/ub/regular/stamp/goldThumb.png index 0b8b9d51..75705d7f 100644 Binary files a/img/frames/m15/ub/regular/stamp/goldThumb.png and b/img/frames/m15/ub/regular/stamp/goldThumb.png differ diff --git a/js/frameSearch.js b/js/frameSearch.js index c5f53e86..07365e3f 100644 --- a/js/frameSearch.js +++ b/js/frameSearch.js @@ -30,6 +30,7 @@ const frameNames = new Map ([ ['Colorshifted (Planar Chaos)', 'Colorshifted'], ['Brawl Legend Crowns', 'Brawl'], //showcase + ['Ring (LTR)', 'Ring'], ['Ixalan Coin (MOM)', 'IxalanCoin'], ['Ikoria Crystal (MOM)', 'Crystal'], ['Ravnica Architecture (MOM)', 'Ravnica'], diff --git a/js/frames/groupMargin.js b/js/frames/groupMargin.js index 806c299f..633a1780 100644 --- a/js/frames/groupMargin.js +++ b/js/frames/groupMargin.js @@ -1,5 +1,6 @@ loadFramePacks([ {name:'Generic Margins', value:'Margin-1'}, + {name:'LTR Ring Margins', value:'MarginRing'}, {name:'D&D Module Margins', value:'MarginDNDModule'}, {name:'Mystical Archive Margins', value:'MarginMysticalArchive'}, {name:'Unstable Basics Margins', value:'MarginUnstable'}, diff --git a/js/frames/groupShowcase-5.js b/js/frames/groupShowcase-5.js index a17dbfb2..75f0a2a0 100644 --- a/js/frames/groupShowcase-5.js +++ b/js/frames/groupShowcase-5.js @@ -1,5 +1,6 @@ loadFramePacks([ {name:'Set Showcase Frames (Chronological)', value:'disabled'}, + {name:'Ring (LTR)', value:'Ring'}, {name:'Ixalan Coin (MOM)', value:'IxalanCoin'}, {name:'Tarkir Sketch (MOM)', value:'Tarkir'}, {name:'Ikoria Crystal (MOM)', value:'Crystal'}, diff --git a/js/frames/packMarginRing.js b/js/frames/packMarginRing.js new file mode 100644 index 00000000..925bafed --- /dev/null +++ b/js/frames/packMarginRing.js @@ -0,0 +1,20 @@ +//Create objects for common properties across available frames +var bounds = {x:-0.044, y:-1/35, width:1.088, height:37/35}; +var ogBounds = {x:0, y:0, width:1, height:1}; +//defines available frames +availableFrames = [ + {name:'White Extension', src:'/img/frames/lotr/margin/w.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Blue Extension', src:'/img/frames/lotr/margin/u.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Black Extension', src:'/img/frames/lotr/margin/b.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Red Extension', src:'/img/frames/lotr/margin/r.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Green Extension', src:'/img/frames/lotr/margin/g.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Multicolored Extension', src:'/img/frames/lotr/margin/m.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Artifact Extension', src:'/img/frames/lotr/margin/a.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Land Extension', src:'/img/frames/lotr/margin/l.png', bounds:bounds, ogBounds:ogBounds} +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = false; +//defines process for loading this version, if applicable +document.querySelector('#loadFrameVersion').onclick = loadMarginVersion; +//loads available frames +loadFramePack(); \ No newline at end of file diff --git a/js/frames/packRing.js b/js/frames/packRing.js new file mode 100644 index 00000000..ccadbc7e --- /dev/null +++ b/js/frames/packRing.js @@ -0,0 +1,75 @@ +//Create objects for common properties across available frames +var masks = [{src:'/img/frames/lotr/title.png', name:'Title'}, {src:'/img/frames/lotr/type.png', name:'Type'}, {src:'/img/frames/lotr/rules.png', name:'Rules'}, {src:'/img/frames/lotr/border.png', name:'Border'}]; +var ptBounds = {x:1148/1500, y:1857/2100, width:268/1500, height:134/2100}; +var crownBounds = {x:0/1500, y:0/2100, width:1500/1500, height:272/2100}; +var stampBounds = {x:644/1500, y:1893/2100, width:212/1500, height:95/2100}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/lotr/w.png', masks:masks}, + {name:'Blue Frame', src:'/img/frames/lotr/u.png', masks:masks}, + {name:'Black Frame', src:'/img/frames/lotr/b.png', masks:masks}, + {name:'Red Frame', src:'/img/frames/lotr/r.png', masks:masks}, + {name:'Green Frame', src:'/img/frames/lotr/g.png', masks:masks}, + {name:'Multicolored Frame', src:'/img/frames/lotr/m.png', masks:masks}, + {name:'Artifact Frame', src:'/img/frames/lotr/a.png', masks:masks}, + {name:'Land Frame', src:'/img/frames/lotr/l.png', masks:masks}, + + {name:'White Power/Toughness', src:'/img/frames/lotr/pt/w.png', bounds:ptBounds}, + {name:'Blue Power/Toughness', src:'/img/frames/lotr/pt/u.png', bounds:ptBounds}, + {name:'Black Power/Toughness', src:'/img/frames/lotr/pt/b.png', bounds:ptBounds}, + {name:'Red Power/Toughness', src:'/img/frames/lotr/pt/r.png', bounds:ptBounds}, + {name:'Green Power/Toughness', src:'/img/frames/lotr/pt/g.png', bounds:ptBounds}, + {name:'Multicolored Power/Toughness', src:'/img/frames/lotr/pt/m.png', bounds:ptBounds}, + {name:'Artifact Power/Toughness', src:'/img/frames/lotr/pt/a.png', bounds:ptBounds}, + {name:'Land Power/Toughness', src:'/img/frames/lotr/pt/l.png', bounds:ptBounds}, + + {name:'White Legendary Crown', src:'/img/frames/lotr/crown/w.png', bounds:crownBounds}, + {name:'Blue Legendary Crown', src:'/img/frames/lotr/crown/u.png', bounds:crownBounds}, + {name:'Black Legendary Crown', src:'/img/frames/lotr/crown/b.png', bounds:crownBounds}, + {name:'Red Legendary Crown', src:'/img/frames/lotr/crown/r.png', bounds:crownBounds}, + {name:'Green Legendary Crown', src:'/img/frames/lotr/crown/g.png', bounds:crownBounds}, + {name:'Multicolored Legendary Crown', src:'/img/frames/lotr/crown/m.png', bounds:crownBounds}, + {name:'Artifact Legendary Crown', src:'/img/frames/lotr/crown/a.png', bounds:crownBounds}, + {name:'Land Legendary Crown', src:'/img/frames/lotr/crown/l.png', bounds:crownBounds}, + + {name:'White Holo Stamp', src:'/img/frames/lotr/stamp/w.png', bounds:stampBounds}, + {name:'Blue Holo Stamp', src:'/img/frames/lotr/stamp/u.png', bounds:stampBounds}, + {name:'Black Holo Stamp', src:'/img/frames/lotr/stamp/b.png', bounds:stampBounds}, + {name:'Red Holo Stamp', src:'/img/frames/lotr/stamp/r.png', bounds:stampBounds}, + {name:'Green Holo Stamp', src:'/img/frames/lotr/stamp/g.png', bounds:stampBounds}, + {name:'Multicolored Holo Stamp', src:'/img/frames/lotr/stamp/m.png', bounds:stampBounds}, + {name:'Artifact Holo Stamp', src:'/img/frames/lotr/stamp/a.png', bounds:stampBounds}, + {name:'Land Holo Stamp', src:'/img/frames/lotr/stamp/l.png', bounds:stampBounds}, + {name:'Gray Holo Stamp', src:'/img/frames/lotr/stamp/gray.png', bounds:stampBounds}, + {name:'Gold Holo Stamp', src:'/img/frames/lotr/stamp/gold.png', bounds:stampBounds}, +]; +//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() { + // notify("To change the color of your mana cost, use {manacolor#}, but replace '#' with your desired color. 'white', 'blue', 'black', 'red', and 'green', as well as hex/html color codes are currently supported.", 15) + //resets things so that every frame doesn't have to + await resetCardIrregularities(); + replacementMasks = {'Right Half':'img/frames/lotr/maskRightHalf.png'}; + //sets card version + card.version = 'ring'; + //art bounds + card.artBounds = {x:149/1500, y:252/2100, width:1202/1500, height:918/2100}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:1376/1500, y:1242/2100, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305}; + resetWatermark(); + //text + loadTextOptions({ + mana: {name:'Mana Cost', text:'', y:143/2100, width:1384/1500, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0}, + title: {name:'Title', text:'', x:0.0854, y:120/2100, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, color:'white'}, + type: {name:'Type', text:'', x:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, color:'white'}, + rules: {name:'Rules Text', text:'', x:0.086, y:0.6303, width:0.828, height:0.2875, size:0.0362}, + pt: {name:'Power/Toughness', text:'', x:1184/1500, y:1887/2100, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white'} + }); +} +//loads available frames +loadFramePack(); \ No newline at end of file