jimathy/jim-consumables — reverse-engineered prompt

Reverse engineered prompt

Build me a FiveM consumables resource for QBCore that can replace the usual food and drink behavior.

I want players to be able to eat and drink without getting forced out of other animations or being made to stand up if they are sitting. The consume action should only stop the specific eating or drinking animation you started, not wipe every animation on the ped. Please include a simple config so I can turn the progress bar on or off, since some servers prefer instant use and others want the bar.

Keep it focused on food and drink items, clean and easy to drop in as a replacement for the default small resources style setup. It should not depend on dpemotes, rpemotes, or any other emote menu resource. If the project already supports more than one framework structure, keep that flexible, but the main target is QBCore.

Please make the code organized between client, server, shared, and config files, and leave it ready to use with sensible defaults. You can look up current FiveM and QBCore docs online if needed.

Want more depth? Deep Reverse