Some Python utilities to make MapTool tokens for Pathfinder NPCs/monsters/etc.
Currently pretty specific to our particular campaign properties / etc.
Interface to make MapTool token files.
Example usage:
import tokens
import requests
r = requests.get('http://vignette3.wikia.nocookie.net/forgottenrealms'
'/images/3/36/Monster_Manual_5e_-_Ogre_-_p237.jpg')
image = tokens.Asset('ogre', 'jpg', r.content)
t = tokens.Token(image=image, name='Ogre', size='Large',
properties={
'Strength': 21, 'Dexterity': 8, 'Constitution': 15,
'Intelligence': 6, 'Wisdom': 10, 'Charisma': 7,
'BAB': 3, 'MaxHP': 30,
'Armor': '{4+5}',
}
)
t.make_file('ogre.rptok')