Configuration Reference
Current configuration map and defaults for oxide-weed.
Reference for the current oxide-weed config layout.
Config File Map
| File | Purpose |
|---|---|
shared/config.lua | General settings, dirty money, plant decay, labels, safe zones, animations |
shared/config/plants.lua | Plant definitions, stages, harvest output |
shared/config/strains.lua | Base strain list and required levels |
shared/config/genetics.lua | Trait order, mutation, breeding, quality weights |
shared/config/drying.lua | Weed table drying and heater settings |
shared/config/equipment.lua | Placeable equipment, bagging, packaging, brick press, stash, water containers |
shared/config/lamps.lua | Grow lamp definitions and growth multiplier |
shared/config/freezedryer.lua | Freeze dryer timing, trays, and capacity |
shared/config/dryingrack.lua | Drying rack timing, trays, and capacity |
shared/config/progression.lua | XP rewards and level thresholds |
shared/config/smoking.lua | Rolling, smoking effects, controls, and toggles |
shared/config/store.lua | Store NPC, blip, stock list, categories, custom items |
shared/config/scientist.lua | Scientist NPC, lab report, cloning options |
shared/config/wildplants.lua | Wild plant zones, yields, respawn, and XP |
General Settings
File: shared/config.lua
| Setting | Type | Default | Description |
|---|---|---|---|
Config.Debug | boolean | false | Enable debug logging with [oxide-weed] prefix |
Config.RequireOwnership | boolean | true | Restrict removal actions to the original owner |
Config.SpawnDistance | number | 100.0 | Client spawn range for placed world entities |
Dirty Money
Scientist services use Config.DirtyMoney.
| Setting | Type | Default | Description |
|---|---|---|---|
Config.DirtyMoney.mode | string | 'account' | 'account' or 'item' |
Config.DirtyMoney.account | string | 'cash' | Account name when using account mode |
Config.DirtyMoney.item | string | 'black_money' | Item name when using item mode |
Plant Settings
| Setting | Type | Default | Description |
|---|---|---|---|
Config.PlantSettings.waterDecayRate | number | 0.2 | Water loss per minute |
Config.PlantSettings.fertilizerDecayRate | number | 0.1 | Fertilizer loss per minute |
Config.PlantSettings.updateInterval | number | 60000 | Plant tick interval in ms |
Config.PlantSettings.maxLampsPerPlant | number | 4 | Max linked lamps per plant |
Config.PlantSettings.removeLampsOnPlantDeath | boolean | false | Delete lamps instead of unlinking on plant death |
Default water sources:
watering_can: metadata source,fillAmount = 25,metaKey = 'water_level',metaCost = 10water: item source,amount = 1,fillAmount = 25
Fertilizer defaults:
- item:
fertilizer - amount:
1 - fill amount:
35
Harvest defaults:
- return pot:
true - pot item:
plant_pot
Watering Can
| Setting | Type | Default |
|---|---|---|
Config.WateringCan.capacity | number | 100 |
Config.WateringCan.waterCost | number | 15 |
Config.WateringCan.fillAmount | number | 20 |
Processing
| Setting | Type | Default |
|---|---|---|
Config.Processing.pruneYield.min | number | 2 |
Config.Processing.pruneYield.max | number | 5 |
Config.Processing.leafYield.min | number | 1 |
Config.Processing.leafYield.max | number | 3 |
Labels
| Setting | Type | Default |
|---|---|---|
Config.Labels.maxDist | number | 2.0 |
Config.Labels.scaleMin | number | 0.55 |
Config.Labels.scaleMax | number | 1.0 |
Config.Labels.scaleNearDist | number | 1.5 |
Config.Labels.scaleFarDist | number | 3.0 |
Config.Labels.plantHeightOffset | number | 1.2 |
Config.Labels.tableHeightOffset | number | 1.0 |
Config.Labels.updateInterval | number | 16 |
Safe Zones
Config.SafeZones is an array of polygon definitions using name and points. The shipped config already includes a legion_square example zone.
Animations
Default placement and removal animation:
- dict:
weapons@first_person@aim_rng@generic@projectile@sticky_bomb@ - clip:
plant_floor - duration:
1000ms
Plants
File: shared/config/plants.lua
Current default plant type:
cannabis_seed
Key defaults:
- item:
cannabis_seed - required extra item:
plant_pot - bud model:
bkr_prop_weed_bud_01b - yield:
weed_bud, 3-8
Stage times:
- stage 1:
60 * 60 - stage 2:
60 * 60 - stage 3:
60 * 60 - stage 4:
60 * 500
Strains
File: shared/config/strains.lua
Base strains currently shipped:
genericog_kushpurple_hazesour_dieselblue_dreamnorthern_lightswhite_widowgirl_scoutgranddaddy_purpleamnesia_haze
Each strain defines:
labelbaseQualityrequiredLeveltraits
Genetics
File: shared/config/genetics.lua
Trait order:
potencyflavoryieldresiliencegrowth_speedthccbdaromadensityfrost
Key defaults:
| Setting | Default |
|---|---|
Config.Genetics.breedingUnlockLevel | 3 |
Config.Genetics.mutationRate | 0.10 |
Config.Genetics.mutationRange | 20 |
Config.Genetics.maxGeneration | 0 |
Config.Genetics.maleBias | 0.4 |
Config.Genetics.genderCheckStage | 2 |
Config.Genetics.maleChance | 0.4 |
Config.Genetics.pollenGatherTime | 3000 |
Config.Genetics.pollenDestroysPlant | true |
Config.Genetics.seedFromHarvestChance | 0.25 |
Quality weights:
- potency:
0.20 - thc:
0.18 - density:
0.13 - frost:
0.13 - flavor:
0.13 - aroma:
0.13 - cbd:
0.10
Drying
File: shared/config/drying.lua
Weed table drying defaults:
| Setting | Default |
|---|---|
Config.Drying.dryingTime | 1800 |
Config.Drying.updateInterval | 30000 |
Config.Drying.maxSlots | 14 |
Config.Drying.items.input | 'weed_bud' |
Config.Drying.items.output | 'dried_weed_bud' |
Heater defaults:
| Setting | Default |
|---|---|
Config.Drying.heater.item | 'weed_heater' |
Config.Drying.heater.model | 'prop_patio_heater_01' |
Config.Drying.heater.maxPerRack | 3 |
Config.Drying.heater.dryingMultiplier | 1.5 |
Equipment
File: shared/config/equipment.lua
Weed Table
- item:
weed_table - equipment type:
weed_table - includes bagging and packaging recipes
Default bagging recipe:
pruned_weed_bud x1baggy x1- output
weed_1g x1
Default packaging recipes:
weed_1g x3 -> weed_eighth x1weed_eighth x2 -> weed_quarter x1weed_quarter x2 -> weed_half x1weed_half x2 -> weed_ounce x1
Storage Tote
| Setting | Default |
|---|---|
storage_tote.stash.slots | 15 |
storage_tote.stash.maxWeight | 30.0 |
Water Containers
| Setting | Default |
|---|---|
water_container_small.waterContainer.capacity | 500 |
water_container_small.waterContainer.fillPerUse | 75 |
water_container_large.waterContainer.capacity | 1000 |
water_container_large.waterContainer.fillPerUse | 75 |
Progression-gated equipment
| Equipment | Required Level |
|---|---|
drying_rack | 3 |
freeze_dryer | 7 |
brick_press | 8 |
Brick Press
Default press settings:
- input item:
dried_weed_bud - input amount:
10 - output item:
weed_brick - XP reward:
20 - animation duration:
9000ms
Lamps
File: shared/config/lamps.lua
Default lamp:
- item:
grow_lamp - model:
xm_prop_base_tripod_lampb - growth multiplier:
1.5
Freeze Dryer
File: shared/config/freezedryer.lua
| Setting | Default |
|---|---|
Config.FreezeDryer.dryingTime | 600 |
Config.FreezeDryer.requiredLevel | 7 |
Config.FreezeDryer.updateInterval | 30000 |
Config.FreezeDryer.items.input | 'weed_bud' |
Config.FreezeDryer.items.output | 'dried_weed_bud' |
Config.FreezeDryer.trays.budsPerTray | 8 |
Config.FreezeDryer.trays.stackCount | 9 |
Config.FreezeDryer.trays.baseColumns | 2 columns |
Derived capacity:
- total trays:
18 - max slots:
144
Drying Rack
File: shared/config/dryingrack.lua
| Setting | Default |
|---|---|
Config.DryingRack.dryingTime | 1200 |
Config.DryingRack.updateInterval | 30000 |
Config.DryingRack.budsPerTray | 8 |
Config.DryingRack.trayCount | 4 |
Config.DryingRack.items.input | 'weed_bud' |
Config.DryingRack.items.output | 'dried_weed_bud' |
Derived capacity:
- total capacity:
32
Progression
File: shared/config/progression.lua
XP reward defaults:
| Action | XP |
|---|---|
plant | 10 |
water | 2 |
fertilize | 2 |
harvest | 25 |
placeLamp | 3 |
placeBud | 2 |
collectDried | 5 |
prune | 5 |
bag | 5 |
checkGender | 5 |
gatherPollen | 10 |
crossbreed | 30 |
package | 8 |
brickPress | 20 |
rackLoad | 5 |
rackCollect | 8 |
sell | 15 |
Level thresholds:
- 1:
0 - 2:
100 - 3:
300 - 4:
650 - 5:
1200 - 6:
2000 - 7:
3200 - 8:
5000 - 9:
7500 - 10:
11000
Smoking
File: shared/config/smoking.lua
Core defaults:
| Setting | Default |
|---|---|
Config.Smoking.cooldown | 60 |
Config.Smoking.bluntDurationMultiplier | 1.25 |
Config.Smoking.bluntIntensityBonus | 0.1 |
Rolling items:
rolling_papers -> jointcigarillo_wraps -> blunt
Both require:
weed_1glighter
Controls:
| Setting | Default |
|---|---|
Config.Smoking.controls.smoke | 38 |
Config.Smoking.controls.stop | 74 |
Needs-effect toggles:
| Setting | Default |
|---|---|
Config.Smoking.needsEffects.stressRelief | true |
Config.Smoking.needsEffects.hungerCost | true |
Config.Smoking.needsEffects.healing | true |
Effect scales:
| Setting | Default |
|---|---|
potencyScale | 1.0 |
thcHungerScale | 10 |
thcSpeedScale | 0.08 |
cbdHealScale | 1.0 |
cbdStressScale | 25 |
densityDurationMin | 300 |
densityDurationMax | 600 |
qualityFloor | 0.4 |
healTickInterval | 5 |
Screen effects:
- timecycle:
spectator6 - timecycle strength:
0.66 - camera shake:
DRUNK_SHAKE - amplitude:
2.5 - drunk clipset:
MOVE_M@DRUNK@SLIGHTLYDRUNK
Store
File: shared/config/store.lua
Core defaults:
| Setting | Default |
|---|---|
Config.Store.enabled | true |
Config.Store.coords | vec3(-1275.97, -1139.92, 6.79) |
Config.Store.heading | 114.07 |
Config.Store.model | 's_m_m_linecook' |
Config.Store.scenario | 'WORLD_HUMAN_STAND_IMPATIENT' |
Config.Store.interactDistance | 2.5 |
Config.Store.targetRadius | 1.5 |
Blip defaults:
- enabled:
true - sprite:
628 - color:
2 - scale:
0.5 - label:
store_blip
Default categories:
essentialsprocessingequipmentcustom
Config.Store.customItems is an extension hook for additional products.
Scientist
File: shared/config/scientist.lua
Core defaults:
| Setting | Default |
|---|---|
Config.Scientist.coords | vec3(3610.36, 3653.20, 31.26) |
Config.Scientist.heading | 338.80 |
Config.Scientist.model | 's_m_m_scientist_01' |
Config.Scientist.scenario | 'WORLD_HUMAN_CLIPBOARD' |
Config.Scientist.interactDistance | 2.5 |
Config.Scientist.targetRadius | 1.5 |
Lab report:
- price:
500 - required level:
2
Cloning:
- required level:
4 - options:
5for250010for400025for7500
Blip defaults:
- enabled:
false - sprite:
499 - color:
2 - scale:
0.7 - label:
scientist_blip
Wild Plants
File: shared/config/wildplants.lua
| Setting | Default |
|---|---|
Config.WildPlants.enabled | true |
Config.WildPlants.spawnDistance | 100.0 |
Config.WildPlants.seedChance | 0.40 |
Config.WildPlants.seedAmount.min | 1 |
Config.WildPlants.seedAmount.max | 2 |
Config.WildPlants.respawnTime.min | 1800 |
Config.WildPlants.respawnTime.max | 3600 |
Config.WildPlants.harvestXP | 15 |
Yield defaults:
weed_bud- amount:
1-4
Shipped default zones:
buen_vino_rdroute_68
Each zone defines:
nameplantspointsthickness