holatuwol
Developer
Not quite, Tirian. The count() function simply works differently than you might expect; basically, it does not give you the size of the map, it simply counts how many keys there are in the specified dimension. As such, the output from this is 1 followed by 3:
Code:
item [int, stat, int, int] FoodItem;
FoodItem[6, $stat[muscle], 21, 29] = $item[spaghetti with skullheads];
FoodItem[6, $stat[moxie], 21, 29] = $item[fettucini inconnu];
FoodItem[6, $stat[mysticality], 21, 29] = $item[gnoccetti di nietzsche];
void main()
{
print( count( FoodItem ) );
print( count( FoodItem[6] ) );
}