🌿 Weed

A complete cannabis chain for your city: plant outdoors or in a warehouse you own, care for every plant through six growth stages, harvest the buds by hand, dry them, pack them into joints, bags and bricks, and crossbreed your way to four rare mutation strains. Warehouses come with a management laptop, members with permissions, expansions and NPC workers who keep growing while you are offline. Almost everything is configured live from the in-game admin panel, so you rarely touch a file and never restart the server.

New here? Read these three pages in order:

  1. installation.md to get it running.
  2. script-flow.md to understand what the script actually does.
  3. admin-panel to make it yours. This is where almost all of the configuration happens.

Everything in this documentation

Getting started

PageWhat it covers
installation.mdResources, items, database, server.cfg, admin permission.
script-flow.mdThe whole chain from seed to brick, outdoors and in a warehouse.

For players

PageWhat it covers
growing.mdPlacing pots, soil and fertilizer, care, quality, harvesting.
processing.mdDrying racks, the packing table, crossbreeding.
shop-and-dealer.mdThe Weed Tools shop, the roaming seed dealer, wild bushes.
joints-and-trips.mdSmoking, the effect of every strain, the four trips.
strains-and-items.mdThe nine strains and all 78 items.

Warehouses

PageWhat it covers
warehousesBuying, getting in, the door lock, the TV, selling.
laptop-panel.mdEvery page of the management laptop, members and permissions.
expansions-and-stash.mdThe six expansion tracks, UV lamps, the built-in stash.
workers.mdBotanists, dryers and packagers: hiring, wages, priorities.

The admin panel

PageWhat it covers
admin-panelOpening /weedadmin, the overview, plants, equipment, giving items.
settings.mdEvery number: grow times, care, prices, limits, workers, features.
shop.mdThe Weed Tools shop, its clerk and its blip.
zones.mdBanned zones, free planting zones, limit zones.
wild-weed.mdWhere wild bushes grow.
joints.mdSmoking on or off, and every strain's effect.
warehouses.mdThe warehouse switch, options, locations, giving a warehouse.
warehouse-layout.mdPlacing slots inside the hall with /warehouseslots.

For developers

PageWhat it covers
server.luaDiscord logs and the hooks your resources plug into.
exports-and-events.mdProduct values for selling scripts, and the server events.

Files and appearance

PageWhat it covers
configurationThe five files you edit by hand, and where the rest lives.
ui-color-customization.mdRecoloring the interface.
troubleshooting.mdThe questions people ask most, with the fix for each.