πŸƒPicking

  • Adding more picking locations is very simple via the config.lua file in the Config.Picking section

  • To add other shop target zones simply add your ShopName as they key and then customize the values to suit your server needs in Config.Picking

  • The target event requires args being passed which is the ShopName and the strain

Config.Picking = {
    ['My Cool Shop'] = {
        { 
            Name = "my_cool_strain_target",
            Location = vector3(378.14, -813.32, 29.0),
            Size = vec3(0.7, 0.7, 1.25),
            Width = 0.7, Height = 0.7, Heading = 250.98,
            MinZ = 28.5, MaxZ = 30.0, Distance = 2.0,
            Icon = 'fa-solid fa-cannabis', Label = 'Pick My Cool New Strain',
            job = Config.CoreSettings.Jobs['My Cool Shop'].name, 
            strain = 'my_cool_new_strain', -- βœ… Pass strain
            args = { shopName = "My Cool Shop",  }, -- βœ… Pass shopName
        },
    },
}
  • To add more strains you will need to modify the following event in server/funcs.lua

    lusty94_weedshops:server:PickCrop
  • Whatever you name your strain in the config file, you must ensure it matches here in the strainItems table

  • You must also ensure the item that the new strain gives must be in your items.lua file

local strainItems = {
        tropical = "tropicalpunch_crop",
        sherb = "sunsetsherbert_crop",
        lemon = "lemontree_crop",
        purple = "purplepunch_crop",
        kush = "kushmintz_crop",
        apple = "applefritter_crop",
        mimosa = "mimosa_crop",
        cereal = "cerealmilk_crop",
        gelato = "gelato45_crop",
        biscotti = "biscotti_crop",
        wedding = "weddingcake_crop",
        strawbruntz = "strawberryruntz_crop",
        gorilla = "gorillaglue_crop",
        
        my_cool_new_strain = "my_cool_new_item_name",
        
    }

Last updated