diff --git a/js/creator-23.js b/js/creator-23.js index 33ae11cc..b9754baf 100644 --- a/js/creator-23.js +++ b/js/creator-23.js @@ -106,6 +106,7 @@ async function resetCardIrregularities({canvas = [getStandardWidth(), getStandar card.bottomInfoZoom = 1; replacementMasks = {}; card.hideBottomInfoBorder = false; + card.showsFlavorBar = true; //rotation if (card.landscape) { // previewContext.scale(card.width/card.height, card.height/card.width); @@ -2775,7 +2776,7 @@ function writeText(textObject, targetContext) { } if (card.version == 'pokemon') { rawText = rawText.replace(/{flavor}/g, '{oldflavor}{fontsize-20}{fontgillsansbolditalic}'); - } else if (autoFramePack == 'Seventh' || autoFramePack == '8th' || card.version == 'invocation' || card.version == "storybook_mul" || card.version == 'tardis') { + } else if (!card.showsFlavorBar) { rawText = rawText.replace(/{flavor}/g, '{oldflavor}'); } rawText = rawText.replace(/ - /g, ' — '); diff --git a/js/frames/pack8th.js b/js/frames/pack8th.js index 6c753b51..253bfb0d 100644 --- a/js/frames/pack8th.js +++ b/js/frames/pack8th.js @@ -39,6 +39,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = '8th'; + card.showsFlavorBar = false; //art bounds card.artBounds = {x:0.088, y:0.12, width:0.824, height:0.4348}; autoFitArt(); diff --git a/js/frames/pack8thColorshifted.js b/js/frames/pack8thColorshifted.js index dcea7d3c..e0b27b9b 100644 --- a/js/frames/pack8thColorshifted.js +++ b/js/frames/pack8thColorshifted.js @@ -24,6 +24,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = '8thColorshifted'; + card.showsFlavorBar = false; //art bounds card.artBounds = {x:0.088, y:0.12, width:0.824, height:0.4348}; autoFitArt(); diff --git a/js/frames/packABU.js b/js/frames/packABU.js index b11ea81c..3210087b 100644 --- a/js/frames/packABU.js +++ b/js/frames/packABU.js @@ -28,6 +28,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'abu'; + card.showsFlavorBar = false; loadScript('/js/frames/manaSymbolsOld.js'); //art bounds card.artBounds = {x:0.116, y:0.1043, width:0.7654, height:0.441}; diff --git a/js/frames/packFourth.js b/js/frames/packFourth.js index 8210e405..a9afccbe 100644 --- a/js/frames/packFourth.js +++ b/js/frames/packFourth.js @@ -20,6 +20,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'fourth'; + card.showsFlavorBar = false; //art bounds card.artBounds = {x:0.1034, y:0.0886, width:0.794, height:0.4543}; autoFitArt(); diff --git a/js/frames/packFutureRegular.js b/js/frames/packFutureRegular.js index 293d103e..9d5d9d54 100644 --- a/js/frames/packFutureRegular.js +++ b/js/frames/packFutureRegular.js @@ -33,6 +33,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'futureRegular'; + card.showsFlavorBar = false; loadScript('/js/frames/manaSymbolsFuture.js'); // notify('The Future version adds special mana symbols. To use them, place an "F" before the following mana symbols: wubrg, 0-20, x, and hybrid mana symbols.'); //art bounds diff --git a/js/frames/packInvocation.js b/js/frames/packInvocation.js index a1345a74..c8d3855e 100644 --- a/js/frames/packInvocation.js +++ b/js/frames/packInvocation.js @@ -32,6 +32,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'invocation'; + card.showsFlavorBar = false; loadScript('/js/frames/manaSymbolsOutline.js'); //art bounds card.artBounds = {x:173/1500, y:313/2100, width:1150/1500, height:819/2100}; diff --git a/js/frames/packLegends.js b/js/frames/packLegends.js index 178c596e..339c6f5f 100644 --- a/js/frames/packLegends.js +++ b/js/frames/packLegends.js @@ -10,6 +10,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'legends'; + card.showsFlavorBar = false; loadScript('/js/frames/manaSymbolsOld.js'); //art bounds card.artBounds = {x:0.1074, y:0.0924, width:0.7854, height:0.4524}; diff --git a/js/frames/packOldFloating.js b/js/frames/packOldFloating.js index bf3052b6..1beb17fc 100644 --- a/js/frames/packOldFloating.js +++ b/js/frames/packOldFloating.js @@ -28,6 +28,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'oldFloating'; + card.showsFlavorBar = false; //art bounds card.artBounds = {x:0, y:0, width:1, height:1}; autoFitArt(); diff --git a/js/frames/packOldFloatingShort.js b/js/frames/packOldFloatingShort.js index 51538f58..bdfb241c 100644 --- a/js/frames/packOldFloatingShort.js +++ b/js/frames/packOldFloatingShort.js @@ -28,6 +28,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'oldFloatingShort'; + card.showsFlavorBar = false; //art bounds card.artBounds = {x:0, y:0, width:1, height:1}; autoFitArt(); diff --git a/js/frames/packPlaytest.js b/js/frames/packPlaytest.js index 77336fc8..d26cf662 100644 --- a/js/frames/packPlaytest.js +++ b/js/frames/packPlaytest.js @@ -24,6 +24,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'playtest'; + card.showsFlavorBar = false; loadScript('/js/frames/manaSymbolsOutline.js'); //art bounds card.artBounds = {x:0.132, y:0.1439, width:0.736, height:0.3362}; diff --git a/js/frames/packSeventh.js b/js/frames/packSeventh.js index 406a648f..073b7dec 100644 --- a/js/frames/packSeventh.js +++ b/js/frames/packSeventh.js @@ -47,6 +47,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'seventh'; + card.showsFlavorBar = false; //art bounds card.artBounds = {x:0.12, y:0.0991, width:0.7667, height:0.4429}; autoFitArt(); diff --git a/js/frames/packSeventhButFifth.js b/js/frames/packSeventhButFifth.js index f0d2d8bc..c2e0ace5 100644 --- a/js/frames/packSeventhButFifth.js +++ b/js/frames/packSeventhButFifth.js @@ -47,6 +47,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'fifth'; + card.showsFlavorBar = false; //art bounds card.artBounds = {x:0.12, y:0.0991, width:0.7667, height:0.4429}; autoFitArt(); diff --git a/js/frames/packSeventhSnowLands.js b/js/frames/packSeventhSnowLands.js index 93af1e98..65589d68 100644 --- a/js/frames/packSeventhSnowLands.js +++ b/js/frames/packSeventhSnowLands.js @@ -31,6 +31,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'seventhSnowLands'; + card.showsFlavorBar = false; //art bounds card.artBounds = {x:0.12, y:0.0991, width:0.7667, height:0.4429}; autoFitArt(); diff --git a/js/frames/packStorybookMUL.js b/js/frames/packStorybookMUL.js index fd41a30a..108ae60a 100644 --- a/js/frames/packStorybookMUL.js +++ b/js/frames/packStorybookMUL.js @@ -39,6 +39,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { replacementMasks = {'Right Half':'img/frames/storybook/mul/rightHalf.png'}; //sets card version card.version = 'storybook_mul'; + card.showsFlavorBar = false; //art bounds card.artBounds = {x:54/1500, y:62/2100, width:1398/1500, height:1157/2100}; autoFitArt(); diff --git a/js/frames/packTARDIS.js b/js/frames/packTARDIS.js index 7bef9ad4..ebf95b49 100644 --- a/js/frames/packTARDIS.js +++ b/js/frames/packTARDIS.js @@ -32,6 +32,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'tardis'; + card.showsFlavorBar = false; //art bounds card.artBounds = {x:115/1500, y:264/2100, width:1271/1500, height:898/2100}; autoFitArt();