Changelog
Released version and their changes.
Changelog - Version 1.1.1
Changes
Removed dependency that was added during testing.
Fixed trash cans by waiting for target systems to be initialized properly.
Added client-sided consumption rewards, allowing new rewards such as health & armor to be added.
Added health & armor rewards.
Added a "max amount" input for rewards. This allows limiting the max amount a reward can give you. For example, consuming an item can give you at most 25 armor, once you have 25 armor it doesn't give the reward anymore.
Files Affected
client/unlocked/threads/trash_can.lua
client/locked/consuming.lua
client/locked/events.lua
client/unlocked/on_consumption.lua
server/locked/functions.lua
server/unlocked/on_consumption.lua
shared/unlocked/functions.lua
locales/en.lua
ing:ingredientRewardMaxAmount
ing:ingredientRewardMaxAmountTooltip
nui/*
types.lua
fxmanifest.lua
Changelog - Version 1.1.0
Changelog
Moved to the new zyke_lib loader.
Fixed a reversed logical operator.
Set interaction when pouring, to block new actions.
Avoid timing issue when ensuring idle stage right when you unequip your item.
Block changes to consumption haste when you are in placement mode.
Added sounds when pouring drinks.
Cleanup active items connected to an item id if the item id is invalid and is no longer connected to a item configuration.
Validate item settings exist when constructing item metadata.
Fixed an incorrect variable used when adding to list of items.
Reset loading when duplicating ingredients.
Adjusted the choking settings for a better default.
Correctly updating the metadata after closing the item (usually drinks) when placing it down.
Config setting to fetch possible ox conversions for items.
Fixed spelling error for
discardedCurrentItem
.Moved methods for translating keys into zyke_lib.
Registering keybinds earlier to avoid timing issues.
Conversion system from pixel-consumables to our system.
Added item hooks, to create additional functionality on item events like starting or stopping consumption, much more has been added but keeping it brief.
Fixed an issue where restarting the script would throw errors if you had players without a selected character.
Truncating item weight to one decimal.
Configurable toggle for item quality in the descriptions.
Additional search fields, you can search for both label & name to find items.
Hint setting for trashcans, you can now select if you want it to be displayed or not.
Fixed an issue with converting certain ox_inventory.lua items.
An items.lua file is now created with all of the items you converted, ready to be pasted into your old items.lua file. This speeds up converting tons of items with one copy & paste.
Keybind menu next to your consumption bar to dynamically display all active keybinds.
Configurable discard rewards for items, for example, giving an empty banana peel when finishing a banana, a bone after eating a chicken leg or a generic can when finishing a drink.
Sorting available items in the item configurator list in alphabetical order.
Smoother wait for items to spawn when equipping them.
Additional rIght-arm throwing for items that are in your right arm.
Moved item validation into new file.
Added item categories to filter your items in the configurator.
Preview sounds in the item configurator.
Allow pre-animation without playing a sound, for example, when peeling a banana by using it for the first time.
Discard items that are below the configured quality when interacting with a trash can.
Fixed a rounding issue for the reward calculation affecting some people.
Item name is now being truncated in the item list for the configurator.
Colored the pagination dots correctly.
The consumption bar color can now be changed in the config.
Updated the setup link to the docs instead of the old beta-testing channel.
Added in item packs, for example, this allows you to grab multiple donuts from one donut case.
These packs are placable in the world, if configured.
Can be configured to require placement. Perhaps you don't want players to have packs they can just grab from in their inventory.
The packs can be made generic to only require one item with dynamic metadata, or item-specific if you wish to sell these packs easily in stores and have a dedicated item for each pack.
A personal setting has been added for displaying the contents inside of a placed pack. You can have just the pack, a static prop on top or a rotating prop on top.
Cleans up automatically after a configured time of not being interacted with.
Configurable max packs placed by one player at a time.
Admin-debug exists for placed packs to catch malicious users.
Files Affected
All
SQL Modifications
ALTER TABLE `zyke_consumables_configured_items`
ADD COLUMN `discard_rewards` TEXT DEFAULT NULL,
ADD COLUMN `categories` TEXT DEFAULT "[]",
ADD COLUMN `pack` TEXT DEFAULT NULL;
Last updated
Was this helpful?