Script:Creature Gen
From Roll20 Wiki
API Script
Author: Ken L.
Version: 1.01
Last Modified: 2015-3-03
Code: CreatureGen
Dependencies: None
Conflicts: Unknown
CreatureGen or 'CGen' is a script designed to transform PRD or D20PFSRD statistics blocks into a combat ready token for use in Pathfinder Roll20 games. It is loosely based in part on Peter W.'s script called CreateMob which was the inspiration for this script.
Artwork has been contributed by: Russ H. , Rhyannon, and Alan H. for the templates this script uses.
The script works in a menu like system where it simplifies the statblock from general creature abilities down to more specific abilities. This was done to quickly access abilities in the middle of combat as opposed to say navigating an entire character sheet.
Use
TODO
Changelog
v1.21 (2015-03-24)
- Urgent bug fix:
- Fixed an urgent bug for the added perception check that outright breaks 1.2
v1.2 (2015-03-23)
- Quality of life fixes:
- Fixed bug were CGen could parse 'Sp' 'Ex' 'Su' rather than '(Sp)' '(Ex)' '(Su)' .
- Fixed bug where it would not parse (EX) (SP) (SU) due to case sensitivity.
- Fixed bug due to improper parsing of HTML entities %3Cbr -> %3Cbr%3E so it properly parses
rather than just <br which it should have always done... - Fixed bug where cgen_tmp and the default template within the script were out of sync where if you didn't choose an alternate template, the default would have an old align-right behavior for Attack: and Damage:
- Added parsing of 'Perception' if Perception was not a listed skill (often context bonuses such as '+4 when in forests' are only in the skill section.)
- Added formatting in the journal to make popping out the journal more viable to 'eagle view' on statblocks when needed.
- Added a warning if the created journal entry was unable to accept the token's image source.
v1.01 (2015-03-03)
- added regeneration as a defensive ability to be shown in 'defenses'
v1.00 (2015-03-02)
- Release