# Config Crafts

Config des positions&#x20;

```lua
    PosDecoupeK = {
        vector4(125.7823, -1046.2699, 29.4962, 75.8089),
        vector4(126.6162, -1043.9364, 29.4962, 72.6888),
        vector4(126.7315, -1041.3917, 29.4962, 148.1257),
        vector4(124.4500, -1043.0468, 29.4962, 254.7621),
        vector4(123.6151, -1045.4575, 29.4962, 228.8792),
        vector4(124.3390, -1048.1582, 29.4962, 339.4222)
    },
    posFritesK = {
        vector4(126.6553, -1045.2999, 29.4962, 249.1760),
        vector4(126.4357, -1046.2788, 29.4962, 256.6772)
    },
    posFourKebab = {
        vector4(125.8013, -1047.7775, 29.4962, 247.1728),
        vector4(125.4384, -1048.8969, 29.4962, 248.0082)
    },
    posBoissonsK = { -- Position distributeur de boissons
        vector4(129.0496, -1036.0402, 29.4962, 346.9868)
    },
    posGrillViandeK = {
        vector4(127.6184, -1042.7300, 29.4961, 241.0648),
        vector4(127.0909, -1044.2684, 29.4961, 252.0612)
    },
```

Craft planche à découper&#x20;

```lua
DecoupeK = {
    {
        name = "oignons_emince",
        label = "Émincer des oignons",
        description = "Requis : 2 oignons.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            { item = "oignons", amount = 2 },
        },
        Add = {
            { name = "oignons_emince", amount = 1 },
        }
    },
    {
        name = "tomates_traiter",
        label = "Couper des tomates",
        description = "Requis : 2 tomates.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            { item = "tomates", amount = 2 },
        },
        Add = {
            { name = "tomates_traiter", amount = 1 },
        }
    },
    {
        name = "fromage_traiter",
        label = "Couper du fromage",
        description = "Requis : 2 portions de fromage.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            { item = "fromage", amount = 2 },
        },
        Add = {
            { name = "fromage_traiter", amount = 1 },
        }
    },
    {
        name = "kebab",
        label = "Préparer un Kebab",
        description = "Requis : 1 viande kebab émincée, 1 oignon émincé, 1 tomate coupée, 1 sauce blanche, 1 salade, 1 pain pita.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            { item = "viandekebab_emince", amount = 1 },
            { item = "oignons_emince", amount = 1 },
            { item = "tomates_traiter", amount = 1 },
            { item = "sauce_blanche", amount = 1 },
            { item = "salad", amount = 1 },
            { item = "pita", amount = 1 },
        },
        Add = {
            { name = "kebab", amount = 1 },
        }
    },
    {
        name = "assiettekebab",
        label = "Préparer une assiette de Kebab",
        description = "Requis : 1 viande kebab émincée, 1 oignon émincé, 1 tomate coupée, 1 sauce blanche, 1 salade, 1 pain pita, 1 portion de frites.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            { item = "viandekebab_emince", amount = 1 },
            { item = "oignons_emince", amount = 1 },
            { item = "tomates_traiter", amount = 1 },
            { item = "sauce_blanche", amount = 1 },
            { item = "salad", amount = 1 },
            { item = "pita", amount = 1 },
            { item = "frites", amount = 1 },
        },
        Add = {
            { name = "assiettekebab", amount = 1 },
        }
    },
    {
        name = "burger",
        label = "Préparer une burger",
        description = "Requis : 1 Steack Hache, 1 oignon émincé, 1 tomate coupée, 1 sauce blanche, 1 salade, 1 pain burger",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            { item = "steackhache", amount = 1 },
            { item = "oignons_emince", amount = 1 },
            { item = "tomates_traiter", amount = 1 },
            { item = "sauce_blanche", amount = 1 },
            { item = "salad", amount = 1 },
            { item = "painburger", amount = 1 },
        },
        Add = {
            { name = "burger", amount = 1 },
        }
    },
},
```

Config de la friteuse

```lua
FritesK = {
    {
        name = "frites",
        label = "Préparer des frites",
        description = "Requis : 3 pommes de terre.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            { item = "pommedeterre", amount = 3 },
        },
        Add = {
            { name = "frites", amount = 1 },
        }
    }
},

```

Config du grill

```lua
GrillViandeK = {
    {
        name = "steackhache",
        label = "Griller un Stack Hache",
        description = "Requis : 3 Steack Hache Cru.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            { item = "steackhachecru", amount = 3 },
        },
        Add = {
            { name = "steackhache", amount = 1 },
        }
    }
},
```

Config des boissons

```lua
BoissonsK = {
    {
        name = "cola",
        label = "Préparer un eCola",
        description = "Requis : aucun.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            -- vide
        },
        Add = {
            { name = "cola", amount = 1 },
        }
    },
    {
        name = "limonad",
        label = "Préparer une limonade",
        description = "Requis : aucun.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            -- vide
        },
        Add = {
            { name = "limonad", amount = 1 },
        }
    },
    {
        name = "beer",
        label = "Préparer une bière",
        description = "Faire une bouteille de bière.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            -- vide
        },
        Add = {
            { name = "beer", amount = 1 },
        }
    },
    {
        name = "coffee",
        label = "Préparer un café",
        description = "Faire un café.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            -- vide
        },
        Add = {
            { name = "coffee", amount = 1 },
        }
    },
},
```

Config de la broche&#x20;

```lua
FourKebab = {
    {
        name = "viandekebab_emince",
        label = "Cuire la viande à Kebab",
        description = "Requis : 1 viande kebab.",
        coords = { x = 0.0, y = 0.0, z = 0.0 }, -- Remplacer par les coordonnées réelles
        Required = {
            { item = "viandekebab", amount = 1 }
        },
        Add = {
            { name = "viandekebab_emince", amount = 1 }
        }
    }
},
```
