Configuration Reference

Current configuration map and defaults for oxide-weed.

Reference for the current oxide-weed config layout.

Config File Map

FilePurpose
shared/config.luaGeneral settings, dirty money, plant decay, labels, safe zones, animations
shared/config/plants.luaPlant definitions, stages, harvest output
shared/config/strains.luaBase strain list and required levels
shared/config/genetics.luaTrait order, mutation, breeding, quality weights
shared/config/drying.luaWeed table drying and heater settings
shared/config/equipment.luaPlaceable equipment, bagging, packaging, brick press, stash, water containers
shared/config/lamps.luaGrow lamp definitions and growth multiplier
shared/config/freezedryer.luaFreeze dryer timing, trays, and capacity
shared/config/dryingrack.luaDrying rack timing, trays, and capacity
shared/config/progression.luaXP rewards and level thresholds
shared/config/smoking.luaRolling, smoking effects, controls, and toggles
shared/config/store.luaStore NPC, blip, stock list, categories, custom items
shared/config/scientist.luaScientist NPC, lab report, cloning options
shared/config/wildplants.luaWild plant zones, yields, respawn, and XP

General Settings

File: shared/config.lua

SettingTypeDefaultDescription
Config.DebugbooleanfalseEnable debug logging with [oxide-weed] prefix
Config.RequireOwnershipbooleantrueRestrict removal actions to the original owner
Config.SpawnDistancenumber100.0Client spawn range for placed world entities

Dirty Money

Scientist services use Config.DirtyMoney.

SettingTypeDefaultDescription
Config.DirtyMoney.modestring'account''account' or 'item'
Config.DirtyMoney.accountstring'cash'Account name when using account mode
Config.DirtyMoney.itemstring'black_money'Item name when using item mode

Plant Settings

SettingTypeDefaultDescription
Config.PlantSettings.waterDecayRatenumber0.2Water loss per minute
Config.PlantSettings.fertilizerDecayRatenumber0.1Fertilizer loss per minute
Config.PlantSettings.updateIntervalnumber60000Plant tick interval in ms
Config.PlantSettings.maxLampsPerPlantnumber4Max linked lamps per plant
Config.PlantSettings.removeLampsOnPlantDeathbooleanfalseDelete lamps instead of unlinking on plant death

Default water sources:

  • watering_can: metadata source, fillAmount = 25, metaKey = 'water_level', metaCost = 10
  • water: 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

SettingTypeDefault
Config.WateringCan.capacitynumber100
Config.WateringCan.waterCostnumber15
Config.WateringCan.fillAmountnumber20

Processing

SettingTypeDefault
Config.Processing.pruneYield.minnumber2
Config.Processing.pruneYield.maxnumber5
Config.Processing.leafYield.minnumber1
Config.Processing.leafYield.maxnumber3

Labels

SettingTypeDefault
Config.Labels.maxDistnumber2.0
Config.Labels.scaleMinnumber0.55
Config.Labels.scaleMaxnumber1.0
Config.Labels.scaleNearDistnumber1.5
Config.Labels.scaleFarDistnumber3.0
Config.Labels.plantHeightOffsetnumber1.2
Config.Labels.tableHeightOffsetnumber1.0
Config.Labels.updateIntervalnumber16

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:

  • generic
  • og_kush
  • purple_haze
  • sour_diesel
  • blue_dream
  • northern_lights
  • white_widow
  • girl_scout
  • granddaddy_purple
  • amnesia_haze

Each strain defines:

  • label
  • baseQuality
  • requiredLevel
  • traits

Genetics

File: shared/config/genetics.lua

Trait order:

  • potency
  • flavor
  • yield
  • resilience
  • growth_speed
  • thc
  • cbd
  • aroma
  • density
  • frost

Key defaults:

SettingDefault
Config.Genetics.breedingUnlockLevel3
Config.Genetics.mutationRate0.10
Config.Genetics.mutationRange20
Config.Genetics.maxGeneration0
Config.Genetics.maleBias0.4
Config.Genetics.genderCheckStage2
Config.Genetics.maleChance0.4
Config.Genetics.pollenGatherTime3000
Config.Genetics.pollenDestroysPlanttrue
Config.Genetics.seedFromHarvestChance0.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:

SettingDefault
Config.Drying.dryingTime1800
Config.Drying.updateInterval30000
Config.Drying.maxSlots14
Config.Drying.items.input'weed_bud'
Config.Drying.items.output'dried_weed_bud'

Heater defaults:

SettingDefault
Config.Drying.heater.item'weed_heater'
Config.Drying.heater.model'prop_patio_heater_01'
Config.Drying.heater.maxPerRack3
Config.Drying.heater.dryingMultiplier1.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 x1
  • baggy x1
  • output weed_1g x1

Default packaging recipes:

  • weed_1g x3 -> weed_eighth x1
  • weed_eighth x2 -> weed_quarter x1
  • weed_quarter x2 -> weed_half x1
  • weed_half x2 -> weed_ounce x1

Storage Tote

SettingDefault
storage_tote.stash.slots15
storage_tote.stash.maxWeight30.0

Water Containers

SettingDefault
water_container_small.waterContainer.capacity500
water_container_small.waterContainer.fillPerUse75
water_container_large.waterContainer.capacity1000
water_container_large.waterContainer.fillPerUse75

Progression-gated equipment

EquipmentRequired Level
drying_rack3
freeze_dryer7
brick_press8

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

SettingDefault
Config.FreezeDryer.dryingTime600
Config.FreezeDryer.requiredLevel7
Config.FreezeDryer.updateInterval30000
Config.FreezeDryer.items.input'weed_bud'
Config.FreezeDryer.items.output'dried_weed_bud'
Config.FreezeDryer.trays.budsPerTray8
Config.FreezeDryer.trays.stackCount9
Config.FreezeDryer.trays.baseColumns2 columns

Derived capacity:

  • total trays: 18
  • max slots: 144

Drying Rack

File: shared/config/dryingrack.lua

SettingDefault
Config.DryingRack.dryingTime1200
Config.DryingRack.updateInterval30000
Config.DryingRack.budsPerTray8
Config.DryingRack.trayCount4
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:

ActionXP
plant10
water2
fertilize2
harvest25
placeLamp3
placeBud2
collectDried5
prune5
bag5
checkGender5
gatherPollen10
crossbreed30
package8
brickPress20
rackLoad5
rackCollect8
sell15

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:

SettingDefault
Config.Smoking.cooldown60
Config.Smoking.bluntDurationMultiplier1.25
Config.Smoking.bluntIntensityBonus0.1

Rolling items:

  • rolling_papers -> joint
  • cigarillo_wraps -> blunt

Both require:

  • weed_1g
  • lighter

Controls:

SettingDefault
Config.Smoking.controls.smoke38
Config.Smoking.controls.stop74

Needs-effect toggles:

SettingDefault
Config.Smoking.needsEffects.stressRelieftrue
Config.Smoking.needsEffects.hungerCosttrue
Config.Smoking.needsEffects.healingtrue

Effect scales:

SettingDefault
potencyScale1.0
thcHungerScale10
thcSpeedScale0.08
cbdHealScale1.0
cbdStressScale25
densityDurationMin300
densityDurationMax600
qualityFloor0.4
healTickInterval5

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:

SettingDefault
Config.Store.enabledtrue
Config.Store.coordsvec3(-1275.97, -1139.92, 6.79)
Config.Store.heading114.07
Config.Store.model's_m_m_linecook'
Config.Store.scenario'WORLD_HUMAN_STAND_IMPATIENT'
Config.Store.interactDistance2.5
Config.Store.targetRadius1.5

Blip defaults:

  • enabled: true
  • sprite: 628
  • color: 2
  • scale: 0.5
  • label: store_blip

Default categories:

  • essentials
  • processing
  • equipment
  • custom

Config.Store.customItems is an extension hook for additional products.

Scientist

File: shared/config/scientist.lua

Core defaults:

SettingDefault
Config.Scientist.coordsvec3(3610.36, 3653.20, 31.26)
Config.Scientist.heading338.80
Config.Scientist.model's_m_m_scientist_01'
Config.Scientist.scenario'WORLD_HUMAN_CLIPBOARD'
Config.Scientist.interactDistance2.5
Config.Scientist.targetRadius1.5

Lab report:

  • price: 500
  • required level: 2

Cloning:

  • required level: 4
  • options:
    • 5 for 2500
    • 10 for 4000
    • 25 for 7500

Blip defaults:

  • enabled: false
  • sprite: 499
  • color: 2
  • scale: 0.7
  • label: scientist_blip

Wild Plants

File: shared/config/wildplants.lua

SettingDefault
Config.WildPlants.enabledtrue
Config.WildPlants.spawnDistance100.0
Config.WildPlants.seedChance0.40
Config.WildPlants.seedAmount.min1
Config.WildPlants.seedAmount.max2
Config.WildPlants.respawnTime.min1800
Config.WildPlants.respawnTime.max3600
Config.WildPlants.harvestXP15

Yield defaults:

  • weed_bud
  • amount: 1-4

Shipped default zones:

  • buen_vino_rd
  • route_68

Each zone defines:

  • name
  • plants
  • points
  • thickness

Next Steps