New Feature
Here’s how to configure my script.
Step 1 : Configuring Exportable Items
Config.ExportableItems = {
["weapon_pistol"] = {
id = "arme",
label = "Pistolet",
description = "Un pistolet classique.",
craftTime = 15,
ingredients = {
{item = "scrapmetal", label = "Feraille métallique", quantity = 50, image = "scrapmetal.png"},
{item = "aluminium", label = "Aluminium", quantity = 6, image = "aluminium.png"},
{item = "steel", label = "Acier", quantity = 3, image = "steel.png"}
}
},
["weapon_carbinerifle"] = {
id = "food",
label = "Carabine",
description = "Une carabine puissante.",
craftTime = 30,
ingredients = {
{item = "scrapmetal", label = "Feraille métallique", quantity = 70, image = "scrapmetal.png"},
{item = "aluminium", label = "Aluminium", quantity = 10, image = "aluminium.png"},
{item = "steel", label = "Acier", quantity = 5, image = "steel.png"}
}
}
}Step 2 : Export to a new, separate script
Now, you,re ready to configure the script. It's your turn!
Last updated