Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Tim's NPC Stat Block Mod v4 (ScriptCards) D&D 5E 2014

1766697286

Edited 1769061517
Hi All, This is my new version of my NPC Stat Block Mod. It is compatible with the D&amp;D 5E 2014 character sheet by Roll20 and requires ScripCards API Mod to be installed. With this Mod you'll never have to juggle NPC open character sheets again. Just select the NPC token and all their abilities are easily accessible. Easy Copy and Paste Link Feature List Displays an NPC's Stat Block in chat. Mimics the D&amp;D 2014 Monster Manual NPC stat blocks as closely as possible. Includes all NPC information that would be available in the Monster Manual stat block and has buttons available for all its actions, ability rolls, saving throws, and skill checks. If you don't want to click on the description button, to prevent it from showing in chat, you can simply hover over the Name or Description of the Trait or Action and it will display in a tooltip. What's New? Many, many template changes that more accurately mimics the official D&amp;D 5E NPC Stat Block, colors are matched more accurately etc. The stat block takes up the full width of the chat window, even though it whispers to the user. This allows for a lot more information to be displayed. Trait and Action descriptions are now displayed in the stat block. This isn't really a practical decision, as it only displays a few words before cut off, but it makes it look more like the official stat block. Lots of other code changes that makes the code a little less prone to bugs. If you'd like to see the differences first hand, here is a link to the previous version. How to Install Ensure that ScriptCards is installed in your game. Create a new character called&nbsp;ScriptCards_TemplateMule (exactly as written, case sensitive and with the underscore) Copy and Paste the code below, or from the Easy Copy and Paste link above in a new Macro. Call it whatever you like, example NPC-Stat-Block, and paste the code into it. This Mod is designed to be placed in the Game's Macro section, not on individual character sheets. Run the Mod for the first time, making sure an NPC token is selected. The Mod will write the statblockv4 theme to the template mule. All subsequent runs of the mod will now just give you NPC stat blocks !Script{{ --/|Script Name : Tim's NPC Stat Block Mod v4 (Scriptcards) for D&amp;D 5E 2014 --/|Version : 4.1.1 --/|Author : Timothy Beasley --/|Description : This script displays an NPC stat block that mimics the 2014 Monster Manual in chat that has buttons for all --/| rolls; Skills, Saves, Traits, and Actions(actions, bonus, reaction, Legendary, Mythic). --/| --/|Usage : This script is for the 2014 edition of the official D&amp;D 5E Character Sheet by Roll20 and requires the --/| installation of the ScriptCards MOD using a pro account with API access. --/| This script also requires the creation of a mule character named ScriptCards_TemplateMule exactly as written here. --/| The first time the Mod is run it will write the style information to the ScriptCards_TemplateMule character. --/| All subsequent runs of the Mod will be the NPC stat block. --/| CHECK FOR EXISTANCE OF ScriptCards_TemplateMule --&amp;TemplateMuleID|@{ScriptCards_TemplateMule|character_id} --?"[*[&amp;TemplateMuleID]:character_name]" -eq ""|[ --+|[t width=100% border=1 style="text-align: center ; line-height: 17px; vertical-align: middle ; "][tr][td]Please make sure you've created a character called [b]ScriptCards_TemplateMule[/b][br] in your game journal. It has to be exactly this name and is case sensitive. [br]This is where the style information for the NPC Stat Block Mod will be kept.[/td][/tr][/t] --X| --]| --/| GET STYLE ABILITY ON TEMPLATE MULE CHARACTER AND CHECK IF FIRST RUN --~IsTemplate|system;findability;ScriptCards_TemplateMule;statblockv4 --?"[&amp;IsTemplate]" -eq "AbilityNotFound"|[ --+|[t width=100% border=1 style="text-align: center ; line-height: 17px; vertical-align: middle ; "][tr][td]The style information has been written, please run the Mod again.[/td][/tr][/t] --&amp;StatBlock|boxcode::{div style='background-image: url(&amp;quot;<a href="https://files.d20.io/images/105716505/oymO0pnVyLCv-tQDw2vddA/med.png&amp;quot" rel="nofollow">https://files.d20.io/images/105716505/oymO0pnVyLCv-tQDw2vddA/med.png&amp;quot</a>;) ; background-size: 100% 100% ; width: 300px ; background-repeat: no-repeat ; background-color: #264C5E ; display: block ; text-align: left ; font-size: 12px ; padding: 10px 0 20px 0 ; font-family: serif ; font-style: normal ; line-height: 1.2em ; position: relative ; left: -30px ;'}||titlecode::{div style='background-image: url(&amp;quot;<a href="https://files.d20.io/images/105716694/59KW_4mBR3y_Iz45sQw2-g/med.png&amp;quot" rel="nofollow">https://files.d20.io/images/105716694/59KW_4mBR3y_Iz45sQw2-g/med.png&amp;quot</a>;) !important ; background-size: 100% 4px ; width: 302px ; height:4px; display: block ; border: 1px solid #3d0d03; border-radius: 2px ; vertical-align: top ; position: relative ; top: -16px ; left: -2px ;'}{/div}{div style='margin: 0 15px ; font-size: 24px ; font-variant: small-caps ; font-family: serif ; color: #7A2008 ; display: block ; font-weight: bold ; font-style: normal ; vertical-align: top ; position: relative ; top: -8px; left: 0px ; line-height: .9em ;'}||textcode::{/div}{div}{div style='color: #7A2008 ; font-family: "Segoe UI", Tahoma, sans-serif ; font-weight: normal; display: block ; width: 270px ; margin: 0 15px ; vertical-align: top ; position: relative ; top: -5px ;'}||buttonwrapper::{div style='display: block ; width: 100% ;'}{div style='background-image: url(&amp;quot;<a href="https://files.d20.io/images/105716694/59KW_4mBR3y_Iz45sQw2-g/med.png&amp;quot" rel="nofollow">https://files.d20.io/images/105716694/59KW_4mBR3y_Iz45sQw2-g/med.png&amp;quot</a>;) !important ; background-size: 100% 4px ; width: 302px ; height:4px; display: block ; border: 1px solid #2f2112; border-radius: 2px ; vertical-align: bottom ; position: relative ; bottom: -26px ; left: -17px ;'}{/div}||buttonstyle::style='color: #7A2008 ; background-color: transparent ; padding: 2px ; border: none'||footer:: --!ob:StyleSaveResult:[&amp;TemplateMuleID]:statblockv4:0|[&amp;StatBlock] --@sc-reloadtemplates| --X| --]| --/| SET PARAMETERS --#Debug|0 --#reentrant|NPCBlock- @{selected|character_id} --#overridetemplate|statblockv4 --#Whisper|self --#sourceToken|@{selected|token_id} --&amp;CharID|[*S:character_id] --#title|[*S:npc_name] --#emoteState|0 --/| CACHE ATTRIBUTES IN STRING VARIABLES --&amp;NPC_actype|[*S:npc_actype] --&amp;HP|[*S:hp] --?"[&amp;NPC_actype]" -ne ""|&amp;NPCactype;([&amp;NPC_actype]) --?"[&amp;HP]" -ne ""|&amp;BaseHP; [&amp;HP] / --&amp;NPC_vuln|[*S:npc_vulnerabilities] --&amp;NPC_res|[*S:npc_resistances] --&amp;NPC_imm|[*S:npc_immunities] --&amp;NPC_cond|[*S:npc_condition_immunities] --&amp;NPC_senses|[*S:npc_senses] --&amp;NPC_lang|[*S:npc_languages] --&amp;NPC_chall|[*S:npc_challenge] --&amp;NPC_pb|[*S:npc_pb] --/| START OUTPUT --&amp;Divider|[t][tr][td height=5px][/td][/tr][/t][t][tr][td width=100% style="border: none; border-top: 0.10em solid transparent; border-bottom: 0.25em solid transparent; border-left: 16em solid #910900; line-height: 1.25em; font-size: 1.4em; display: block; pointer-events: none;"][/td][/tr][/t][t][tr][td height=5px][/td][/tr][/t] --&amp;HeaderBlock|[t width=100% style="width:100% ; font-size: 12px ; "][tr][td][#000][i][*S:npc_type]&amp;nbsp;[/i][/#][/td][/tr][tr][td][&amp;Divider][/td][/tr][tr][td][b]Armor&amp;nbsp;Class[/b]&amp;nbsp;[*S:npc_ac]&amp;nbsp;[&amp;NPCactype][br][b]Hit&amp;nbsp;Points[/b][&amp;BaseHP]&amp;nbsp;[*S:hp^]&amp;nbsp;([*S:npc_hpformula])[br][b]Speed[/b]&amp;nbsp;[*S:npc_speed][/td][/tr][/t] --+|[&amp;HeaderBlock] --+|[&amp;Divider] --~|array;define;StatArray;strength;dexterity;constitution;intelligence;wisdom;charisma --&amp;StatsPerRow|3 --&amp;StatsCounter|0 --&amp;StatsBlock|[t width=100% style="text-align: center; border-collapse: collapse;"][tr] --%StatLoop|foreach;StatArray --&amp;StatSpace| --&amp;Sign| --&amp;ModPart| --?"[= [&amp;StatsCounter] % [&amp;StatsPerRow] ]" -eq "0" -and "[&amp;StatsCounter]" -ne "0"|&amp;StatsBlock;+[/tr][tr] --&amp;SaveButton|[&amp;StatLoop(0,3)] --&amp;StatName|[&amp;SaveButton(touppercase)] --=ThisMod|[*S:[&amp;StatLoop]_mod] --&amp;StatNum|[*S:[&amp;StatLoop]] --?[$ThisMod.Raw] -ge 0|[ --&amp;Sign|&amp;#43; --&amp;ModPart|[&amp;Sign][$ThisMod.Raw] --]| --?[$ThisMod.Raw] -lt 0|[ --=AbsMod|0 - [$ThisMod.Raw] --&amp;Sign|&amp;minus; --&amp;ModPart|[&amp;Sign][$AbsMod.Raw] --]| --?"[&amp;StatNum]" -lt "10"| [ --&amp;StatSpace|&amp;nbsp; --]| --&amp;StatsBlock|+[td][F::14][b][button][&amp;StatName]&amp;nbsp;[&amp;StatNum][&amp;StatSpace]&amp;nbsp;([&amp;ModPart])::~selected|npc_[&amp;SaveButton][/button][/b][/F][br][button]save::~selected|npc_[&amp;SaveButton]_save[/button][/td] --=NextCounter|[&amp;StatsCounter] + 1 --#parameterDelimiter|$$$ --?"[= [$NextCounter.Raw] % [&amp;StatsPerRow] ]" -ne "0" |&amp;StatsBlock$$$+[td style="width:1px; vertical-align: top; font-weight: bold; color: #7A2008;"]&amp;#124;[/td] --?"[= [$NextCounter.Raw] % [&amp;StatsPerRow] ]" -eq "0" |&amp;StatsBlock$$$+[td style="width:1px;"]&amp;nbsp;[/td] --#parameterDelimiter|; --&amp;StatsCounter|[= [&amp;StatsCounter] + 1 ] --%| --&amp;StatsBlock|+[/tr][/t] --+|[&amp;StatsBlock] --+|[&amp;Divider] --&amp;SecondBlock|[t width=100%][tr][td style="width: 260px ; display: block ; font-size: 12px ; "] --~|array;define;SaveArray;str;dex;con;int;wis;cha --%SaveLoop|foreach;SaveArray --?"[*S:npc_[&amp;SaveLoop]_save_base]" -gt 0|[ --~SaveTitle|string;totitlecase;[&amp;SaveLoop] --&amp;AddSave|+[&amp;SaveTitle]&amp;nbsp;[*S:npc_[&amp;SaveLoop]_save_base],&amp;nbsp; --]| --%| --?"[&amp;AddSave]" -ne ""|[ --&amp;SavingThrows|[b]Saving&amp;nbsp;Throws&amp;nbsp;[/b] --]| --=SecondBlockCalc|[&amp;AddSave(length)] - 7 --&amp;SecondBlock|+[&amp;SavingThrows][&amp;AddSave(0,[$SecondBlockCalc.Raw])][/td][/tr][/t] --+|[&amp;SecondBlock] --&amp;ThirdBlock|[t width=100%][tr][td style="width: 260px ; display: block ; font-size: 12px ; "] --~|array;define;SkillArray;acrobatics;animal_handling;arcana;athletics;history;insight;intimidation;investigation;medicine;nature;perception;performance;persuasion;religion;sleight_of_hand;stealth;survival --%SkillLoop|foreach;SkillArray --?"[*S:npc_[&amp;SkillLoop]_base]" -gt 0|[ --~SkillTitle|string;totitlecase;[&amp;SkillLoop] --&amp;AddSkill|+[&amp;SkillTitle]&amp;nbsp;[*S:npc_[&amp;SkillLoop]_base],&amp;nbsp; --]| --%| --?"[&amp;AddSkill]" -ne ""|[ --&amp;SkillHeading|[b]Skills&amp;nbsp;[/b] --]| --=ThirdBlockCalc|[&amp;AddSkill(length)] - 7 --&amp;ThirdBlock|+[&amp;SkillHeading][&amp;AddSkill(0,[$ThirdBlockCalc.Raw])][/td][/tr][/t] --+|[&amp;ThirdBlock] --#parameterDelimiter|$$$ --&amp;FourthBlock|[t width=100%] --?"[&amp;NPC_vuln]" -ne ""|&amp;FourthBlock$$$+[tr][td style="font-size: 12px ; "][b]Damage&amp;nbsp;Vulnerabilities[/b]&amp;nbsp;[&amp;NPC_vuln][/td][/tr] --?"[&amp;NPC_res]" -ne ""|&amp;FourthBlock$$$+[tr][td style="font-size: 12px ; "][b]Damage&amp;nbsp;Resistances[/b]&amp;nbsp;[&amp;NPC_res][/td][/tr] --?"[&amp;NPC_imm]" -ne ""|&amp;FourthBlock$$$+[tr][td style="font-size: 12px ; "][b]Damage&amp;nbsp;Immunities[/b]&amp;nbsp;[&amp;NPC_imm][/td][/tr] --?"[&amp;NPC_cond]" -ne ""|&amp;FourthBlock$$$+[tr][td style="font-size: 12px ; "][b]Conditions&amp;nbsp;Immunities[/b]&amp;nbsp;[&amp;NPC_cond][/td][/tr] --?"[&amp;NPC_senses]" -ne ""|&amp;FourthBlock$$$+[tr][td style="font-size: 12px ; "][b]Senses[/b]&amp;nbsp;[&amp;NPC_senses][/td][/tr] --?"[&amp;NPC_lang]" -ne ""|&amp;FourthBlock$$$+[tr][td style="font-size: 12px ; "][b]Languages[/b]&amp;nbsp;[&amp;NPC_lang][/td][/tr] --?"[&amp;NPC_chall]" -ne ""|&amp;FourthBlock$$$+[tr][td style="font-size: 12px ; "][b]Challenge[/b]&amp;nbsp;[&amp;NPC_chall]&amp;nbsp;([*S:npc_xp]xp)[/td][/tr] --?"[&amp;NPC_pb]" -ne 0|&amp;FourthBlock$$$+[tr][td style="font-size: 12px ; "][b]Proficiency Bonus[/b]&amp;nbsp;[&amp;NPC_pb][/td][/tr] --#parameterDelimiter|; --&amp;FourthBlock|+[/t] --+|[&amp;FourthBlock] --+|[&amp;Divider] --~|array;define;SectionTypes;trait;action;bonusaction;reaction;action-l;action-m --%SectionLoop|foreach;SectionTypes --Rfirst|[&amp;CharID];repeating_npc[&amp;SectionLoop] --?"[*R:name]" -ne "NoRepeatingAttributeLoaded"|&gt;ActionLoop;[&amp;SectionLoop] --%| --+|[t width=100%][tr][td style="line-height:6px;"]&amp;nbsp;[/td][/tr][tr][td style="background-image:linear-gradient(#7A2008,#7A2008);background-size:100% 2px;background-repeat:no-repeat;background-position:bottom;line-height:2px;height:2px;"]&amp;nbsp;[/td][/tr][tr][td style="line-height:4px;"]&amp;nbsp;[/td][/tr][/t] --&amp;SkillOutput|[t style="width: 100%; word-spacing: -2px; text-align: center; font-size: 13px ;"][tr][td][button]Acrobatics::~selected|npc_Acrobatics[/button]&amp;nbsp;|&amp;nbsp;[button]Animal Handling::~selected|npc_Animal_Handling[/button]&amp;nbsp;|&amp;nbsp;[button]Arcana::~selected|npc_Arcana[/button][/td][/tr][tr][td][button]Athletics::~selected|npc_Athletics[/button]&amp;nbsp;|&amp;nbsp;[button]History::~selected|npc_History[/button]&amp;nbsp;|&amp;nbsp;[button]Insight::~selected|npc_Insight[/button]&amp;nbsp;|&amp;nbsp;[button]Intimidation::~selected|npc_intimidation[/button][/td][/tr][tr][td][button]Investigation::~selected|npc_Investigation[/button]&amp;nbsp;|&amp;nbsp;[button]Medicine::~selected|npc_Medicine[/button]&amp;nbsp;|&amp;nbsp;[button]Nature::~selected|npc_Nature[/button]&amp;nbsp;|&amp;nbsp;[button]Perception::~selected|npc_Perception[/button][/td][/tr][tr][td][button]Performance::~selected|npc_Performance[/button]&amp;nbsp;|&amp;nbsp;[button]Persuasion::~selected|npc_Persuasion[/button]&amp;nbsp;|&amp;nbsp;[button]Religion::~selected|npc_Religion[/button][/td][/tr][tr][td][button]Sleight of Hand::~selected|npc_Sleight_of_Hand[/button]&amp;nbsp;|&amp;nbsp;[button]Stealth::~selected|npc_Stealth[/button]&amp;nbsp;|&amp;nbsp;[button]Survival::~selected|npc_Survival[/button][/td][/tr][/t] --+|[&amp;SkillOutput] --X| --:ActionLoop| --&amp;Action|[%1%] --?"[&amp;Action]" -eq "action-l"|&amp;ActionName;[F::20]L[/F][F::15]EGENDARY[/F] [F::20]A[/F][F::15]CTIONS[/F]|&amp;ActionName;[F::20]A[/F][F::15]CTIONS[/F] --?"[&amp;Action]" -eq "action-m"|&amp;ActionName;[F::20]M[/F][F::15]YTHIC[/F] [F::20]A[/F][F::15]CTIONS[/F] --?"[&amp;Action]" -eq "bonusaction"|&amp;ActionName;[F::20]B[/F][F::15]ONUS[/F] [F::20]A[/F][F::15]CTIONS[/F] --?"[&amp;Action]" -eq "reaction"|&amp;ActionName;[F::20]R[/F][F::15]EACTIONS[/F] --&amp;ActionName|[&amp;ActionName(touppercase)] --&amp;ActionOutput|[t width=100% style="line-height: 1.1em;"] --#parameterDelimiter|$$$ --?"[&amp;Action]" -ne "trait"|&amp;ActionOutput$$$+[tr][td style="line-height:4px;"]&amp;nbsp;[/td][/tr][tr][td colspan=100% style="background-image:linear-gradient(#7A2008,#7A2008);background-size:100% 2px;background-repeat:no-repeat;background-position:bottom;padding-bottom:2px; letter-spacing: .8px; text-shadow: 0.6px 0 0 currentColor;"][&amp;ActionName][/td][/tr][tr][td style="line-height:4px;"]&amp;nbsp;[/td][/tr] --#parameterDelimiter|; --?"[&amp;Action]" -eq "action-l"|[ --&amp;LegDesc|[*S:npc_legendary_actions_desc] --&amp;ActionOutput|+[tr][td colspan=100% style="font-size: 12px ; color: #000 ; "][&amp;LegDesc][/td][/tr] --]| --?"[&amp;Action]" -eq "action-m"|[ --&amp;MythDesc|[*S:npc_mythic_actions_desc] --&amp;ActionOutput|+[tr][td colspan=100% style="font-size: 12px ; color: #000 ; "][&amp;MythDesc][/td][/tr] --]| --~|array;fromrepeatingsection;actionarray;[&amp;CharID];repeating_npc[&amp;Action];name --%ActionLoop|foreach;actionarray --Rfind|[&amp;CharID];[&amp;ActionLoop];repeating_npc[&amp;Action];name --?"[&amp;Action]" -eq "reaction" -or "[&amp;Action]" -eq "trait"|&amp;ButtonURL;[*R&gt;npc_roll_output]|&amp;ButtonURL;[*R&gt;npc_action] --#parameterDelimiter|$$$ --?"[&amp;Action]" -eq "trait"|&amp;ButtonEmote$$$&amp;#128220;&amp;#65038;|&amp;ButtonEmote$$$&amp;#x2694; --?"[&amp;Action]" -eq "trait"|&amp;ButtonSize$$$14|&amp;ButtonSize$$$16 --#parameterDelimiter|; --&amp;Name|[*R:name] --&amp;Description|[*R:description] --&amp;AttackType|[*R:attack_type] --?"[&amp;AttackType]" -inc "ranged"|&amp;RangeType;range|&amp;RangeType;reach --&amp;AttDesc| --&amp;ToHitText| --?"[&amp;Description]" -eq ""|[ --&amp;ToHitText|[&amp;AttackType] Weapon Attack: --&amp;AttDesc|++[*R:attack_tohit] to hit, [&amp;RangeType] [*R:attack_range], [*R:attack_target]. [*R:attack_onhit]. --]|[ --~Description|string;striplinefeeds;[&amp;Description] --~Description|string;replaceall;&gt;;;[&amp;Description] --~Description|string;replaceall;&lt;br;;[&amp;Description] --~Description|string;replaceall;[;;[&amp;Description] --~Description|string;replaceall;];;[&amp;Description] --~Description|string;replaceall;*;;[&amp;Description] --&amp;Description|[&amp;Description(replaceall,',&amp;#39;)] --]| --&amp;ToolTip|[&amp;Name]&amp;nbsp;&amp;#x2666;&amp;nbsp;[&amp;Description][&amp;ToHitText] [&amp;AttDesc] --?"[&amp;Name]X" -ne "X"|[ --&amp;ActionOutput|+[tr title="[&amp;ToolTip]"][td style="width: 85%; max-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #000; pointer-events: auto; cursor: help;"][b][i][&amp;Name].[/i][/b] [&amp;Description][i][&amp;ToHitText][/i] [&amp;AttDesc][/td][td style="width: 1%; text-align: right; white-space: nowrap; background-color: #faf5e6; border-radius: 4px; box-shadow: 0px 1px 2px rgba(0,0,0,0.3), inset 0px 1px 1px rgba(0,0,0,0.1), inset 0px -1px 1px rgba(0,0,0,0.1); padding: 0px 4px ; "][F::[&amp;ButtonSize]][sheetbutton][&amp;ButtonEmote]::@{selected|character_name}::[&amp;ButtonURL][/sheetbutton][/F][/td][/tr] --]| --%| --&amp;ActionOutput|+[/t] --+|[&amp;ActionOutput] --&lt;| --X| }}
1767158105

Edited 1767210175
Version 4.1 Changelog Redesigned Action Buttons: Upgraded the action button styling with a high-contrast, 3D-depth effect. The new design incorporates custom shadows, highlights, and a rounded "pill" shape for a more modern and tactile appearance. Standardized Attack Styling: Attack descriptions now feature properly italicized prefixes (e.g., Melee Weapon Attack: ), bringing the sheet in line with official monster manual formatting. Restored Attack Modifiers: Fixed a missing plus symbol ( &amp;#43; ) in the attack description string to ensure "to hit" bonuses display correctly (e.g., +7 instead of 7). Flush Text Alignment: Eliminated unintended leading spaces from Action and Trait titles so text sits flush with the left border of the card. Dynamic Stat Block Re-engineering: Completely rewrote the core stat display (STR, DEX, etc.) into a streamlined loop for perfect centering and browser compatibility. Also included proper plus and minus symbols. Balanced Modifier Symbols: Implemented mathematical minus signs specifically scaled to match the plus signs for visual balance. Authenticated Header Styling: Updated the visual presentation of the Action, Reaction, and Legendary Action headers to more closely mimic the aesthetic of official D&amp;D 5e stat blocks. Enhanced Skills Readability: Increased the font size and adjusted the line spacing for the Skills section to for readability. The first image is 4.0 and the second image is 4.1
I just want to point out that this is a great companion Mod to the amazing keithcurtis' API Script&nbsp; Condefinition .&nbsp;
1767221170
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
That looks so pretty! Great work!
Hello. I'm having trouble using this script. I keep getting this message. I assume it's because I am using 2014 and 2024 sheets in the game. Is there a way around that?
The Mod will only work with the 2014 NPC character sheet. I know that when the beacon sheets were fairly new, that you could still get 2014 NPC sheets in mixed games, but I think all mixed games have 2024 beacon sheets for NPCs now. I can confirm tonight after work.
1769054888

Edited 1769056617
Ok, so I just created two different mixed games with two different modules. It seems it's module dependant, so if I add an older module with 2014 NPC's then the 2014 based NPC's use the 2014 sheets. But, if I use an updated module that has 2024 NPC sheets then all compendium NPC's are 2024 sheets. I seem to remember being able to choose which sheet to use, but I don't see that option anymore. If anyone knows more specifics, please chime in. EDIT: I have an older mixed game and it lets me choose between the two sheets. The new mixed games don't seem to let you do that.
While trying to figure out the 2014/2024 issue, I ran across a bug. Changelog V4.1.1 More Description Sanitization &nbsp;Found that in rare circumstances some action description might contain an apostrophe which breaks the HTML. So I added a replaceall to the description string. CSS Change &nbsp;I don't know why, but some Font tags were showing in the HTML, so I put the CSS inline inside the table cell.