by Dalker » Sun Sep 02, 2018 9:30 pm
I've been fiddling around with the items list provided above. They don't seem that complete or up to date, but still useful if made easier to query than Curiosity's database. For that purpose, I've copied the contents into a single file, then exported it as a csv (comma-separated values file), and finally written a tiny Python script to query it. The csv file and Python script are provided in the zip file below (the forum doesn't accept random file extensions, so I had to put them into a zip).
To use them:
- extract files into a single directory
- run the Python script from within that directory, invoking it with one or more keywords as arguments
The keywords correspond to parts of the 'name' in the original spreadsheets above, which seem to be keywords that may be used with the 'look' command when looking at the object (rather than the actual full name of the object).
Output is hopefully nicely formatted. Suggestions welcome (and I'm not sure what the one-letter columns really mean in the original files, so I just grouped them under the name "short flags" - they may mean which classes can use the item - or not)
Obviously to be able to run the script, you need Python (python3 to be precise) and some way to pass arguments to the script (eg from any normal shell / command-line interface). If necessary, adjust the shebang first line to point to the location of the python3 interpreter.
- Attachments
-
- gns-items.zip
- (47.32 KiB) Downloaded 3201 times