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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
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>
Thinking I can create edit scripts to parse out the bio text later... by placing HTML Comments to find key text <!-- STR Start -->18<!-- STR End --> So updating an attribute will rebuild the bio text and only change the value on the HTML table displayed and drive other modifiers.
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.
Stephen S. said: Thinking I can create edit scripts to parse out the bio text later... by placing HTML Comments to find key text <!-- STR Start -->18<!-- STR End --> 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 <td> tags i.e. <td name='ST'>18</td> should be able to find them and less chance of it goofing on me.
You could keep parity with the attributes and the record sheet with decodedBio = unescape(findObjs({ _type: "character", name: "Bob" })[0].get("bio")); strength = "<td style=\"background-color: #d2e4fc ; font-weight: bold\">Strength</td>"; 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.
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?