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 .
×
Create a free account

[Script] AD&D 2E Record Sheet. It's not a record sheet unless you have way to much crap to fill out.

1383794665

Edited 1383918784
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Updated: This is based on Malikai pathfinder code It does add bio text in the from of a record sheet <a href="https://gist.github.com/baldar/7371305" rel="nofollow">https://gist.github.com/baldar/7371305</a>
1383795753
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Thinking I can create edit scripts to parse out the bio text later... by placing HTML Comments to find key text &lt;!-- STR Start --&gt;18&lt;!-- STR End --&gt; So updating an attribute will rebuild the bio text and only change the value on the HTML table displayed and drive other modifiers.
1383815505
Dylan G.
Pro
Marketplace Creator
Sheet Author
You are my hero.
1383823573
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Yea just leveraging what Malikai did for pathfinders . Surprised no one did anything with the bio yet however.... or at least posted it.
1383828957
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
What is on the left is unreadable... but here is a sample of what the tables look like this: The current text editor for character sheets is a bit limited (I am sure it will improve) this gets around those limitations.
I don't know how to use the API but this is great for 2e! Wish I understood how to use it. Thanks for everyone that does and can!
1383918937
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Stephen S. said: Thinking I can create edit scripts to parse out the bio text later... by placing HTML Comments to find key text &lt;!-- STR Start --&gt;18&lt;!-- STR End --&gt; So updating an attribute will rebuild the bio text and only change the value on the HTML table displayed and drive other modifiers. Going to try naming the &lt;td&gt; tags i.e. &lt;td name='ST'&gt;18&lt;/td&gt; should be able to find them and less chance of it goofing on me.
1383918958
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Updated the script at the top.
1385115248
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
You could keep parity with the attributes and the record sheet with decodedBio = unescape(findObjs({ _type: "character", name: "Bob" })[0].get("bio")); strength = "&lt;td style=\"background-color: #d2e4fc ; font-weight: bold\"&gt;Strength&lt;/td&gt;"; But what a pain in the bottom.... it would be nice if the attribute sheet was capable of being designed in a more "form" view rather than a long list of values.
Nice work Stephen, I am going to add the Bio section to my Character Sheet!
Im trying to get this to stick, but formatting is off and unfortunately I come with a new crew, without this API experience. Any updates to this that I didnt see?
1389837549
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
I will review it over the next few days.
Sweet! Thanks Stephen. I appreciate it.