350 {
351 set<string> testset = new set<string>;
352
354 if ( file == 0 )
355 {
356
358 return;
359 }
360 array<int> recipes = new array<int>;
362 {
365
366 string line = key;
367 recipes.Clear();
368 recipes.InsertAll( value.GetRecipes() );
369
370
371
372 for (
int x = 0;
x < recipes.Count();
x++)
373 {
374 int recipe_id = recipes.Get(
x);
376 testset.Insert(recipe_name);
377
378 line += "," +recipe_name;
379 }
381
382 }
383
384
385 foreach ( string st : testset)
386 {
388 }
389
391 }
void PluginRecipesManager()
string GetRecipeName(int recipe_id)
Obsolete Managed 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.