diff --git a/img/frames/fab/addons/blank.svg b/img/frames/fab/addons/blank.svg new file mode 100644 index 00000000..de364d4a --- /dev/null +++ b/img/frames/fab/addons/blank.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/frames/fab/addons/blankThumb.png b/img/frames/fab/addons/blankThumb.png new file mode 100644 index 00000000..2164841e Binary files /dev/null and b/img/frames/fab/addons/blankThumb.png differ diff --git a/img/frames/fab/regions/1.svg b/img/frames/fab/regions/1.svg new file mode 100644 index 00000000..98e456e0 --- /dev/null +++ b/img/frames/fab/regions/1.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/frames/fab/regions/1Thumb.png b/img/frames/fab/regions/1Thumb.png new file mode 100644 index 00000000..8e909df8 Binary files /dev/null and b/img/frames/fab/regions/1Thumb.png differ diff --git a/img/frames/fab/regions/2.svg b/img/frames/fab/regions/2.svg new file mode 100644 index 00000000..772ca9b0 --- /dev/null +++ b/img/frames/fab/regions/2.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/frames/fab/regions/2Thumb.png b/img/frames/fab/regions/2Thumb.png new file mode 100644 index 00000000..fcfc08fd Binary files /dev/null and b/img/frames/fab/regions/2Thumb.png differ diff --git a/img/frames/fab/regions/3.svg b/img/frames/fab/regions/3.svg new file mode 100644 index 00000000..f9c0f4de --- /dev/null +++ b/img/frames/fab/regions/3.svg @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/frames/fab/regions/3Thumb.png b/img/frames/fab/regions/3Thumb.png new file mode 100644 index 00000000..63965194 Binary files /dev/null and b/img/frames/fab/regions/3Thumb.png differ diff --git a/img/frames/fab/regions/aria.png b/img/frames/fab/regions/aria.png new file mode 100644 index 00000000..b255574f Binary files /dev/null and b/img/frames/fab/regions/aria.png differ diff --git a/img/frames/fab/regions/ariaThumb.png b/img/frames/fab/regions/ariaThumb.png new file mode 100644 index 00000000..2cc6192c Binary files /dev/null and b/img/frames/fab/regions/ariaThumb.png differ diff --git a/img/frames/fab/regions/demonastery.png b/img/frames/fab/regions/demonastery.png new file mode 100644 index 00000000..a6bd3cf3 Binary files /dev/null and b/img/frames/fab/regions/demonastery.png differ diff --git a/img/frames/fab/regions/demonasteryThumb.png b/img/frames/fab/regions/demonasteryThumb.png new file mode 100644 index 00000000..f9818910 Binary files /dev/null and b/img/frames/fab/regions/demonasteryThumb.png differ diff --git a/img/frames/fab/regions/savageLands.png b/img/frames/fab/regions/savageLands.png new file mode 100644 index 00000000..72bfa99d Binary files /dev/null and b/img/frames/fab/regions/savageLands.png differ diff --git a/img/frames/fab/regions/savageLandsThumb.png b/img/frames/fab/regions/savageLandsThumb.png new file mode 100644 index 00000000..bffd5e2a Binary files /dev/null and b/img/frames/fab/regions/savageLandsThumb.png differ diff --git a/img/manaSymbols/outline/outlinet.svg b/img/manaSymbols/outline/outlinet.svg new file mode 100644 index 00000000..d104638d --- /dev/null +++ b/img/manaSymbols/outline/outlinet.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/js/frames/groupFleshAndBlood.js b/js/frames/groupFleshAndBlood.js index ff889704..0822be09 100644 --- a/js/frames/groupFleshAndBlood.js +++ b/js/frames/groupFleshAndBlood.js @@ -1,7 +1,8 @@ loadFramePacks([ {name:'Generic Frames', value:'FABRegular'}, - {name:'Classes', value:'FABClasses'}, - {name:'Heroes', value:'FABHeroes'}, + {name:'Class Frames', value:'FABClasses'}, + {name:'Hero Frames', value:'FABHeroes'}, + {name:'Region Frames', value:'FABRegions'}, {name:'Fabled Frame', value:'FABFabled'} ]) diff --git a/js/frames/manaSymbolsOutline.js b/js/frames/manaSymbolsOutline.js index 1d9780e5..31f6a1e3 100644 --- a/js/frames/manaSymbolsOutline.js +++ b/js/frames/manaSymbolsOutline.js @@ -7,6 +7,6 @@ if (findManaSymbolIndex('outlinew') == -1) { 'outline/outlinew', 'outline/outlineu', 'outline/outlineb', 'outline/outliner', 'outline/outlineg', 'outline/outlinec', 'outline/outlines', 'outline/outlinex', 'outline/outline0', 'outline/outline1', 'outline/outline2', 'outline/outline3', 'outline/outline4', 'outline/outline5', 'outline/outline6', - 'outline/outline7', 'outline/outline8', 'outline/outline9' + 'outline/outline7', 'outline/outline8', 'outline/outline9', 'outline/outlinet' ]); } \ No newline at end of file diff --git a/js/frames/packFABRegions.js b/js/frames/packFABRegions.js new file mode 100644 index 00000000..b0c0b04f --- /dev/null +++ b/js/frames/packFABRegions.js @@ -0,0 +1,20 @@ +//defines available frames +availableFrames = [ + {name:'Aria', src:'/img/frames/fab/regions/aria.png', complementary:[3,6]}, + {name:'Demonastery', src:'/img/frames/fab/regions/demonastery.png', complementary:[3,6]}, + {name:'Savage Lands', src:'/img/frames/fab/regions/savageLands.png', complementary:[3,6]}, + {name:'Pitch (1)', src:'/img/frames/fab/regions/1.svg'}, + {name:'Pitch (2)', src:'/img/frames/fab/regions/2.svg'}, + {name:'Pitch (3)', src:'/img/frames/fab/regions/3.svg'}, + {name:'Blanks', src:'/img/frames/fab/addons/blank.svg'}, + {name:'Spear', src:'/img/frames/fab/addons/spear.svg'}, + {name:'Shield', src:'/img/frames/fab/addons/shield.svg'} +]; +// notification +notify('For Region frames, pitch values and other icons must be placed behind card frames.', 15); +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = false; +//defines process for loading this version, if applicable +document.querySelector('#loadFrameVersion').onclick = LoadFABVersion; +//loads available frames +loadFramePack(); \ No newline at end of file diff --git a/js/frames/packInvocation.js b/js/frames/packInvocation.js index 0baa8102..2ba22d79 100644 --- a/js/frames/packInvocation.js +++ b/js/frames/packInvocation.js @@ -43,11 +43,11 @@ document.querySelector('#loadFrameVersion').onclick = async function() { card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305}; resetWatermark(); //text - loadTextOptions({ + 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.0007, shadowY:0.0005, shadow:'#ccb28b', manaCost:true, manaSpacing:-0.002, manaPrefix:'outline', manaSymbolColor:'#24150E'}, - 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.0007, shadowY:0.0005, shadow:'#ccb28b', color:'#24150E'}, - 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.0007, shadowY:0.0005, shadow:'#ccb28b', color:'#24150E'}, - rules: {name:'Rules Text', text:'', x:0.1, y:0.6334, width:0.8, height:0.2429, size:0.0334, font:'invocation-text', align:'center', manaPrefix:'outline', shadowX:-0.0007, shadowY:0.0005, shadow:'#ccb28b', color:'#24150E', manaPrefix:'outline', manaSymbolColor:'#24150E'}, + 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.0007, shadowY:0.0005, shadow:'#ccb28b', color:'black'}, + 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.0007, shadowY:0.0005, shadow:'#ccb28b', color:'black'}, + rules: {name:'Rules Text', text:'', x:0.1, y:0.6334, width:0.8, height:0.2429, size:0.0334, font:'invocation-text', align:'center', manaPrefix:'outline', shadowX:-0.0007, shadowY:0.0005, shadow:'#ccb28b', color:'black', manaPrefix:'outline', manaSymbolColor:'#24150E'}, 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.0007, shadowY:0.0005, shadow:'#ccb28b', color:'#24150E'} }); //bottom info