Difference between revisions of "User:Sten/Legacy to spreadsheet"

From Wildermyth Wiki
m
Line 1: Line 1:
This is a [https://www.python.org/downloads/ Python] script to export a player's legacy into a spreadsheet.
This is a [https://www.python.org/downloads/ Python] script to export a player's legacy into a spreadsheet. You need a Python installation to run it.


==Usage==
==Usage==

Revision as of 00:55, 19 February 2022

This is a Python script to export a player's legacy into a spreadsheet. You need a Python installation to run it.

Usage

Copy the code in the box below into a text file named legacy_table.py (or whatever you want) inside the Wildermyth/Players/<player ID> directory. Then run it by calling python legacy_table.py from the command line. It will create a text file called legacy_table.txt, which is tab-delimited and can be loaded by any spreadsheet software or viewed in a text editor.

Output

This script does not make any changes to the legacy.

The following fields appear in the output table (legacy_table.txt):

  • Name
  • Playable (Y/N)
  • Legacy tier
  • Class
  • Number of hooks resolved
  • Themes
  • Weapons
  • Offhand item
  • Abilities

Example

Example image
Example legacy export, viewed in Microsoft Excel