qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
49 stars 376 forks source link

Collect the crafting cost from config.lua #425

Closed teigCoding closed 1 year ago

teigCoding commented 1 year ago

Collect the crafting cost from config.lua instead of fixed value in main.lua. This just makes it easier for the developers to change the cost of each item. Instead of needing to edit two places, they can just edit in the config.

This is tested and works ;)