Add Dossier frame

This commit is contained in:
Josh birnholz
2024-01-24 18:49:11 -05:00
parent 087a041d6a
commit 5a71a471ec
52 changed files with 269 additions and 0 deletions

View File

@@ -3407,6 +3407,8 @@ function writeText(textObject, targetContext) {
}
if (card.version == 'pokemon') {
rawText = rawText.replace(/{flavor}/g, '{oldflavor}{fontsize-20}{fontgillsansbolditalic}');
} else if (card.version == 'dossier') {
rawText = rawText.replace(/{flavor}(.*)/g, function(v) { return '{/indent}{lns}{bar}{lns}{fixtextalign}' + v.replace(/{flavor}/g, '').toUpperCase(); });
} else if (!card.showsFlavorBar) {
rawText = rawText.replace(/{flavor}/g, '{oldflavor}');
}