Skip to main content

Module fishing

Module fishing 

Source
Expand description

FishingComponent (the fisherman’s dock) and FishingWork. See docs/JOBS.md “Fishermen”.

A registered dock counts on map layer 8 within its radius, so docks whose waters overlap share the fish. A worker takes a free use point and a free create point, draws up to ten cells within the radius for water of the description’s kinds, and fishes from the use point for 30 s. The catch is the fish’s yield times the dock’s water share (1 / docks there · water fraction), left on the create point.

Original: FUN_1400eff90.

Structs§

Fishing
FishingComponent registered on the map, the water fraction.
FishingTemplate
A resolved FishingDescription (versioned).
FishingWork
FishingWork: the worker at each use point, each create point’s state (0 free, 1 a catch is coming, 2 holds a catch), misses in a row.

Constants§

LAYER
The fishing layer of crate::nature::seeding::Cells::layers.