KoraFiveM/kora_drugs ? reverse-engineered prompt
Reverse engineered prompt
Build me a FiveM drugs resource for the Kora framework in Lua.
I want players to be able to grow plants, collect them, process them through a few recipe based steps at different locations, and then sell the finished drugs. It should include the main drugs like weed, cocaine, crack, heroin, and meth, plus a way for admins to create custom drugs in game. Please add a simple admin tool for editing plants, step spots, recipes, prices, and custom drug settings, and save those changes in the database.
Also include corner selling to nearby NPCs and a dealer system with stock, opening hours, reputation, cash, and package deliveries. Keep it compatible with older qb drugs scripts where possible, and make sure the setup works cleanly with the usual Kora resources and database tables. If anything is unclear, check the current docs online and follow the project style already used here.
Are you gonna build this?
make sure you review the code using coderabbit