Data Files and Id numbers question

djve

New member
I see that Item.txt has the item numbers for each entry but Equipment.txt doesn't.

The item number for equipment is in the web pages. Is there any plan to add this data?

Why? I'm updating the pykol code to python 3.x (3.7 at this time) and I plan to sync with the mafia data files.

If the mafia developers don't add this I'll be adding code to start mapping this data.

I can't see my code being ready for a 0.1 release before Jan 2018 as there is so much to fix and update.
 

Veracity

Developer
Staff member
items.txt has item number and item name and other stuff.
equipment.txt has item name and other stuff.
We're fine with that. There are no plans to add item number (which is redundant, given item name) to equipment.txt.

There are a handful of items with the same name but different item numbers.
No worries! There is syntax to specify an item using both item number and item name. And I am sure that equipment.txt uses that syntax, as needed.
 

Veracity

Developer
Staff member
Here is an example from equipment.txt:

Code:
[2268]Staff of Fats	100	Mys: 35	2-handed staff
[7964]Staff of Fats	100	Mys: 35	2-handed staff
 

Darzil

Developer
And that syntax doesn’t really use the name part, it is there for humans. Item number surrounded by square brackets is a valid, and specific, item name.
 
Top