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 Find Familiar Mod (ScriptCards) D&D 5e 2014

1744771351

Edited 1771543727
Hi All, This is my Find Familiar Mod for ScriptCards and the D&D 5E 2014 by Roll20 character sheet. It requires the ScriptCards API Mod and a Roll20 Pro account. What Does This Mod Do? - This script will display the Find Familiar spell to the caster. There are three buttons initially, one shaped like a book, one shaped like a gear, and one that says "Cast Spell". - The book button displays the character sheet description of the spell to chat. - The Gear button opens the settings, where you can set a custom token to each of the Familiar Beast Types, and where you can set a custom name for the summoned token. - The "Cast Spell" button proceeds to a card to choose whether the familiar is Celestial, Fey or Fiend. It then proceeds to a card that displays available Familiars, clicking the familiar image will spawn the familiar beside the caster token in a puff of smoke. It also writes all the Familiar's stats to the FindFamiliar character sheet. - The Spawned token will have Skills, Saves & Abilities, and attack macros automatically installed as Token Actions. They're very basic and instead I recommend my NPC Statblock Mod. (If you decide to use my NPC Statblock Mod, you don't need to reinstall the template, it uses the same one) Installation Instructions 1) Create a character called ScriptCards_TemplateMule exactly as shown. 2) Create a new NPC character name FindFamiliar exactly as I've typed it, case sensitive and no spaces.  Set the permissions to the proper player. No need to add it to their library. 3) Create an Ability called Find-Familiar on the caster token and use the code from the github link below and paste it into the ability. Find the Code HERE! Easy copy and paste link There are abilities created on the FindFamiliar character sheet for Saves & Attributes and Skills. I included them for easy access to those rolls, but they aren't my favorite. However, I highly recommend replacing these with my NPC Stat Block Mod, which is much more versatile and much prettier. You can find the NPC Stat Block Mod  here. EDIT: Updated to v3.0.1 - Fix for formatting issue, fix for typo in conditional, quality of life improvements. EDIT: Updated to v3.1.0 - First run of this script no longer throws errors to chat or to console. EDIT: Updated v3.1.1 - Minor update to show players Find Familiar nameplates. EDIT: Updated v3.2.0 Lots of style and small optimizations. Also, bar1 and bar2 are set the same as any other NPC, with hp and npc_ac.
1744810724
The Aaron
Roll20 Production Team
API Scripter
That looks pretty neat!
Thanks, The Aaron! I hope someone finds it useful. 
1745027869

Edited 1745028888
Updated the Mod to 3.0.1. - The template's bottom bar width was all over the place depending on the card content. Switched to some static widths and fixed the problem(template update NOT required). - Fixed typo, -neq to -ne in the first conditional, not sure how things were functioning correctly, but it's fixed now. - Quality of life improvement, adding all the buttons. Added the description and settings buttons to the summon card. Added an EXIT button to the settings card so that users don't have to rerun the script to get back to the main card after changing settings. Changing settings reloads the settings page with the changes made, again so the script doesn't need to be run again. Removed titles and added them to the emote of the card instead, it's a cleaner look. Changed the buttons for familiars to the image instead of the familiar name.
Updated the Mod to 3.1.0. - Changed the way the script detects if it's the first time being run so it doesn't require an extra write to the character. - Changed to ScriptCards specific calls from @ calls to characters to remove first run errors.
Updated to 3.1.1. - Very minor update, just turned on show nameplates for Find Familiar token for all players. We go out of our way to name our Familiar, we should show it to everyone.