Supplier
t1ger_mechanic/shared/supplier.lua
Our built in supplier system has categories to easily acquire the required items.
Each category will have:
title
(string) — the title of the categoryicon
(string) — an icon for the categoryitems
(table) — the items to be listed in the category. Item name is the index of each entry and:price
(number) — the price of the itemicon
(string) — the icon of the item
return {
{
title = "Body Parts",
icon = "https://i.postimg.cc/hvHDrP2S/t1ger-vehicledoor.png",
items = {
["t1ger_vehicledoor"] = {price = 200, icon = "https://i.postimg.cc/hvHDrP2S/t1ger-vehicledoor.png"},
["t1ger_vehiclehood"] = {price = 500, icon = "https://i.postimg.cc/5yH9LFq7/t1ger-vehiclehood.png"},
["t1ger_vehicletrunk"] = {price = 400, icon = "https://i.postimg.cc/WpK1jXTQ/t1ger-vehicletrunk.png"},
["t1ger_vehiclewindow"] = {price = 100, icon = "https://i.postimg.cc/pLMV5r9C/t1ger-vehiclewindow.png"},
["t1ger_vehiclewheel"] = {price = 300, icon = "https://i.postimg.cc/15q5zwz4/t1ger-vehiclewheel.png"}
}
},
{
title = "Core Parts",
icon = "https://i.postimg.cc/CM6z5wHr/t1ger-alternator.png",
items = {
["t1ger_alternator"] = {price = 600, icon = "https://i.postimg.cc/CM6z5wHr/t1ger-alternator.png"},
["t1ger_brakes"] = {price = 400, icon = "https://i.postimg.cc/X7GXytsj/t1ger-brakes.png"},
["t1ger_electricmotor"] = {price = 1200, icon = "https://i.postimg.cc/J0gn2QzC/t1ger-electricmotor.png"},
["t1ger_evbattery"] = {price = 1800, icon = "https://i.postimg.cc/ZKGnPjQr/t1ger-evbattery.png"},
["t1ger_fuelinjector"] = {price = 750, icon = "https://i.postimg.cc/Pqhq9JTJ/t1ger-fuelinjector.png"},
["t1ger_powersteeringpump"] = {price = 900, icon = "https://i.postimg.cc/XY9JsdMt/t1ger-powersteeringpump.png"},
["t1ger_radiator"] = {price = 500, icon = "https://i.postimg.cc/0NfNsvyf/t1ger-radiator.png"},
["t1ger_transmission"] = {price = 1600, icon = "https://i.postimg.cc/bJwwY5Gj/t1ger-transmission.png"},
}
},
{
title = "Service Parts",
icon = "https://i.postimg.cc/Y02YH874/t1ger-coolant.png",
items = {
["t1ger_airfilter"] = {price = 150, icon = "https://i.postimg.cc/hj1T66kW/t1ger-airfilter.png"},
["t1ger_batterycoolant"] = {price = 70, icon = "https://i.postimg.cc/26DnHrX7/t1ger-batterycoolant.png"},
["t1ger_brakefluid"] = {price = 60, icon = "https://i.postimg.cc/jjNzQLvj/t1ger-brakefluid.png"},
["t1ger_brakepad"] = {price = 140, icon = "https://i.postimg.cc/jSBH7zH9/t1ger-brakepad.png"},
["t1ger_coolant"] = {price = 40, icon = "https://i.postimg.cc/Y02YH874/t1ger-coolant.png"},
["t1ger_drivebelt"] = {price = 200, icon = "https://i.postimg.cc/bYL1TX01/t1ger-drivebelt.png"},
["t1ger_fuelfilter"] = {price = 250, icon = "https://i.postimg.cc/3NLpJprt/t1ger-fuelfilter.png"},
["t1ger_hvwiring"] = {price = 420, icon = "https://i.postimg.cc/g09hJGdb/t1ger-hvwiring.png"},
["t1ger_oilfilter"] = {price = 200, icon = "https://i.postimg.cc/bNBb7QBJ/t1ger-oilfilter.png"},
["t1ger_sparkplugs"] = {price = 350, icon = "https://i.postimg.cc/NfMmCNbS/t1ger-sparkplugs.png"},
["t1ger_steeringfluid"] = {price = 80, icon = "https://i.postimg.cc/rwRWMKB9/t1ger-steeringfluid.png"},
["t1ger_tires"] = {price = 100, icon = "https://i.postimg.cc/BvxKPRQL/t1ger-tires.png"},
["t1ger_transmissionfluid"] = {price = 90, icon = "https://i.postimg.cc/4dsh6wm8/t1ger-transmissionfluid.png"}
}
},
{
title = "Kits",
icon = "https://i.postimg.cc/W4jRTJDR/t1ger-carjack.png",
items = {
["t1ger_repairkit"] = {price = 1500, icon = "https://i.postimg.cc/Tw7BV7tG/t1ger-repairkit.png"},
["t1ger_repairkit_adv"] = {price = 3000, icon = "https://i.postimg.cc/9Xkvzk4Y/t1ger-repairkit-adv.png"},
["t1ger_carjack"] = {price = 2500, icon = "https://i.postimg.cc/W4jRTJDR/t1ger-carjack.png"},
["t1ger_patchkit"] = {price = 2000, icon = "https://i.postimg.cc/NFKSp6nX/t1ger-patchkit.png"},
["t1ger_fuelcan"] = {price = 300, icon = "https://i.postimg.cc/528chm2q/t1ger-fuelcan.png"},
["t1ger_jumpstarter"] = {price = 400, icon = "https://i.postimg.cc/QtxRWGk0/t1ger-jumpstarter.png"},
["t1ger_repairkit_tire"] = {price = 500, icon = "https://i.postimg.cc/6qFSS7sm/t1ger-repairkit-tire.png"},
["t1ger_diagnostictool"] = {price = 1000, icon = "https://i.postimg.cc/P5zPyYYN/t1ger-diagnostictool.png"},
["t1ger_servicebook"] = {price = 100, icon = "https://i.postimg.cc/wxFCGD6f/t1ger-servicebook.png"}
}
},
{
title = "Props",
icon = "https://i.postimg.cc/xdksrf5r/t1ger-roadbarrier.png",
items = {
["t1ger_roadcone"] = {price = 50, icon = "https://i.postimg.cc/8zzKHBrz/t1ger-roadcone.png"},
["t1ger_toolstrolley"] = {price = 200, icon = "https://i.postimg.cc/pTzqTs3q/t1ger-toolstrolley.png"},
["t1ger_toolbox"] = {price = 100, icon = "https://i.postimg.cc/Jh9pMfYs/t1ger-toolbox.png"},
["t1ger_consign"] = {price = 150, icon = "https://i.postimg.cc/kgYjh6xF/t1ger-consign.png"},
["t1ger_roadbarrier"] = {price = 600, icon = "https://i.postimg.cc/xdksrf5r/t1ger-roadbarrier.png"}
}
}
}
Last updated