Config
Config = {}
-- To safely restart the script without crashing use "/kq_shrooms:restart"
-- Enables extra debug prints
Config.debug = false
Config.locale = 'en'
-- Item names
Config.items = {
shelf = 'kq_shroom_shelf',
table = 'kq_shroom_table',
planter = 'kq_shroom_planter',
dryingRack = 'kq_shroom_drying_rack',
soil = 'kq_shroom_soil',
wild = 'kq_shroom_wild',
}
-- Growing / watering balance
Config.growing = {
moisture = {
-- Moisture added per spray (per click in the watering minigame)
spray = 6.0,
-- Moisture lost per minute (default = 4.0 = fully watered planter (100%) lasts ~25 min)
decayPerMinute = 4.0,
},
}
Config.shroomEffect = {
-- Health restored on use
heal = 30,
-- Armor raised to at least this on use
armor = 30,
timecycle = 'drug_flying_base',
timecycleStrength = 0.5,
-- Optional effects
sounds = true, -- distant sirens
idleAnims = true, -- random idle anims while standing still
wildShrooms = true, -- ring of hallucinated wild shrooms around the player
}
-- Fixed world objects
Config.prePlaced = {
shelves = {
-- { coords = vec3(x, y, z), rotation = vec3(0, 0, 0) },
},
tables = {
-- { coords = vec3(x, y, z), rotation = vec3(0, 0, 0) },
},
planters = {
-- { coords = vec3(x, y, z), rotation = vec3(0, 0, 0) },
},
dryingRacks = {
-- { coords = vec3(x, y, z), rotation = vec3(0, 0, 0) },
},
}
-- Placement rules
Config.placing = {
checks = {
-- Only allow placement in non-default routing buckets (e.g. housing interiors)
onlyInNonDefaultRoutingBucket = false,
-- Max objects each player may place, per type
limits = {
enabled = false,
shelf = 4,
table = 3,
planter = 6,
dryingRack = 4,
},
housing = {
-- Only allow placement while inside a house
enabled = false,
-- Available systems:
-- nolag_properties
-- origen_housing
-- bcs_housing
-- qs-housing
-- vms_housing
-- sn_properties
-- loaf_housing
-- rtx_housing
system = 'nolag_properties',
},
-- Restrict placement to specific areas
whitelistedAreas = {
enabled = false,
showBlips = true,
areas = {
{
coords = vec3(1085.47, 3591.06, 33.30),
radius = 200.0
},
}
}
},
-- Only the player who placed an object can pick it up
onlyOwnerCanPickup = true,
}
-- Wild shrooms
-- Forageable shrooms that spawn inside radius zones
Config.wildShrooms = {
enabled = true,
-- Wild shroom models
models = {
'kq_shroom_wild_1',
'kq_shroom_wild_2',
'kq_shroom_wild_3',
},
-- Each spawn point is a bunch of shrooms clustered together
bunch = {
min = 1,
max = 3,
-- Cluster radius around the bunch point
spread = 0.04,
},
-- Random size multiplier per shroom
scale = {
min = 1.1,
max = 1.8,
},
-- Seconds before a picked shroom respawns. Zones will never run out of shrooms
respawnDelay = 30,
-- Trip length + strength when a wild shroom is eaten
effect = {
duration = 180,
intensity = 0.8,
},
-- Optional map blips at each zone
blip = {
enabled = true,
sprite = 557,
color = 31,
alpha = 255,
scale = 0.8,
label = 'Wild Shrooms',
radius = {
enabled = true,
color = 31,
alpha = 70,
},
},
-- Zones where the wild shrooms will spawn
zones = {
['forest_1'] = {
center = vec3(-1489.33, 4436.79, 20.02),
radius = 70.0,
count = 50,
},
['forest_2'] = {
center = vec3(-1340.51, 4437.17, 27.16),
radius = 70.0,
count = 35,
},
},
}
-- Misc options
Config.misc = {
-- Force CLEAR weather inside cellars (also disables weather-sync resources)
setWeatherInCellars = true,
-- How hovered props are highlighted in the minigames
-- 'default' - native FiveM outline (best looking, but can be problematic for QuantV users)
-- 'box' - custom line box drawn around the entity bounds
-- 'glow' - soft glow light on the hovered entity
-- 'none' - no highlight
interactionIndicator = 'default',
}
-- Recommended to remove these vendors and add these items into your existing shops/robberies etc.
Config.vendors = {
['equipment_dealer'] = {
coords = vec4(-694.35, 5784.47, 16.33, 156.69),
model = 'a_m_o_salton_01',
idleAnim = {
dict = 'amb@world_human_leaning@male@wall@back@foot_up@idle_a',
anim = 'idle_a',
},
items = {
['kq_shroom_table'] = { label = 'Shroom Table', price = 8000 },
['kq_shroom_shelf'] = { label = 'Shroom Shelf', price = 5000 },
['kq_shroom_planter'] = { label = 'Shroom Planter', price = 7000 },
['kq_shroom_drying_rack'] = { label = 'Shroom Drying Rack', price = 4000 },
},
blip = {
enabled = true,
label = 'Shroom Equipment',
sprite = 566,
color = 31,
alpha = 255,
scale = 0.5,
},
},
['supply_dealer'] = {
coords = vec4(2482.89, 3724.51, 42.65, 34.94),
model = 'u_m_y_dancerave_01',
idleAnim = {
dict = 'timetable@jimmy@mics3_ig_15@',
anim = 'mics3_15_base_tracy',
},
items = {
['kq_shroom_soil'] = { label = 'Shroom Soil', price = 100 },
['kq_shroom_substrate_grain'] = { label = 'Grain Substrate Bag', amount = 3, price = 150 },
['kq_shroom_substrate_compost'] = { label = 'Compost Substrate Bag', amount = 3, price = 200 },
['kq_shroom_substrate_sawdust'] = { label = 'Sawdust Substrate Bag', amount = 3, price = 200 },
['kq_shroom_spores_golden_teacher'] = { label = 'Golden Teacher Spores', amount = 3, price = 500 },
['kq_shroom_spores_blue_meanies'] = { label = 'Blue Meanies Spores', amount = 3, price = 650 },
['kq_shroom_spores_penis_envy'] = { label = 'Penis Envy Spores', amount = 3, price = 800 },
['kq_shroom_spores_pink_penis_envy'] = { label = 'Pink Penis Envy Spores', amount = 3, price = 900 },
['kq_shroom_spores_enigma'] = { label = 'Enigma Spores', amount = 3, price = 1600 },
},
blip = {
enabled = true,
label = 'Shroom Supplies',
sprite = 566,
color = 31,
alpha = 255,
scale = 0.5,
},
},
}Last updated
Was this helpful?