diff --git a/img/frames/ixalanCoin/b.png b/img/frames/ixalanCoin/b.png new file mode 100644 index 00000000..07388e79 Binary files /dev/null and b/img/frames/ixalanCoin/b.png differ diff --git a/img/frames/ixalanCoin/bThumb.png b/img/frames/ixalanCoin/bThumb.png new file mode 100644 index 00000000..6ec591a6 Binary files /dev/null and b/img/frames/ixalanCoin/bThumb.png differ diff --git a/img/frames/ixalanCoin/crown/b.png b/img/frames/ixalanCoin/crown/b.png new file mode 100644 index 00000000..fb93148a Binary files /dev/null and b/img/frames/ixalanCoin/crown/b.png differ diff --git a/img/frames/ixalanCoin/crown/bThumb.png b/img/frames/ixalanCoin/crown/bThumb.png new file mode 100644 index 00000000..7535beb4 Binary files /dev/null and b/img/frames/ixalanCoin/crown/bThumb.png differ diff --git a/img/frames/ixalanCoin/crown/g.png b/img/frames/ixalanCoin/crown/g.png new file mode 100644 index 00000000..6c508b8f Binary files /dev/null and b/img/frames/ixalanCoin/crown/g.png differ diff --git a/img/frames/ixalanCoin/crown/gThumb.png b/img/frames/ixalanCoin/crown/gThumb.png new file mode 100644 index 00000000..f3c551bd Binary files /dev/null and b/img/frames/ixalanCoin/crown/gThumb.png differ diff --git a/img/frames/ixalanCoin/crown/m.png b/img/frames/ixalanCoin/crown/m.png new file mode 100644 index 00000000..7952fc46 Binary files /dev/null and b/img/frames/ixalanCoin/crown/m.png differ diff --git a/img/frames/ixalanCoin/crown/mThumb.png b/img/frames/ixalanCoin/crown/mThumb.png new file mode 100644 index 00000000..58a34c05 Binary files /dev/null and b/img/frames/ixalanCoin/crown/mThumb.png differ diff --git a/img/frames/ixalanCoin/crown/r.png b/img/frames/ixalanCoin/crown/r.png new file mode 100644 index 00000000..59055699 Binary files /dev/null and b/img/frames/ixalanCoin/crown/r.png differ diff --git a/img/frames/ixalanCoin/crown/rThumb.png b/img/frames/ixalanCoin/crown/rThumb.png new file mode 100644 index 00000000..72cca781 Binary files /dev/null and b/img/frames/ixalanCoin/crown/rThumb.png differ diff --git a/img/frames/ixalanCoin/crown/u.png b/img/frames/ixalanCoin/crown/u.png new file mode 100644 index 00000000..c9e79cf2 Binary files /dev/null and b/img/frames/ixalanCoin/crown/u.png differ diff --git a/img/frames/ixalanCoin/crown/uThumb.png b/img/frames/ixalanCoin/crown/uThumb.png new file mode 100644 index 00000000..72443263 Binary files /dev/null and b/img/frames/ixalanCoin/crown/uThumb.png differ diff --git a/img/frames/ixalanCoin/crown/w.png b/img/frames/ixalanCoin/crown/w.png new file mode 100644 index 00000000..68027dfe Binary files /dev/null and b/img/frames/ixalanCoin/crown/w.png differ diff --git a/img/frames/ixalanCoin/crown/wThumb.png b/img/frames/ixalanCoin/crown/wThumb.png new file mode 100644 index 00000000..2db96c6b Binary files /dev/null and b/img/frames/ixalanCoin/crown/wThumb.png differ diff --git a/img/frames/ixalanCoin/g.png b/img/frames/ixalanCoin/g.png new file mode 100644 index 00000000..50e25bc2 Binary files /dev/null and b/img/frames/ixalanCoin/g.png differ diff --git a/img/frames/ixalanCoin/gThumb.png b/img/frames/ixalanCoin/gThumb.png new file mode 100644 index 00000000..30ffc7ec Binary files /dev/null and b/img/frames/ixalanCoin/gThumb.png differ diff --git a/img/frames/ixalanCoin/m.png b/img/frames/ixalanCoin/m.png new file mode 100644 index 00000000..868627e1 Binary files /dev/null and b/img/frames/ixalanCoin/m.png differ diff --git a/img/frames/ixalanCoin/mThumb.png b/img/frames/ixalanCoin/mThumb.png new file mode 100644 index 00000000..b060968a Binary files /dev/null and b/img/frames/ixalanCoin/mThumb.png differ diff --git a/img/frames/ixalanCoin/maskFrame.png b/img/frames/ixalanCoin/maskFrame.png new file mode 100644 index 00000000..54ead8ff Binary files /dev/null and b/img/frames/ixalanCoin/maskFrame.png differ diff --git a/img/frames/ixalanCoin/pt/b.png b/img/frames/ixalanCoin/pt/b.png new file mode 100644 index 00000000..05f906f2 Binary files /dev/null and b/img/frames/ixalanCoin/pt/b.png differ diff --git a/img/frames/ixalanCoin/pt/bThumb.png b/img/frames/ixalanCoin/pt/bThumb.png new file mode 100644 index 00000000..7297e1ac Binary files /dev/null and b/img/frames/ixalanCoin/pt/bThumb.png differ diff --git a/img/frames/ixalanCoin/pt/g.png b/img/frames/ixalanCoin/pt/g.png new file mode 100644 index 00000000..3457fbcc Binary files /dev/null and b/img/frames/ixalanCoin/pt/g.png differ diff --git a/img/frames/ixalanCoin/pt/gThumb.png b/img/frames/ixalanCoin/pt/gThumb.png new file mode 100644 index 00000000..0cd774cd Binary files /dev/null and b/img/frames/ixalanCoin/pt/gThumb.png differ diff --git a/img/frames/ixalanCoin/pt/m.png b/img/frames/ixalanCoin/pt/m.png new file mode 100644 index 00000000..a8552eea Binary files /dev/null and b/img/frames/ixalanCoin/pt/m.png differ diff --git a/img/frames/ixalanCoin/pt/mThumb.png b/img/frames/ixalanCoin/pt/mThumb.png new file mode 100644 index 00000000..10951c00 Binary files /dev/null and b/img/frames/ixalanCoin/pt/mThumb.png differ diff --git a/img/frames/ixalanCoin/pt/r.png b/img/frames/ixalanCoin/pt/r.png new file mode 100644 index 00000000..9919a2d3 Binary files /dev/null and b/img/frames/ixalanCoin/pt/r.png differ diff --git a/img/frames/ixalanCoin/pt/rThumb.png b/img/frames/ixalanCoin/pt/rThumb.png new file mode 100644 index 00000000..1dfb68d4 Binary files /dev/null and b/img/frames/ixalanCoin/pt/rThumb.png differ diff --git a/img/frames/ixalanCoin/pt/u.png b/img/frames/ixalanCoin/pt/u.png new file mode 100644 index 00000000..ef486e0f Binary files /dev/null and b/img/frames/ixalanCoin/pt/u.png differ diff --git a/img/frames/ixalanCoin/pt/uThumb.png b/img/frames/ixalanCoin/pt/uThumb.png new file mode 100644 index 00000000..093cc012 Binary files /dev/null and b/img/frames/ixalanCoin/pt/uThumb.png differ diff --git a/img/frames/ixalanCoin/pt/w.png b/img/frames/ixalanCoin/pt/w.png new file mode 100644 index 00000000..73bdab05 Binary files /dev/null and b/img/frames/ixalanCoin/pt/w.png differ diff --git a/img/frames/ixalanCoin/pt/wThumb.png b/img/frames/ixalanCoin/pt/wThumb.png new file mode 100644 index 00000000..db497aa1 Binary files /dev/null and b/img/frames/ixalanCoin/pt/wThumb.png differ diff --git a/img/frames/ixalanCoin/r.png b/img/frames/ixalanCoin/r.png new file mode 100644 index 00000000..29e2f1ac Binary files /dev/null and b/img/frames/ixalanCoin/r.png differ diff --git a/img/frames/ixalanCoin/rThumb.png b/img/frames/ixalanCoin/rThumb.png new file mode 100644 index 00000000..4123d144 Binary files /dev/null and b/img/frames/ixalanCoin/rThumb.png differ diff --git a/img/frames/ixalanCoin/stamp.png b/img/frames/ixalanCoin/stamp.png new file mode 100644 index 00000000..62dcef89 Binary files /dev/null and b/img/frames/ixalanCoin/stamp.png differ diff --git a/img/frames/ixalanCoin/stampThumb.png b/img/frames/ixalanCoin/stampThumb.png new file mode 100644 index 00000000..3874d8f9 Binary files /dev/null and b/img/frames/ixalanCoin/stampThumb.png differ diff --git a/img/frames/ixalanCoin/u.png b/img/frames/ixalanCoin/u.png new file mode 100644 index 00000000..8c934e96 Binary files /dev/null and b/img/frames/ixalanCoin/u.png differ diff --git a/img/frames/ixalanCoin/uThumb.png b/img/frames/ixalanCoin/uThumb.png new file mode 100644 index 00000000..95a8c963 Binary files /dev/null and b/img/frames/ixalanCoin/uThumb.png differ diff --git a/img/frames/ixalanCoin/w.png b/img/frames/ixalanCoin/w.png new file mode 100644 index 00000000..681ca08e Binary files /dev/null and b/img/frames/ixalanCoin/w.png differ diff --git a/img/frames/ixalanCoin/wThumb.png b/img/frames/ixalanCoin/wThumb.png new file mode 100644 index 00000000..b7afb7c3 Binary files /dev/null and b/img/frames/ixalanCoin/wThumb.png differ diff --git a/js/frameSearch.js b/js/frameSearch.js index e48d6435..07856188 100644 --- a/js/frameSearch.js +++ b/js/frameSearch.js @@ -28,6 +28,7 @@ const frameNames = new Map ([ ['Colorshifted (Planar Chaos)', 'Colorshifted'], ['Brawl Legend Crowns', 'Brawl'], //showcase + ['Ixalan Coin (MOM)', 'IxalanCoin'], ['Ikoria Crystal (MOM)', 'Crystal'], ['Ravnica Architecture (MOM)', 'Ravnica'], ['Tarkir Sketch (MOM)', 'Tarkir'], diff --git a/js/frames/groupShowcase-5.js b/js/frames/groupShowcase-5.js index 2d351471..53be1562 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:'Ixalan Coin (MOM)', value:'IxalanCoin'}, {name:'Tarkir Sketch (MOM)', value:'Tarkir'}, {name:'Ikoria Crystal (MOM)', value:'Crystal'}, {name:'Ravnica Architecture (MOM)', value:'Ravnica'}, diff --git a/js/frames/packIxalanCoin.js b/js/frames/packIxalanCoin.js new file mode 100644 index 00000000..368296a7 --- /dev/null +++ b/js/frames/packIxalanCoin.js @@ -0,0 +1,65 @@ +//Create objects for common properties across available frames +var masks = []; +var ptBounds = {x:0/1500, y:0/2100, width:1500/1500, height:2100/2100}; +var crownBounds = {x:0/1500, y:0/2100, width:1500/1500, height:2100/2100}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/ixalanCoin/w.png', masks:masks}, + {name:'Blue Frame', src:'/img/frames/ixalanCoin/u.png', masks:masks}, + {name:'Black Frame', src:'/img/frames/ixalanCoin/b.png', masks:masks}, + {name:'Red Frame', src:'/img/frames/ixalanCoin/r.png', masks:masks}, + {name:'Green Frame', src:'/img/frames/ixalanCoin/g.png', masks:masks}, + {name:'Multicolored Frame', src:'/img/frames/ixalanCoin/m.png', masks:masks}, + // {name:'Artifact Frame', src:'/img/frames/ixalanCoin/a.png', masks:masks}, + // {name:'Colorless Frame', src:'/img/frames/ixalanCoin/c.png', masks:masks}, + + {name:'White Power/Toughness', src:'/img/frames/ixalanCoin/pt/w.png', bounds:ptBounds}, + {name:'Blue Power/Toughness', src:'/img/frames/ixalanCoin/pt/u.png', bounds:ptBounds}, + {name:'Black Power/Toughness', src:'/img/frames/ixalanCoin/pt/b.png', bounds:ptBounds}, + {name:'Red Power/Toughness', src:'/img/frames/ixalanCoin/pt/r.png', bounds:ptBounds}, + {name:'Green Power/Toughness', src:'/img/frames/ixalanCoin/pt/g.png', bounds:ptBounds}, + {name:'Multicolored Power/Toughness', src:'/img/frames/ixalanCoin/pt/m.png', bounds:ptBounds}, + // {name:'Artifact Power/Toughness', src:'/img/frames/ixalanCoin/pt/a.png', bounds:ptBounds}, + // {name:'Colorless Power/Toughness', src:'/img/frames/ixalanCoin/pt/c.png', bounds:ptBounds}, + + {name:'White Legendary Crown', src:'/img/frames/ixalanCoin/crown/w.png', bounds:crownBounds}, + {name:'Blue Legendary Crown', src:'/img/frames/ixalanCoin/crown/u.png', bounds:crownBounds}, + {name:'Black Legendary Crown', src:'/img/frames/ixalanCoin/crown/b.png', bounds:crownBounds}, + {name:'Red Power/Toughness', src:'/img/frames/ixalanCoin/crown/r.png', bounds:crownBounds}, + {name:'Green Legendary Crown', src:'/img/frames/ixalanCoin/crown/g.png', bounds:crownBounds}, + {name:'Multicolored Legendary Crown', src:'/img/frames/ixalanCoin/crown/m.png', bounds:crownBounds}, + // {name:'Artifact Legendary Crown', src:'/img/frames/ixalanCoin/crown/a.png', bounds:crownBounds}, + // {name:'Colorless Legendary Crown', src:'/img/frames/ixalanCoin/crown/c.png', bounds:crownBounds}, + + {name:'Holo Stamp', src:'/img/frames/ixalanCoin/stamp.png'} +]; +//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/ixalanCoin/maskFrame.png'}; + //sets card version + card.version = 'ixalanCoin'; + //art bounds + card.artBounds = {x:131/1500, y:233/2100, width:1235 /1500, height:926/2100}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:1386/1500, y:1234/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:'', x:-5/1500, y:131/2100, 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:124/1500, y:108/2100, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, color:'white'}, + type: {name:'Type', text:'', x:123/1500, y:1182/2100, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, color:'white'}, + rules: {name:'Rules Text', text:'', x:129/1500, y:1332/2100, width:1242/1500, height:579/2100, size:0.0362, color:'white'}, + 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', color:'white'} + }); +} +//loads available frames +loadFramePack(); \ No newline at end of file