diff --git a/img/frames/saga/ltr/b.png b/img/frames/saga/ltr/b.png new file mode 100644 index 00000000..e042f14d Binary files /dev/null and b/img/frames/saga/ltr/b.png differ diff --git a/img/frames/saga/ltr/bThumb.png b/img/frames/saga/ltr/bThumb.png new file mode 100644 index 00000000..d9b7b6bc Binary files /dev/null and b/img/frames/saga/ltr/bThumb.png differ diff --git a/img/frames/saga/ltr/g.png b/img/frames/saga/ltr/g.png new file mode 100644 index 00000000..b3f6bdc8 Binary files /dev/null and b/img/frames/saga/ltr/g.png differ diff --git a/img/frames/saga/ltr/gThumb.png b/img/frames/saga/ltr/gThumb.png new file mode 100644 index 00000000..53506569 Binary files /dev/null and b/img/frames/saga/ltr/gThumb.png differ diff --git a/img/frames/saga/ltr/grayStamp.png b/img/frames/saga/ltr/grayStamp.png new file mode 100644 index 00000000..b88ad4e5 Binary files /dev/null and b/img/frames/saga/ltr/grayStamp.png differ diff --git a/img/frames/saga/ltr/grayStampThumb.png b/img/frames/saga/ltr/grayStampThumb.png new file mode 100644 index 00000000..f1f4c367 Binary files /dev/null and b/img/frames/saga/ltr/grayStampThumb.png differ diff --git a/img/frames/saga/ltr/m.png b/img/frames/saga/ltr/m.png new file mode 100644 index 00000000..4d042d08 Binary files /dev/null and b/img/frames/saga/ltr/m.png differ diff --git a/img/frames/saga/ltr/mThumb.png b/img/frames/saga/ltr/mThumb.png new file mode 100644 index 00000000..3bd6f804 Binary files /dev/null and b/img/frames/saga/ltr/mThumb.png differ diff --git a/img/frames/saga/ltr/maskNoOverlay.png b/img/frames/saga/ltr/maskNoOverlay.png new file mode 100644 index 00000000..d55b4de3 Binary files /dev/null and b/img/frames/saga/ltr/maskNoOverlay.png differ diff --git a/img/frames/saga/ltr/maskNoOverlayThumb.png b/img/frames/saga/ltr/maskNoOverlayThumb.png new file mode 100644 index 00000000..0d6f89d3 Binary files /dev/null and b/img/frames/saga/ltr/maskNoOverlayThumb.png differ diff --git a/img/frames/saga/ltr/maskRightHalf.png b/img/frames/saga/ltr/maskRightHalf.png new file mode 100644 index 00000000..caab0aec Binary files /dev/null and b/img/frames/saga/ltr/maskRightHalf.png differ diff --git a/img/frames/saga/ltr/maskRightHalfThumb.png b/img/frames/saga/ltr/maskRightHalfThumb.png new file mode 100644 index 00000000..2d407319 Binary files /dev/null and b/img/frames/saga/ltr/maskRightHalfThumb.png differ diff --git a/img/frames/saga/ltr/multicolor-bar-overlay.png b/img/frames/saga/ltr/multicolor-bar-overlay.png new file mode 100644 index 00000000..5bab7bfc Binary files /dev/null and b/img/frames/saga/ltr/multicolor-bar-overlay.png differ diff --git a/img/frames/saga/ltr/multicolor-bar-overlayThumb.png b/img/frames/saga/ltr/multicolor-bar-overlayThumb.png new file mode 100644 index 00000000..1e64b117 Binary files /dev/null and b/img/frames/saga/ltr/multicolor-bar-overlayThumb.png differ diff --git a/img/frames/saga/ltr/r.png b/img/frames/saga/ltr/r.png new file mode 100644 index 00000000..9e1fdf61 Binary files /dev/null and b/img/frames/saga/ltr/r.png differ diff --git a/img/frames/saga/ltr/rThumb.png b/img/frames/saga/ltr/rThumb.png new file mode 100644 index 00000000..12f2e344 Binary files /dev/null and b/img/frames/saga/ltr/rThumb.png differ diff --git a/img/frames/saga/ltr/sagaMidStripe.png b/img/frames/saga/ltr/sagaMidStripe.png new file mode 100644 index 00000000..00622a96 Binary files /dev/null and b/img/frames/saga/ltr/sagaMidStripe.png differ diff --git a/img/frames/saga/ltr/sagaMidStripeThumb.png b/img/frames/saga/ltr/sagaMidStripeThumb.png new file mode 100644 index 00000000..0c122ffc Binary files /dev/null and b/img/frames/saga/ltr/sagaMidStripeThumb.png differ diff --git a/img/frames/saga/ltr/stamp.png b/img/frames/saga/ltr/stamp.png new file mode 100644 index 00000000..c56d9518 Binary files /dev/null and b/img/frames/saga/ltr/stamp.png differ diff --git a/img/frames/saga/ltr/stampThumb.png b/img/frames/saga/ltr/stampThumb.png new file mode 100644 index 00000000..df93e898 Binary files /dev/null and b/img/frames/saga/ltr/stampThumb.png differ diff --git a/img/frames/saga/ltr/u.png b/img/frames/saga/ltr/u.png new file mode 100644 index 00000000..5aa79dae Binary files /dev/null and b/img/frames/saga/ltr/u.png differ diff --git a/img/frames/saga/ltr/uThumb.png b/img/frames/saga/ltr/uThumb.png new file mode 100644 index 00000000..cc36c166 Binary files /dev/null and b/img/frames/saga/ltr/uThumb.png differ diff --git a/img/frames/saga/ltr/w.png b/img/frames/saga/ltr/w.png new file mode 100644 index 00000000..5fad24c4 Binary files /dev/null and b/img/frames/saga/ltr/w.png differ diff --git a/img/frames/saga/ltr/wThumb.png b/img/frames/saga/ltr/wThumb.png new file mode 100644 index 00000000..20485b86 Binary files /dev/null and b/img/frames/saga/ltr/wThumb.png differ diff --git a/img/frames/scroll/a.png b/img/frames/scroll/a.png new file mode 100644 index 00000000..90a8e512 Binary files /dev/null and b/img/frames/scroll/a.png differ diff --git a/img/frames/scroll/aThumb.png b/img/frames/scroll/aThumb.png new file mode 100644 index 00000000..4100c7df Binary files /dev/null and b/img/frames/scroll/aThumb.png differ diff --git a/img/frames/scroll/b.png b/img/frames/scroll/b.png new file mode 100644 index 00000000..b681d603 Binary files /dev/null and b/img/frames/scroll/b.png differ diff --git a/img/frames/scroll/bThumb.png b/img/frames/scroll/bThumb.png new file mode 100644 index 00000000..13c8be86 Binary files /dev/null and b/img/frames/scroll/bThumb.png differ diff --git a/img/frames/scroll/crowns/a.png b/img/frames/scroll/crowns/a.png new file mode 100644 index 00000000..5a79a149 Binary files /dev/null and b/img/frames/scroll/crowns/a.png differ diff --git a/img/frames/scroll/crowns/aThumb.png b/img/frames/scroll/crowns/aThumb.png new file mode 100644 index 00000000..7a6580ae Binary files /dev/null and b/img/frames/scroll/crowns/aThumb.png differ diff --git a/img/frames/scroll/crowns/b.png b/img/frames/scroll/crowns/b.png new file mode 100644 index 00000000..d6077d90 Binary files /dev/null and b/img/frames/scroll/crowns/b.png differ diff --git a/img/frames/scroll/crowns/bThumb.png b/img/frames/scroll/crowns/bThumb.png new file mode 100644 index 00000000..684ccd2c Binary files /dev/null and b/img/frames/scroll/crowns/bThumb.png differ diff --git a/img/frames/scroll/crowns/g.png b/img/frames/scroll/crowns/g.png new file mode 100644 index 00000000..d1f31df9 Binary files /dev/null and b/img/frames/scroll/crowns/g.png differ diff --git a/img/frames/scroll/crowns/gThumb.png b/img/frames/scroll/crowns/gThumb.png new file mode 100644 index 00000000..13e6e32b Binary files /dev/null and b/img/frames/scroll/crowns/gThumb.png differ diff --git a/img/frames/scroll/crowns/l.png b/img/frames/scroll/crowns/l.png new file mode 100644 index 00000000..ddc1aab9 Binary files /dev/null and b/img/frames/scroll/crowns/l.png differ diff --git a/img/frames/scroll/crowns/lThumb.png b/img/frames/scroll/crowns/lThumb.png new file mode 100644 index 00000000..040cfdf0 Binary files /dev/null and b/img/frames/scroll/crowns/lThumb.png differ diff --git a/img/frames/scroll/crowns/m.png b/img/frames/scroll/crowns/m.png new file mode 100644 index 00000000..f2f11044 Binary files /dev/null and b/img/frames/scroll/crowns/m.png differ diff --git a/img/frames/scroll/crowns/mThumb.png b/img/frames/scroll/crowns/mThumb.png new file mode 100644 index 00000000..21ca7997 Binary files /dev/null and b/img/frames/scroll/crowns/mThumb.png differ diff --git a/img/frames/scroll/crowns/r.png b/img/frames/scroll/crowns/r.png new file mode 100644 index 00000000..06e447fe Binary files /dev/null and b/img/frames/scroll/crowns/r.png differ diff --git a/img/frames/scroll/crowns/rThumb.png b/img/frames/scroll/crowns/rThumb.png new file mode 100644 index 00000000..776ff970 Binary files /dev/null and b/img/frames/scroll/crowns/rThumb.png differ diff --git a/img/frames/scroll/crowns/u.png b/img/frames/scroll/crowns/u.png new file mode 100644 index 00000000..f0ebf59c Binary files /dev/null and b/img/frames/scroll/crowns/u.png differ diff --git a/img/frames/scroll/crowns/uThumb.png b/img/frames/scroll/crowns/uThumb.png new file mode 100644 index 00000000..d4892a0e Binary files /dev/null and b/img/frames/scroll/crowns/uThumb.png differ diff --git a/img/frames/scroll/crowns/w.png b/img/frames/scroll/crowns/w.png new file mode 100644 index 00000000..d7deda5a Binary files /dev/null and b/img/frames/scroll/crowns/w.png differ diff --git a/img/frames/scroll/crowns/wThumb.png b/img/frames/scroll/crowns/wThumb.png new file mode 100644 index 00000000..f16a7b13 Binary files /dev/null and b/img/frames/scroll/crowns/wThumb.png differ diff --git a/img/frames/scroll/g.png b/img/frames/scroll/g.png new file mode 100644 index 00000000..c214a1ee Binary files /dev/null and b/img/frames/scroll/g.png differ diff --git a/img/frames/scroll/gThumb.png b/img/frames/scroll/gThumb.png new file mode 100644 index 00000000..ecda1acb Binary files /dev/null and b/img/frames/scroll/gThumb.png differ diff --git a/img/frames/scroll/l.png b/img/frames/scroll/l.png new file mode 100644 index 00000000..8475109c Binary files /dev/null and b/img/frames/scroll/l.png differ diff --git a/img/frames/scroll/lThumb.png b/img/frames/scroll/lThumb.png new file mode 100644 index 00000000..a967373c Binary files /dev/null and b/img/frames/scroll/lThumb.png differ diff --git a/img/frames/scroll/m.png b/img/frames/scroll/m.png new file mode 100644 index 00000000..2de183d1 Binary files /dev/null and b/img/frames/scroll/m.png differ diff --git a/img/frames/scroll/mThumb.png b/img/frames/scroll/mThumb.png new file mode 100644 index 00000000..fa13385d Binary files /dev/null and b/img/frames/scroll/mThumb.png differ diff --git a/img/frames/scroll/maskNoOverlay.png b/img/frames/scroll/maskNoOverlay.png new file mode 100644 index 00000000..640d69a5 Binary files /dev/null and b/img/frames/scroll/maskNoOverlay.png differ diff --git a/img/frames/scroll/maskNoOverlayThumb.png b/img/frames/scroll/maskNoOverlayThumb.png new file mode 100644 index 00000000..d74e5778 Binary files /dev/null and b/img/frames/scroll/maskNoOverlayThumb.png differ diff --git a/img/frames/scroll/maskRightHalf.png b/img/frames/scroll/maskRightHalf.png new file mode 100644 index 00000000..88ee5d05 Binary files /dev/null and b/img/frames/scroll/maskRightHalf.png differ diff --git a/img/frames/scroll/maskRightHalfThumb.png b/img/frames/scroll/maskRightHalfThumb.png new file mode 100644 index 00000000..1f33a3b7 Binary files /dev/null and b/img/frames/scroll/maskRightHalfThumb.png differ diff --git a/img/frames/scroll/multicolor-bar-overlay.png b/img/frames/scroll/multicolor-bar-overlay.png new file mode 100644 index 00000000..2ebd097e Binary files /dev/null and b/img/frames/scroll/multicolor-bar-overlay.png differ diff --git a/img/frames/scroll/multicolor-bar-overlayThumb.png b/img/frames/scroll/multicolor-bar-overlayThumb.png new file mode 100644 index 00000000..7d14b215 Binary files /dev/null and b/img/frames/scroll/multicolor-bar-overlayThumb.png differ diff --git a/img/frames/scroll/pt/a.png b/img/frames/scroll/pt/a.png new file mode 100644 index 00000000..adeefc90 Binary files /dev/null and b/img/frames/scroll/pt/a.png differ diff --git a/img/frames/scroll/pt/aThumb.png b/img/frames/scroll/pt/aThumb.png new file mode 100644 index 00000000..fdd9fb9c Binary files /dev/null and b/img/frames/scroll/pt/aThumb.png differ diff --git a/img/frames/scroll/pt/b.png b/img/frames/scroll/pt/b.png new file mode 100644 index 00000000..97d87717 Binary files /dev/null and b/img/frames/scroll/pt/b.png differ diff --git a/img/frames/scroll/pt/bThumb.png b/img/frames/scroll/pt/bThumb.png new file mode 100644 index 00000000..e52b65df Binary files /dev/null and b/img/frames/scroll/pt/bThumb.png differ diff --git a/img/frames/scroll/pt/g.png b/img/frames/scroll/pt/g.png new file mode 100644 index 00000000..bb4671f0 Binary files /dev/null and b/img/frames/scroll/pt/g.png differ diff --git a/img/frames/scroll/pt/gThumb.png b/img/frames/scroll/pt/gThumb.png new file mode 100644 index 00000000..3377078a Binary files /dev/null and b/img/frames/scroll/pt/gThumb.png differ diff --git a/img/frames/scroll/pt/m.png b/img/frames/scroll/pt/m.png new file mode 100644 index 00000000..a0c6d8cf Binary files /dev/null and b/img/frames/scroll/pt/m.png differ diff --git a/img/frames/scroll/pt/mThumb.png b/img/frames/scroll/pt/mThumb.png new file mode 100644 index 00000000..18d7cfff Binary files /dev/null and b/img/frames/scroll/pt/mThumb.png differ diff --git a/img/frames/scroll/pt/r.png b/img/frames/scroll/pt/r.png new file mode 100644 index 00000000..c8f63ccd Binary files /dev/null and b/img/frames/scroll/pt/r.png differ diff --git a/img/frames/scroll/pt/rThumb.png b/img/frames/scroll/pt/rThumb.png new file mode 100644 index 00000000..d6590a83 Binary files /dev/null and b/img/frames/scroll/pt/rThumb.png differ diff --git a/img/frames/scroll/pt/u.png b/img/frames/scroll/pt/u.png new file mode 100644 index 00000000..c4802bd3 Binary files /dev/null and b/img/frames/scroll/pt/u.png differ diff --git a/img/frames/scroll/pt/uThumb.png b/img/frames/scroll/pt/uThumb.png new file mode 100644 index 00000000..4898dd91 Binary files /dev/null and b/img/frames/scroll/pt/uThumb.png differ diff --git a/img/frames/scroll/pt/w.png b/img/frames/scroll/pt/w.png new file mode 100644 index 00000000..739547ea Binary files /dev/null and b/img/frames/scroll/pt/w.png differ diff --git a/img/frames/scroll/pt/wThumb.png b/img/frames/scroll/pt/wThumb.png new file mode 100644 index 00000000..e888b464 Binary files /dev/null and b/img/frames/scroll/pt/wThumb.png differ diff --git a/img/frames/scroll/r.png b/img/frames/scroll/r.png new file mode 100644 index 00000000..9c727ec7 Binary files /dev/null and b/img/frames/scroll/r.png differ diff --git a/img/frames/scroll/rThumb.png b/img/frames/scroll/rThumb.png new file mode 100644 index 00000000..be66b0cf Binary files /dev/null and b/img/frames/scroll/rThumb.png differ diff --git a/img/frames/scroll/stamps/a.png b/img/frames/scroll/stamps/a.png new file mode 100644 index 00000000..49c18bfc Binary files /dev/null and b/img/frames/scroll/stamps/a.png differ diff --git a/img/frames/scroll/stamps/aThumb.png b/img/frames/scroll/stamps/aThumb.png new file mode 100644 index 00000000..0db560b4 Binary files /dev/null and b/img/frames/scroll/stamps/aThumb.png differ diff --git a/img/frames/scroll/stamps/b.png b/img/frames/scroll/stamps/b.png new file mode 100644 index 00000000..61ee53c6 Binary files /dev/null and b/img/frames/scroll/stamps/b.png differ diff --git a/img/frames/scroll/stamps/bThumb.png b/img/frames/scroll/stamps/bThumb.png new file mode 100644 index 00000000..6f79d4d2 Binary files /dev/null and b/img/frames/scroll/stamps/bThumb.png differ diff --git a/img/frames/scroll/stamps/g.png b/img/frames/scroll/stamps/g.png new file mode 100644 index 00000000..e172666b Binary files /dev/null and b/img/frames/scroll/stamps/g.png differ diff --git a/img/frames/scroll/stamps/gThumb.png b/img/frames/scroll/stamps/gThumb.png new file mode 100644 index 00000000..02fe41ad Binary files /dev/null and b/img/frames/scroll/stamps/gThumb.png differ diff --git a/img/frames/scroll/stamps/gray.png b/img/frames/scroll/stamps/gray.png new file mode 100644 index 00000000..c6ce10eb Binary files /dev/null and b/img/frames/scroll/stamps/gray.png differ diff --git a/img/frames/scroll/stamps/grayThumb.png b/img/frames/scroll/stamps/grayThumb.png new file mode 100644 index 00000000..943d09d5 Binary files /dev/null and b/img/frames/scroll/stamps/grayThumb.png differ diff --git a/img/frames/scroll/stamps/l.png b/img/frames/scroll/stamps/l.png new file mode 100644 index 00000000..9a8c548b Binary files /dev/null and b/img/frames/scroll/stamps/l.png differ diff --git a/img/frames/scroll/stamps/lThumb.png b/img/frames/scroll/stamps/lThumb.png new file mode 100644 index 00000000..11abfa54 Binary files /dev/null and b/img/frames/scroll/stamps/lThumb.png differ diff --git a/img/frames/scroll/stamps/m.png b/img/frames/scroll/stamps/m.png new file mode 100644 index 00000000..528a823d Binary files /dev/null and b/img/frames/scroll/stamps/m.png differ diff --git a/img/frames/scroll/stamps/mThumb.png b/img/frames/scroll/stamps/mThumb.png new file mode 100644 index 00000000..4b6bb8a3 Binary files /dev/null and b/img/frames/scroll/stamps/mThumb.png differ diff --git a/img/frames/scroll/stamps/r.png b/img/frames/scroll/stamps/r.png new file mode 100644 index 00000000..12b71bd3 Binary files /dev/null and b/img/frames/scroll/stamps/r.png differ diff --git a/img/frames/scroll/stamps/rThumb.png b/img/frames/scroll/stamps/rThumb.png new file mode 100644 index 00000000..8bbb5951 Binary files /dev/null and b/img/frames/scroll/stamps/rThumb.png differ diff --git a/img/frames/scroll/stamps/u.png b/img/frames/scroll/stamps/u.png new file mode 100644 index 00000000..9b82a231 Binary files /dev/null and b/img/frames/scroll/stamps/u.png differ diff --git a/img/frames/scroll/stamps/uThumb.png b/img/frames/scroll/stamps/uThumb.png new file mode 100644 index 00000000..b1960aa1 Binary files /dev/null and b/img/frames/scroll/stamps/uThumb.png differ diff --git a/img/frames/scroll/stamps/w.png b/img/frames/scroll/stamps/w.png new file mode 100644 index 00000000..b96b68ee Binary files /dev/null and b/img/frames/scroll/stamps/w.png differ diff --git a/img/frames/scroll/stamps/wThumb.png b/img/frames/scroll/stamps/wThumb.png new file mode 100644 index 00000000..301dd299 Binary files /dev/null and b/img/frames/scroll/stamps/wThumb.png differ diff --git a/img/frames/scroll/u.png b/img/frames/scroll/u.png new file mode 100644 index 00000000..1033080b Binary files /dev/null and b/img/frames/scroll/u.png differ diff --git a/img/frames/scroll/uThumb.png b/img/frames/scroll/uThumb.png new file mode 100644 index 00000000..61d6a421 Binary files /dev/null and b/img/frames/scroll/uThumb.png differ diff --git a/img/frames/scroll/w.png b/img/frames/scroll/w.png new file mode 100644 index 00000000..52bde4b4 Binary files /dev/null and b/img/frames/scroll/w.png differ diff --git a/img/frames/scroll/wThumb.png b/img/frames/scroll/wThumb.png new file mode 100644 index 00000000..5a5434b4 Binary files /dev/null and b/img/frames/scroll/wThumb.png differ diff --git a/js/frameSearch.js b/js/frameSearch.js index 6bcb30a3..28f89adb 100644 --- a/js/frameSearch.js +++ b/js/frameSearch.js @@ -35,6 +35,7 @@ const frameNames = new Map ([ ['Colorshifted (Planar Chaos)', 'Colorshifted'], ['Brawl Legend Crowns', 'Brawl'], //showcase + ['Scrolls of Middle-earth (LTR)', 'Scroll'], ['Enchanting Tales (WOT)', 'EnchantingTales'], ['TARDIS (WHO)', 'TARDIS'], ['Ring (LTR)', 'Ring'], @@ -112,6 +113,7 @@ const frameNames = new Map ([ //saga ['Sagas', 'SagaRegular'], ['Sagas (Universes Beyond)', 'SagaUB'], + ['Sagas (Scrolls of Middle-earth) (LTR)', 'SagaLTR'], //dfc ['Transform (Front)', 'M15TransformFront'], ['Transform (Back)', 'M15TransformBack'], diff --git a/js/frames/groupSaga-1.js b/js/frames/groupSaga-1.js index 5e96fd69..56b24a92 100644 --- a/js/frames/groupSaga-1.js +++ b/js/frames/groupSaga-1.js @@ -2,6 +2,8 @@ loadFramePacks([ {name:'Regular Frames', value:'SagaRegular'}, {name:'Universes Beyond Frames', value:'SagaUB'}, {name:'Nyx Frames', value:'SagaNyx'}, + {name:'Showcase Frames', value:'disabled'}, + {name:'Scrolls of Middle-earth (LTR)', value:'SagaLTR'}, {name:'Addons', value:'disabled'}, {name:'Legend Crowns', value:'M15LegendCrowns'}, {name:'Legend Crowns (Universes Beyond)', value:'UBLegendCrowns'}, diff --git a/js/frames/groupShowcase-5.js b/js/frames/groupShowcase-5.js index 11fd35ae..2392ca28 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:'Scrolls of Middle-earth (LTR)', value:'Scroll'}, {name:'Enchanting Tales (WOT)', value:'EnchantingTales'}, {name:'Eldraine Storybooks: Adventures (WOE)', value:'StorybookWOE'}, {name:'TARDIS (WHO)', value:'TARDIS'}, diff --git a/js/frames/packSagaLTR.js b/js/frames/packSagaLTR.js new file mode 100644 index 00000000..904fa9f9 --- /dev/null +++ b/js/frames/packSagaLTR.js @@ -0,0 +1,59 @@ +//Create objects for common properties across available frames +var masks = [{src:'/img/frames/saga/ltr/maskNoOverlay.png', name:'No Art Overlay'}]; +var stampBounds = {x:878/2010, y:2560/2814, width:256/2010, height:116/2814}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/saga/ltr/w.png', masks:masks}, + {name:'Blue Frame', src:'/img/frames/saga/ltr/u.png', masks:masks}, + {name:'Black Frame', src:'/img/frames/saga/ltr/b.png', masks:masks}, + {name:'Red Frame', src:'/img/frames/saga/ltr/r.png', masks:masks}, + {name:'Green Frame', src:'/img/frames/saga/ltr/g.png', masks:masks}, + {name:'Multicolored Frame', src:'/img/frames/saga/ltr/m.png', masks:masks}, + + + // {name:'Blue Frame', src:'/img/frames/saga/regular/sagaFrameU.png', masks:masks}, + // {name:'Black Frame', src:'/img/frames/saga/regular/sagaFrameB.png', masks:masks}, + // {name:'Red Frame', src:'/img/frames/saga/regular/sagaFrameR.png', masks:masks}, + // {name:'Green Frame', src:'/img/frames/saga/regular/sagaFrameG.png', masks:masks}, + // {name:'Multicolored Frame', src:'/img/frames/saga/regular/sagaFrameM.png', masks:masks}, + // {name:'Land Frame', src:'/img/frames/saga/regular/l.png', masks:masks}, + {name:'Banner Pinstripe (Multicolored)', src:'/img/frames/saga//ltr/sagaMidStripe.png', bounds:{x:136/2010, y:761/2814, width:41/2010, height:1435/2814}}, + {name:'Multicolored Bars', src:'/img/frames/saga/ltr/multicolor-bar-overlay.png', mode:'color'}, + + {name:'Gold Holo Stamp', src:'/img/frames/saga/ltr/stamp.png', bounds:stampBounds}, + {name:'Gray Holo Stamp', src:'/img/frames/saga/ltr/grayStamp.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() { + //resets things so that every frame doesn't have to + await resetCardIrregularities(); + replacementMasks = {'Right Half':'/img/frames/saga/ltr/maskRightHalf.png'}; + //sets card version + card.version = 'sagaLTR'; + card.onload = '/js/frames/versionSaga.js'; + loadScript('/js/frames/versionSaga.js'); + //art bounds + card.artBounds = {x:997/2010, y:313/2814, width:857/2010, height:2046/2814}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.9227, y:0.8739, width:0.12, height:0.0381, vertical:'center', horizontal: 'right'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.3027, y:0.4748, width:0.3547, height:0.6767}; + resetWatermark(); + //text + loadTextOptions({ + mana: {name:'Mana Cost', text:'', y:0.0613, width:0.9292, 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:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381}, + type: {name:'Type', text:'', x:0.0854, y:0.8481, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324}, + ability0: {name:'Ability 1', text:'', x:0.1334, y:0.2896, width:0.35, height:0.1786, size:0.0305}, + ability1: {name:'Ability 2', text:'', x:0.1334, y:0, width:0.35, height:0.1786, size:0.0305}, + ability2: {name:'Ability 3', text:'', x:0.1334, y:0, width:0.35, height:0.1786, size:0.0305}, + ability3: {name:'Ability 4', text:'', x:0.1334, y:0, width:0.35, height:0, size:0.0305}, + reminder: {name:'Reminder Text', text:'{i}(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)', x:0.0867, y:0.1129, width:0.404, height:0.1772, size:0.03, shadowColor:'white'} + }); +} +//loads available frames +loadFramePack(); \ No newline at end of file diff --git a/js/frames/packScroll.js b/js/frames/packScroll.js new file mode 100644 index 00000000..eff09f1a --- /dev/null +++ b/js/frames/packScroll.js @@ -0,0 +1,79 @@ +//Create objects for common properties across available frames +var masks = [{src:'/img/frames/scroll/maskNoOverlay.png', name:'No Art Overlay'}]; +// var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733}; +var crownBounds = {x:49/2010, y:43/2814, width:1909/2010, height:70/2814}; +var stampBounds = {x:834/2010, y:2518/2814, width:349/2010, height:181/2814}; +var ptBounds = {x:1492/2010, y:2422/2814, width:435/2010, height:266/2814}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/scroll/w.png', masks:masks}, + {name:'Blue Frame', src:'/img/frames/scroll/u.png', masks:masks}, + {name:'Black Frame', src:'/img/frames/scroll/b.png', masks:masks}, + {name:'Red Frame', src:'/img/frames/scroll/r.png', masks:masks}, + {name:'Green Frame', src:'/img/frames/scroll/g.png', masks:masks}, + {name:'Multicolored Frame', src:'/img/frames/scroll/m.png', masks:masks}, + {name:'Artifact Frame', src:'/img/frames/scroll/a.png', masks:masks}, + {name:'Land Frame', src:'/img/frames/scroll/l.png', masks:masks}, + + {name:'Multicolored Bars', src:'/img/frames/scroll/multicolor-bar-overlay.png', mode:'color'}, + + {name:'White Power/Toughness', src:'/img/frames/scroll/pt/w.png', bounds:ptBounds}, + {name:'Blue Power/Toughness', src:'/img/frames/scroll/pt/u.png', bounds:ptBounds}, + {name:'Black Power/Toughness', src:'/img/frames/scroll/pt/b.png', bounds:ptBounds}, + {name:'Red Power/Toughness', src:'/img/frames/scroll/pt/r.png', bounds:ptBounds}, + {name:'Green Power/Toughness', src:'/img/frames/scroll/pt/g.png', bounds:ptBounds}, + {name:'Multicolored Power/Toughness', src:'/img/frames/scroll/pt/m.png', bounds:ptBounds}, + {name:'Artifact Power/Toughness', src:'/img/frames/scroll/pt/a.png', bounds:ptBounds}, + + {name:'White Legendary Crown', src:'/img/frames/scroll/crowns/w.png', bounds:crownBounds}, + {name:'Blue Legendary Crown', src:'/img/frames/scroll/crowns/u.png', bounds:crownBounds}, + {name:'Black Legendary Crown', src:'/img/frames/scroll/crowns/b.png', bounds:crownBounds}, + {name:'Red Legendary Crown', src:'/img/frames/scroll/crowns/r.png', bounds:crownBounds}, + {name:'Green Legendary Crown', src:'/img/frames/scroll/crowns/g.png', bounds:crownBounds}, + {name:'Multicolored Legendary Crown', src:'/img/frames/scroll/crowns/m.png', bounds:crownBounds}, + {name:'Artifact Legendary Crown', src:'/img/frames/scroll/crowns/a.png', bounds:crownBounds}, + {name:'Land Legendary Crown', src:'/img/frames/scroll/crowns/l.png', bounds:crownBounds}, + + {name:'White Holo Stamp', src:'/img/frames/scroll/stamps/w.png', bounds:stampBounds}, + {name:'Blue Holo Stamp', src:'/img/frames/scroll/stamps/u.png', bounds:stampBounds}, + {name:'Black Holo Stamp', src:'/img/frames/scroll/stamps/b.png', bounds:stampBounds}, + {name:'Red Holo Stamp', src:'/img/frames/scroll/stamps/r.png', bounds:stampBounds}, + {name:'Green Holo Stamp', src:'/img/frames/scroll/stamps/g.png', bounds:stampBounds}, + {name:'Multicolored Holo Stamp', src:'/img/frames/scroll/stamps/m.png', bounds:stampBounds}, + {name:'Artifact Holo Stamp', src:'/img/frames/scroll/stamps/a.png', bounds:stampBounds}, + {name:'Land Holo Stamp', src:'/img/frames/scroll/stamps/l.png', bounds:stampBounds}, + {name:'Gray Stamp', src:'/img/frames/scroll/stamps/gray.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() { + //resets things so that every frame doesn't have to + await resetCardIrregularities(); + replacementMasks = {'Right Half':'/img/frames/scroll/maskRightHalf.png'}; + //sets card version + card.version = 'scroll'; + //art bounds + card.artBounds = {x:150/2010, y:311/2814, width:1711/2010, height:1252/2814}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.9213, y:0.5910, 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:0.0613, width:0.9292, 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:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381}, + type: {name:'Type', text:'', x:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324}, + 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:0.7928, y:0.902, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'} + }); +} +//loads available frames +loadFramePack(); +//Only for the main version as the webpage loads: +if (!card.text) { + document.querySelector('#loadFrameVersion').click(); +} \ No newline at end of file