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

[Request] A list of every attribute in Pathfinder Char Sheet

I stumbled across something today that could lead me to writing an epic character importer script, i'm going to start tinkering now but one of the things i'll need is a list of every attribute that you can enter into the sheet by code name eg. @{Init} or @{repeating_weapon_0_attack}. Does this list exist anywhere? If i could get a copy i'd be much obliged, would save me a lot of pain and potential error going through and mousing over everything...
No need to mouse over everything you can get the html from here <a href="https://github.com/Roll20/roll20-character-sheets/" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/</a>... I doubt anyone has built a list but the html would be a good starting point.
1422160497
Finderski
Plus
Sheet Author
Compendium Curator
A find for "attr_" in the html should find all the field names. without having to scroll through every line of code. However, that doesn't mean that all the attr_ fields will be useful, some will be for tabs, etc.
awesome, cheers guys
Doing a find on @{ would be better as there are attribs for things that aren't relevant to a character such as hide/show on firlds
1422171840

Edited 1422232428
vÍnce
Pro
Sheet Author
Have fun. Pathfinder Character Sheet Complete Attributes and Sheet Rolls I learned a little regex/notepad++ for this...
Woah. Vince you're a legend! I've got this funny feeling my body is soon to experience caffeine poisoning.....
lol nice one. Be aware that the value of some of those attributes will be a calculation based on others
1422177360
vÍnce
Pro
Sheet Author
Zepth said: lol nice one. Be aware that the value of some of those attributes will be a calculation based on others You'll know when because you can't pull them directly... Someone else can add another column with the corresponding formulas. :-)
1422181579
Finderski
Plus
Sheet Author
Compendium Curator
So, Vince, did you pull that manually? Or was there some wizardry involved? I might like to use your spellbook if possible... ;)
he used regex
1422185696
Lithl
Pro
Sheet Author
API Scripter
Zepth said: he used regex black magic FTFY ~_^ Hell, I understand just about everything you can do with regex, and I still consider it black magic. (?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@ (?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]) Look, it's an email address! Can't you see it?!
1422211173
vÍnce
Pro
Sheet Author
The (my) problem with regular expressions is that I know EXACTLY what I want to do, but using regex to do it is often like cracking the enigma code...
Lol. For something called regular expressions there's nothing regular about it!