Winterbay
Active member
Unfortunately that code won't work
Generates:
Code:
if(get_revision() >= 9599)
{
record fullness_file_entry // holds the map found in fullness.txt
{
int consumptionGain;
int level;
string adv;
string quality;
string muscle;
string mysticality;
string moxie;
};
}
else
{
record fullness_file_entry // holds the map found in fullness.txt
{
int consumptionGain;
int level;
string adv;
string quality;
string muscle;
string mysticality;
string moxie;
};
}
fullness_file_entry [item] map;
file_to_map("fullness.txt", map);
print(map[$item[chorizo taco]]);
Generates:
Code:
> verify test.ash
Unknown variable 'fullness_file_entry' (test.ash, line 28)