rt-2 / SA-ARP

San Andreas Advanced Role-Play
2 stars 1 forks source link

Factory Machine not showing how many units it will create #490

Open BananaBlooD9517 opened 3 years ago

BananaBlooD9517 commented 3 years ago

image

In the configuration menu of machines where you choose what you will craft it doesn't show how many units it will craft for any given recipe.

rt-2 commented 3 years ago

The screen shown is the list of objects you can craft. It should not (or could not) show the entire recipes.

The player needs to know what he is 'getting into' when choosing a recipe because it will have to stay the same for a week. This is important.

Changing the implementation would be hard and complex. SOLUTION: Factory machines would not 'lock' the recipe unless player crafts an object. But in this case, every factory will need to stop producing for a week in order to change their output, that would be a new 'feature' but I think its fair.

This solution is easy to implement. (What? no!)

rt-2 commented 3 years ago

For information to the players in need, this is the recipes (Will be deleted from here once the issue is 'closed'):

//
    new recipeid;
    // 0 - Foods to Proccessed Food
    recipeid = 0;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Foods to Proccessed Food");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Processed Food");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Material");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), "[additionOfComment");
    Machines_R_Result_Amount[recipeid] = 10;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "[any");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Food");
    Machines_R_Need_Amount[recipeid][0] = 1;
    // 1 - Beer Brewing
    recipeid = 1;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Beer Brewing");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Beer");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Bottle");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Empty");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Bottle");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Wheat");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Food");
    Machines_R_Need_Amount[recipeid][1] = 5;
    // 2 - Ammo Crafting (50)
    recipeid = 2;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Ammo Crafting (50)");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "50");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Ammo");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 2;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Gun Powder");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 5;
    // 3 - Pizza Preparing
    recipeid = 3;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Pizza Preparing");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Pizza");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Food");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), "15");
    Machines_R_Result_Amount[recipeid] = 3;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Processed Food");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 3;
    // 4 - Empty Bottle
    recipeid = 4;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Bottle Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Empty");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Bottle");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 3;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Glass");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 5;
    // 5 - Blank Paper
    recipeid = 5;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Paper Making");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Blank");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Paper");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 25;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Wood");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 3;
    // 6 - Gascan
    recipeid = 6;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Gascan Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Gascan");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Container");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 2;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 5;
    // 7 - Diesel Gascan
    recipeid = 7;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Diesel Gascan Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Diesel Gascan");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Container");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 2;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 7;
    // 8 - 100LL Gascan
    recipeid = 8;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "100LL Gascan Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "100LL Gascan");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Container");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 2;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 10;
    // 9 - Jetfuel Gascan
    recipeid = 9;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Jetfuel Gascan Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "100LL Gascan");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Container");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 2;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 13;
    // 10 - Brass Knuckles
    recipeid = 10;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Brass Knuckles Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "1");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 15;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    // 11 - Gold Club
    recipeid = 11;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Gold Club Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "2");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 10;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 4;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 2;
    // 12 - Nightstick
    recipeid = 12;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Nightstick Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "3");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 6;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 13 - Knife
    recipeid = 13;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Knife Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "4");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 5;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 14 - Baseball Bat
    recipeid = 14;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Baseball Bat Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "5");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 7;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 4;
    // 15 - Shovel
    recipeid = 15;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Shovel Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "6");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 15;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 16 - Pool Cue
    recipeid = 16;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Pool Cue Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "7");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Wood");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 6;
    // 17 - Katana
    recipeid = 17;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Katana Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "8");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 15;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 18 - Chainsaw
    recipeid = 18;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Chainsaw Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "9");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 2;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Electronic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    format(Machines_R_Need_Name[recipeid][2], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][2], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][2] = 2;
    // 19 - Purple Dildo
    recipeid = 19;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Purple Dildo Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "10");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 5;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 6;
    // 20 - Dildo
    recipeid = 20;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Dildo Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "11");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 5;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 4;
    // 21 - Vibrator
    recipeid = 21;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Vibrator Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "12");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 25;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 10;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Electronic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 22 - Silver Vibrator
    recipeid = 22;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Silver Vibrator Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "13");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 25;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 2;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Electronic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    //
    //  Flower skiped because 'uncraftable'
    //
    // 23 - Cane
    recipeid = 23;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Cane Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "15");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Wood");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 3;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 3;
    // 24 - 9mm
    recipeid = 24;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "9mm Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "22");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 3;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 25 - Silenced 9mm
    recipeid = 25;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Silenced 9mm Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "23");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 4;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 26 - Desert Eagle
    recipeid = 26;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Desert Eagle Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "24");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 6;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 27 - Shotgun
    recipeid = 27;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Shotgun Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "25");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 3;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 20;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 28 - Sawnoff Shotgun
    recipeid = 28;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Sawnoff Shotgun Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "26");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "25");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Weapon");
    Machines_R_Need_Amount[recipeid][0] = 1;
    // 29 - Combat Shotgun
    recipeid = 29;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Combat Shotgun Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "27");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 14;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 30 - Micro SMG/Uzi
    recipeid = 30;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Micro SMG Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "28");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 12;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 31 - MP5
    recipeid = 31;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "MP5 Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "29");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 5;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 32 - AK-47
    recipeid = 32;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "AK-47 Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "30");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 10;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Wood");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 2;
    // 33 - M4
    recipeid = 33;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "M4 Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "31");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 10;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 34 - Tec-9Clothes
    recipeid = 34;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Tec-9 Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "32");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 4;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    // 35 - Country Rifle
    recipeid = 35;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Country Rifle Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "33");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 4;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Wood");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 4;
    // 36 - Sniper Rifle
    recipeid = 36;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Sniper Rifle Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "34");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Weapon");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 12;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Wood");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 3;
    format(Machines_R_Need_Name[recipeid][2], sizeof(Machines_R_Need_Name[][]), "Glass");
    format(Machines_R_Need_Type[recipeid][2], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][2] = 1;
    //
    //  RPG skiped because 'too destructive to RP'
    //
    //
    //  HS Rocket skiped because 'too destructive to RP'
    //
    //
    //  Flamethrower skiped because 'too destructive to RP'
    //
    //
    //  Minigun skiped because 'too destructive to RP'
    //
    //
    //  Satchel Charge skiped because 'too destructive to RP'
    //
    //
    //  Detonator skiped because 'too destructive to RP'
    //
    // 37 - Ammo Crafting (50)
    recipeid = 37;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Ammo Crafting (20)");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "20");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Ammo");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 2;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Gun Powder");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 2;
    // 38 - Purple Digital Watch
    recipeid = 38;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Purple Digital Watch Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Purple Digital Watch");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Jewelry");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 5;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Electronic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 10;
    // 39 - Green Digital Watch
    recipeid = 39;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Green Digital Watch Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Green Digital Watch");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Jewelry");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 5;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Electronic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 10;
    // 40 - Red Digital Watch
    recipeid = 40;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Red Digital Watch Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Red Digital Watch");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Jewelry");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 5;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Electronic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 10;
    // 41 - Violet Digital Watch
    recipeid = 41;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Violet Digital Watch Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Violet Digital Watch");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Jewelry");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 5;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Electronic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 10;
    // 42 - Silver Watch
    recipeid = 42;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Silver Watch Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Silver Watch");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Jewelry");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 2;
    // 43 - Golden Watch
    recipeid = 43;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Golden Watch Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Golden Watch");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Jewelry");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 3;
    //
    //  Diamond Watch skiped because 'no diamond importable on island'
    //
    //
    //  Silver Diamond Watch skiped because 'no diamond importable on island'
    //
    //
    //  Golden Diamond Watch skiped because 'no diamond importable on island'
    //
    // 44 - Dice
    recipeid = 44;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Dice Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Dice");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Games");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 50;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 3;
    //
    // BELOW HERE IS NOT ADDED
    //
    // 45 - Shirt
    recipeid = 45;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Shirt Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Shirt");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Clothes");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Textile");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 10;
    // 46 - Pants
    recipeid = 46;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Pants Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Shirt");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Pants");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Textile");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 10;
    // 47 - New Cellphone
    recipeid = 47;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "New Cellphone Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "New Cellphone");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Device");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 1;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Electronic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 2;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 3;
    format(Machines_R_Need_Name[recipeid][2], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][2], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][2] = 50;
    // 48 - New Pager
    recipeid = 48;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "New Pager Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "New Pager");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Device");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 10;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Electronic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    format(Machines_R_Need_Name[recipeid][2], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][2], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][2] = 50;
    // 49 - VHF Radio
    recipeid = 49;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "VHF Radio Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "VHF Radio");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Device");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 10;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Electronic");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 2;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 2;
    format(Machines_R_Need_Name[recipeid][2], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][2], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][2] = 50;
    // 50 - Rod
    recipeid = 50;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Rod Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Rod");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Fishing");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 4;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Textile");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 3;
    format(Machines_R_Need_Name[recipeid][1], sizeof(Machines_R_Need_Name[][]), "Metal");
    format(Machines_R_Need_Type[recipeid][1], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][1] = 1;
    format(Machines_R_Need_Name[recipeid][2], sizeof(Machines_R_Need_Name[][]), "Plastic");
    format(Machines_R_Need_Type[recipeid][2], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][2] = 10;
    // 51 - Chicken Burger Preparing
    recipeid = 51;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Chicken Burger Preparing");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Chicken Burger");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Food");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), "25");
    Machines_R_Result_Amount[recipeid] = 2;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Processed Food");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 3;
    // 52 - Baits
    recipeid = 52;
    format(Machines_R_Name[recipeid], sizeof(Machines_R_Name[]), "Baits Crafting");
    format(Machines_R_Result_Name[recipeid], sizeof(Machines_R_Result_Name[]), "Baits");
    format(Machines_R_Result_Type[recipeid], sizeof(Machines_R_Result_Type[]), "Fishing");
    format(Machines_R_Result_Comment[recipeid], sizeof(Machines_R_Result_Comment[]), " ");
    Machines_R_Result_Amount[recipeid] = 2;
    format(Machines_R_Need_Name[recipeid][0], sizeof(Machines_R_Need_Name[][]), "Processed Food");
    format(Machines_R_Need_Type[recipeid][0], sizeof(Machines_R_Need_Type[][]), "Material");
    Machines_R_Need_Amount[recipeid][0] = 1;

    /*
        //
        //  Fire Extinghuisher skipped because 'too advance to craft'
        //
        //
        //  Camera skiped because 'too advance to craft'
        //
        //
        //  Parachute skiped because 'too advance to craft'
        //
        //
        //  Vest(Armor) skiped because 'cant own proper ingredients'
        //
        //
        //  Cigar(Drug) skiped because 'cant own proper ingredients'
        //
    */
rt-2 commented 3 years ago

Current 'best solution' would still need to edit text format in order to include the 'output amount'.

image

rt-2 commented 2 years ago

Changing the implementation would be hard and complex. SOLUTION: Factory machines would not 'lock' the recipe unless player crafts an object. But in this case, every factory will need to stop producing for a week in order to change their output, that would be a new 'feature' but I think its fair.

This solution is easy to implement.

Definitely not easy