Difference between revisions of "Monster stats/Script"

From Wildermyth Wiki
m
Line 2: Line 2:


{| role="presentation" class="wikitable mw-collapsible mw-collapsed"
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"
| '''<nowiki>tables.py</nowiki>'''
| '''<nowiki>monsterStats.py</nowiki>'''
|-
|-
|
|

Revision as of 05:05, 20 February 2022

This is a Python script to generate the monster stat tables. Copy the code in the box below into a text file named monsterStats.py (or whatever you want) inside the Wildermyth directory. Then run it by calling python monsterStats.py from the command line. It will create a text file for each difficulty named monsterStats_<difficulty>.txt, full of wiki-formatted tables that can be pasted into the appropriate wiki pages.