Farming skill #5
Labels
No labels
bug
ci-cd
client
epic:security-hardening
feature
optimization
priority:high
priority:low
priority:medium
server
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
BlackLobster/Server#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
skills/farming.exis a content stub. Implement patches, seed planting, growth ticks, harvest, disease/compost.Source:
lib/black_lobster/game/skills/farming.ex(TODO content-port).Status (branch
feat/farming-and-walk-fix, not yet merged)Allotment lifecycle is verified in-game: rake → plant → grow → harvest, plus
disease/death rendering, read-only Inspect, dig-up (incl. diseased crops),
real-time growth on the OSRS global growth-tick schedule with a stored
per-player offset, and crash-safe synchronous persistence. Flowers / hops / herbs
share the same code paths and their render values are cache-verified, but haven't
each been play-tested individually. Growth intervals + per-seed stages were
audited against the OSRS Seeds wiki (only the cactus/mushroom intervals needed
correcting).
Remaining gaps before this can close
Likely-incomplete / untested:
apply_water) and compost / supercompost(
apply_compost) — wired but never verified in-game; quite possibly broken.Deferred (not built yet):
only grant the check-health XP. Chopping logs from a grown tree and picking
fruit/berries (the actual yield loop) isn't implemented.
in the data yet).
Verification debt:
against the 468 cache morph ladders. Tree / fruit-tree / bush and the
additive-offset specials still use unverified offset tables — same class of bug
as the dead-crop-rendered-as-watered fix — so they should be cache-checked
before their visuals are trusted.
Closing — farming implemented. Wall-clock lazy crop growth (grows offline), disease, per-patch varbit visuals, persistence (skills/farming.ex + Farming.Crop/Visual ~1310 lines).