343 {
344 set<string> testset = new set<string>;
345
347 if ( file == 0 )
348 {
349
351 return;
352 }
353 array<int> recipes = new array<int>;
355 {
358
359 string line = key;
360 recipes.Clear();
361 recipes.InsertAll( value.GetRecipes() );
362
363
364
365 for (
int x = 0;
x < recipes.Count();
x++)
366 {
367 int recipe_id = recipes.Get(
x);
369 testset.Insert(recipe_name);
370
371 line += "," +recipe_name;
372 }
374
375 }
376
377
378 foreach ( string st : testset)
379 {
381 }
382
384 }
void PluginRecipesManager()
string GetRecipeName(int recipe_id)
void PrintString(string s)
Helper for printing out string expression. Example: PrintString("Hello " + var);.
proto void CloseFile(FileHandle file)
Close the File.
proto FileHandle OpenFile(string name, FileMode mode)
Opens File.
proto void FPrintln(FileHandle file, void var)
Write to file and add new line.