A community playtest is open. Download the M2 Living Town build, play it, and tell us what broke. Download and play

Everon, 1989 · life/RP for Arma Reforger

Docs · Engineering reference

Fishing

docs/features/fishing.mdEdit on GitHub

Design context: addons/LifeFramework/Scripts/Game/Feature/Fishing/Feature.md, docs/architecture/fishing.md.

LF_FishingConfig — Feature/Fishing/LF_FishingConfig.c, Configs/Fishing/LF_Fishing.conf (#2927)

  • ✅ (2026-11-18, merged, in-dev) The fishing data: rods (m_Prefab, m_fCastRange, m_fBiteSpeed, m_iMinFisherLevel), baits (m_fBiteSpeed, m_aBoostSpecies), species (m_sId, three size prefabs, m_aWater OCEAN or POND, m_aHours, m_iMinFisherLevel), tables (weighted species, three size weights) and the globals (bite 15 to 60 s, strike window 2 s, slack 0.5 s, 6 casts a minute, empty-spot slowdown, bait boost, the open-water table). Sanitize runs at load: a bad rod, bait, species or table is removed with LF_Debug.Error("Fishing", ...) naming it, a bad table entry is dropped alone, a bad global falls back to its default; no other row is touched. The core ships one neutral set (mackerel, bass, tuna, perch, carp; tables open_water, harbour, pond) with empty fish prefabs and placeholder rod and bait prefabs until the 3D pipeline (#339) and the pack (#800) supply them.

LF_FishingRules — Feature/Fishing/LF_FishingRules.c (#2927)

  • ✅ (2026-11-18, merged, in-dev) Pure server rules, every random draw passed in as a 0..1 roll. BiteSeconds (rod and bait speed, slower at an emptied spot, always inside min and max), Strike (EARLY, HIT, LATE: inside window plus slack lands), InCastRange, RodUsable, TryCast (casts per minute), ResolveTable (the spot's table while it has stock, else the open-water table), PickSpecies (weighted; water kind, hour and level filters, so a pond never gives an ocean fish; bait boost), PickSize, PickCatch (open water is always small; a spot table with nothing eligible falls back to open water). A spot's stock is the existing LF_GatherStock. Nothing here is wired to the world yet: the cast and strike RPCs, the spot component and the licence are later cards of the chapter. Test: LF_Test_FishingRules (LOGIC).

Fishing items — Prefabs/Items/Fishing/, Assets/Items/Fishing/ (#2928)

  • 🧪 (2026-11-18, #2928) The first fishing items, each with its own Blender-modelled mesh and baked material (tools/assets/fishing-rod|bait-tin|fish-trout*, shared builders in tools/assets/fishing-lib/geo.py; no generation credits). LF_FishingRod.et is a core hand tool (LF_HandToolComponent, tool id rod, the drill's wrench hold pose; a cast animation waits for #340), 1.2 m, 3 l. LF_BaitTin.et is a round green tin, 0.3 l. The trout is one species in three prefabs on one base: LF_FishTrout.et (the medium, 0.30 m, owns the components) with LF_FishTroutSmall.et (0.18 m) and LF_FishTroutLarge.et (0.44 m) overriding only the mesh, volume and weight (the same model, scaled by the clean stage, because a prefab scale is lost when an item leaves an inventory). The config (LF_Fishing.conf) still points rod and bait at the #2927 placeholders (Prefabs/Tools/Pickaxe.et, Prefabs/Items/Food/Apple.et); #2929 swaps in these prefabs. Test fishing/items.

Fishing spots and the counters — Feature/Fishing/LF_FishingSpotComponent.c, Prefabs/Systems/Fishing/LF_FishingSpot.et, Configs/Catalogue/LF_ItemCatalogue.conf (#2929)

  • 🧪 (2026-11-18, #2929) A map maker drops LF_FishingSpot.et (table, radius, stock, regrow seconds, optional id and map state) and it registers in LF_Places as kind FishingSpot on every machine, so the cast finds it by kind and never by name or coordinate. LF_FishingSpotComponent.FindSpotFor(target) returns the spot whose radius covers the target (flat distance, the nearer marker when two overlap) or null for open water; the server-side stock is the existing LF_GatherStock (one fewer per catch, regrows, never saved). A bad marker (no table, radius or stock) logs LF_Debug.Error("Fishing", ...) and is not placed. The core catalogue (LF_ItemCatalogue.conf) now puts the three trout sizes on the fish_counter outlet (the counter pays 6, 12 and 25, under what it asks) and the rod and bait tin on the chandler (and the tin on the counter). The fishing config now names the real rod and bait tin instead of the #2927 placeholders. No cast or strike RPC yet: the spot is data and lookup until the cast card. Test fishing/spots.

Cast, bite and strike — Feature/Fishing/LF_FishingSession.c, LF_FishingRodComponent.c, Prefabs/Items/Fishing/LF_FishingRod.et (#2930)

  • 🧪 (2026-11-18, #2930, draft for review) The server half of the cast. With the rod in the hands (LF_FishingRodComponent, the rod's hand tool, now listening for the fire input on the owner's machine) the owner asks LF_AskFishingCast(target) on the PlayerController; the server (LF_FishingSession.CastAt) refuses with a toast and a [LFDebug:Fishing] line unless the angler is alive and on foot, holds the rod (and the rod is in the config), has the FISHER level, is under the casts-a-minute limit, has no cast out, is within the rod's range, the target is OCEAN or POND water (TryGetWaterSurface at the terrain height the server reads itself) and a bait item is in the inventory. A cast stores one open cast per player (session state, never saved) and starts one CallLater for the bite (15 to 60 s, scaled by rod, bait and an emptied spot). At the bite the owner gets "Strike!" (toast plus LF_FishingEvent to the owner for the float). A strike (LF_AskFishingStrike(castId)) is ignored unless the server's own bite has happened and the cast id matches; inside the window plus slack it rolls the catch from the spot's table (open water: small fish), gives one fish (dropped beside the angler when the pack is full), spends one bait item, thins the spot's stock and awards fish_catch XP; after the window the bait is gone and nothing is given; a bite nobody strikes ends the same way. Walking more than 5 m, putting the rod away, dying or boarding a vehicle ends a cast with nothing spent. Test fishing/cast. Not built yet: the float prop and its dip sound, the fish_catch row of the FISHER track, the LF_OnFishCaught bus event, the grid pond cell and the session pictures.

The float, the grid pond and the catch XP — Feature/Fishing/LF_FishingFloat.c, LF_FishingEvents.c, Prefabs/Systems/Fishing/LF_FishingFloat.et, GridWorld_Layers/Grid_slice_fi4.layer (#2995)

  • 🧪 (2026-11-18, #2995) The owner's half of the cast. A float (a red-and-white Blender bobber, Assets/Items/Fishing/FishingFloat, shown at three times its size so it reads on a flat screen) is a local entity with no RplComponent, put on the water at the cast point when the server says the line is out (LF_FishingRodComponent.OnServerEvent CAST_OK), pulled under and bobbing with the base game's UI click when the bite arrives (BITE), and taken away on a catch, a miss, an ended cast or the rod leaving the hands. Nothing per cast is broadcast and the dedicated server never draws one. The cast aims at the first water along the view (3 m out to the rod's reach; open ground is still a request the server refuses as not water). A landed fish now pays the FISHER fish_catch XP (the FISHER track and the fish_catch row, 10 XP, daily cap 2000, are in Configs/Jobs/LF_Jobs.conf; the cast already checked the FISHER level, which read 1 before the track existed) and publishes LF_OnFishCaught (player record key, species id, size 0/1/2, fish prefab, water kind, spot table) on the server bus after the stock is thinned. The core ships one trout species with the three trout prefabs in the pond table so a core server's pond gives a fish the fish counter buys; the pack overlays the 1989 species. Core props LF_FishCounter.et (outlet fish_counter) and LF_Chandler.et (outlet chandler). The proof ground is the grid cell slice-fi4: a real pond (a base-game LakeGeneratorEntity, TryGetWaterSurface answers POND over it), a LF_FishingSpot over it (table pond), the chandler and the fish counter. Tests fishing/float and fishing/cast (FISHER XP and the event); session proof agent-box/proofs/fishing-proof.mjs with the harness verb fishing fire|auto|state|water (buy rod and bait, cast, the float dips, strike, a trout and XP, sell it for cash). Not built yet: a splash sound (the cue is the UI click until the sound pipeline), the licence gate on the fish counter, the pack's species and prices, the smokehouse.

Every species lands a fish — Prefabs/Items/Fishing/LF_Fish{Mackerel,Bass,Tuna,Perch,Carp}*.et, Feature/Fishing/LF_FishingConfig.c (#3119)

  • 🧪 (2026-11-18, #3119) Mackerel, bass, tuna, perch and carp had empty size prefabs, so every harbour and open-water strike came back EMPTY and spent the bait; only pond trout worked. Each species now has small, medium and large prefabs (LF_Fish<Species>[Small|Large].et), children of the three trout prefabs (same model, own neutral names #LF-Item_Fish<Species>_*), with catalogue rows and fish_counter offers. The counter pays small/medium/large: mackerel and perch 5/10/20, carp 7/14/28, bass 8/16/32, tuna 15/30/60 (trout stays 6/12/25); a pack may rename them or give each its own model. Sanitize now drops a table entry whose species has an empty size prefab, with LF_Debug.Error("Fishing", ...) naming the species and size, so a bad row costs that fish, not the bait. ShopPrices.conf hides the fish from the general shop (its default buy price 50 sat under the large tuna, a profit loop); only the fish counter trades them. Test fishing/species-prefabs.
  • 🧪 (2026-11-18, #3134) Every species has its own model: mackerel, bass, tuna, perch and carp no longer reuse the trout mesh. One Meshy text-to-3D generation per species (meshy-6-lite preview, refine, remesh to 4000 triangles; 75 + 25 credits; no CC0 or CC-BY fish fit), cleaned and scaled by the asset pipeline into three sizes each (tools/assets/fish-<species>[-small|-large]/, Assets/Items/Fishing/Fish<Species>[Small|Large]/, the small and large specs reuse the medium's Meshy task ids and cost nothing). Each size prefab keeps its GUID and overrides only the MeshObject and the inventory preview distance (3 x the fish length, so the tuna fits the frame). Test fishing/species-prefabs (loads every size prefab).

The smokehouse — addons/LF_Everon1989/Prefabs/Props/Fishing/LF_Smokehouse.et, Configs/Fishing/LF_Smokehouse*_Everon1989.conf (#3450)

  • 🧪 (2026-11-19, #3450) A pack processor (the Shed_03 model on the core ItemProcessor_Base) with one 30-second action per species: a fresh medium fish plus one firewood bundle becomes one smoked fish (LF_Smoked<Species>.et, a child of the fresh prefab with its own pack-table name). The recipes are machine rows smokehouse-<species> in LF_Smokehouse_Everon1989.conf; the core chain catalog now merges the machine rows of pack overlays (LF_ResourceChainCatalog.ApplyPackOverlays, add only, a repeated id is refused). LF_SmokehouseCatalogue_Everon1989.conf adds fish_smoked_<species> rows and fish_counter offers: the counter pays 24 (mackerel, perch), 28 (trout), 32 (carp), 36 (bass) and 66 (tuna), each above the fresh price plus the 5 a firewood bundle sells for. Pack test everon/smokehouse. Not built yet: a placement in a world (a town- pass or a grid cell), small and large fish recipes, the smoke sound and effect.
  • 🧪 (2026-11-19, #3453, town-draft) The dock smokehouse slot of Saint-Philippe (tools\cli town fit saint-philippe-dock smokehouse, kit smokehouse, claim and terrain pins under tools/town/) fits the smoker into the dock's long metal shed b05 with a firewood pile, two net hangers, crates, a brine barrel, a ground fire with kindling at the west end and a pole plate (smokehouse, own folder file LF_Signs_Smokehouse.conf). Place kind Smokehouse has a map POI row (discover, category work). The smoker's action point moved from 0 1 2.2 to 0 0.2 2.1: the pivot sits 1 m above the floor, so the old point was 2 m up. Pack test everon/smokehouse-site. Open: small and large fish recipes, a lit fire effect, the smoker reads only from inside the shed.
  • 🧪 (2026-11-19, #3592, town-draft) The slot's smoker now stands toward the shed mouth with the net hangers moved east of it, and it reads from the road: the smoke plume is a vanilla Smoke_Smokestack_Medium particle (scale 0.35) hung as a child of LF_Smokehouse.et, and the ground fire is the pack prefab LF_SmokehouseFire.et, a child of the vanilla Fireplace_01 whose SCR_FireplaceComponent starts LIT (the vanilla LIT_ON_SPAWN stays dark for a fitted layer entity) with one warm no-shadow point light, so the base game's flame particle, flicker light and campfire crackle (its Compositions_Campfire sound) run with nobody lighting it. A dedicated server builds no particle entities, so the plume is checked by the look picture; LF_Test_EveronSmokehouseFire proves the fire is lit on spawn.

Spring Pond jetty and sign, perch and carp in the pond table — Place_saint-philippe_pond.layer, tools/town/kits/pond.json, Configs/Fishing/LF_Fishing.conf (#3667)

  • 🧪 (2026-11-19, #3667, town-draft) The pond slot of Saint-Philippe is re-fitted: a vanilla wooden pier (Pier_Wood_Long_01, 9.2 m) is the jetty, its east end on the bank and its deck 0.3 m above the water (the pond surface is 15.0 m, 2.5 m over its bed, so the row is mount: free at a fixed height), a pole plate sign (spring-pond, own folder file LF_Signs_SpringPond.conf with pack strings) north of it and the bench now on the dry east bank facing the water (it stood at 13.4 m, under the surface, before). The spot's radius is 22 m so a cast from the jetty is covered. The core pond table now weights trout 2, perch 3 and carp 2 (carp keep their dawn and evening hours), so a pond or lake cast lands a perch or a carp as well as a trout. Tests fishing/pond-table (LOGIC) and pack test everon/spring-pond-sign.

Black Lake shore — addons/LF_Everon1989/Worlds/MainWorld/MainWorld_Layers/Place_blacklake_shore.layer, tools/town/kits/lake-shore.json, Prefabs/Props/Fishing/LF_LakeLantern.et (#3667)

  • 🧪 (2026-11-19, #3667, town-draft) Black Lake (the dossier's w1, 9351 m2) gets one hostless slot, blacklake/shore (template lake, mapping docs/everon/places/blacklake/mapping.json, plot p4, kit lake-shore): a fishing spot (LF_FishingSpot, table pond, id black-lake, radius 26 m, stock 14) on the dossier's north-west shore point, a street bench facing the water, a lantern, and a pole plate (black-lake, own folder file LF_Signs_BlackLake.conf). No building stands there, so there is no fitted-building hook (claim hostless); every row rests on the probed ground (tools/town/terrain/blacklake-shore.json). The lantern is the pack prefab LF_LakeLantern.et, a child of the vanilla kerosene lamp (lit on spawn) with a 9 m warm light that casts no shadow. The FishingSpot place kind has a map POI row (LF_MapPois_SaintPhilippe/LF_MapPois_FishingSpot.conf, category work, discovered by walking past) and tools/town/lib/poi-check.mjs now reads the folder beside a listed POI overlay as the game does. Pack test everon/fishing-places. Open: a bait hut shed (no host needed so far) and a second spot on the east bank (outside the slot's plot).
  • 🧪 (2026-11-19, #3451) Gaspard (the old man on the bench) tells a player who has landed three fish about a cove. His friendly and regular greetings swap the newcomer pointer for a reply "Know a good place to fish?" that the dialogue hook CoveTip (param fishermans-bay:3, LF_FishingDialogue.c) offers only once the character has landed that many fish (read from the FISHER xp the catches booked, no new save) and, when picked, marks the place on their map (LF_MapKnown.Hear). The pack patch is LF_Dialogue_Gaspard.conf (text only, no recording yet). The fishing config now takes pack overlays (LF_FishingLayers.c: species and tables by id with the usual verbs); LF_Coves_Everon1989.conf adds the cove table (bass 6, mackerel 2; bass bite 17 to 21, so the cove pays at dusk). Pack test everon/gaspard. Open: no cove fishing spot or map pin exists yet (the town pipeline places fishermans-bay with table cove), and Gaspard's new line has no voice.

Fishing licence gate — Feature/Fishing/LF_FishingLicenceGate.c, LF_FishingConfig.m_eRequiredLicence, LF_FishingSession (#3449)

  • 🧪 (2026-11-19, #3449) When LF_Fishing.conf names a licence (m_eRequiredLicence), a cast without it is refused first (NO_LICENCE, before the rod and bait checks) with the toast LF-Fishing_NoLicence plus the #3150 where-line and fee (LF_LicenceWhere.Line); with none named (UNEMPLOYED, the core default) casting is open as today. Test fishing/licence-gate. Open: the config names no licence yet (a fishing-licence enum value and a desk to sell it are separate cards).

Fisherman's Bay and Gaspard's voiced tip — Place_fishermansbay_cove.layer, tools/town/kits/cove-shore.json, tools/assets/dialogue/old_man/ (#3762)

  • 🧪 (2026-11-19, #3762, town-draft) The cove Gaspard's tip points to. The sheltered inlet east of the lighthouse point (Charlet Bay's south-east shore, scouted as fishermansbay, template cove, hostless slot cove on free plot p7, kit cove-shore, ground probed into tools/town/terrain/fishermansbay-cove.json) holds one fishing spot (LF_FishingSpot, id fishermans-bay, table cove, radius 30 m, stock 14), a street bench facing the water, the lake lantern and a pole plate (fishermans-bay, own folder file LF_Signs_FishermansBay.conf). The spot's id is the map place id of #3451's tip, so the FishingSpot pin (discovered kind, pack row LF_MapPois_FishingSpot.conf) appears once Gaspard has marked it. His reply and the tip are now part of his own dialogue (dialogue.json: node cove, reply "Know a good place to fish?", gated by the CoveTip hook at three landed fish) and the tip is recorded in his voice by the asset pipeline (ElevenLabs "Alder", old_man_cove.wav, credited in docs/credits.md); the hand-written LF_Dialogue_Gaspard.conf patch of #3451 is gone. The friendly and regular greetings offer the cove reply in place of "where should I start" (the menu holds four replies). Tests everon/gaspard (the line has a sound event and a length) and everon/fishing-places (the plate resolves).
  • 🧪 (2026-11-19, #3851, town-draft) The Black Lake shore slot gets a hand-written lakeside layout from Reforger Mapper format (tools/test/fixtures/mapper/lakeshore-small.json: a street bench facing the water, a bucket, a crate, a barrel), the first real run of tools\cli mapper import --slot Place_blacklake_shore.layer. The four Mapper_blacklake_shore_M<n> props stand on the probed terrain in the slot's plot, south-east of the kit rows; plain dressing, no new feature. A later town fit blacklake shore --refit rewrites the layer from the kit and drops them (docs/architecture/reforger-mapper-import.md).
  • 🧪 (2026-11-22, buyer for the island) Fish sell on the island. The dock wholesale buyer (LF_WholesaleBuyer_Everon1989.et) lists all 18 fresh fish (six species, small, medium, large) and the 6 smoked fish in its storage filter and price list. It pays 65 percent of the fish counter's catalogue rate, rounded half up, flat (no curve: a spot's stock, about 40 fish an hour, limits the supply): trout 4/8/16, perch and mackerel 3/7/13, carp 5/9/18, bass 5/10/21, tuna 10/20/39; smoked mackerel and perch 16, trout 18, carp 21, bass 23, tuna 43. Paper hour at 40 fish an hour: Fisherman's Bay (bass and mackerel, sizes 3/4/3) about $430, the harbour water about $290, Spring Pond about $245 (police pay $900 is 2.1x the cove). No new prop and no world edit: the 1989 fish counter prop is still not placed. Test everon/fish-scrap-buyers (pack leg) walks every size prefab of every species in the fishing config and every fish_counter outlet fish.

Suggest a changeAll docs