πŸƒ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),
            Radius = 0.75, 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

Last updated