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));
@Veracity is working on gardens and dealing with the issue that the same string describes a garden and a dwelling (some kind of pumpkin but since I don't have any I have not been paying attention). Perhaps this is related to those changes? Maybe the visibility of Big Rock as a place holder changed?Uh... Why is Big Rock showing up with house item info?
# big rock is used as a placeholder for "the ground" (when you have no housing)
Item big rock Base Resting HP: +4, Base Resting MP: +5
> ash string_modifier($item[big rock], "Modifiers")
Returned: Base Resting HP: +4, Base Resting MP: +5
Hey, could you update WTF Familiars so that it shows Mu has Elemental attack AND Elemental Resistance? It's a little thing, but it bugs me.