m-Scripts
  • m-Scripts Documentation
  • QBCore
    • Jobs
      • 🚗[QB] TunerJob
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🍞[QB] BeanMachine
        • 🛠️Installation
        • 🗒️Config
      • 🍔[QB] Burgershot
        • 🛠️Installation
        • 🗒️Config
      • 🍈[QB] CoolBeans
        • 🛠️Installation
        • 🗒️Config
      • 🚚[QB] Deliveries
        • 🛠️Installation
        • 📃Config
          • 📃config_functions
      • 🍎[QB] Farming
        • 🛠️Installation
        • 🗒️Config
      • 🐟[QB] Fishing
        • 🛠️Installation
        • 🗒️Config
          • 📄config_diving
          • 📄config_fishingnet
          • 📄config_fishingrod
          • 📄config_functions
          • 📄config_language
          • 📄config_seashells
          • 📄config_tournament
          • 📄config_upgrades
      • 🚛[QB] Garbage
        • 🛠️Installation
        • 🗒️Config
      • 🗝️[QB] GoldRush
        • 🛠️Installation
        • 🗒️Config
      • ⛰️[QB] Hunting
        • 🛠️Installation
        • 🗒️Config
      • 🪵[QB] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[QB] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🛢️[QB] Oil Factory
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • ☕[QB] Pond Coffee
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🚚[QB] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🥃[QB] Vanilla
        • 🛠️Installation
        • 🗒️Config
      • 🛻[QB] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • 🥃[QB] Bahamas
        • 🛠️Installation
        • 📄Config
      • 🔫[QB] Ammunation
        • 🛠️Installation
        • 📄Config
      • 🐟[QB] Pearls
        • 🛠️Installation
        • 📄Config
      • 🔓[QB] Impound
        • 🛠️Installation
        • 📄Config
        • ✅Garages
      • 🚘[QB] Vehicleshop
        • 🛠️Installation
        • 📄Config
          • Functions
          • Job
          • Language
        • ❓Common Questions
    • General
      • 🏕️[QB] Camping
        • 🛠️Installation
        • 🗒️Config
          • Consumables
          • Language
      • 🎄[QB] Christmas
        • 🛠️Installation
        • 🗒️Config
      • 🎃[QB] Halloween
        • 🛠️Installation
        • 🗒️Config
      • 📔[QB] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 🗒️Config
        • 🔁Server-Exports
      • 🏘️[QB] Vespucci
        • 🛠️Installation
        • 🗒️Config
          • Brewery
          • Digital Den
          • Masquerade
          • Pro Bikes
      • 🏖️[QB] Beach Activities
        • 🛠️Installation
        • 🗒️Config
      • 🚘[QB] Car Rental
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • ✈️[QB] Sky Racing
        • 🛠️Installation
        • 📄Config
      • 🚘[QB] Car Wash
        • 🛠️Installation
        • 📄Config
      • 🪨[QB] Grinder
        • 🛠️Installation
        • 📄Config
      • 📹[QB] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
      • 🏠[QB] Motel
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • 🏚️[QB] Job Center
        • 📄Config
      • 🛠️[QB] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
    • Illegal
      • 🔫[QB] Gangs
        • 🛠️Installation
        • 🗒️Config
      • 🔔[QB] Drug Selling
        • 🗒️Config
      • 🌱[QB] Drugs
        • 🛠️Installation
        • 🗒️Config
      • 🍯[QB] Craft Potion
        • 🛠️Installation
        • 🗒️Config
      • 🅱️[QB] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🚗[QB] Car Thief
        • 🗒️Config
      • 🏠[QB] House Robbery
        • 🛠️Installation
        • 🗒️Config
      • 💎[QB] Jewelry
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ®️[QB] Mini Robberys
        • 🛠️Installation
        • 🗒️Config
      • 💰[QB] MoneyWash
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🔫[QB] Rob NPC
        • 🛠️Installation
        • 🗒️Config
      • 🏃‍♂️[QB] Runs
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ⛽[QB] Steal Fuel
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🏬[QB] Store Robbery
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🪛[QB] Scrapyard
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 👾[QB] Territories
        • 🛠️Installation
        • 📄Config
          • Functions
      • 🏨[QB] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • ESX
    • Jobs
      • 🚗[ESX] Tunerjob
        • ❗Dependencies
        • 🛠️Installation
          • ℹ️OX-Inventory
          • ℹ️QS-Inventory
        • 🗒️Config
          • BlacklistVehicles
          • Craft
          • Functions
          • Language
          • Targets
          • Wraps
          • Events
        • ❓Common Questions
      • 🚚[ESX] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🪵[ESX] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • 🛻[ESX] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[ESX] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🎣[ESX] Fishing
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • Diving
          • Fishingnet
          • Fishingrod
          • Seashells
          • Tournament
          • Upgrades
    • General
      • 🚘[ESX] Car Rental
        • 🛠️Installation
        • 🗒️Config
      • 📃[ESX] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 📄Config
        • 🔁 Server-Exports
      • 🚘[ESX] Car Wash
        • 🛠️Installation
        • 📄Config
      • 📹[ESX] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
        • 🏠[ESX] Motel
          • 🛠️Installation
          • 📄Config
          • 🖥️Compatibilities
      • 🛠️[ESX] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🎄[ESX] Christmas
        • 🛠️Installation
        • 📄Configs
    • Illegal
      • 🔫[ESX] Gangs
        • 🛠️Installation
        • 📄Config
        • ❓Common Questions
      • 🅱️[ESX] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🏨[ESX] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • Both Framework
    • Scripts
      • 🚗Car Rebuild
        • 🛠️Installation
        • 🗒️Config
      • 🗺️City Guide
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🛒Shops
        • 📄Config
        • 🛠️Installation
      • 🔁Reputation
        • 📄Config
        • 🛠️Installation
        • ⁉️Exports & Commands
          • Server Exports
          • Commands
      • 💤AFK System
        • 📄Configs
        • 🛠️Installation
      • 🚗Garages
        • 🛠️Installation
        • 📑User Guide
          • Create Garages
          • Create Private Garage
          • Impound & Auctions
          • Add vehicle to gang/job
          • Commands
      • ✈️Airplane Job
        • 🛠️Installation
        • 📃Configs
        • ℹ️Exports
      • 📋Scoreboard
        • 📃Config
      • 📦StorageUnits
        • 🛠️Installation
        • 📃Config
Powered by GitBook
On this page
  1. QBCore
  2. Jobs
  3. [QB] Farming

Config

Config = {}

Config.Settings = {
    Core = "qb-core", -- Your core folder name "qb-core"
    Target = "qb-target", -- "qb-target" or "ox_target"
    Menu = "qb-menu", -- Your menu folder name "qb-menu"
    CoreSkils = false, -- If you use core_skills change on server/s_utils with triggers
    Inventory = "other", -- "other" or "ox_inventory"
    Notify = "QBCore", -- Change your notify here "QBCore" | "okok" | "mythic"
    InvLink = "qb-inventory/html/images/", -- Inventory directory for your images
    Webhook = "", -- Your webhook to logs when players selling
    BreakHoe = false, -- Here is to enable / disable the possibility for the hoe break
    Chance = 10, -- Chance for the hoe break
    QuasarKeys = false, -- You use qs-vehiclekeys?
    Minigame = { -- https://github.com/Project-Sloth/ps-ui
        EnableMG = false, -- Enable minigame?
        NumberOfCircles = 2, -- Number of circles ps-ui
        MS = 20, -- Time to complete MS
    }
}


-- ██████╗░██╗░░░░░██╗██████╗░░██████╗
-- ██╔══██╗██║░░░░░██║██╔══██╗██╔════╝
-- ██████╦╝██║░░░░░██║██████╔╝╚█████╗░
-- ██╔══██╗██║░░░░░██║██╔═══╝░░╚═══██╗
-- ██████╦╝███████╗██║██║░░░░░██████╔╝
-- ╚═════╝░╚══════╝╚═╝╚═╝░░░░░╚═════╝░

-- Here is where you can change the blips, names, color or add more blips if you want
Config.Blips = {
    [1] = {enable = true, x = 2028.45, y = 4977.48, z = 41.02, sprite = 86, display = 4, scale = 0.8, colour = 5,  name = "Farmer"},
    [2] = {enable = true, x = 2071.21, y = 4916.05, z = 41.02, sprite = 253, display = 4, scale = 0.8, colour = 5,  name = "Barley Farm"},
    [3] = {enable = true, x = 2044.33, y = 4943.1,  z = 41.09, sprite = 253, display = 4, scale = 0.8, colour = 46, name = "Cornstalk Farm"},
    [4] = {enable = true, x = 2005.55, y = 4904.06, z = 42.89, sprite = 253, display = 4, scale = 0.8, colour = 52, name = "Hops Farm"},
    [5] = {enable = true, x = 2032.11, y = 4877.65, z = 42.88, sprite = 253, display = 4, scale = 0.8, colour = 56, name = "Tobacco Farm"},
}


-- ██████╗░███████╗██████╗░░██████╗
-- ██╔══██╗██╔════╝██╔══██╗██╔════╝
-- ██████╔╝█████╗░░██║░░██║╚█████╗░
-- ██╔═══╝░██╔══╝░░██║░░██║░╚═══██╗
-- ██║░░░░░███████╗██████╔╝██████╔╝
-- ╚═╝░░░░░╚══════╝╚═════╝░╚═════╝░
Config.EnablePeds = true -- If true, some NPC's will appear on the farm harvesting ( Just to generate more rp )
Config.Animation = "world_human_gardener_plant" -- Animation for random peds that will spawn
Config.Peds = {
    [1] = {type = 4, hash = GetHashKey("a_m_m_farmer_01"), x = 2028.68,  y = 4977.97,  z = 40.10, h = 180.07},
    -- You can add more peds if you want undder this line
}

-- ███████╗░█████╗░██████╗░███╗░░░███╗░██████╗
-- ██╔════╝██╔══██╗██╔══██╗████╗░████║██╔════╝
-- █████╗░░███████║██████╔╝██╔████╔██║╚█████╗░
-- ██╔══╝░░██╔══██║██╔══██╗██║╚██╔╝██║░╚═══██╗
-- ██║░░░░░██║░░██║██║░░██║██║░╚═╝░██║██████╔╝
-- ╚═╝░░░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═╝╚═════╝░

Config.Farms = {
    Barley = {
        Location = vector3(2071.21, 4916.05, 41.02), -- Location where props will spawn
        Prop = "prop_bzzz_gardenpack_barley001", -- Name of the prop [ https://bzzz.tebex.io/package/4887579 ]
        SpawnedProps = 10, -- Number of plants that will spawn
        Distance = 25, -- Distance of player to render the plants
        Collecting = 5000, -- Progressbar time to harvest the plant
        Animation = "world_human_gardener_plant", -- Animation when harvesting the plant
    },
    Cornstalk = {
        Location = vector3(2044.33, 4943.1, 41.09), -- Location where props will spawn
        Prop = "prop_bzzz_gardenpack_cornstalk001", -- Name of the prop [ https://bzzz.tebex.io/package/4887579 ]
        SpawnedProps = 10, -- Number of plants that will spawn
        Distance = 25, -- Distance of player to render the plants
        Collecting = 5000, -- Progressbar time to harvest the plant
        Animation = "world_human_gardener_plant", -- Animation when harvesting the plant
    },
    Hops = {
        Location = vector3(2005.55, 4904.06, 42.89), -- Location where props will spawn
        Prop = "prop_bzzz_gardenpack_hops001", -- Name of the prop [ https://bzzz.tebex.io/package/4887579 ]
        SpawnedProps = 10, -- Number of plants that will spawn
        Distance = 25, -- Distance of player to render the plants
        Collecting = 5000, -- Progressbar time to harvest the plant
        Animation = "world_human_gardener_plant", -- Animation when harvesting the plant
    },
    Tobacco = {
        Location = vector3(2032.11, 4877.65, 42.88), -- Location where props will spawn
        Prop = "prop_bzzz_gardenpack_tabacco001", -- Name of the prop [ https://bzzz.tebex.io/package/4887579 ]
        SpawnedProps = 10, -- Number of plants that will spawn
        Distance = 25, -- Distance of player to render the plants
        Collecting = 5000, -- Progressbar time to harvest the plant
        Animation = "world_human_gardener_plant", -- Animation when harvesting the plant
    },
    Apple = {
        Location = vector3(1960.22, 4953.2, 43.44), -- Location where props will spawn
        Prop = "bzzz_tree_apple_a", -- Name of the prop [ https://bzzz.tebex.io/package/5422602 ]
        SpawnedProps = 10, -- Number of plants that will spawn
        Distance = 25, -- Distance of player to render the plants
        Collecting = 5000, -- Progressbar time to harvest the plant
        animDict = "amb@prop_human_movie_bulb@idle_a", -- Animation when harvesting the plant
        anim = "idle_a" -- Animation when harvesting the plant
    },
    Cow = {
        Location = vector3(2155.42, 4964.62, 40.48), -- Location where animals will spawn
        Animal = "a_c_cow", -- Name of animal
        Collecting = 5000, -- Progressbar time to collecting milk from cow
        animDict = "anim@amb@clubhouse@tutorial@bkr_tut_ig3@", -- Animation when collecting milk from cow
        anim = "machinic_loop_mechandplayer", -- Animation when collecting milk from cow
    },
    Pig = {
        Location = vector3(2143.08, 4975.38, 41.49), -- Location where animals will spawn
        Animal = "a_c_pig", -- Name of animal
        Collecting = 5000, -- Progressbar time to collecting ham from pig
        Animation = "machinic_loop_mechandplayer", -- -- Animation when collecting ham from pig
        animDict = "anim@amb@clubhouse@tutorial@bkr_tut_ig3@", -- Animation collecting ham from pig
        anim = "machinic_loop_mechandplayer", -- Animation when harvesting the plant
    },
}


-- ██████╗░██████╗░░█████╗░██████╗░    ░██████╗██╗░░░██╗░██████╗████████╗███████╗███╗░░░███╗
-- ██╔══██╗██╔══██╗██╔══██╗██╔══██╗    ██╔════╝╚██╗░██╔╝██╔════╝╚══██╔══╝██╔════╝████╗░████║
-- ██║░░██║██████╔╝██║░░██║██████╔╝    ╚█████╗░░╚████╔╝░╚█████╗░░░░██║░░░█████╗░░██╔████╔██║
-- ██║░░██║██╔══██╗██║░░██║██╔═══╝░    ░╚═══██╗░░╚██╔╝░░░╚═══██╗░░░██║░░░██╔══╝░░██║╚██╔╝██║
-- ██████╔╝██║░░██║╚█████╔╝██║░░░░░    ██████╔╝░░░██║░░░██████╔╝░░░██║░░░███████╗██║░╚═╝░██║
-- ╚═════╝░╚═╝░░╚═╝░╚════╝░╚═╝░░░░░    ╚═════╝░░░░╚═╝░░░╚═════╝░░░░╚═╝░░░╚══════╝╚═╝░░░░░╚═╝

Config.LevelSystem = {
    level1 = { min = 1, max = 2 }, -- Hoe level 1
    level2 = { min = 2, max = 3 }, -- Hoe level 2
    level3 = { min = 3, max = 4 }, -- Hoe level 3
    level4 = { min = 4, max = 5 }, -- Hoe level 4
    level5 = { min = 5, max = 6 }, -- Hoe level 5 
}

Config.Drops = {
	Barley = { -- List of items received when harvesting  a Barley Plant
        "barley",
    },
    Cornstalk = { -- List of items received when harvesting a Cornstalk Plant
        "cornstalk",
    },
    Hops = { -- List of items received when harvesting A Hopes Plant
        "hops",
    },
    Tobacco = { -- List of items received when harvesting a Tobacco Plant
        "tobacco",
    },
    Apple = { -- List of items received when harvesting Trees
        "apple",
    },
    Cow = { -- List of items received from cows
        "milk",
    },
    Pig = { -- List of items received from pigs
        "ham",
    },
}

-- ██████╗░███████╗███╗░░██╗████████╗
-- ██╔══██╗██╔════╝████╗░██║╚══██╔══╝
-- ██████╔╝█████╗░░██╔██╗██║░░░██║░░░
-- ██╔══██╗██╔══╝░░██║╚████║░░░██║░░░
-- ██║░░██║███████╗██║░╚███║░░░██║░░░
-- ╚═╝░░╚═╝╚══════╝╚═╝░░╚══╝░░░╚═╝░░░

Config.Rent = {
    Model = "TRACTOR2", -- Model of vehicle being spawned
	Trailer = "baletrailer", -- Model of trailer being spawned
    Plate = "FARM", -- Plate of the vehicle being spawned
    Location = vector4(2028.93, 4970.06, 41.31, 133.69), -- Location to spawn the vehicle
	LocationTrailer = vector4(2033.54, 4974.45, 41.09, 131.43), -- Location to spawn the trailer (Spawns on the vehicle)
    Delete = vector4(2031.16, 4972.44, 41.14, 310.66), -- Location to return / delete the truck
    Keys = "vehiclekeys:client:SetOwner", -- Your trigger to give vehicle keys to players
    Fuel = "LegacyFuel", -- Your export trigger for fuel | "ps-fuel" , "cdn-fuel" , "LegacyFuel"
}

-- ░██████╗███████╗██╗░░░░░██╗░░░░░██╗███╗░░██╗░██████╗░
-- ██╔════╝██╔════╝██║░░░░░██║░░░░░██║████╗░██║██╔════╝░
-- ╚█████╗░█████╗░░██║░░░░░██║░░░░░██║██╔██╗██║██║░░██╗░
-- ░╚═══██╗██╔══╝░░██║░░░░░██║░░░░░██║██║╚████║██║░░╚██╗
-- ██████╔╝███████╗███████╗███████╗██║██║░╚███║╚██████╔╝
-- ╚═════╝░╚══════╝╚══════╝╚══════╝╚═╝╚═╝░░╚══╝░╚═════╝░

Config.Selling = {
	Location = vector3(1724.91, 4702.93, 42.52), -- Location to sell items and tickets
	Payment = {
        isItem = false, -- Money is a item?
        item = "cash", -- If you use isItem = true
		type = "cash", -- "cash" or "bank",
		amount = { min = 5, max = 10 } -- Each ticket
	},
    Items = { -- Thse are the items you can sell
        "barley_packaged",
        "cornstalk_packaged",
        "hops_packaged",
        "tobacco_packaged",
        "apple_packaged",
        "milk_packaged",
        "ham_packaged",
    },
}

-- ░█████╗░░█████╗░███╗░░██╗░██████╗██╗░░░██╗███╗░░░███╗░█████╗░██████╗░██╗░░░░░███████╗░██████╗
-- ██╔══██╗██╔══██╗████╗░██║██╔════╝██║░░░██║████╗░████║██╔══██╗██╔══██╗██║░░░░░██╔════╝██╔════╝
-- ██║░░╚═╝██║░░██║██╔██╗██║╚█████╗░██║░░░██║██╔████╔██║███████║██████╦╝██║░░░░░█████╗░░╚█████╗░
-- ██║░░██╗██║░░██║██║╚████║░╚═══██╗██║░░░██║██║╚██╔╝██║██╔══██║██╔══██╗██║░░░░░██╔══╝░░░╚═══██╗
-- ╚█████╔╝╚█████╔╝██║░╚███║██████╔╝╚██████╔╝██║░╚═╝░██║██║░░██║██████╦╝███████╗███████╗██████╔╝
-- ░╚════╝░░╚════╝░╚═╝░░╚══╝╚═════╝░░╚═════╝░╚═╝░░░░░╚═╝╚═╝░░╚═╝╚═════╝░╚══════╝╚══════╝╚═════╝░

Config.Consumables = {
    Enable = true, -- Enable for the option to smoke a cigarette?
    Tobacco = {
        RelieveStress = {
            Enable = true, -- Enable so the cigarrete will relieve stress?
            Event = "hud:server:RelieveStress", -- Event to relieve stress
            Min = 2, -- Min quantity of stress relieved
            Max = 4  -- Max quantity of stress relieved
        },
        AnimOutCar = "smoke", -- Animation when you're smoking outside of a vehicle
        AnimInsideCar = "smoke3", -- Animation when you're smoking in a vehicle
    }
}

-- ██████╗░██████╗░░█████╗░░█████╗░███████╗░██████╗░██████╗
-- ██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔════╝██╔════╝
-- ██████╔╝██████╔╝██║░░██║██║░░╚═╝█████╗░░╚█████╗░╚█████╗░
-- ██╔═══╝░██╔══██╗██║░░██║██║░░██╗██╔══╝░░░╚═══██╗░╚═══██╗
-- ██║░░░░░██║░░██║╚█████╔╝╚█████╔╝███████╗██████╔╝██████╔╝
-- ╚═╝░░░░░╚═╝░░╚═╝░╚════╝░░╚════╝░╚══════╝╚═════╝░╚═════╝░

Config.Process = {
    ["barley_packaged"] = { -- Code of the item that will be crafted
        hash = "barley_packaged", -- Code of the item that will be crafted
        label = "Packaged Barley", -- Name of the item that will be crafted
        materials = { -- Necessary materials
            [1] = { item = "barley",	amount = 5 },
        }
    },
    ["cornstalk_packaged"] = { -- Code of the item that will be crafted 
        hash = "cornstalk_packaged", -- Code of the item that will be crafted
        label = "Packaged Cornstalk", -- Name of the item that will be crafted
        materials = { -- Necessary materials
            [1] = { item = "cornstalk",    amount = 5 },
            -- You can add more items
        }
    },
    ["hops_packaged"] = { -- Code of the item that will be crafted 
        hash = "hops_packaged", -- Code of the item that will be crafted
        label = "Packaged Hops", -- Name of the item that will be crafted
        materials = { -- Necessary materials
            [1] = { item = "hops",    amount = 5 },
            -- You can add more items
        }
    },
    ["tobacco_packaged"] = { -- Code of the item that will be crafted 
        hash = "tobacco_packaged", -- Code of the item that will be crafted
        label = "Packaged Tobacco", -- Name of the item that will be crafted
        materials = { -- Necessary materials
            [1] = { item = "tobacco",    amount = 5 },
            -- You can add more items
        }
    },
    ["apple_packaged"] = { -- Code of the item that will be crafted 
        hash = "apple_packaged", -- Code of the item that will be crafted
        label = "Packaged Apple", -- Name of the item that will be crafted
        materials = { -- Necessary materials
            [1] = { item = "apple",    amount = 5 },
            -- You can add more items
        }
    },
    ["milk_packaged"] = { -- Code of the item that will be crafted 
        hash = "milk_packaged", -- Code of the item that will be crafted
        label = "Packaged Milk", -- Name of the item that will be crafted
        materials = { -- Necessary materials
            [1] = { item = "milk",    amount = 5 },
            -- You can add more items
        }
    },
    ["ham_packaged"] = { -- Code of the item that will be crafted 
        hash = "ham_packaged", -- Code of the item that will be crafted
        label = "Packaged Ham", -- Name of the item that will be crafted
        materials = { -- Necessary materials
            [1] = { item = "ham",    amount = 5 },
            -- You can add more items
        }
    },
}

-- ██╗░░░██╗██████╗░░██████╗░██████╗░░█████╗░██████╗░███████╗░██████╗
-- ██║░░░██║██╔══██╗██╔════╝░██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔════╝
-- ██║░░░██║██████╔╝██║░░██╗░██████╔╝███████║██║░░██║█████╗░░╚█████╗░
-- ██║░░░██║██╔═══╝░██║░░╚██╗██╔══██╗██╔══██║██║░░██║██╔══╝░░░╚═══██╗
-- ╚██████╔╝██║░░░░░╚██████╔╝██║░░██║██║░░██║██████╔╝███████╗██████╔╝
-- ░╚═════╝░╚═╝░░░░░░╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═════╝░╚══════╝╚═════╝░

Config.Upgrades = {
    ["hoelevel2"] = {
        hash = "hoelevel2",
        label = "Hoe Level 2",
        materials = {
            [1] = { item = "hoelevel1",	amount = 1 },
        }
    },
    ["hoelevel3"] = {
        hash = "hoelevel3",
        label = "Hoe Level 3",
        materials = {
            [1] = { item = "hoelevel2",	amount = 1 },
        }
    },
	["hoelevel4"] = {
        hash = "hoelevel4",
        label = "Hoe Level 4",
        materials = {
            [1] = { item = "hoelevel3",	amount = 1 },
        }
    },
	["hoelevel5"] = {
        hash = "hoelevel5",
        label = "Hoe Level 5",
        materials = {
            [1] = { item = "hoelevel4",	amount = 1 },
        }
    },
}

-- ░█████╗░███╗░░██╗██╗███╗░░░███╗░█████╗░██╗░░░░░░██████╗
-- ██╔══██╗████╗░██║██║████╗░████║██╔══██╗██║░░░░░██╔════╝
-- ███████║██╔██╗██║██║██╔████╔██║███████║██║░░░░░╚█████╗░
-- ██╔══██║██║╚████║██║██║╚██╔╝██║██╔══██║██║░░░░░░╚═══██╗
-- ██║░░██║██║░╚███║██║██║░╚═╝░██║██║░░██║███████╗██████╔╝
-- ╚═╝░░╚═╝╚═╝░░╚══╝╚═╝╚═╝░░░░░╚═╝╚═╝░░╚═╝╚══════╝╚═════╝░

Config.Animals = {
    -- Cows
    [1] = {type = 4, hash = GetHashKey(Config.Farms.Cow.Animal), vector4 = vector4(2155.42, 4964.62, 40.48, 59.28)},
    [2] = {type = 4, hash = GetHashKey(Config.Farms.Cow.Animal), vector4 = vector4(2161.32, 4973.34, 40.35, 217.42)},
    [3] = {type = 4, hash = GetHashKey(Config.Farms.Cow.Animal), vector4 = vector4(2169.44, 4979.0, 40.31, 15.9)},
    [4] = {type = 4, hash = GetHashKey(Config.Farms.Cow.Animal), vector4 = vector4(2176.51, 4985.78, 41.32, 205.96)},
    [5] = {type = 4, hash = GetHashKey(Config.Farms.Cow.Animal), vector4 = vector4(2171.82, 4943.2, 41.27, 223.08)},
    [6] = {type = 4, hash = GetHashKey(Config.Farms.Cow.Animal), vector4 = vector4(2182.53, 4950.77, 41.4, 68.79)},
    [7] = {type = 4, hash = GetHashKey(Config.Farms.Cow.Animal), vector4 = vector4(2189.05, 4961.36, 41.27, 200.58)},
    [8] = {type = 4, hash = GetHashKey(Config.Farms.Cow.Animal), vector4 = vector4(2191.72, 4966.38, 41.27, 236.77)},

    -- Pigs
    [9] = {type = 4, hash = GetHashKey(Config.Farms.Pig.Animal), vector4 = vector4(2143.08, 4975.38, 41.49, 234.75)},
    [10] = {type = 4, hash = GetHashKey(Config.Farms.Pig.Animal), vector4 = vector4(2150.01, 4983.75, 41.42, 235.8)},
    [11] = {type = 4, hash = GetHashKey(Config.Farms.Pig.Animal), vector4 = vector4(2156.54, 4990.32, 41.34, 269.47)},
    [12] = {type = 4, hash = GetHashKey(Config.Farms.Pig.Animal), vector4 = vector4(2163.73, 4997.17, 41.29, 245.74)},
    [13] = {type = 4, hash = GetHashKey(Config.Farms.Pig.Animal), vector4 = vector4(2151.04, 5012.41, 41.36, 49.45)},
    [14] = {type = 4, hash = GetHashKey(Config.Farms.Pig.Animal), vector4 = vector4(2143.1, 5005.7, 41.34, 94.0)},
    [15] = {type = 4, hash = GetHashKey(Config.Farms.Pig.Animal), vector4 = vector4(2136.85, 4998.1, 41.42, 83.59)},
    [16] = {type = 4, hash = GetHashKey(Config.Farms.Pig.Animal), vector4 = vector4(2129.89, 4991.68, 41.42, 92.71)},
}

PreviousInstallationNext[QB] Fishing

Last updated 1 year ago

🍎
🗒️