Links

ds-milkjob

Advance & Unique Milkjob script and Compatible with any Qbcore and ESX server.
View on Tebex | CFX Fourm Post | Youtube Video | Discord

Installaction

Dependencies

Dependency
Download
Description
qb-input
Link
qb-input for add input option on sell oranges and pickup oranges.
milk-prop
Link
Custom prop for milk processing

Start

  1. 1.
    Extract ds-milkjob.zip and place it into your resource folder.
  2. 2.
    Install and ensure dependencies for the resource.
  3. 3.
    Setupconfig.lua (⚠️see #CONFIGURATION for instructions).
  4. 4.
    Addensure ds-milkjob to your server start config (place it anywhere below the dependency & framework resources).

Configuration

Please go through all configurable options & settings in config.lua and configure them to your server's preferences.
Also please read the comments at the end of each line, for a brief information on what the option does.

Add Items

QBCore
ESX
Inventory Images

Open qb-core/shared/items.luaand add this lines

["milk"] = {
["name"] = "milk",
["label"] = "Milk",
["weight"] = 200,
["type"] = "item",
["image"] = "milk.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Milk"
},
["bucket"] = {
["name"] = "bucket",
["label"] = "Bucket",
["weight"] = 200,
["type"] = "item",
["image"] = "bucket.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Bucket"
},
["rope"] = {
["name"] = "rope",
["label"] = "Rope",
["weight"] = 200,
["type"] = "item",
["image"] = "rope.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "rope"
},
INSERT INTO items (name, label, weight, rare, can_remove) VALUES ('milk', 'Milk', 1, 0, 1), ('bucket', 'Bucket', 2, 0, 1), ('rope', 'Rope', 1, 0, 1);
INSERT INTO jobs (name, label, whitelisted) VALUES ('farmer', 'Farmer', 0);
INSERT INTO job_grades (job_name, grade, name, label, salary, skin_male, skin_female) VALUES ('farmer', 0, 'recruit', 'Recruit', 20, '{}', '{}');