Difference between revisions of "Talk:Monster stats"

From Wildermyth Wiki
(Created page with "== Generation script == This is a [https://www.python.org/downloads/ Python] script to generate the monster stat tables. Copy the code in the box below into a text file n...")
 
Line 101: Line 101:
     f.write(string)</nowiki>
     f.write(string)</nowiki>
|}
|}
[[User:Sten|Sten]] ([[User talk:Sten|talk]]) 12:41, 16 February 2022 (PST)

Revision as of 12:41, 16 February 2022

Generation script

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

Sten (talk) 12:41, 16 February 2022 (PST)