> ## Documentation Index
> Fetch the complete documentation index at: https://lationscripts.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Coke - Changelog

> A chronological log of every release, feature addition, and bug fix

<Update label="1.2.0">
  * Added tgiann-inventory & jaksam\_inventory support
  * Added an automated lab selling/reclaim option in config for inactivity with configurable options
  * Added `anyone_destroy` config option for coca plants (*control whether anyone can destroy a plant or only owner/police*)
  * Fixed stashes on `qb-inventory` not working as expected (*showing a shared stash instead of unique/private stashes per lab*)
  * Fixed typo in `notify.not-experienced` locale

  ```Changed changed-files theme={null}
  bridge/client.lua
  bridge/server.lua
  client/functions.lua
  client/labs.lua
  client/plants.lua
  config/shared.lua
  install/lation_coke_labs.sql
  locales/*.json
  server/functions.lua
  server/labs.lua
  server/plants.lua
  fxmanifest.lua
  ```
</Update>

<Update label="1.1.0" description="Nov 12, 2025">
  Fixed cutting a coke/crack brick more than one\
  Missing locale added\
  Fixed labs mistakenly using table dispatch settings\
  Fixed edge case .sql query error on older MariaDB versions\
  Added two new steps in portable tables for cooking & cutting\
  Empty "CompletedCook" function added in server/functions\
  New exports.lation\_coke:buyLab(source, labId) added\
  Changed lab routing buckets to static id's and not random
</Update>

<Update label="1.0.9" description="Jun 30, 2025">
  Maintenance update for upcoming release
</Update>

<Update label="1.0.8" description="May 8, 2025">
  Fix view camera permission not working as expected\
  Add a backend system to manage the situation in which a player logs out in a lab, but reconnects in a different location (ensure they don't end up back in a routing bucket if not needed, etc)\
  Add getLevelData export(s)\
  Add character set and collation to lation\_coke\_labs.sql
</Update>

<Update label="1.0.7" description="Apr 3, 2025">
  Added /resetbucket command\
  Fixed opening stash on qb-inventory\
  Change shop to auto-detect inventory metadata key
</Update>

<Update label="1.0.6" description="Mar 21, 2025">
  Fix item merging applying metadata to non-metadata items
</Update>

<Update label="1.0.5" description="Mar 17, 2025">
  Slight refactor in GetJob function\
  Increase take\_cement animation duration\
  Added CanOpenSupplyShop empty function\
  Fixed item merging bug between stashes, etc
</Update>

<Update label="1.0.4" description="Mar 12, 2025">
  ox\_inventory only: ability to merge metadata items (water, fertilizer, gasoline & cement)
</Update>

<Update label="1.0.3" description="Mar 10, 2025">
  Fix being unable to open stashes on qb-inventory\
  Fix invalid bucket assignments ending up in other players' labs'\
  Incorrect dispatch coords when cooking in lab(s)
</Update>

<Update label="1.0.2" description="Feb 25, 2025">
  Fix invalid targetId param
</Update>

<Update label="1.0.1" description="Feb 24, 2025">
  Fix being unable to collect cement
</Update>

<Update label="1.0.0" description="Feb 19, 2025">
  v1 release day
</Update>
