⚙️Configuration
Check the instructions below.
Configuration
Client Configuration (client_config.lua
)
client_config.lua
)Theme Customization
Theme.primary
Primary color for UI elements.
'#ff4f22'
Theme.primary-content
Text color on primary background.
'#900000'
Weed Tables
Define tables for rolling joints and their associated props:
Table_Types = {
['joint_table'] = {
prop = 'bkr_prop_weed_table_01b',
objects = {
{ prop = 'ex_mp_h_lit_lamptable_02', offset = vector3(-0.975, 0.45, 0.825), rotation = vector3(0.0, 5.0, 150.0) },
},
grids = {
bud_grid = {
startOffset = vector3(-0.9, 0.35, 0.0),
startRotation = vector3(0.0, 0.0, 270.0),
rowGap = 0.075,
colGap = 0.075,
maxCol = 8,
maxRow = 10,
},
},
},
}
prop
The base prop used for the table.
'bkr_prop_weed_table_01b'
grids
Configuration for arranging objects.
See example above.
Plant Objects
Configure plant stages and their corresponding models:
PlantObjects = {
[1] = `bkr_prop_weed_01_small_01a`,
[2] = `bkr_prop_weed_01_small_01b`,
[3] = `bkr_prop_weed_med_01a`,
[4] = `bkr_prop_weed_med_01b`,
}
Material Quality
Define the soil quality for planting:
MaterialQualities = {
[`DIRT_TRACK_35`] = { min = 40, max = 60 },
[`MUD_HARD_36`] = { min = 40, max = 60 },
}
Server Configuration (server_config.lua
)
server_config.lua
)Items Configuration
Seed_Item
Item used to plant weed.
'weed_skunk_seed'
Bud_Item
Item representing harvested buds.
'crack_baggy'
Paper_Item
Item for rolling joints.
'rolling_paper'
Joint_Item
The finished joint item.
'joint'
Selling Configuration
Configure the selling behavior and chances:
PedChances = {
[`g_m_y_ballaeast_01`] = 90,
[`g_m_y_famca_01`] = 90,
}
PedChances
Map of ped models to their chance of purchasing.
[
ped_model] = 90
Notifications
Add custom notifications:
Notify = function(source, message)
-- Your custom notification system here.
end
Usage
Set Up Weed Tables:
Place the configured tables in the game world.
Plant and Grow:
Use the configured seed item to plant weed.
Process and Roll Joints:
Process harvested buds into joints using the configured table.
Sell Joints:
Sell joints to configured ped models.
For additional assistance, contact the GFX Team!
Last updated