π§ͺ KCD Laboratory β Full Open Source
Bring new opportunities for faction roleplay and discovery to your FiveM server. KCD Laboratory combines faction production facilities, public research, personal recipe collections and NPC trading in one configurable resource.
π Faction Laboratories
- Included example production chains for Meth and Heroin.
- Multiple stages: preparation, crushing, cooking and packaging.
- Each completed stage provides its own intermediate or finished item.
- Restrict access by ESX job and minimum grade.
- Laboratory blips are visible only to authorized factions.
- Configurable entrances, interior destinations and return points.
- All authorized factions of the same laboratory share one routing bucket, allowing encounters and negotiations through roleplay.
βοΈ Manual or Automatic Production
Choose the production mode for each faction laboratory:
- Manual: Press E for each production cycle.
- Automatic: Press E once to repeat the selected stage until ingredients run out, inventory capacity is reached or the player cancels with X.
Includes progress indicators and configurable animations.
π¬ Public Research Laboratory
Let players experiment with two different eligible inventory items.
- Define successful combinations, output items, quantities, names and stories in the configuration.
- Included examples: Heroin + Meth β Mehtheroin and Banana + Joint β BananaHaven.
- Successful discoveries are saved per ESX character.
- A personal recipe book displays discovered products, stories, ingredient labels and sale locations.
- Players can select ingredients directly from a discovered recipe or mark a dealer on the map.
Unconfigured combinations result in a failed experiment, with a small explosion effect without explosion damage and a failure notification. Ingredient consumption on failure is configurable.
π° NPC Dealers
- Three configurable dealers with randomized purchase offers.
- Sell supported standard products and configured research products.
- Research products pay out to the ESX black_money account.
- Research pricing enforces a minimum of twice the combined maximum sale value of the ingredients, adjusted for output quantity.
- Configurable price ranges, offer duration, sale limits and cooldowns.
- Optional rejection reaction with a short knife scene and limited scripted damage. Rejected goods remain in the inventory.
π¨ KCD Interface
A custom NUI in dark blue, blue, pink and white, without gradients.
Includes inventory search, ingredient selection, recipe details, dealer offers and support for your own PNG logo.
π οΈ Configuration & Source Access
Customize jobs, grades, locations, buckets, production steps, ingredients, recipes, timers, animations, prices and dealer settings.
Full readable Lua, HTML, CSS and JavaScript source included. No Asset Escrow encryption. Modify the resource for your own server. Redistribution and resale are not permitted.
π¦ Requirements
- ESX Legacy
- ox_inventory
- ox_lib
- oxmysql
- OneSync
Included: Resource files, item definitions, SQL setup and a German installation guide.
Please note: No MLO or custom interior is included. Example coordinates and faction names must be adapted to your server. Faction conflict and laboratory ownership negotiations are handled through roleplay; no automated territory capture system is included.