Mechanism to populate a list of familiars?

dj_d

Member
Is there an ASH-native way to get a map of all familiars in the game? Right now, I'm iterating from 1 to some large arbitrary integer and using to_familiar, but that seems grossly inefficient. I could parse familiars.txt directly but that seems ugly. I think what I want is something like

boolean [familiar] familiar_list();

Ditto for locations, items, etc. Basically, it'd be nice to expose the contents of mafia's internal data files (familiars.txt and friends) through an ASH interface so they don't have to be parsed manually.
 
Top