Weed

Weed configuration (sh_weed.lua)

Disabling/Enabling weed

Config.Weed.Enabled = true -- Enable or disable the weed system

Basic values

Config.Weed.GrowthInterval = 1000 * 60 * 5 -- How often the plants grow in milliseconds
Config.Weed.DryingInterval = 1000 -- How often the plants dry in milliseconds

Config.Weed.DefaultTemperature = {min = 30, max = 40} --Default temperature of the outside. The temperature will vary each interval between the min and max values
Config.Weed.DefaultVentilation = {min = 30, max = 40} --Default ventilation outside. The ventilatiob will vary each interval between the min and max values

Drying racks

Config.Weed.Drying = {
    ['small'] = {
        label = "Small Drying Rack", --Label for the drying rack
        model = 'prop_bread_rack_01', --Dyring rack model name
        rack_item = "small_drying_rack", --Item name for the drying rack
        slots = 2, --How many plants can be hanged to dry on this rack
        dryingRate = 1, --How much the plant dry in optimal settings each drying interval,

        temperature = { --Temperature settings
            optimal = {min = 40, max = 50}, --Optimal temperature range for this strain. If the value is outside of this range, the plant drying will be reduced.
            tolerance = 10 -- How much the temperature can be outside of the optimal range before the plants health starts to decrease
        },

        ventilation = { --Ventilation settings
            optimal = {min = 40, max = 50}, --Optimal ventilation range for this strain. If the value is outside of this range, the plant drying will be reduced.
            tolerance = 10 -- How much the ventilation can be outside of the optimal range before the plants health starts to decrease
        },

        rotation = vec3(180.0, 180.0, 180.0),--Plant rotation on the rack
        offsets = {--Plant drying offset positions on the rack
            [1] = vector3(0.0, -0.1, 1.24),
            [2] = vector3(0.0, 0.1, 1.24),
        }
    },
    ['medium'] = {
        label = "Medium Sized Drying Rack", --Label for the drying rack
        model = 'v_club_rack', --Dyring rack model name
        rack_item = "medium_drying_rack", --Item name for the drying rack
        slots = 5, --How many plants can be hanged to dry on this rack
        dryingRate = 1, --How much the plant dry in optimal settings each drying interval,

        temperature = { --Temperature settings
            optimal = {min = 40, max = 50}, --Optimal temperature range for this strain. If the value is outside of this range, the plant drying will be reduced.
        },

        ventilation = { --Ventilation settings
            optimal = {min = 40, max = 50}, --Optimal ventilation range for this strain. If the value is outside of this range, the plant drying will be reduced.
        },

        rotation = vec3(180.0, 180.0, 280.0),--Plant rotation on the rack
        offsets = {--Plant drying offset positions on the rack
            [1] = vector3(0.8, 0.0, 0.55),
            [2] = vector3(0.4, 0.0, 0.55),
            [3] = vector3(0.0, 0.0, 0.55),
            [4] = vector3(-0.4, 0.0, 0.55),
            [5] = vector3(-0.8, 0.0, 0.55),
        }
    },
    ['large'] = {
        label = "Large Drying Rack", --Label for the drying rack
        model = 'v_club_rack', --Dyring rack model name
        rack_item = "large_drying_rack", --Item name for the drying rack
        slots = 10, --How many plants can be hanged to dry on this rack
        dryingRate = 1, --How much the plant dry in optimal settings each drying interval,

        temperature = { --Temperature settings
            optimal = {min = 40, max = 50}, --Optimal temperature range for this strain. If the value is outside of this range, the plant drying will be reduced.
        },

        ventilation = { --Ventilation settings
            optimal = {min = 40, max = 50}, --Optimal ventilation range for this strain. If the value is outside of this range, the plant drying will be reduced.
        },

        rotation = vec3(180.0, 180.0, 280.0),--Plant rotation on the rack
        offsets = {--Plant drying offset positions on the rack
            [1] = vector3(0.8, 0.0, 0.55),
            [2] = vector3(0.6, 0.0, 0.55),
            [3] = vector3(0.4, 0.0, 0.55),
            [4] = vector3(0.2, 0.0, 0.55),
            [5] = vector3(0.0, 0.0, 0.55),
            [6] = vector3(-0.2, 0.0, 0.55),
            [7] = vector3(-0.4, 0.0, 0.55),
            [8] = vector3(-0.6, 0.0, 0.55),
            [9] = vector3(-0.8, 0.0, 0.55),
            [10] = vector3(-1.0, 0.0, 0.55),
        }
    }
}

Weed pots

Config.Weed.Pots = {
    ["weed_pot"] = { --Pot item name
        label = "Basic Pot", --Label for the pot
        durability = 5, --How many times the pot can be used to grow a plant in it
    }
}

Weed watering

Config.Weed.Watering = { --Watering items and data
    ["weed_water"] = { --Item Name
        label = "Distilled Water", --Item Label for UI
        amount = 50, --Amount of water to add
    },
}

Weed fertilizers

Config.Weed.Fertilizers = { --Fertilizer items and data
    ["weed_fertilizer"] = { --Item Name
        label = "Weed Fertilizer", --Item Label for UI
        amount = 50, --Amount of fertility to add
    },
}

Required items

Config.Weed.RequiredItems = { --Required items for various life of quality actions like rolling joints and packing bricks.
    rolllingPaper = "rolling_paper",
    brickFoil = "drug_brick_foil"
}

Weed types

Config.Weed.Types = { -- Weed Straing types and their data
    ["white_widow"] = {
        label = "White Widow",
        base_item = "white_widow", --The base item for the strain. This item is the dried 1g weed.
        seed_item = "white_widow_seed", --Item name for the seed of this strain
        bud_item = "white_widow_bud", --Item name for the bud of this strain
        joint_item = "white_widow_joint", --Item name for the joint of this strain
        brick_item = "white_widow_brick", --Item name for the brick of this strain
        growthRate = 1, --How much the plant grows in optimal settings each growth interval,
        healthRate = 0.1, --How much the plant health decreases each growth interval if the conditions are not optimal. Higher number means faster health decrease
        water = { --Watering settings
            optimal = {min = 60, max = 80}, --Optimal water level for this strain. If the value is outside of this range, the plant growth will be reduced.
            tolerance = 10, -- How much the water level can be outside of the optimal range before the plants health starts to decrease
            usage = 2 --How much water is used each growth interval
        },
        fertility = { --Fertility settings
            optimal = {min = 60, max = 80}, --Optimal fertility level for this strain. If the value is outside of this range, the plant growth will be reduced.
            tolerance = 10, -- How much the fertility level can be outside of the optimal range before the plants health starts to decrease
            usage = 2 --How much fertility is used each growth interval
        },
        temperature = { --Temperature settings
            optimal = {min = 40, max = 50}, --Optimal temperature range for this strain. If the value is outside of this range, the plant growth will be reduced.
            tolerance = 10 -- How much the temperature can be outside of the optimal range before the plants health starts to decrease
        },
        harvestRewards = { --Harvesting rewards (Rewards also depend on health, if the health is low the chances to get these succesfully will also be reduced)
            ["white_widow_seed"] = { --Item name
                chance = 50, --Chance to get this item
                min = 1, --Minimum amount to get
                max = 3, --Maximum amount to get
            },
            ["white_widow_bud"] = { --Item name
                chance = 100, --Chance to get this item
                min = 5, --Minimum amount to get
                max = 8, --Maximum amount to get
            },
        },
    },
}

Last updated