Docs · Engineering reference
Dispatch board (#250)
docs/features/dispatch-board.mdEdit on GitHub
- ✅
LF_ServiceBoard(LOGIC-ish WORLDcomms/board): calls whose service lists theboardchannel are pinned to that service's board and expire afterm_iBoardExpirySeconds(900). A medic call shows on the medic board and not the police board; only the service's on-duty staff read the details, anyone else gets a closed board. World board:Prefabs/Comms/LF_DispatchBoard_Medic.et(the wanted board withm_sService), at the DebugWorld hospital. Crime reports now go out as police service calls (LF_Dispatch.ReportpublishesLF_OnServiceCall), so they and payphone calls share one path to the radio, the dispatch log, and the board. Late joiners read current calls on demand. Not done: teleprinter clatter, taxi board prefab. - ✅ Taking a call (#251, WORLD
comms/take): the medic dispatch board has a "Take the call" action (LF_ServiceTakeAction). The server checks the taker is on duty for the service and takes the oldest open call with room (m_iMaxTakersper service inLF_ServiceCalls.conf: 1, police 2), publishesLF_OnServiceCallTaken, marks the call taken on the board, and tells the caller "A unit is on the way" by an owner RPC to their controller (found by player id). Calls that expire untaken log a warning. Not done: take from a radio entry or the pager (#249), a take action on the police wanted board. - ✅ Dispatch marks on the map (#2238, card M10, LOGIC
comms/dispatch-map-marks):LF_ServiceCallMapMarksturns each police or medic call with a position into aROLEshared mark (LF_MapShares, keydispatch:<n>) for that service's on-duty players only (D-M10); light colour while open (police cyan, medic orange), the deep colour once taken (blue, red). The mark expires with the board (m_iBoardExpirySeconds) and the world reset closes it. Clocking in, out or dying at the duty desk refreshes that player's marks at once (LF_DutyLocker), not on the 5 s share sweep. A taxi call or a call with no position gets no mark (logged). The take event carries no call id, so the oldest open mark with the same caller, service, place and summary turns taken. Not saved; a restart clears calls and marks. Manual: two players, one police on duty; a payphone call puts a cyan mark on the officer's map and nothing on the other's; the officer takes it at the board and it turns blue. - ✅ Pager (#249, WORLD
comms/pager):Prefabs/Items/Roleplay/LF_Pager.et(LF_PagerComponent, the base-game ANPRC68 radio mesh) beeps and stores the call when a call whose service lists thepagerchannel reaches its carrier (police, medic, taxi inLF_ServiceCalls.conf; receivers are the people on duty or in the job right now). It keeps the lastm_iPagerMessages(5) calls, newest first; "Read the pager" opens the card. The police duty kit (DebugWorld game mode) includes one, so it stays in the duty inventory on clock-out. The beep is one broadcast from the item, heard by the carrier and anyone beside them. Not done: a small RT-texture screen, the medic and taxi kits (no duty desk yet), a purpose-made pager mesh and beep sound. - ✅ Service radios (#252, WORLD
comms/radio-preset): the police and medic duty kits carry a vanilla ANPRC68 handheld; the duty swap (and a reconnect on duty) tunes its first transceiver to the service frequency,m_iFrequencyinLF_ServiceCalls.conf(kHz; police 41000, medic 42000, on the radio's 200 kHz grid). Vanilla radio rules apply: range-limited voice, nothing heard off-frequency. A radio off duty stays on its factory channel; every clock-in retunes (a restored inventory is a prefab snapshot).LF_ServiceRadio; harness verbradio,session.mjs radio-proof. Not done: vehicle radios (no service vehicle prefab yet) and the dispatch chirp on the radio net (it is still a local sound; the scanner, #253, builds on the call bus). Manual: two officers talk at range, a civilian off-frequency hears nothing. - ✅ Police scanner (#253, LOGIC
comms/scanner-illegal, WORLDcomms/scanner-hears):Prefabs/Items/Fence/LF_Scanner.et, sold by the fence (2 completed crimes, $900, serial-stamped like the other tools). A carrier who is not a receiver hears every police and medic call (services with a radio frequency inLF_ServiceCalls.conf): chirp, a toast with the summary, andLF_OnScannerHeardon the bus. Receive only. It is illegal (m_bScannerIllegal): the officer's search (LF_ConfiscateAction) takes it and files#LF-Offence_Scanneronce, which the crime record counts. A call visits the registry of scanners (LF_ScannerComponent.All(), server side, registered on post-init and removed on delete) and takes each scanner's carrier from its hierarchy root, a pocket or a worn bag alike, instead of walking every player's inventory (#2404, WORLDcomms/scanner-registry,perf/life-128). Not done: searching a suspect who is not wanted. Manual: a scanner holder hears a dispatch chirp while an officer on duty hears it too (session.mjs scanner-proof). - ✅ Scene evidence (#268, WORLD
investigation/casing): a crime report opens a scene (LF_Evidence,Configs/Investigation/LF_Evidence.conf: 300 s window, 30 m radius). A player shot inside it leaves one casing at the shooter (6 per scene, 40 in the world); an item dropped inside it gets a marker. An on-duty officer's "Bag as evidence" makes an evidence bag (LF_EvidenceBag.et) that lists the report, place and minutes lying; the piece rides inside as a hidden child. Untouched evidence expires after 900 s. Not saved across a restart. The casing hook is theOnProjectileShotevent on the body; confirm it fires for a client's shots on a dedicated server. - ✅ Vault fence tools (#273, WORLD
crime/vault-tool):LF_BankVaultComponent.m_sRequiredTools("drill,charge", any one) gatesLF_Bank.Robfor a player robber; none held logsrob refusedand the offer reads#LF-Bank_NeedTool. A drill is kept (a charge is consumed byLF_Breach.Arm, which now also accepts the fenceLF_Charge); the drill jams withm_fJamChance(0.15) and either way is left at the vault, where the scene-evidence hook marks it. It rests 1 m to the robber's right (LF_Bank.ToolRestSpot, LOGICcrime/drill-left-beside); it used to spawn at the robber's feet, so they stood inside the bench drill while they worked (fixed 2026-11-11, seen on the #571 trailer take). The drill is the vanilla bench drill at 0.4 (a 0.47 m safe drill, standing upright): an item out of an inventory is back at scale 1, soLF_Bank.SetDownlays down a fresh copy with the same serial (WORLDcrime/drill-left-size). Its serial names the buyer at the locker. Drill time is the vault fuse. Every attempt publishesLF_OnVaultBreach(opened, jammed, refused). Not done: drill animation and loop sound. A script-drivenRobwith no robber entity skips the tool check. - ✅ Hand tool and timed vault drill (WORLD
handtool/equip,crime/vault-drill-action,crime/vault-drill-cancel,crime/vault-drill-pay-once): coreLF_HandToolComponent(Core/LF_HandTool.c) is the vanilla gadget path for a tool held in the hands: anSCR_GadgetComponent(typeSPECIALIST_ITEM, like the repair wrench) that takes the first free 1-0 quick slot after the weapon slots, goes to the hands throughSCR_GadgetManagerComponent.SetGadgetMode(IN_HAND)and holds with the wrench'sRepairKitgraph; use actions readLF_HandTool.Holds(character, toolId). The drill (m_sToolId drill) is the first user; the courier parcel (#1846,m_sToolId parcel) is the second, and itsm_bEquipOnPickuptakes it into the hands once when it first enters the carrier's inventory. With the drill held the vault prompt reads#LF-Bank_Drill; a drill only in the pack gets#LF-Bank_HoldDrill.LF_Bank.Robwith the drill startsLF_VaultDrill(server): the vault opens and the haul spawns only afterLF_BankVaultComponent.m_fDrillSeconds(30) of server time with the robber alive, within 3.5 m and the same drill in the hands (LF_Bank.FinishDrill, gates read again, pays once); the driller's prompt reads#LF-Bank_DrillStopand cancels; cancelled, put away, walked off or downed pays nothing. Before, the drill opened the vault and spawned the bags at the start. The drill no longer plays theLF_WorkAnimpush orLF_DrillScenehold; its chuck, sparks and sound run on the held drill. Vault action context moved to the door face (0 1.35 0.45, radius 1.5). Logs[LFDebug:Bank] ... starts drilling,... stopped (...): nothing paid. - ✅ Evidence locker (#269, PERSISTENCE
investigation/locker):Prefabs/Investigation/LF_EvidenceLocker.etatRoadmap_Police_EvidenceLocker(police station, DebugWorld town). "Log evidence bags" (on-duty police) opens each carried stamped bag, callsLF_FenceSerials.IdentifyItemon every piece, records a row against the crime report and consumes the bag; the locker accepts nothing else. Rows are theevidencelockerpayload (save version 18). A forced-open locker (LF_Breach, targetLF_EvidenceLocker; the break-in is reported by the charge) can be burned by anyone but on-duty police. Also fixesLF_Drill/LF_Keycard, which spawned with no components (freshActionsManagerComponentGUID shadowed the inherited one). Not done: the wanted board does not show "evidence on file". - ✅ Witness description from the payphone (#266, LOGIC
investigation/witness): a crime report records every player in sight (LF_Witness,Configs/Investigation/LF_Witness.conf: 60 m). The payphone carries "Describe their clothing / vehicle / Give a plate fragment"; the server answers from its own snapshot of the suspect (the report's clothing and vehicle, the plate fromLF_LicensePlateManagerComponent.m_Registration), limited by the caller's distance: clothing within 25 m, vehicle within 45 m, plate characters fall by one per 8 m and stop at 45 m. A thing is said once; anonymous by default (m_bAnonymous). Statements publishLF_OnWitnessStatementand show on the wanted board under the dispatch log (police view). Session-local, not saved. Not done: sight is range only (no line-of-sight trace). - ✅ Officers question witnesses in person (#267, LOGIC
investigation/npc-witness): a crime report also records every town NPC (LF_NpcBaseEntity) withinm_fNpcSightRange(30 m). On-duty police get "Ask what you saw" on every NPC (LF_WitnessAskAction, onNpc_Base.et) and on players (witnessrole slot,LF_WitnessRole). An NPC witness recalls each thing it could see with chancem_fNpcAccuracy(0.6), so statements are partial; a player says everything within its distance limits; an NPC that stood out of range says it saw nothing. Statements land on the wanted board as for the payphone (LF_OnWitnessStatement, channelofficer). DebugWorld getsRoadmap_Fuel_Clerkbeside the fuel till. Not saved. - ✅ The ambulance delivers a patient to a hospital bed for the reduced bill (#262). A medic carries a downed patient (#261) to a bed, or loads them into the ambulance (
m_aStretcherVehiclesinLF_Medic.conf, flagshipLF_M997_Ambulance) and drives to the hospital. "Put patient in bed" (LF_BedDeliveryAction, onPrefabs/Medic/LF_HospitalBed.et, placed at the playtest hospital) is shown to an on-duty medic;LF_BedDelivery.Performfinds the held body or the downed occupant of a stretcher vehicle withinm_fBedVehicleRange(14 m) of the bed, re-checks medic on duty, patient downed andm_fBedRange(3 m), moves the body onto the mattress,LF_Downed.Clear, writes the revive bill (m_iReviveBillAmount, 100, not the 150 wake bill; the medic share applies) and publishesLF_OnPlayerRevivedthenLF_OnPatientDelivered. A patient seated in a stretcher vehicle does not bleed out. The patient wakes on their own client too: the cleared downed flag makes the owning client recompute vanilla unconsciousness (#442; a long ride left nothing else to trigger it). Testmedic/bed-delivery;session.mjs bed-proof. ⚠️ No stretcher-load sound; the seat is the vanilla cargo seat, not a stretcher. - ✅ New Life Rule wristband and reminder (#264). A real death records the death scene (
LF_NewLifeRule.RecordDeath, fromLF_SpawnLogic.OnPlayerKilled_S); the hospital wake gives the wearer a wristband (session state plus a toast; no item) form_iNewLifeMinutes(15,LF_Medic.conf, also printed on the bill). A revive never dies, so it gives none. While a wristband lasts, a server check everym_fNewLifeCheckSeconds(5; the timer runs only while a wristband exists) watches the wearer: coming back withinm_fNewLifeRadius(75 m) of the scene after having been outside, inside the window, gives one quiet toast and one incident row (kindnlr, amount seconds since waking). Nothing blocks the player. Bus eventsLF_OnNewLifeWristband,LF_OnNewLifeReturn. Testmedic/nlr;session.mjs nlr-proof. Logs[LFDebug:NewLife]. Not persisted: a restart forgets the wristband (no save version change).m_iNewLifeMinutesmoved fromLF_Respawn.conftoLF_Medic.conf. - ✅ Village hospital placement (#265).
Street_Hospital.layernow reads as a 1989 Everon village hospital: the medic duty desk, dispatch board, payphone, three beds, till, cabinet and the ambulance (Roadmap_Hospital_Ambulance) were already placed; this adds the ambulance bay (fourConeTraffic_01cones, a pole signSign_HospitalBaywith catalog rowhospital_bayinLF_Signs.conf) and waiting-room dressing (two flowerpots, a bench). Thehospitalsign card now describes the desk, beds and bills. No scripts, no save change; bill prices stay inLF_Medic.conf/LF_Respawn.conf. Shots inwebsite/public/docs-images/265/;session.mjs bed-proofdrives the two-client run. ⚠️ The patient's wake-up after a bed delivery was still INCAPACITATED at the proof's timeout (ambulance/bed path, #442).
Cash van (#274) — Feature/Crime/LF_HeistVault.c, LF_CashVanRoute.c, LF_BankLoot.c
- ✅ A cash van (
Roadmap_Cash_Van, the base-gameS1203_cargo_brown) carries a cash box (LF_CashVanBox.et, a 0.8 m strongbox, its own entity; a replicated child under the replicated van made clients disagree on the item table). The box stands on the ground at the van's kerb-side door (m_vBoxOffset1.35 0 -1.4,m_fBoxYaw90, set on the surface byLF_Dispatch.RestingSpot); it used to hang off the rear step at 1.4x over the road. The van roof carries the alarm mount. The box is a bank vault (LF_HeistVaultComponent : LF_BankVaultComponent): it needs a fence tool (drill or charge, as the bank), reports as#LF-Offence_CashVanthrough the same crime report, dispatch and witnesses, and a drill is left as evidence. Opening it spillsm_iBagCountmoney bags ofm_iCashPerBagin a tidy row beside the box, on the side away from the robber, each on the surface under it (LF_BankLoot.BagOffset/BagSide, WORLDcrime/haul-tidy). The bag is the generatedMoneyBag.xob(0.46 m, unscaled; it was the vanillaSackUniversal_01at 0.4); spawned bags were 1.36 m becauseLF_Utils.SpawnEntityPrefabdropped the prefab's root scale, which it now keeps (the spawn matrix carriesLF_Utils.PrefabScale). Every scaled prefab the addon spawns is pinned by WORLDspawn/prefab-scale(gunpowder 0.012, a 0.15 m heap; linen 0.3, a 0.2 m cloth; the bag; the drill); the scaled vanilla gravel piles, bush and poplar are layer-placed only. The street lamp that stood 1 m behind the box on the verge (196, 255.4) is moved along its row to 204.5, 255.4. The haul is cash in a carried bag, never a bank balance. Testcrime/cash-van. - ✅ (2026-11-14, #1045) Map independence for the cash van, the vault bag and the test dispatch call.
LF_PlaceComponent(Core/LF_PlaceComponent.c, kind, id, optional order) puts any entity inLF_Places. The cash van route finds its van (kindCashVan, id = route id) and its stops (kindCashVanStop,LF_Places.OrderedId(route, order), from 0 to the first gap) by component instead ofm_sVanEntity/m_sStops; the route box takesm_sRouteId(the town route isRoadmap_Cash). The vault's money bag is theBankBagplace under the vault id (LF_Bank.FillVaultBag;LF_Bank.Configurelost itsbagEntityargument,LF_BankVaultComponentitsm_sBagEntity); the old<bag>_Cashname fallback is gone.LF_DebugDispatchAction.m_sPlaceIdnames aDispatchSourceplace (LF_DebugDispatch.PlacePosition).LF_VehiclesWorldResetkeeps the van out of the reset by entity id. Tests WORLDplaces/cash-van,places/bank-bag,places/dispatch. No save change. - The van is parked on a schedule, not driven: base-game AI driving is not reliable enough to carry a robbery.
LF_CashVanRouteComponentmoves the van to the next stop marker (Roadmap_Cash_Stop_Bank,_Store,_Fuelon the main street,Street_CashVan.layer) everym_fDwellSeconds(300) unless a player is withinm_fClearMetres(40), then stocks the box afresh (bags the last robbery left lying are removed, the lock closes). The move is a transform set of the van and the box, so the van never drives off a player. A van a player drives away leaves the box behind. - ✅ (2026-11-21, 0.2.0 release walk) The move calls
Update()after the transform (LF_CashVanRoute.MoveVan). Without it the van's bounds stayed at the old stop: on the island a vehicle query along its jump found it, so the car lot read every pad as taken and the second player's purchase was refused (spawn refused: no free pad for roadmap-lot). Test WORLDcrime/cash-van-move-bounds. - Every opening publishes
LF_OnHeistLoot(kind, cash, target id) on the bus. Not saved: the bags and the route position reset on a restart. - A route whose van is not placed (or has fewer than two stops) logs one
LF_Debug.Error(cash van route: van <id> is not placed) and stops driving: later dwells log nothing (#3118; 0grind logged it x117 in one session). Testcrime/cash-van-no-van. The timer is not yet removed from the call queue: the dwell fires and returns silently (split from #3118). - ✅ The cash van on the island (#3398, 2026-11-19).
Place_saint-philippe_cashvan.layer(pack) lays routesaint-philippe.cashvan: stop 0 is a depot bay on the bank's west side (van facing north, its box on the wall side), stop 1 a kerb at the fuel station (b107), stop 2 a kerb at the general store (b12). The van andLF_CashVanBoxstart at stop 0, and the route logs[LFDebug:Bank] cash van moved to stop N of saint-philippe.cashvan and restockedeach dwell (300 s, held while a player is within 40 m). Heights were read from the placement audit (audit placement --strict --world MainWorld: clean). Claimtools/town/claims/saint-philippe-cashvan.json. ⚠️ Nobody has watched a full route on the island yet. - ✅ Lockpicking a door (#411, LOGIC
lockpick/door, WORLDe2e/lockpick-door):Prefabs/Items/Fence/LF_Lockpick.et, a stack whose count is its uses (fence, no record needed, $250, serial-stamped). A lockedLF_LockComponentdoor that carriesLF_LockpickTargetComponent(m_bPickable; off for a vault or the jail door, which refuse with a logged reason) offersLF_LockpickAction.LF_Lockpick.Beginre-checks on the server, then runs a timed attempt (20 s at skill 0 down to 6 s at skill 10; skill is the character level minus 1, so no new save data), dropped if the picker walks off, goes down, no longer carries the pick (WORLDlockpick/keeps-pick) or the door is opened meanwhile. A success unlocks the door and wears one use; a failure may snap the pick (one use) or just slip; a plain failure wears nothing. A success always files anLF_WantedReports.Report(#LF-Offence_Lockpick: event bus, crime record, evidence scene, witnesses); a failure only when its noise roll is heard. It never raises wanted or radios the police on its own. Placed atRoadmap_Lockpick_Door(lock-up,Street_Lockpick.layer). Harness:lockpickverb gives five uses. Manual: the held-action animation and a witness reaction. - ✅ Fence in the village (#276).
FenceNpc(Vince,Crimes.layer) moved from the test annex to the barn lot at 186 0 311, north-west of the bank;session.mjs village-proofdrives the fence, vault, cash van, serial and evidence-locker chain with two clients (the debug police kit now carries aBackpack_ALICE_Mediumso the officer can hold the bagged drill; the harnesspackverb is gone). No save change. - ✅ Bank robbery kit stand (#605, playtest only). A chest stand (
Roadmap_Bank_RobKit,Props/Debug/LF_BankRobKitStand.et) beside the bank at 198.6, 259.5 offers Take bank robbery kit (LF_BankRobKitAction).LF_BankRobKit.Granttops the character up to one drill, one keycard and one fence charge, built from the prefab constantsLF_Bank.PickToolandLF_Breach.HasChargeread; a second press adds nothing, and an item with no room is left at the feet with a logged warning. Gated like the money top-up: the server refuses with a logged warning unlessLF_SpawnLogic.m_bDebugMoneyTopUpis on (the playtest game mode, not the flagship). No save change. Testbank/rob-kit. Logs[LFDebug:BankKit].
Police armory heist (#275) — Prefabs/Police/LF_ArmoryStore.et, LF_Bank.c
-
✅
Roadmap_Police_ArmoryStore(Street_Police.layer, beside the duty armory) is a heist target: a locked cabinet that needs the fence keycard (kept, not consumed) or a charge, config on itsLF_HeistVaultComponent(m_aLootweapons,m_iStockhauls,m_fRefillSeconds,m_fCooldownSeconds). Breaching it files#LF-Offence_ArmoryHeistthrough the normal crime report with the loud alarm even with officers on duty (LF_Dispatch.ReportforceLoud), so every on-duty officer is radioed. Without the keycard the action is refused and nothing is filed. Testcrime/armory. -
Loot lies in front of the store as
LF_ArmoryM9/LF_ArmoryM16(vanilla weapons plusLF_SerialComponent). Each is stamped with a fence-book serial booked to the thief, so a weapon found at a scene and logged at the evidence locker identifies them like a fence tool.LF_OnHeistLootcarries the serials. It pays again only after a police repair, the loot cooldown and stock; an empty store refuses (#LF-Heist_Empty) until the refill adds a kit back. -
Not saved: the stock and cooldown reset on a restart.
-
✅ Pick a vehicle lock and hotwire (#412, LOGIC
lockpick/vehicle, WORLDe2e/lockpick-vehicle): a car that carriesLF_LockpickTargetComponentandLF_LockpickActioncan be picked like a door (the same timed, noisy, pick-wearing attempt; the vehicle lock opens and its saved lock flag follows).LF_VehicleLockComponent.m_bIgnitionLocked(off by default, so every other vehicle starts as before) makes the engine need the vehicle key:SCR_CarControllerComponent.OnBeforeEngineStart(modded inLF_Hotwire.c) refuses a start unless the driver holds the key or is the player who hotwired it.LF_HotwireActionat the wheel runs a server-timed attempt (15 s at skill 0 down to 6 s; success 50 percent at skill 0 up to 90 percent; a failure may be heard). A success lets that player start the engine, marks the vehicle stolen on the server (LF_VehicleLockComponent.IsStolen, replicated, session only) and raises the thief wanted by 1 (#495) and files a#LF-Offence_VehicleTheftreport if heard; re-locking the car clears the hotwire. A start with the key never marks it stolen. Placed atRoadmap_Lockpick_Car(Street_Lockpick.layer, a beige S105). Harness:engine [entity]seats the character and starts the engine. Not done: the stolen flag is not read by anything yet (#414 reports it), it is lost on restart, and other prefabs opt in by adding the target component, the two actions andm_bIgnitionLocked. -
✅ Stolen vehicles: report, board, plate check, recovery (#414, LOGIC
stolen/report): a car taken without its key carries the replicated stolen flag (#412); the owner (the key holder whose uid owns the vehicle record) uses Report the car stolen on it and the server files anLF_StolenReport(vehicle id, plate, name, place) and publishesLF_OnVehicleReportedStolen. The report shows on the police wanted board asSTOLEN CAR: <model>, plate <plate>, reported at <place>, above the dispatch log, for on-duty officers only. An on-duty officer uses Check the plate on any vehicle:LF_StolenVehicles.CheckPlate(plate, report)answers STOLEN (arrest case, a toast), CLEAR (registered, no report) or UNKNOWN; it reads reports only, never the flag, so an unreported theft is not known to police. That seam is the plate-check API stops and searches (#419) reuse. Recover stolen vehicle (officer, car empty) sends the car to its owner's garage throughLF_VehicleOwnership.Store, closes the report and publishesLF_OnVehicleRecovered. Placed on the beige S105 prefab (EL_S105_beige.et: ignition lock, pick target, pick, hotwire, report, check, recover), so a bought S105 can be stolen from its owner; the lot display car overrides the ignition lock off. Not saved, by design: the car entity does not survive a restart either (an owned car left on the street is impounded at load), so no payload or version bump. Not done: reporting by payphone, other prefabs, an arrest on the plate itself. -
✅ Chop shop yard (#415, LOGIC
chopshop/payout, WORLDe2e/chopshop-yard): a bench (Prefabs/Crime/LF_ChopBench.et, an engine crane) placed in a walled back lot at (322, 300) of the playtest town (Street_ChopShop.layer,Roadmap_ChopShop). Hands-on, the chain-station pattern (#417) withLF_StationProgress: Take this car apart starts the nearest car within 10 m of the bench (engine off, doors locked), Strip it down is a held action that adds one unit of work for whoever holds it (6 units; the prompt says how far along it is in words), Take the cash and parts pays out. Only a stolen car is taken (the #412 flag); a worker who holds the key of an owned car is refused; a car with someone inside is refused; the yard takes no new car for 300 s after a payout. A refused car says why (#LF-Chop_NotStolen: only stolen cars, lockpick or hotwire a car that is not yours;#LF-Chop_KeyedOwnerfor your own) and is left untouched (nothing is locked, stopped or stripped before the checks pass); the load action reads Take this stolen car apart and a refusal logs the flags (#601). "Hot" is the #412 flag, set only by a keyless start of a locked-ignition car; a found or road car without an ignition lock is not hot (testchopshop/steal-and-chop). The server paysLF_ChopShopRules.PayoutFor(Payoutof the vehicle's value; the prefab is read withLF_Utils.GetPrefabName, so the layer-placed lock-up carRoadmap_Lockpick_Caris priced as an S105, $300, not the $240 unlisted default; testchopshop/placed-car-payout): the vehicle value (Configs/Crime/LF_ChopShop.conf, per spawned prefab, capped at 3000) times 30 percent, in carried cash through the ledger (reasonchopshop), plus 2LF_CarPartsitems (a trader buys them:ShopPrices.conf). Collecting deletes the car with a particle effect, scraps its ownership record (LF_VehicleOwnership.Scrap: no impound lot or garage gives it back, its plate is freed), closes any stolen report (#414), files a#LF-Offence_ChopShopcrime report (an evidence scene at the yard, witnesses, the wanted board) and publishesLF_OnVehicleChopped. Session state: a batch in progress and the cooldown are not saved. Not done: reporting a car that was chopped to its owner, a wreck mesh, the owner organization of the yard. -
✅ Officer searches for chain goods (#419, LOGIC
chains/search, WORLDchains/search-world).LF_ConfiscateActionnow works on any player (weapons and scanner still need a wanted suspect); a newLF_VehicleSearchActionsits on the lockable vehicle prefabs. Goods are the last-step outputs of a chain withm_bContraband(moonshine: the crate,m_iBulk 2); the server rolls, the find chance rises with load, a find seizes the goods and files#LF-Offence_ChainGoodson the bus. Vehicle finds charge the occupants; the plate owner (#414) hooks in atLF_ChainSearch.SuspectsOf. No save change. Cooldown (#472, LOGICchains/search-cooldown): the server keeps the last search time per player uid or vehicleRplId(LF_ChainSearch.TryBeginSearch, pureMaySearch); a repeat insideLF_PoliceConfig.m_iSearchCooldownSeconds(120 s, 0 disables) rolls nothing and reads clean, so repeating cannot beat the find chance. Weapon and scanner confiscation of a wanted suspect is not gated. Not saved: memory only. -
✅ Car lot polish (area 4): the four display cars (S105, UAZ, van, UAZ 452) stand in an even row of 4.5 m nose to the street at z 261, each with a chalkboard price board (
lot_price_*sign ids, text from the lot price list) in front; the vehicle-lot sign moved clear of the cars. No script change. -
✅ General store and market polish (area 3, 2026-11-10). The market tables no longer overlap (
TableRecreation_01_3moved 1.5 m west), two tables stand under the east umbrella stands, and the site alarm prefab (LF_SiteAlarm, and so the loud one) carries a 3x vanillaHazardBeacon_01at 1.1 m so the alarm is readable in daylight where the point light was not. Navmesh "unreachable" flags on the market signs and NPCs are AI-navigation only; a player walks to all of them. -
✅ Market square rebuild (#924, 2026-11-14). The lane of umbrella stands and picnic tables south of the main street is now a cobbled market square (
Village_Market, 26 x 12 m at 205, 236.5) with threeMarketStand_01stalls along its back edge between rowan trees (Market_Tree_1..6), each with one vendor facing the street: the veg stall (FarmerNpc, the cabbage crate, the universalTraderChainCounterand the chalk TRADERS board), the fruit stall (AppleNpc,AppleTradeContainerandPlumTradeContainerwith apples and plums laid out) and the juice stall (TraderChainNpc, the juicerAppleProcessormoved from the orchard (a generated tall white enamel stall machine,AppleJuicer.xob, 0.56 m, concept 7), and the juice crateAppleTradeContainer3). Benches, a bin and fruit boxes stand at the ends.PlumNpcand the stall tables are gone; the interactables keep their names and actions. The juicer is still the vanilla coffee-grinder stand-in until the concept-7 model is built (tools/assets/apple-juicer). Placed withtools\cli place; the tool now stands a tree on its pivot (roots below), andvalidate-road-idscatches a road spline whose RoadEntity ID does not match its generator (it renders as a checkerboard). -
✅ Market square dressing and five stalls (#999, #1041, 2026-11-14). Two more table stalls (
Market_Stall_North_1/2) fill the north half, with green crates and wooden boxes; two chalk price boards (sign idtraders), a sack pile, a handcart and a vanilla S1203 delivery van stand on the east verge. Each of the five stalls then got a covered roof: a vanillaFlag_1_2red cloth laid flat at scale 2 as a 2 x 4 m tarp, sloping about 8 degrees, on fourPoleFence_01_Poleposts clear of the walk-up. All 10 parasols are gone. Inline vanilla meshes inVillage_Dressing.layer, no new resource. The tarp's floating and odd-scale audit rows are allowed with reasons. -
✅ Bank vault exterior matches the bank (#999, 2026-11-14). The generated dark concrete gave way to the vanilla
ConcretePanel_01_cleanon the vault front and room, so the strong room reads as the bank's light plaster; a corrugatedSmallRoof_01hood and a cagedLightIndustrial_01lamp stand over the door, and each ceiling light got a visible caged fixture.m_fSwingYawis 70 instead of 100 so the open door clears the bank's drainpipe. -
✅ Working animation for the drill and the lockpick (#513, WORLD
work/anim): a player drilling the bank vault (#273) or picking a lock (#411, #412) bends to the work on every client.LF_WorkAnim(server,Feature/Crime/LF_WorkAnim.c) keeps one session per worker: the lockpick attempt starts it with its own timer (LF_Lockpick.BeginAs) and ends it on finish, drop or cancel; the drill starts a self-ending 6 s one (LF_WorkAnim.DRILL_SECONDS) whenLF_Bank.Robopens the vault with it. The server also stops it when the worker goes down, leaves 5 m or overruns. The worker's owner starts a custom loiter (#512 route) onAnims/Workspaces/Work/LF_WorkPick.agr(base-gamep_erc_supplies_repair_low_*,Gestures561) orLF_WorkDrill.agr(p_erc_supplies_demolitionUS_low_*, 562); the base game replicates it to every client and late joiners. Stops use the fast exit. Every rendering client logswork animation playing. Demo:node agent-box/session.mjs work-anim-proof. Logs[LFDebug:WorkAnim] .... The locked-car pick and the cash van box drill use the same two paths (LF_Lockpick.BeginAsfor any pick target,LF_Bank.Robfor theLF_HeistRobActionbox), pinned by WORLDwork/anim-targets; the proof drives all four and the watching client logswork animation playingfour times. The worker's own check can fire after a 6 s drill already ended on a lagging machine; it then logswork animation finished before the check, not an error. -
✅ Action-context anchors (dev tool).
tools/actions/place-action-contexts.mjs --anchor center|front|top|custom <entity|prefab>places aUserActionContextpoint and radius from the.xobmesh bounds instead of by eye;--batchreplaystools/actions/anchors.json;--check(run byvalidate-action-reach) flags points over 0.5 m off the mesh or a radius that misses a player 0.5 m away, and fails over 3 m. First users: the fuel station till, the police duty desk clock. Seedocs/action-anchors.md. -
✅ (car polish) Vehicle lock action: "Get in" lists first, then a state-aware Lock/Unlock row (
Sort Priority5 on the lock action,LF_VehicleLockComponent.ACTION_SORT_PRIORITY), then "Store in garage" (LF_VehicleStoreHereAction, owner on foot, car and player within one garage radius, same server path as the counter). Occupants with the key can lock from the interior door context. U (LF_VehicleLockToggle, gamepad right-stick click hold) toggles the seated or nearest keyed vehicle; the server checks key and 6 m reach and plays a placeholder click (SOUND_PICK_UP). The garage counter meshRoadmap_Garagenow stands at the doors with a 3.5 m context so Store/Retrieve/ledger show from the doorway. The S105 lot price board data (lot_price_s105, 214.8 0 259.2) matches the other three; not reproduced statically. -
✅ Keys are created at their holder (#620, WORLD
vehicles/key-inventory):LF_VehicleOwnership.KeySpawnOriginputs a purchased, collected or retrieved key at the holder's feet before the inventory insert, never at the lot or impound pad. A key made at a far pad was unresolved on the holder's client, and the key and ID card moves hung on the loading throbber. A key that does not fit logs a warning. -
Debug money top-up (LF_DebugMoneyTopUp,
LF_SpawnLogic.m_bDebugMoneyTopUp, on only in GameMode_Roleplay_Debug): on spawn and every 60 s, bank under 100k fills to 1M and carried cash under 5k fills to 20k, ledger reasondebug-topup; opening bank is 1M. -
Debug "Send me to jail" (LF_DebugJailMe,
LF_SpawnLogic.m_bDebugJailMe, on only in GameMode_Roleplay_Debug): a red-rimmed board (Sign_DebugJailMe, about 235.5, 228.5) outside the jail whose action jails you for 60 s through the real sentence path (LF_Jail.Imprison, server side; the same call Arrest now uses). Refused with a log line when the flag is off, no cell is placed or you already serve. -
Spawn hub (#607, LOGIC/WORLD
spawnhub/travel,Feature/Debug/LF_SpawnHub.c): the globe on the spawn-square table opens an LF_UIScreen list of every area inConfigs/Debug/LF_SpawnHub.conf(oneLF_SpawnHubPointrow per area, nameLF-SpawnHub_Pt_<id>); a pick sendsRpcAsk_LF_SpawnHubTravel(id)on the owned character and the server moves the body withLF_Jail.MoveBody(dismounts a seated player). Gate:LF_SpawnLogic.m_bPlaytestHub(on only in GameMode_Roleplay_Debug); a disabled mode, unknown id or missing body is refused with anLF_Debug.Warn. Since #693b the server also requires the body within 6 m of a travel globe (LF_SpawnHub.MayTravelFrom, found withLF_ActionSite; administrators andLF_HARNESSbuilds are exempt), refuses withTOO_FARplus a toast (LF-SpawnHub_TooFar), and rate-limits travel to 2 per 10 s. The time and weather actions of the old annex globe now live on the same globe (Street_SpawnHub.layer). Proof:spawn-hub-proof. -
✅ NPC damage and witness dialogue (#610, #615; WORLD
npc/damage, LOGICinvestigation/witness-dialogue): town NPCs are scripted entities with no character damage manager, so bullets did nothing. Only a prefab that carries anLF_NpcHitZonetakes damage: ambient civilians (Npc_Civilian_01.et,Roadmap_Civilian_1/_2inStreet_Fuel.layer) die to lethal damage (LF_NpcDamage, removed after 1.5 s), and the kill is murder throughLF_Murderfor a player killer. Protected on purpose, no hit zone: shop clerks and everyNpc_Default_01.etchild (quest givers, the fence, the police sergeant), because players need them. Root cause of the empty answers:LF_Witness.CollectNpcskipped every NPC as not alive (IsAliveis false for a non-character), so no town NPC had ever been recorded as a witness; fixed. Asking a witness (LF_WitnessAskAction,LF_WitnessRole) now names the NPC (LF_WitnessDialogue.NameOf, stable from its position) and one that saw nothing answers with one of four noncommittal lines (#LF-Witness_Unsure1..4: no confirm, no deny) instead of "You didn't see anything". Any NPC can be asked, clerks included. Harness:shootnpc <EntityName>(dev gate). Demo:node agent-box/session.mjs npc-witness-proof. Manual: a real bullet on a civilian. -
✅ Fenced crime site regroup (#608, #609, 2026-11-10). The safe, weapon rack, tyre pile (steal a vehicle), evidence table with the wanted suspect, and the practice police desk now stand in one row at z 50 in the test annex (x 30, 34, 38, 42, 48), with four chalk info boards at the first, second, third and fifth (
crime_safe,crime_rack,crime_car,crime_policeinLF_Signs.conf: what it is, how, what you need, what next). The evidence table no longer clips the safe, the police desk table is spaced off its panel, and the PR-feature table moved out from under the lock-test police car. The robbery and apple-gather actions in the layers were hard-coded Spanish (Robar Dinero); they are now#LF-Crime_Rob*and#LF-Job_GatherApples_*keys.validate-en-text.mjsfails a Spanish-lookingTarget_en_usor literal layer/prefabName/Description. No save change. -
✅ Quarry regroup (#618, area 11 follow-up). The cement, gravel and sand chains and the logging chain (stand, sawmill, log pile, three cuttable pines) moved into the quarry pit; the cement plant no longer overlaps the east cliff and the cement NPC no longer stands in rock. Overlapping stones, spoil heaps, tyres, pallets and gravel dressing were cleared from the work spots. New
quarry_infosign (Sign_Quarry_Info,LF-Sign_QuarryInfo_*) at the gate. Layer-only change (CementChain,GravelChain,SandChain,LoggingChain,MiningChain,Signs); mining (#596) and smelter (#598) code untouched. -
✅ Police search a back room (#600, LOGIC
shop/backroom-police). A shop withLF_ShopComponent.m_bBackRoom(the DebugWorld black market,Shop_BlackMarket_Debug) shows an on-duty officerLF_BackRoomSearchAction("Search back room") beside the normal price sheet; civilians and off-duty officers never see it. The server (LF_ShopComponent.Raid, rules inLF_BackRoomRules) re-checks duty, reach (4 m) and the shutter, logs each stock line in the evidence locker as abackroomrow throughLF_EvidenceLocker.LogSeizure(no crime report; kept on load without one, no save format change), and shuts the room for 10 min of world time. A shut room refuses every buy and sell with#LF-Shop_RefuseClosed. The shutter is server-only state and the price sheet is stateless, so cop, owner and a late joiner all get the same refusal; it is not saved, so a restart reopens the room.LF_Debuglines:[LFDebug:Shop] back room ... searched by,[LFDebug:EvidenceLocker] back room seizure. Proof verbbackroom-police-proof. -
✅ Playtest town: duty rows, dispatch area, test till (refs #146, #147, #202). (a) The hospital duty desk
LF_MedicDutyDesk.etrestates itsLF_DutyClockcontext and every action on the clock itself (the derived prefab used to replace the base list, so Clock in lost its context and floated off the device);Sort Priorityputs the state-aware Clock in / Clock out row first, then the bill, then the fine ticket; the police desk got the same order. (b) New dispatch area (Street_Dispatch.layer, about 249 to 257, 229 to 233):Roadmap_Dispatch_PoliceBoardandRoadmap_Dispatch_MedicBoard(read and take a call) andRoadmap_Dispatch_Console(LF_DispatchConsole.et). The console carriesLF_DebugDispatchActionrows Test police call (from the fuel till) and Test medic call (from the fuel payphone), which go throughLF_ServiceCalls.Placewith no coin; they work only whereLF_SpawnLogic.m_bDebugTestDispatchis on (GameMode_Roleplay_Debug; the server refuses otherwise) and need a receiver on duty (LF_DebugDispatch.Fire). Testscomms/debug-dispatch,debugworld/dispatch-area. (c) The fuel till's Rob the till action sits 0.3 m above the till (was 0.8 m, floating), andRoadmap_Fuel_TillandRoadmap_Fuel_Clerknow stand at the fuel station building's own interiorCashierShop_01(about 284.3, 240.2; the stand-alone counter at 263.2, 240.4 is removed);Street_TillTest.layeraddsRoadmap_Test_Tillon a counter at (244.5, 230.5) with a 5 s cooldown and no police minimum for a solo tester. Placed boards and the console are core-side debug-town props (core-pack-inventory: core). -
✅ Car lot price boards read the lot's price list (#540). The
lot_price_*chalkboards carryLF_SignComponent.m_sPriceLotShopIdandm_PriceVehicle; the title inLF_Signs.confis one template key (#LF-Sign_LotPrice_Title, "%1 %2") filled at read time with the offer's name key andLF_MoneyFormat.FormatMoney(price)from theLF_VehicleLotComponentoffer (LF_VehicleLotComponent.FindLot, a per-machine registry). A changedm_iPricechanges the board and its Read card; a missing lot or offer logsLF_Debug.Errorand hides the sign. Testsigns/price-board. -
✅ The price board reads through the board provider (#1946, chapter #1014).
LF_PricedSignProvider(kindpriced, inLF_SignComponent.c) is the secondLF_BoardProviderafter the wanted board:AnswerFor(lotShopId, vehicle)builds the answer per read (the offer's name key, then its price),Titlefills the sign's title format from it, andLF_SignComponent.PricedSigntakes the price only from that answer, so the record board and stall boards can follow. Nothing changes for the player: the face and Read card show the same title, painted on each client from the lot's own config. No RPC: the kind names no read action, soLF_BoardProviders.ServerReadrefuses a client that asks for it. Testsigns/priced-provider. -
✅ Paper items stay storable in any test order (#699). The receipt, fine ticket and hospital bill prefabs carry an
SCR_GadgetComponent, hand-pose attributes copied fromSentenceSlip.et, andSizeSetupStrategy Volume. Without the gadget component the engine let only the first of those prefabs spawned in a process be inserted into an inventory; later ones were refused (TryInsertItemfalse, tickets "lie at their feet") even on fresh characters, so test results depended on registration order. Testinventory/paper-items. -
✅ Every small mod item is storable on any spawn (#708). The same engine quirk hit the pager, seed packet, keycard, lockpick, evidence bag and marker, vehicle and house keys, ID card and sentence slip: without
SizeSetupStrategy Volumea later spawn read a mesh volume (440, 1073) instead of itsItemVolume, and the pager, seed packet and scanner also needed anSCR_GadgetComponentto fit (evidence, keycard and lockpick got one too, so room no longer depends on order). All carry them now;inventory/paper-itemsspawns each twice and checks volume and room, andvalidate-item-volumeflags a new item prefab without them unless it is allow-listed with a reason. The farm loop test no longer needs a backpack or a registration-order workaround. -
✅ Printed paper items (#950, 2026-11-14): the fine ticket, receipt, hospital bill, sentence slip and R-89 ID card carry their own sheet meshes and printed textures with normal and roughness maps: a penalty notice, a narrow till receipt, a letterhead invoice, a court form and the photo ID with a photo box, stamp and seal. No real agency names or logos. Prefab GUIDs unchanged; the states stage sets the inventory camera, the flat rest pose and the hand pose.
-
✅ 128-player cost budget and benchmark gate (#335).
LF_Perf(Core/LF_Perf.c) holds server counters, timers and gauges behind-lfPerf(orLF_Perf.SetEnabled), printed as[LFDebug:Perf] count/time/gaugeevery minute and read by tests; sites today: account refresh and publish, account-state bumps, ledger record, bleed-out advance, save point.Configs/Perf/LF_PerfBudget.conf(LF_PerfBudget) holds the limits. PERF-tier testperf/budget-128(--tier perf, not infastorall; sharper settings and an idle-CPU wait,docs/architecture/performance.md) builds 128 synthetic characters (accounts, banks, crime, a money log at its 20000-row cap) through the managers, bus and serializer and fails when a cost passes a limit;tools\cli perfprints the table and writestmp/perf/report.md. Validate:validate-perf-budget.mjs,perf-report-selftest.mjs. Numbers and what a synthetic run cannot show:docs/architecture/performance.md. ⚠️ No network or live-player measure yet; that needs a multi-client run (steps in the doc). -
✅ Perf budget is a multiple of a reference loop (2026-11-14).
LF_PerfBudgetlimits for time are counts of reference ops (m_iMax*Ref), not microseconds.LF_Test_PerfBudgettimes a small script loop (allocate a row, build a key, append, map set; best of 3) right before each measure and compares the measure againstlimit x one ref op, so a 2x slower box (lf-cloud) or a busy one stretches both sides. Each measure is the cheapest of several chunks or repeats, and the LF_Debug console chatter is muted while measuring (a log line costs the box's console, not the code). No scale cap, no floor: a 3x regression fails on any pool machine. Byte limits stay fixed. Test-only; the BENCH lines carryrefOps,maxRefOpsandrefNs. -
✅ Police application (#128). Duty desk action
LF_PoliceApplyActionopens a paper form (LF_PoliceApplicationForm: name, why, availability) thatRpcAsk_LF_PoliceApplicationsends to the server.LF_PoliceApplicationsvalidates throughLF_PoliceApplicationRules(one open application per player, not for an officer, field length), appendsSTATUS|uid|name|why|availability|unixto$profile:LifeFramework/police_applications.txt(not part of the save, no persistence bump), logs[LFDebug:Police]and toasts a receipt. Approval writes the police roster throughLF_WhitelistManager.AddFactionWhitelist: an administrator picksLF_PoliceReviewAction(oldest open first; server re-checks the role), or a mission withm_bLF_InstantPoliceApproval(the playtest town) approves on submit. Testpolice/application;session.mjs police-application-proof. Not done from the issue: reject with cooldown, a letter at the desk, chief-rank approval. -
✅ Fuel till reachable (#729). The till moved from inside the closed kiosk to
Roadmap_Fuel_Counter(aCounterShop_01at the south service window, 283.6 237.2); the clerk stays behind the window mesh. The rob action faces -Z (anchors.json), so a robber standing south of the counter gets "Rob the till" with the till and clerk in view.harness.mjs stand Roadmap_Fuel_Till s;crime/rob-rewardunchanged. -
✅ Fuel kiosk counter sits on the floor (#936, 2026-11-14).
Roadmap_Fuel_Counterstood at y 0 while the kiosk floor is 0.345, so it sank 0.35 m and its back went 0.45 m through the window wall; the clerk was 0.1 m into the floor. Counter, till and clerk now stand on the floor, the till 2.5 cm inside the window wall and the clerk behind the counter facing the window; the hold radius is still measured from the till. The placement audit'smountedpattern matchedMapinside everyRoadmap_name, so backed props were skipped for floating and sunk; it is anchored now, with a selftest. The kiosk's baked own counter and register still stand 3 m behind ours. -
✅ Props on counters (validate-prop-on-surface). The general store register, the police and hospital duty-desk punch clock, the dispatch console radio and a market crate are placed wholly on their surface;
tools/validation/validate-prop-on-surface.mjsfails a prop whose footprint hangs over 0.1 m past an edge (docs/agent-area-polish.md). -
✅ Police rank ladder is config (#754a, M3).
m_aRanksinConfigs/Police/LF_Police.confis the ladder: per rankm_sId,m_sTitleKey,m_iFineCap,m_fPayPerSecond(negative defers tom_fPoliceDutyPayPerSecond),m_iDutySecondsForNextandm_aKit. A rank is its index and a saved index never changes meaning, soPATROL0 andSENIOR1 stay first and a pack appends.LF_PoliceRanks.FineCap/TitleKey/DutySecondsForNext/CollectKitandLF_DutyPay.RateForAccountread the row; an unknown index clamps to the nearest rung, and a saved rank above the ladder loads as the top rank. A missing config falls back to the built-in two ranks. Testpolice/rank-table. Qualifications are #754b. -
✅ (2026-11-12, #323 batch 0a) Annex twins for the crime and police fixtures.
Annex.layernow holdsAnnex_*copies of the bank vault, bag, bell box and rob kit, the cash van and its box, the breach and lockpick doors and car, the chop bench, the S105 and the police escort car, the police desk, armory, wanted board and evidence locker, the hideout door, machine and stash, and the jail door and a bare jail cell marker, all placed withtools\cli placein the fixture yard at x 70..100, z 35..60 and each with its own breach, vault, hideout and shop id (Annex_Hideout,annex-chop).LF_TestAnnex(Tests) names them. 21 test files stopped quotingRoadmap_*names, so the village can move to the pack without them;validate-annex-fixturesbaseline 45 files / 73 pairs to 24 / 40. Tests only, no gameplay or save change. The convoy drop ids and the placed jail cell lookup inLF_Jail.SyncPlacedCellstill name the town (production lookups by name, a later batch). -
✅ Vehicle prices: one base price, per-action multipliers (#688, M3).
Configs/Vehicles/LF_VehiclePrices.conf(LF_VehiclePricesConfig,Feature/Vehicles/LF_VehiclePrices.c) lists each vehicle once (m_Prefabthe lot's vanilla car,m_SpawnPrefabits locked child, found by GUID) withm_iBasePrice; buy, sell-back, chop, impound and garage are percent multipliers (m_iBuyPercent100,m_iSellBackPercent50,m_iChopPercent30 withm_iChopValueCap3000,m_iImpoundPercent10,m_iGaragePercent0) and an optional per-vehiclem_i<Action>Override(-1 derives it; 0 is free) wins.LF_VehiclePricesConfig.PriceForreturns -1 for an unlisted vehicle. Shipped numbers equal today's: lot 1000/2500/4000/3500/8000, chop 30 percent capped at 3000, impound 250 (an override per car). Consumed (#283):LF_VehicleOffer.GetPrice(the car lot and its price boards) reads the BUY price (the offer's ownm_iPriceis the fallback for an unlisted car), the chop shop pays the CHOP price (an unlisted car keepsLF_ChopShopConfig), and the impound desk charges the IMPOUND price of the vehicle it releases (LF_VehicleOwnership.ImpoundFeeOf, elseLF_GarageConfig); testvehicles/price-modelstill pins the shipped numbers equal. Ownerconfig.jsonvehiclessection (LF_VehiclePricesConfig.ApplyOwner):buyPercent,sellBackPercent,chopPercent,chopValueCap,impoundPercent,garagePercent(percents 0..1000, cap 0..1000000) andvehicles, records keyed by prefab GUID (16 hex digits, the lot car or its locked child) withspawnPrefab,basePrice(0..1000000) and the<action>Overridefields (-1..1000000); a field left out keeps the shipped value, a number out of range is refused and logged, a new GUID needs abasePrice. Testconfig/vehicle-prices-owner. The config stream (#285) carries thevehiclessection too: a client's price boards show the server's effective vehicle prices (LF_VehiclePricesConfig.WriteStream/ApplyStream, testconfig/stream-vehicles). Sell-back has no desk yet. -
✅ Two-addon tooling (M3, #322). Every repo launcher passes the addon folders as one comma-separated
-addonsDir(tools/lib/addons.mjs addonsDirArgs; Workbench keeps only the last repeated flag, so the pack could not find the core), andvalidate-addonsdirrejects a repeat.tools\cli build [addon]andtools\cli pack [addon] [--out dir]takeLifeFramework(default) orLF_Everon1989by name or GUID;packnow honours--outand defaults totmp/workshop-pack/<addon>, so a second pack no longer replaces the first. The rdb refresh,validate-rdb-fresh,copyResourceDatabaseand the playtest release rdb check cover a list of addons: the core always, another addon once it declares a resource, so an empty pack changes nothing. Offline selftest invalidate-rdb-freshandvalidate-addonsdir; build and pack of both addons proven headless. -
✅ (2026-11-12, #323 batch 0b) Annex twins for the jobs, chains, vehicles and organization fixtures.
Annex.layergainsAnnex_Job_Depot/Drop/TaxiPad/FuelCan,Annex_Org_Desk,Annex_ATM,Annex_Furnace,Annex_Vehicle_LotwithAnnex_GarageandAnnex_Impound_Desk(pad idsannex-lot,annex-garage,annex-impound),Annex_Chains_Barrel_1..3(siteAnnex_Chains_Site) andAnnex_AppleTraderwith its tables and containers plusAnnex_AppleGatherTree, in the fixture yard at x 70..104, z 66..100. A mesh-less twin is placed by putting a crate withtools\cli place, copying its ground coords and removing the crate. 13 test files stopped quoting village names;validate-annex-fixturesbaseline 24 files / 40 pairs to 11 / 18. Tests only.LF_Test_Roadmap_Fuelkeeps its row:LF_RobAction.GetActionNameScriptonly answers for the entity namedRoadmap_Fuel_Till. -
✅ (2026-11-12, #323 batch 0c) Annex twins for the medic, dispatch, carry, sign and ATM fixtures, which retires the last
validate-annex-fixturesbaseline rows (batch 0 total: 45 test files / 73 pairs to none; the baseline is{}and the check only fails on a new village name).Annex.layergainsAnnex_Hospital_Bed_1/Ambulance/Duty_Desk,Annex_Dispatch_Console/PoliceBoard/MedicBoard,Annex_Test_Till,Annex_Fuel_Till, and the four zone noticesAnnex_Sign_SafeZone_Spawn/EastandAnnex_Sign_Lawless_Entry/Pit, placed withtools\cli placeat x 56..70, z 36..62. The safe-zone and quarry tests now check that a notice carries thesafe_zone/lawless_zonesign id instead of that a town sign exists.LF_RobActionshows the fuel till action name from the newm_bTillActionNameattribute (set onRoadmap_Fuel_Tilland its twin) in place of testing the entity name; behaviour in the town is unchanged. Tests, one attribute, no save change. -
✅ No-profit-loop check (#686, M3).
tools/economy/profit-loops.mjs, run bytools\cli validateasvalidate-profit-loops.mjs, reads every price offline (ShopPrices.confplus an ownerconfig.jsonshopssection,ResourceChains.conf,LF_VehiclePrices.conf,LF_ChopShop.conf, the lot offers in the DebugWorld layers) and fails on any loop: an item that buys for less than it sells for, a machine or chain step (and a whole chain, intermediates netted) whose bought inputs cost less than its outputs sell for, a car bought then sold back or chopped (cash plus the car parts) for more. It is offline, not a WORLD test, because every price is a text file; it mirrorsLF_ShopPriceResolverandLF_ChopShopRules.Payout, and arsenal-type rules cannot be resolved offline. Labour is not priced (a loop counts even though a player would smelt or chop). Out of scope: gathered nodes, stolen cars, duty pay (per second on duty) and quest rewards. Items the shop never lists (the contraband crate) have no price to loop on. Today's loops are intools/validation/profit-loop-baseline.jsonwith a reason and a margin ratchet (a baselined loop that grows fails):furnace-gold+30 andcement-plant+24.node tools/validation/validate-profit-loops.mjs --reportlists every loop;--owner config.jsonchecks an owner's file. Red-proofprofit-loop-selftest.mjs(planted shop, recipe, sell-back, chop loops). Stocked-shop rows (the cafe menu, general store) are checked too: a row priced below the market ceiling or a catalogue outlet's sell price fails (tools/economy/profit-stock.mjs, see money-economy.md). -
✅ Owner config check (#281, M3).
tools\cli config-check <config.json>(tools/config/check.mjs) validates a server owner's file offline and prints oneline:colline per problem in the wordsLF_ConfigServicelogs at boot: JSON syntax errors (own position-tracking reader, strict like the engine), unknown keys (warn), wrong types and values outside the schema range (errors),schemaVersiontoo new or below 1 (error) or older than the build (warn), record keys no shipped record has (warn) or the server cannot parse (error), and the profit loops the owner's prices create (warn, reusingtools/economy/profit-loops.mjswith the refused values left out; a baselined or shipped loop is not the owner's). Types, ranges and known keys come fromdocs/config/config.schema.json; only theshops.priceRuleskey grammar and the shipped-key sources are in the checker. Exit 1 on any error, 0 on warnings only (--strictfails on warnings). Owner guidedocs/config/owner-config.md; red-prooftools/validation/config-check-selftest.mjs. Migration report (#304): after the problem lines it prints which config migrations would run to bring the file to the build's schema, in order, with each step's description and the fields it renames, drops or defaults (steps fromdocs/config/config.migrations.json, kept equal toLF_ConfigMigrator.BuildShippedby the selftest),none neededfor a current file, andrefusedfor a future one; dry run, never writes. Known gap: the schema listsprefabas apriceRulesrecord field thatLF_ShopPricesConfig.ApplyOwnerwarns about as unknown. -
✅ (2026-11-12, #323 batch 0d) Core scripts stop naming village entities. The convoy start and drop are found through
LF_ConvoyMarkerComponent(m_bDrop, newm_bNearDrop), the playtest test-car lot is theLF_VehicleLotComponentwithm_bTestCarLot,LF_Jail.SyncPlacedCellre-applies the placedLF_JailCellComponent(itsm_sDoorTargetIdnow defaults empty and the village cell sets it), the cash van route names its stops and van on the placed box instead of in the prefab and script, and the agent harness finds the stash (LF_PersistentStorageComponent.GetPlaced) and the nearest garage by component. The hospital till and cabinet and the convoy markers moved onto annex twins (Annex_Hospital_Till/Cabinet,Annex_Convoy_*), and the safe and quarry zone tests read the placed zone back or use fixture zones instead of town coordinates.validate-annex-fixturesnow reads entities inside a$grpor children (Shopscounts as a core layer), and the newvalidate-core-village-namesfails when a core script quotes a village entity name (baseline{}). No save change; the village entities keep working through the new attributes. -
✅ (2026-11-12, #284 batch 1) 31 hard-coded tunables move onto config classes with today's values as defaults,
paramsranges and descriptions: police (ticket open and paid caps, arrest reach, jail arrival radius, application desk range), incident and zones (GM panel radius and window, zone notice interval), medic (bill caps, debt sweep), garage (desk reach, garage radius, pad radius), ATM (transaction cap, range), registration ages, and two new roots:LF_OrgConfig(founding fee, name length, offer time, fund cash cap, upgrade prices, desk range;Configs/Organizations/LF_Org.conf) andLF_ShopLimitsConfig(till reach, shop distance, order quantity cap, back room reach and shut time;Configs/Shop/LF_ShopLimits.conf).LF_Test_ConfigConstantsBatch1pins the values; the baseline drops from 193 to 163 rows. -
✅ Crime catalog (#685a, M3). One config table of offences,
Configs/Crime/LF_CrimeCatalog.conf(LF_CrimeCatalogConfig, owner sectioncrime, records keyed by the crime id such as#LF-Offence_Robbery):m_iWantedAdd,m_iFine(above 0 the offence is on the officer's ticket form),m_iSentenceSeconds(a floor on the jail time when the offence is on the prisoner's reports; 0 keeps the wanted-scaled sentence),m_iRepeatThresholdandm_iRepeatWantedAdd(from that many completed crimes of the kind on the account's crime record, a repeat adds wanted). Every call site (robbery, hotwire, carjacking, weapon theft, breach and heist, hospital till, murder, shoplifting, unpaid ticket, jail sentence, ticket form) readsLF_CrimeCatalog; the oldm_iMurderWanted,m_iTicketLateWanted,m_aTicketOffences, store and robberym_iWantedIncrease,THEFT_WANTEDandWANTED_INCREASEvalues are gone. The saved{uid, offence, count}crime record is unchanged (the offence string is the crime id; no save-format change). Today's offences add what they added before; carjacking is its own id#LF-Offence_Carjacking(3 wanted, same words on the poster) so it no longer shares the hotwire theft's 1. An id the catalog does not list adds 1 wanted and logs one warning. Server only, not in the config stream. Testscrime/catalog-backcompat,crime/catalog-owner. Licence seizure and a bail rule are not here (#685b, M5). (merged, in-dev) -
Grid teleport (#1813, WORLD
grid/teleport,Feature/Debug/LF_GridTeleport.c):/grid <slug>(and the harness verbteleport grid:<slug>) moves the caller to a grid cell's spawn. Every cell layer hasGrid_<slug>_Spawn, anLF_PlaceComponentof kindGridCell(id = slug) in the corridor at the cell's gap facing the yard, written bygrid placeand added to old cells bynode tools/grid/cell-spawn.mjs --backfill; the frame's is at the gate in front of the map board. The server finds it throughLF_Places(never a coordinate), checks the dev gate (LF_DevGate, or anLF_HARNESSbuild) and moves the body withLF_Jail.MoveBody; an unknown slug, a missing body, a refused caller or a world with no grid cells logsLF_Debug.Warnand moves nothing. Proof:grid-teleport(every claimed cell, one--mission gridsession). -
✅ Island police station: dispatch phone and case board (refs #3397). The
policekit now standsLF_DispatchPhone.eton the duty desk (it replaces the dressing phone, same spot, 0 cm gap on the contact sheet) and hangsLF_CaseBoard.eton the ground-floor+xwall, so phone dispatch and investigations work in Saint-Philippe. Refit withtown fit saint-philippe police --refit;--refitno longer treats a sibling worktree's byte-identical copy of the slot's committed claim as a rival. -
✅ Stolen-car reports carry the plate to the pager (#4212, WORLD
police/stolen-car-pager,Feature/Police/LF_StolenCarPager.c).LF_StolenCarPagerSubscriber(installed byLF_PagerSubscriber.Install) listens forLF_OnVehicleReportedStolen: it reads the open report from the hotlist (LF_StolenVehicles, the plate comes fromLF_LicensePlateManagerComponent) and writes a "time|V;plate;car|0|place" line to the pager of every on-duty officer (routeLF_ServiceCalls.Check("police")), with the usual beep. The pager card shows it as "Stolen car, plate X: car, reported at place" (LF-Pager_StolenLine). The report stays on the hotlist untilLF_StolenVehicles.Recoverremoves it;LF_OnVehicleRecoveredthen takes that plate's line off the on-duty pagers (LF_PagerComponent.RemoveBySummaryPrefix, no beep). A car scrapped at a chop shop clears its line the same way (#4355, WORLDpolice/stolen-car-chop-pager): the subscriber also listens forLF_OnVehicleChopped, closes the report by vehicle id (LF_StolenVehicles.Clear, a no-op when the chop shop already did) and removes that plate's line from the on-duty pagers (LF_StolenCarPager.OnChopped). Not done: "Run plate" on the car in front is the second card.