ckb
Well-known member
I also get the error at the same line for consumables and equipment inventory pages.
This was a workaround for an issue with [strings], now updated in Mafia. Script has been updated accordingly.
I also get the error at the same line for consumables and equipment inventory pages.
Seems like WTF Familiars breaks if you have generic familiar equipment.
It actually broke from not importing the data file correctly... I think this was a Mafia change a while back that required "data/familiars.txt" instead of just "familiars.txt".
I also cleaned up the code a bit and added some special abilities for new fams.
How long ago is a while back? None of my scripts require data/ as a preface to the data file name if it is in data. Given the JavaScript changes it is possible that there is a real mafia bug here in which case it would be worth reporting and fixing.
string[string, string, string] dattxt;
file_to_map("data/familiars.txt",dattxt);
string[string, string, string] famtxt;
file_to_map("familiars.txt",famtxt);
print("famtxt = "+count(famtxt)+", dattxt = "+count(dattxt));