Config
RiP-Weed creates new opportunities for the criminal side of your server to flourish.
Some options are explained here. However this does not represent the original config file.
RiP.Weed
Array of all (unlimited) weed plantations
[1] = { -- [INTEGER] unique id for each farm
Locations = { -- [VECTOR] coords for each point outside the farm
Entery = vector3(-153.94, -41.27, 54.4),
Vehicle = vector4(-167.09007263184,-48.909240722656,52.855270385742,161.52711486816)
},
Ped = { -- https://docs.fivem.net/docs/game-references/ped-models/
Enable = true, -- [BOOLEAN] enable npc on entery
Hash = 0x22911304, -- [HASH] ped hash
Coords = vector4(-153.61671447754,-41.260177612305,54.39612197876,66.928825378418)
},
RetailPrice = 60000, -- [INTEGER] farm retail price
},
RiP.Interior
Coords of the farm's inside interior points
RiP.Interior = {
Entery = vector4(1066.21, -3183.41, -39.16, 99.9), -- [VECTOR] coords for inside entery (x,y,z,h)
Managing = vector3(1060.13, -3182.06, -39.16), -- [VECTOR] coords for manageing menu (x,y,z)
Crafter = vector3(1034.46, -3205.31, -38.18), -- [VECTOR] coords for crafting menu (x,y,z)
Deliver = vector3(1039.09, -3197.73, -38.17) -- [VECTOR] coords for delivery menu (x,y,z)
}
RiP.Seeds
Array of all (unlimited) seed types
['purple_queen'] = { -- [STRING] unique seed name
Label = "Purple Queen", -- [STRING] seed label
Time = {8,9}, -- [INTEGER] seed cultivation time (min,max)
Harvest = {125,150}, -- [INTEGER] seed harvest quantity (min,max)
ThcLevel = 22, -- [INTEGER] seed thc amount
Color = '#9123ff', -- [STRING] seed design color (hex)
Prices = {
Seed = 9, -- [INTEGER] seed price
Gram = {3,5}, -- [INTEGER] bud price (min,max) see also RiP.Calculator
},
},
RiP.Calculator
Resell price calculator for adaptive price reculation.
The starting price is always RiP.Seeds.Prices.Gram[2]
.
Set RiP.Calculator.MaxChange
= 0
to disable price regulation.
RiP.Calculator = {
Decimal = true, -- [BOOLEAN] enable decimal values
MaxChange = 1 -- [INTEGER] maximum price change per adjustment
}
RiP.Equipment
Array of all (unlimited) equipment for crafting.
Default equipment pot
,shovel
,water
,fertilizer
can't be removed.
['paper'] = { -- [STRING] unique equipment name
Label = "Papers", -- [STRING] equipment label
Price = 2, -- [INTEGER] equipment price
},
RiP.Crafting
Array of all (unlimited) crafting recipes.
['joint'] = { -- [STRING] unique recipe name
Label = "Joint", -- [STRING] recipe label
Weed = 1, -- [INTEGER] required weed
Equipment = { -- [ARRAY] required equipment (unlimited) see also RiP.Equipment
['paper'] = 1, -- [STRING/INTEGER] equipment name / quantity
},
Time = 1, -- [INTEGER] recipe time in minutes
Price = 10, -- [INTEGER] product retail price
},
RiP.Raids
Enable and adjust farm raids for fractions.
RiP.Raids = {
Active = true, -- [BOOLEAN] enable farm raids (RiP-Fraktion required)
Time = 10, -- [INTEGER] waiting time (in minutes) for raid entery
Range = 20, -- [INTEGER] range (in meters) around entery to start raid
Border = true, -- [BOOLEAN] display border for raiding player
Requirements = {
Cooldown = 60, -- [INTEGER] waiting time (in minutes) after raid
Members = 0, -- [INTEGER] amount of online fraction members of attacted farm
Time = {0,24}, -- [INTEGER] real-life time range for raids (min,max)
}
}
RiP.Delivery
Settings for interactive delivery mission.
RiP.Delivery = {
NotifyTime = 1, -- [INTEGER] default time (in minutes) after delivery location is leaked
JobBlacklist = { -- [ARRAY] players who get no notification
'ambulance', -- [STRING] job name
},
Blip = { -- https://docs.fivem.net/docs/game-references/blips/
Label = "Weed Lieferung", -- [STRING] blip name
Sprite = 750, -- [INTEGER] blip type
Color = {Friendly=11, Enemy=6} -- [INTEGER] blip color (friendly = same fraktion, enemy = robbable)
},
Distance = {5000,10000}, -- [INTEGER] min - max (air) distance (in meters) between start- & end-point of delivery
Time = 1, -- [INTEGER] time (in minutes) to finish delivery
Locations = { -- [ARRAY] all (unlimited) delivery locations
vector3(-302.58, -2218.82, 9.22), -- [VECTOR] delivery coords (x,y,z)
vector3(1116.97, -1241.53, 20.72),
vector3(-117.11, 2804.8, 53.0),
},
}
RiP.Upgrades
All farm upgrades and additional values.
['plants']
for additional plant slots['automation']
for plant automation (watering,harvest,...)['storage']
for additional storage space['delivery']
for additional delivery space and longer invisibility
RiP.Plants
RiP.Plants = { -- [ARRAY] all plantation plant slots
[1] = vector3(1064.12, -3192.11, -39.12), -- [INTEGET/VECTOR] unique id / coords(x,y,z)
}