Different Strains
Different strains are just as easy as adding custom drugs! The main takeaway for keeping the strains separate is to make sure the labels for each strain are different.
Here's an example of a Kush Strain:
['weedbaggy_kush'] = {
label = 'Weed (Kush)', -- THESE LABELS MUST MACTH THE OTHERS OF THIS STRAIN
basePrice = 50,
minPrice = 35,
maxPrice = 100,
maxSale = 7,
amountType = 'gram', -- Type of amount (gram, quarter-ounce, ounce, kilo) -- See docs for more info on Scales and Quantities
-- Prop Settings
prop = 'prop_weed_bottle',
propOffset = vec3(0.04, 0.02, 0.01),
propRot = vec3(45.0, 180.0, 90.0),
-- Animation Settings
largePackage = false,
highDemandZones = {2, 3, 4}, -- Zones where the drug is in high demand -- See zoneSettings.lua for ZoneWealth
-- NEW --
soldToNpcs = true, -- If true, the drug can be sold to NPCs
timeBetweenSales = 10, -- Time in SECONDS until the next sale can be made - (Default: 30)
},
['weed_7g_kush'] = {
label = 'Weed (Kush)',
basePrice = 350,
minPrice = 250,
maxPrice = 500,
maxSale = 3,
amountType = 'quarter-ounce', -- Type of amount (gram, quarter-ounce, ounce, kilo) -- See docs for more info on Scales and Quantities
-- Prop Settings
prop = 'sf_prop_sf_bag_weed_01a',
propOffset = vec3(0.02, 0.05, 0.0),
propRot = vec3(0.0, 0.0, 0.0),
-- Animation Settings
largePackage = false,
highDemandZones = {1, 2, 3}, -- Zones where the drug is in high demand -- See zoneSettings.lua for ZoneWealth
soldToNpcs = true, -- If true, the drug can be sold to NPCs
timeBetweenSales = 15, -- Time in SECONDS until the next sale can be made
},
['weed_1oz_kush'] = {
label = 'Weed (Kush)',
basePrice = 500,
minPrice = 350,
maxPrice = 1000,
maxSale = 1,
amountType = 'ounce', -- Type of amount (gram, quarter-ounce, ounce, kilo) -- See docs for more info on Scales and Quantities
-- Prop Settings
prop = 'sf_prop_sf_bag_weed_01a',
propOffset = vec3(0.0, 0.0, 0.0),
propRot = vec3(0.0, 0.0, 0.0),
-- Animation Settings
largePackage = false,
highDemandZones = {1, 2, 3, 4}, -- Zones where the drug is in high demand -- See zoneSettings.lua for ZoneWealth
soldToNpcs = false, -- If true, the drug can be sold to NPCs
timeBetweenSales = 90, -- Time in SECONDS until the next sale can be made
},
And here's an example of a Haze Strain:
['weedbaggy_haze'] = {
label = 'Weed (Haze)', -- THESE LABELS MUST MACTH THE OTHERS OF THIS STRAIN
basePrice = 50,
minPrice = 35,
maxPrice = 100,
maxSale = 7,
amountType = 'gram', -- Type of amount (gram, quarter-ounce, ounce, kilo) -- See docs for more info on Scales and Quantities
-- Prop Settings
prop = 'prop_weed_bottle',
propOffset = vec3(0.04, 0.02, 0.01),
propRot = vec3(45.0, 180.0, 90.0),
-- Animation Settings
largePackage = false,
highDemandZones = {2, 3, 4}, -- Zones where the drug is in high demand -- See zoneSettings.lua for ZoneWealth
-- NEW --
soldToNpcs = true, -- If true, the drug can be sold to NPCs
timeBetweenSales = 10, -- Time in SECONDS until the next sale can be made - (Default: 30)
},
['weed_7g_haze'] = {
label = 'Weed (Haze)',
basePrice = 350,
minPrice = 250,
maxPrice = 500,
maxSale = 3,
amountType = 'quarter-ounce', -- Type of amount (gram, quarter-ounce, ounce, kilo) -- See docs for more info on Scales and Quantities
-- Prop Settings
prop = 'sf_prop_sf_bag_weed_01a',
propOffset = vec3(0.02, 0.05, 0.0),
propRot = vec3(0.0, 0.0, 0.0),
-- Animation Settings
largePackage = false,
highDemandZones = {1, 2, 3}, -- Zones where the drug is in high demand -- See zoneSettings.lua for ZoneWealth
soldToNpcs = true, -- If true, the drug can be sold to NPCs
timeBetweenSales = 15, -- Time in SECONDS until the next sale can be made
},
['weed_1oz_haze'] = {
label = 'Weed (Haze)',
basePrice = 500,
minPrice = 350,
maxPrice = 1000,
maxSale = 1,
amountType = 'ounce', -- Type of amount (gram, quarter-ounce, ounce, kilo) -- See docs for more info on Scales and Quantities
-- Prop Settings
prop = 'sf_prop_sf_bag_weed_01a',
propOffset = vec3(0.0, 0.0, 0.0),
propRot = vec3(0.0, 0.0, 0.0),
-- Animation Settings
largePackage = false,
highDemandZones = {1, 2, 3, 4}, -- Zones where the drug is in high demand -- See zoneSettings.lua for ZoneWealth
soldToNpcs = false, -- If true, the drug can be sold to NPCs
timeBetweenSales = 90, -- Time in SECONDS until the next sale can be made
},
Note that the Labels for the two strains are different from one another, but as called out in the adding custom drugs page, all of the Kush strain drugs have the same label as each other, and all of the Haze strain drugs have the same label as each other.
Last updated