About AgricultureCore
From Steam WorkshopAgricultureCore AgricultureCore is the shared foundation for my Agriculture-based mods. It’s mostly meant to combine common scripts/content in one place so updates can be isolated to this mod,…
AgricultureCore
AgricultureCore is the shared foundation for my Agriculture-based mods. It’s mostly meant to combine common scripts/content in one place so updates can be isolated to this mod, instead of duplicating code and files across multiple projects.
In-game, it provides a configurable core plant/harvest system (driven by a plant registry and server settings) and includes shared item/effect functionality used by related mods.
Features
- Core plant registry system via [code]AC_RegisterPlant()[/code] and [code]g_AG_PlantRegistry[/code] for registered plant types (GrowTime, CropCount, InitialYield, minute-based grow time option, and fertilize behavior flags).
- Modded plant lifecycle behavior (registered plants)
- [list]
- Custom growth timing and maturity calculations for registered plants.
- Spoil timing controlled by a server setting (MinutesToPlantSpoiling).
- Infestation chance set to 0.0 in the PlantBase constructor.
- Fertilization can affect crop count and yield based on registry flags and fertility/harvesting efficiency.
[*]Modded harvesting behavior
- Harvest action is gated so it only executes when a plant exists and has crops.
- Harvest spam protection (5-second cooldown) to prevent repeated harvest processing.
- Harvest spawns crop items up to the plant’s crop count and sets created items to maximum quantity.
- If the plant is spoiled, harvested edible items are set to the rotten food stage where applicable.
- Optional plant removal after harvest (RemovePlantAfterHarvest).
[*]Plant removal behavior
- Optional PlantMaterial drop when removing a plant, controlled by EnablePlantMaterialDrop (quantity scales with current plant material quantity).
[*]Persistence
- Saves/loads crop state, crop count, and current yield (server-side).
- Exposes yield accessors (GetCurrentYield/SetCurrentYield).
[*]Server configuration + client sync
- Server loads a JSON config, supports versioning/backup of outdated configs, and validates minimum values.
- Clients request the config at mission start and receive it via RPC so client-side scripts can use the server’s settings.
- Optional server/client debug logging toggles via config.
[*]Smokable base + smoke particle support
- AC_SmokableBase provides a network-synced smoking state and synchronized health value.
- Smoke particles are started/stopped and tuned based on smoke state (SMOKING / INACTIVE / NOT_SMOKING).
- Includes a registered particle entry: AC_SMOKE (from "AgricultureCore/Particles/" "smoke") and an [code]EffSmoke[/code] effect that uses it.
[*]Rolling papers items
- Adds AC_RollingPapers (and Green/Silver variants) with quantity (0–20) and an "AC_RollingPapers" inventory slot/proxy.
[*]Cigarette pack item
- Adds AC_CigarettePack_Empty (crafted loot category) using the vanilla cigarette pack model with custom textures/material damage states.
[/list]
Installation
- Subscribe to the mod on the Workshop.
- Enable AgricultureCore in the DayZ Launcher (client and server).
- Restart the server/client after enabling.
Configuration
AgricultureCore uses a JSON configuration (loaded server-side) and sends the active settings to clients on mission start.
Config fields present:
- EnableServerDebugLogging
- EnableClientDebugLogging
- RemovePlantAfterHarvest
- EnablePlantMaterialDrop
- MinutesToPlantSpoiling
- SecondsToFertilizeUsingPlantMaterial
- SecondsToFertilizeUsingGardenLime
Compatibility
- Uses vanilla cultivation scripting (requires DZ_Gear_Cultivation as an addon dependency).
- Modifies core behavior for PlantBase and ActionHarvestCrops; any other mod that also overrides these may conflict depending on load order and implementation.
You may repack this mod, although I don't recommend it because if I update it, and you aren't fast enough updating your repacked version, it may mess up CannabisPlus, DrugsPlus, and/or GardeningPlus.
Credits
Author: IceBlade
Highlights
From source dataFootprint
A 7 MB download, rated a light load on a server.
Last update
Its author last shipped an update 6 mo ago.
AgricultureCore on Nxeon
From our catalogue- One-click install
- Not available. One-click install isn't available for this game's mods yet. Download it and upload it to your server in Files.
- Server load
- light
- Smallest plan we suggest
- DayZ — 6 GB (6 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 2026-04-08, released 2026-04-08, 7 MB
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| Workshop |
From 1 recorded build of AgricultureCore.
Run AgricultureCore on a DayZ server
Deploy a server above, then upload the file in Files.
What kind of mod it is
From the catalogTechnology & automation
Machines, power, logistics and automation.
Compatibility
- Game
- DayZ
- File size
- 7 MB
Verified at the source
- ✓Steam WorkshopOfficial listing, checked 2026-10-10Open ↗
- ✓AuthorIceBlade, as published on Steam Workshop
- ✓LicenseNot published by the sourceFree
