Configuration

Config = {}

Config.NorthCoords = 3000	-- (position = "y" = 3000) 		EXAMPLE: x = 0.0, y = 3000.0, z = 0.0 -- use /coords in game to see your coords 
Config.GrowRate = 4*1000                                    -- In how many seconds it takes to update the plant (At 100% rate plant will grow 1% every update)
Config.WaterQuantity = math.random(70, 80)                  -- Quantity of water that 1 water can fill the plant
Config.FertilizerQuantity = math.random(70, 80)             -- Quantity of fertilizer that 1 fertilizer can fill the plant
Config.RemoveFertilizer = true                              -- True= removes fertilizer if you are using it
Config.RemoveWater = true                                   -- True= removes water bottle if you are using it
Config.UseKeyInteraction = false                            -- true= Press E to get info // false= walk near plant to get info
Config.ShowMarker = true                                    -- Enable or disable marker for plants
Config.ShowInfoText = true                                  -- Shows live stage process in %

Config.Settings = {
    SellerActionDist = 1.5,                                 -- Interaction distance for controls/keys
    FillWaterDist = 1.1,                                    -- Interaction distance for filling the bottle with water
    ProceedWeedDist = 1.7,                                  -- Interaction distance for proceeding the weed plant
    markertextdist = 3.0,                                   -- Text distance for seller if showText = true
    WaterMarker = 4.0,                                      -- Marker distance for filling water 
}

Config.ProgressTime = {                                     -- Here you can change the progress time for each action
    AddWater        = 5000,
    FillWater       = 8000,
    PlantingSeed    = 6500,
    AddFertilizer   = 5000,
    HarvestPlant    = 5000,
    DestroyPlant    = 5000,
    ProceedTime     = 5000,
}

Config.ShopPed = vector4(2658.93, 3924.17, 41.12, 221.93)    -- Location For Shop Ped
Config.ShopPedTarget = vector3(2659.61, 3923.46, 42.16)     -- Target location for Shop Ped
Config.BuyItems = {                                         -- Prices and amount of items are changeable 
    FertilizerPrice     = 10,
    FertilizerAmount    = 1,

    ShovelPrice         = 50,
    ShovelAmount        = 1,

    WeedSeedPrice       = 20,
    WeedSeedAmount      = 1,

    EmptyBottlePrice    = 5,
    EmptyBottleAmount   = 1,
}

Config.SellerSettings = {
    pos = vector3(1469.66, 6549.95, 14.9),                          -- Location to sell the drugs
    pedmodel = { x = 1469.66, y = 6549.95, z = 14.9, h = 357.71 },  -- Coordinates of the ped model
    pedhash = "a_m_m_og_boss_01",                        -- Ped hash is changeable via hash
    useonlytarget = false,                               -- False= Use [E]-Key & target // true= Use only target
    showPed = true,                                      -- You can enable or disable the ped model
    showText = false,                                    -- You can enable or disable the text on the ped model
}

Config.SellItems = {
    ["weed"] = 100,
    --["purple_weed"] = 100,
    --["amnezia_weed"] = 100,
}

Config.ProceedWeedPlant = {
    Location = vector3(2328.51, 2570.44, 46.15),        -- Location of where you can proceed the weed plant
    QntyPlant = 1,                                      -- Amount of needed plant to start proceeding to weed buds
    GetWeed = 12,                                       -- Amount of how much weed buds you get after proceeding one plant

    -- Weed types, you can add custom weed plants
    -- @ If you add a new plant type make sure to add the plant to (Config.WeedProceedTypes)
    -- @ If you create a new plant type make sure to add the item in yourinventory/items.lua
    WeedPlantTypes = {
        "raw_weed",
        --"raw_purple_weed",
        --"raw_amnezia_weed",
    },
    
    WeedPlantAmount = 1,                                -- How much weed plants after harvesting
    WeedPlantTypeAmount = math.random(1,1),             -- How much weed types you get after harvesting / Realistically I would always leave it at 1 so that you randomly get 1 weed plant type
    RandomSeedPerPlant = math.random(0,1),              -- Random seeds after harvesting
    showMarker = true,                                  -- You can enable or disable marker
}

Config.WeedProceedTypes = {
    ["raw_weed"] = "weed",                              -- You need a raw weed plant to proceed weed
    --["raw_purple_weed"] = "purple_weed",              -- You need a purple weed plant to proceed purple weed    
    --["raw_amnezia_weed"] = "amnezia_weed",
}

Config.WaterSettings = {
    Location = vector3(2953.74, 4673.97, 50.92),        -- Location to fill empty bottles with water
    EmptyBottle = 1,                                    -- How many empty bottles you need to fill water in
    GetFilledWater = 1,                                 -- How many filled bottles you get after filling a empty bottle
    showMarker = true,                                  -- You can enable or disable marker
}

Config.Icons = {                                        -- Menu icons are changeable
    header = "fa-solid fa-comments-dollar",
    buyitem = "fas fa-code-merge",
    sellitem = "fa-solid fa-dollar-sign",
    seedseller = "fas fa-farm",
}

Config.Lang = {
        ["keypressed_viewplant"] = "Press ~INPUT_CONTEXT~ to view plant",
        ["keypressed_proceed"] = "Press ~INPUT_CONTEXT~ to proceed the plant",
        ["keypressed_water"] = "Press ~INPUT_CONTEXT~ to fill water",
        ["keypressed_seller"] = "Press ~INPUT_CONTEXT~ to buy stuffs",

        -- Progess Text
        ["progress_plantingseed"] = "PLANTING SEEDS...",
        ["progress_fertilizer"] = "ADDING FERTILIZER...",
        ["progress_water"] = "ADDING WATER...",
        ["progress_harvest"] = "HAVERSTING PLANT...",
        ["progress_destroy"] = "DESTROYING PLANT...",
        ["progress_fillwater"] = "You are filling the bottle",
        ["proceeding"] = "You proceeding the plant",
        ["warning"] = "You do not have any plants to proceed",
        ["water_warning"] = "You need empty bottles to fill water in",

        -- Menu Text
        ["weedshop_header"] = "Weed Shop",
        ["acessories_header"] = "Buy Acessories",
        ["seeds_header"] = "Buy Seeds",
        ["menu_price"] = "Price: ",
        ["menu_dollar"] = "$ per 1",
        ["progress_menu"] = "Progress",
        ["progress_stage"] = "Stage: ",
        ["progress_plant"] = "Plant: ",
        ["water_header_menu"] = "Water",
        ["progress_water_menu"] = "Water: ",
        ["progress_fertilizer_menu"] = "Fertilizer",
        ["progress_nutrition_menu"] = "Nutrition: ",
        ["progress_harvest_plant"] = "Harvest",
        ["progress_destroy_plant"] = "Destroy",
        ["acessories_menu"] = "Weed Shop - Acessories",
        ["weedseed_menu"] = "Weed Shop - Seeds",
        ["buy_fertilizer_menu"] = "Buy Fertilizer",
        ["buy_emptybottle_menu"] = "Buy Empty Bottle",
        ["buy_shovel_menu"] = "Buy Shovel",
        ["buy_weedseeds_menu"] = "Buy weed seeds",
        ["dead_weed_plant"] = "Dead Weed Plant: ",
        ["destroy_weedplant"] = "Destroy dead plant",
        ["close_menu_header"] = "< Close Menu",
        ["back_menu"] = "< Back",

        -- Notify
        ["notify_proceeding"] = "You have processed ",
        ["need_shovel"] = "You need a Shovel to plant that...",
        ["need_fertilizer"] = "You dont have any fertilizer",
        ["need_water"] = "You dont have any water",
        ["notify_water"] = " Water",
        ["notify_fertilizer"] = " Fertilizer",
        ["notify_coords"] = "Move more to the north side",

        -- Drug Seller
        ["keypressed"] = "Press ~INPUT_CONTEXT~ to sell drugs",
        ["boxtext"] = "Drug Seller",
        ["SoldItem"] = "You sold ",
        ["see_you"] = "Thanks and see you again soon!",
        ["NotEnoughItems"] = "Not enough items",
}

Last updated