Commit Graph

102 Commits

Author SHA1 Message Date
Jim Shield
d83d0bbfc4 check and store variable
If `jim-consumables:Consume` was triggered by an item with no information it would error and possibly break the script

This a check to instantly `return` when no consumable information is found
2025-05-17 21:03:29 +01:00
Jim Shield
2b6d3f2825 Update README.md 2025-05-14 15:56:13 +01:00
Jim Shield
cab1ddbe52 Update README.md 2025-05-14 15:54:58 +01:00
Jim Shield
868f322c8c Re-add dynamic string changer
Removed this by accident when people were getting notification issues

Restored it to display the correct message when consuming
2025-05-14 15:54:53 +01:00
Jim Shield
5bbd8a70e8 Version Bump
`2.0.01` - `2.0.02`
v2.0.02
2025-05-14 15:38:08 +01:00
Jim Shield
9f5bde25ae Reset consumables.lua file
The file contained a lot of files from a server I worked on, I've removed these and added the files back from the previous file

But kept the examples of "boxes" being used and a explanation of how to make them
2025-05-14 15:33:27 +01:00
Jim Shield
445ddc82ac Change the "Stop Consuming" popup
It was originally using `drawText` to use framework ui to display `[BACKSPACE] Stop Consuming`

Changed to display an instructional native ui popup on the bottom right of the screen
2025-05-14 15:31:58 +01:00
Jim Shield
d9b97dc14c Fix stats overriding itself
The `stats` table was being overridden by the function to calculate random times for certain settings replacing the table with only `hunger` and `thirst`

Separated them now things like screen effects work again

Also refactored some sections to reduce amount of `if` statements
2025-05-14 15:24:36 +01:00
Jim Shield
c96d1ec277 place start functions behind onResourceStart() 2025-05-12 22:52:03 +01:00
Jim Shield
cf3d3c4147 Update fxmanifest.lua to new format
Removes core loading in `fxmanifest.lua` in favour of more "verbose" file loader in jim_bridge v`2.0.08+`
2025-05-10 20:06:00 +01:00
Jim Shield
4e565268cd Version Bump
`2.0` - `2.0.01`
v2.0.01
2025-05-06 10:35:00 +01:00
Jim Shield
9e8dcc39f9 Remove notify types
I was hoping this wouldn't affect notification systems but it did

I left in code for a automated notification type, this was used on a server I worked on, forgot it was there and had a couple reports of it breaking qb-core nui
2025-05-05 19:48:11 +01:00
Jim Shield
c2d902c813 fix discord bot yml 2025-05-01 13:38:26 +01:00
Jim Shield
4d83c8c612 add gitbot yml 2025-05-01 00:19:02 +01:00
Jim Shield
f23d2bbdd0 Merge pull request #20 from jimathy/2.0beta v2.0.0 2025-04-28 18:19:53 +01:00
Jim Shield
9323c46406 Create FUNDING.yml 2025-04-13 13:25:23 +01:00
Jim Shield
57ed8b2ae0 Create FUNDING.yml 2025-04-13 13:11:50 +01:00
Jim Shield
7492531621 Version 2.0 Bump + readability changes 2025-04-01 19:39:26 +01:00
Jim Shield
531c93377a 2.0Beta upload 2025-04-01 19:34:44 +01:00
Jim Shield
11f479d8f8 Fix reward item errors 2023-03-27 18:59:56 +01:00
Jim Shield
d60a93448d Update README.md 2023-03-11 22:37:08 +00:00
Jim Shield
0b45087596 Update README.md 2023-03-11 22:27:47 +00:00
Jim Shield
5b1c949903 Update README.md 2023-03-11 22:27:21 +00:00
Jim Shield
61ca273b5f Merge pull request #13 from jellyton69/patch-1
Exports not export
2023-03-06 21:00:17 +00:00
Jellyton
7feaa12f7e Exports not export
Fixed progress bar cancelation export for ox lib.
2023-03-04 20:33:51 -08:00
Jim Shield
7f5383f90e emotes... 2023-03-02 15:22:15 +00:00
Jim Shield
e988fb216a emotes. 2023-03-02 15:08:11 +00:00
Jim Shield
6a17162638 1.5 - ox_prog/correct emotes/import system update
Refactor
Support for ox_progressbar
Sorted out the fucking default emotes
Item/Emote System update, works better and syncs better
Update Readme to reflect the chagnes
2023-03-02 15:06:30 +00:00
Jim Shield
cec84d4ba9 Merge pull request #12 from taylorrenee1/patch-3
forgot a }
2023-02-27 13:50:41 +00:00
taylorrenee1
9558f71ce8 forgot a } 2023-02-27 05:49:46 -08:00
Jim Shield
3565c9850f Merge pull request #11 from taylorrenee1/patch-2
Putting default drugs back in
2023-02-27 13:38:50 +00:00
taylorrenee1
8f57772427 Putting default drugs back in 2023-02-27 05:33:10 -08:00
Jim Shield
d7ec8dd90c Merge pull request #10 from taylorrenee1/patch-1
Fixes player being stuck when consuming
2023-02-24 20:14:09 +00:00
taylorrenee1
429bf50b3a also adds print to check movement type 2023-02-24 11:04:47 -08:00
taylorrenee1
0b42cbc362 Fixes player being stuck when consuming 2023-02-24 11:01:05 -08:00
Jim Shield
e7d9946532 ox lib notify support - Config.Notify = "ox" 2023-02-21 17:20:20 +00:00
Jim Shield
c10860f788 add shared ox inv support 2023-02-21 17:07:02 +00:00
Jim Shield
7e10b7835f Add server-side ox inv support 2023-02-21 17:06:12 +00:00
Jim Shield
80ffb27ac2 ox inv basic support 2023-02-21 17:04:52 +00:00
Jim Shield
d263b1d156 v1.5 v1.5.0 2023-02-19 21:47:06 +00:00
Jim Shield
7d8aa1bbc6 Fix version number print 2023-02-19 21:46:48 +00:00
Jim Shield
3330724d4e Fixes and support for RewardItems 2023-02-19 21:40:26 +00:00
Jim Shield
3e2eef8a38 Add options for RewardItem variables 2023-02-19 21:39:16 +00:00
Jim Shield
b1730d24f1 Remove duplicate remove event causing kicks 2023-02-17 09:43:59 +00:00
Jim Shield
632fd1de5b Merge pull request #8 from jimathy/v1.4
v1.4 Update
2023-02-14 15:17:04 +00:00
Jim Shield
d0fa6b750b Update README.md 2023-02-14 15:14:53 +00:00
Jim Shield
52816242fa Revert "v1.4 beta update info"
This reverts commit c25cb643bc.
2023-02-14 15:14:17 +00:00
Jim Shield
4e38c81645 Revert "Fix snippet formatting"
This reverts commit 7996100dad.
2023-02-14 15:14:13 +00:00
Jim Shield
7a6762ee08 Revert "Update item example snippet"
This reverts commit 6ba9febb0a.
2023-02-14 15:14:07 +00:00
Jim Shield
6ba9febb0a Update item example snippet 2023-02-14 15:10:13 +00:00