jimathy / jim-mining

FiveM QBCore Script for Mining
160 stars 110 forks source link

not an issue but an ask #4

Closed Monkey1995 closed 2 years ago

Monkey1995 commented 2 years ago

i was wondering if it would be possible to be able to resmelt your gold chain/rings for gold bars? im not sure how it would look but

Crafting = {} Crafting.SmeltMenu = { [1] = { ["copper"] = { ["copperore"] = 2 } }, [2] = { ["goldbar"] = { ["goldore"] = 2 } or { ["goldchain"] = 2 } or { ["10kgoldchain"] = 1 } or { ["goldring"] = 4 } }, [3] = { ["iron"] = { ["ironore"] = 2 } }, [4] = { ["steel"] = { ["ironore"] = 2, ["carbon"] = 1 } },

jimathy commented 2 years ago

Hmmm, I'll look into that. I just tired it and the way its made currently doesn't allow duplicate "result" items It looks into the list on the other pages and finds "goldbar" then says "Yea! this one" even though you've picked another one...need to work around that somehow

jimathy commented 2 years ago

Done and done, added support and included examples in the config