[PAID] Plantations - realistic seed plantations

A script by HitoIRL

No reviews yet.
[PAID] Plantations - realistic seed plantations main image

Full Description

Plantations by Hito

Showcase

Description

High quality and user friendly script which adds functionality of real life plantations, where players can plant a seed and take care of it through UI. And in the end if the plant doesn’t die player can harvest it to get leaves. Script is highly customizable and supports any framework!

(For now plants get removed after server restart, but in future update I want to make them save in database)

Features

  • Realistic script
  • Highly optimized
  • Easily customizable
  • Predefined 2 seeds but you can create your own
  • Editable UI (fully open-source)
  • Supports any framework (editable functions)
  • And more

Screenshots

seed planted

Config

Config = {
    framework = "esx", -- esx / qbcore / custom
    -- if you want to use custom framework, you need to edit it in server/custom.lua

    notification = "esx", -- esx / qbcore / okokNotify / custom
    targetSystem = "standalone", -- standalone / qb-target / custom
    progressBar = "esx", -- esx / qbcore / custom
    -- if you want to use custom notification or target system or progressbar, you need to edit it in client/custom.lua

    plants = {
        { -- WEED PLANT
            object = "prop_weed_01", -- object model name
            growTime = 60, -- time in seconds for plant to be fully grown
            hydrationIncrease = 50, -- how much hydration will increase after hydrating plant
            hydrationDecrease = 3, -- how much hydration will decrease every update (update interval is 10 seconds)
            healthDecrease = 5, -- how much health will decrease every update when hydration reaches zero

            -- planting
            item = {
                name = "weed_seed",

                -- fields below are only for qbcore
                -- if you use esx you don't need to edit them
                -- you can even remove them
                label = "Weed seed",
                weight = 1,
                image = "weed_seed.png",
                description = "Weed seed which you can use to create your own plantation",
            },
            plantDuration = 5,

            -- harvesting
            reward = {
                name = "weed_leaf",
                count = 15,

                -- fields below are only for qbcore
                -- if you use esx you don't need to edit them
                -- you can even remove them
                label = "Weed leaf",
                weight = 1,
                image = "cocaineleaf.png",
                description = "Weed leaf taken from your weed plant",
            },
            harvestDuration = 10,

            -- watering
            waterItem = "water", -- esx users will want to use "water" item and qbcore users will want to use "water_bottle" item
            waterDuration = 5,
        },
        { -- MINT PLANT
            object = "prop_plant_fern_02a", -- object model name
            growTime = 60, -- time in seconds for plant to be fully grown
            hydrationIncrease = 10, -- how much hydration will increase after hydrating plant
            hydrationDecrease = 5, -- how much hydration will decrease every update (update interval is 10 seconds)
            healthDecrease = 10, -- how much health will decrease every update when hydration reaches zero

            -- planting
            item = {
                name = "mint_seed",

                -- fields below are only for qbcore
                -- if you use esx you don't need to edit them
                -- you can even remove them
                label = "Mint seed",
                weight = 1,
                image = "weed_seed.png",
                description = "Mint seed which you can use to create your own plantation",
            },
            plantDuration = 3,

            -- harvesting
            reward = {
                name = "mint",
                count = 5,

                -- fields below are only for qbcore
                -- if you use esx you don't need to edit them
                -- you can even remove them
                label = "Mint",
                weight = 1,
                image = "cocaineleaf.png",
                description = "Mint taken from your mint plant",
            },
            harvestDuration = 5,

            -- watering
            waterItem = "water", -- esx users will want to use "water" item and qbcore users will want to use "water_bottle" item
            waterDuration = 3,
        }
    },
}

Locale = {
    planting = "Planting {itemLabelLowerCase}...", -- variables: {itemLabel}, {itemLabelLowerCase}
    harvesting = "Harvesting...",
    watering = "Watering...",
    interaction = "Press ~INPUT_CONTEXT~ to ~g~inspect this plant", -- this is target system message

    -- UI
    growth = "Growth",
    health = "Health",
    hydration = "Hydration",
    dead_plant = "This plant is dead",
    healthy_message = "Plant is healthy!",
    dying_message = "Plant is dying! Water it immediately!",
    low_hydration_message = "Hydration is low! Plant can die if it goes too low",
    ready_to_harvest = "Plant is ready to be harvested!",
}

Buy

Price: 20EUR + Tax

Code is accessible No
Subscription-based No
Lines (approximately) 920
Requirements rp framework
Support Yes
Config Merger
Have you tried Config Merger? Merge your configs easily