Docs · Engineering reference
Money & Economy
docs/features/money-economy.mdEdit on GitHub
LF_MoneyUtils — Feature/Money/LF_MoneyUtils.c
- ✅ Cash is the
MoneyStackinventory item.GetCash(‑1 on fault),AddCash/RemoveCash(actual amount, 0 on fault). - ✅
AddCash(..., dropOverflow = true)(#2503, opt-in): cash the inventory cannot take is left on the ground at the target's feet, counts as added, and the ledger records the full amount once ([LFDebug:Money] $N of $M ... dropped at their feet). Default off: other callers are unchanged.LF_PlacementCostrefunds use it, so a refund to a full inventory is no longer lost (LF_Test_MoneyAddCashDrop). - ⚠️ Inconsistent sentinels (
-1vs0); doc comments wrong on Remove/Take.
LF_Ledger — Feature/Money/LF_Ledger.c (#330, 2026-11-09)
- ✅ Append-only log of every cash and bank change: id, unix time, character uid, account
(
cash/bank), signed change, reason key, counterparty uid, balance after. Features never call it:LF_MoneyUtils.AddCash/RemoveCash(cash, player targets only) andLF_BankAccount.Deposit/Withdraw/Charge(bank) publishLF_OnMoneyMoved, and the ledger subscribes (LF_Ledger.EnsureSubscribed, game-mode start). The reason is an optional last argument at the call site (shop-buy,atm-deposit,give-cash,ticket-fine, ...); none given recordscash/bank. A hand-over is two lines that sum to zero and name each other. Persisted as theledgerpayload (save version 14), trimmed byConfigs/Money/LF_Ledger.conf(m_iMaxEntries,m_iMaxAgeDays).Last(uid, account, n)lists newest first (what the incident log reads);RebuildBalance/VerifyBankrebuild the bank from the log and compare. Cash lines are a trail, not a chain: picking up or dropping a note outsideLF_MoneyUtilsis not logged. Cash moved into a bag or an AI is not a player ledger line.validaterulevalidate-ledger-writesfails directSetBalance/PREFAB_CASHwrites. Testsmoney/ledger-records,money/ledger-persist,e2e/pass2-verify-load.
LF_BankAccount + LF_ATMManager — Feature/ATM/
-
✅ The canonical bank (verified 2026-08-30): every payout in the game pays cash;
LF_ATMManager+LF_BankAccount(per-player, keyed by UID, persisted) is the only bank, and the ATM is the only cash↔account boundary.Depositonly if>0,Withdrawonly if sufficient; balance never negative through these paths. Manager is a session map registry + async loader. -
✅
SetBalanceclamps corrupt negative persistence values, andCreateAccountis idempotent and rejects empty IDs (verified 2026-08-30). -
✅ No bank wipe on the first connect after a restart (2026-11-07, test
restart/bank-survives-connect, verified 2026-11-07): the game mode used tonew LF_ATMManager()on the first connect, and the constructor stole the singleton the save load had filled.LF_ATMManager,LF_JobManager, andLF_CharacterCreationManagernow share one pattern:static ref s_Instance, created only byGetInstance(), the constructor never registers itself, and the destructor only clears the singleton when it is that instance. The game mode keeps no manager fields;LF_GameModeRoleplay.ResolveConnectManagers()only resolves them. -
✅ (2026-11-19, #3352) The ATM is a placeable prefab:
Prefabs/Props/Money/LF_ATM.etis a 1989 French wall cash dispenser (Assets/Props/Money/ATM/ATMWall.xob, built bytools/assets/atm-wall/build.py: beige steel fascia on a steel mounting plate, green CRT screen under a hood, side keys, keypad, card, ticket and cash slots, a blue plate that reads only BANQUE; the game has no ATM mesh and no bank brand is on it; the back of the plate is the plane z -0.30, so a wall-seated ATM stays flush, and the action point is on the screen) withLF_ATMAction, anRplComponentand anLF_PlaceComponentof kindATM, idatmby default. A place id is unique, so a second machine overridesm_sIdin its layer entry (the grid cellslice-3352does). Testmoney/atm-prefab; the old inlineATM.layerentity in DebugWorld stays as it is. -
✅ (2026-11-22) The ATM is a free-standing 1989 cash kiosk:
ATMWall.xob(same GUID, so every placedLF_ATM.etchanged with it) is now a 1.9 m kiosk that stands against a wall on a black plinth, after the maintainer's reference picture: a grey-beige brushed-steel body, a lit header sign (REGIONAL BANK, 24 HOUR TELLER since 2026-11-22, when all its baked text went to US English; an emissiveATM_Glowmaterial, the kit's newemissivemap support), a camera, a recessed dark fascia with green trim, a green CRT menu in dollars between four side keys each side, a sloped shelf with raised keypad keys and a card reader, receipt and cash slots and a branch sticker. No place name is on it (core asset). The use point was on the keypad (radius 1.5); it is now three small contexts, see below. The bank-wall and fuel-kiosk machines moved along their walls (sidewaysin theatmsmapping) so the deeper kiosk clears the bank's planter and the kiosk door. -
✅ (2026-11-22) The ATM works by looking at its parts, with no window (
LF_ATMQuickAction,LF_ATMQuick,LF_ATMLive):LF_ATM.ethas three action contexts. The cash slot (cash, CASH) lists Withdraw $20 / $50 / $100 / $500 / all; the new envelope drawer under it (deposit, DEPOSIT, added tobuild.pyandkit.jsondeposit) lists Deposit all cash / $50 / $100 / $500; the screen and keypad (default, its prompt anchored under the glass, y 1.12, so it no longer covers the screen text) list Withdraw $20 / $50 / $100 and Deposit all (the same lines as the slots, listed in more than one context), then Check balance and Bank transfer (LF_ATMActionwithm_bTransferOnly, the one job that needs typing). The vanilla scroll picks a line. Each line shows its amount, and a line the player cannot afford is greyed with the reason, judged from the last figures the server sent. While the player stands at a machine,LF_ATMLivedraws their balance and cash in green over the CRT (HUD layoutLF_ATMScreen.layout, projected onto the glass, local to that player), refreshes it every 4 s and after each answer, and toasts "Withdrew $100. Bank $1,900". Money still moves only through the existingRpcAsk_Deposit/RpcAsk_Withdraw: the server checks range, amount and funds, and now refuses a dead, downed or cuffed character (LF_EATMRefusal.CANNOT_ACT). One request at a time per client. The DebugWorld and grid ATMs keep the full terminal. Testsatm/quick-lines,money/atm-prefab. -
✅ (2026-11-19, #3355) Three ATMs stand in Saint-Philippe: the
atmsoutposts slot (town drops saint-philippe atms, layerPlace_saint-philippe_atms.layer) puts anLF_ATM.eton the outer wall of the bank's street front (b79, under the bank's ATM sign), the fuel station kiosk (b97) and the harbour offices on the dock road (dock b08). Each overridesm_sIdasatm.<place>.<building>. The action description is the keyLF-ATM_Manage(it was Spanish text in the prefab). Seated flush to the wall, gap within 1 cm (look contact). Proof:tools\cli look place:saint-philippe/atms.
ATM terminal — Feature/ATM/LF_ATMTerminal.c (was LF_ATMMenu)
- ✅ (2026-11-08, M1-13) Terminal screen on
LF_UIScreenwith theLF_UISkin.Terminal()skin: green phosphor (vanillarobotomonoface) in a bezel, balance and carried cash from the server, anAMOUNT >entry line, a status line, a 3x4 keypad (CLR, 0, DEL), DEPOSIT, WITHDRAW, EXIT. Keys: mouse, pad focus that moves like a grid (MenuUp/Down keep the column, MenuLeft/Right walk a row), keyboard digits and numpad (LF_Keypad0..9), Backspace or pad X (LF_KeypadBack; Backspace deletes a digit and no longer closes the terminal,ui-kit/keypad-backspace, 2026-11-18), Delete or pad Y (LF_KeypadClear). The entry cannot passMAX_TRANSACTION_AMOUNT. Closes on EXIT, Escape or pad B, death, or 3.5 m from the machine.LF_ATMActionruns PerformAction only on the acting machine (HasLocalEffectOnlyScript) and opens only when the user is this machine's character (LF_CounterAccess.IsLocalActor). - ✅ (2026-11-08) Refusals say why, on the screen: the server replies
LF_EATMRefusal(amount, cash short, balance short, pockets full, not at an ATM, no account) with the new balance and carried cash; no toast (the old away-from-ATM toast plus the menu toast was the duplicate). No reply in 5 s printsNO REPLY FROM THE BANK. Sounds: key click, accept and refuse are UI events set on theLF_ATMActionattributes; an accepted deposit or withdrawal playsSOUND_PICK_UPon the character for everyone nearby. Tests:atm/keypad,atm/refusal-reasons,counter/refusal-text,counter/local-only,counter/screen-layout. - ✅ (2026-11-10, #590) 1989 bank teller replaces the placed ATM.
LF_BankTeller.etis a clerk NPC (Edith) whose chest context carriesLF_ATMActionlabelled "Talk to the teller", so deposit and withdraw use the same terminal, server seams, range check (LF_ActionSitefinds the teller as the counter), ledger reasons (atm-deposit,atm-withdraw), quest signal and ATM code. The playtest town puts her inside the bank (#931): in the lobby of the municipal-office building behind its vanilla post-office counter at (175.4, 0.2, 264.4), the customer side at the lobby floor; the two atmosphere counters keep only their sound emitters in the lobby and the TELLER plate hangs on the wall behind her. The ATM entityATM_Debugstays, hidden (no mesh, inside the bank), for tests and flows. Testatm/bank-teller; demosession.mjs bank-teller-proof. - ✅ Cash moves (verified 2026-08-30): the menu forwards through
LF_CharacterATMComponent.RequestDeposit/RequestWithdraw, and the server RPC handlersRpcAsk_Deposit/RpcAsk_Withdrawremove cash on deposit (partial removals rolled back) and pay cash out on withdraw (all-or-nothing with balance restore), guarded byLF_ATMManager.IsValidAmount. No money from thin air. - ✅ The money-moving bodies are the static seams
LF_CharacterATMComponent.ServeDeposit/ServeWithdraw(extracted 2026-11-07, no behavior change; the RPC handlers keep the range check and reply);atm/request-cash-boundary(WORLD) drives them with a real character (red-proof observed 2026-11-08). The withdraw rollback case pays into an entity with no inventory: a bareCharacter_Roleplaystill holds MoneyStack. - ✅ At the ATM only (2026-11-07): the server refuses a
deposit or withdraw unless an entity carrying
LF_ATMActionstands withinLF_CharacterATMComponent.ATM_RANGE(5 m) of the character (LF_ActionSite, server-side search; the client names no site). A refusal logsdeposit refused: not at an ATM/withdraw refused: ...and the terminal printsREFUSED: STAND AT THE MACHINE(2026-11-08; was a toast). On a listen host the requests and the replies call their handlers directly, like the shop bridge. Test:security/service-range.
LF_BankAccountComponent — Feature/Banking/ (deleted 2026-08-30)
- ❌ The second, unintegrated entity bank is gone (file deleted, no references remain). The $20k grant, the persistence race, and the duplicate money path died with it.
LF_ShopComponent — Feature/Shop/LF_ShopComponent.c
- ✅ Catalog-driven buy:
BuyItem(item, qty, buyer)guards null/qty, server- only, price × quantity,LF_MoneyUtils.RemoveAmount, refund on inventory-full. A sell or buy of a stack pays or gives one unit per quantity throughLF_ShopRules.StackTradeTotal(verified 2026-10-11). The menu sells at most 99 of a held stack per click, the server capLF_CharacterShopComponent.MAX_TRANSACTION_QUANTITY; a request outside 1..99 is refused and logged. (2026-11-07) - ✅ Money correctness (verified 2026-08-30): the partial-funds exploit is
closed —
BuyItemcompares the actual removed amount against the total and refunds only what was removed before failing (a $50 buyer cannot buy a $100 item), and a partial delivery refunds only the undelivered quantity.SellItempays cash only after the goods are confirmed removable and claws back overpayments.IsItemSoldHeregates buy and sell. - ⚠️ A shop with no
LF_StoreComponenthas no stock (infinite supply); the physical general store below does. - 🧪 (2026-11-15) Fence shop: talk or browse, config stock, buyback. The fence (
LF_Fence.et) offers Talk and Browse goods from one context (RoleTalk); his role talk carries Show me what you've got. after what do you do, which closes the talk and opens the price list (LF_DialogueHook_OpenShop,LF_DialogueHook.AfterSceneon the client). Any role NPC with anLF_ShopComponentgets the reply (LF_ShopkeeperTalk). Stock is config:LF_ShopComponent.m_sStockIdnames a stock inLF_ShopStockConfig(coreConfigs/Shop/LF_ShopStock.confis empty; the pack overlayLF_Everon1989/Configs/Shop/LF_ShopStock_Everon1989.confsells lockpick 250, scanner 900, keycard 1500, drill 2500, charge 4000 and buys car parts or anything flagged stolen at half the street value). Prices are read on the server per trade; the buyback share is held to 0..1.LF_StolenGoodsflags a robbed weapon and bank-loot weapons; a carried or stored item keeps the flag through a save, a restart and a reconnect (theitemstolenpayload, save version 35, #1855; an item left on the ground loses it); an unlisted item sells only as its flagged copies. Buyback lines show We pay $X on the price list.LF_FenceStall.etis a workbench stall with the same stock and one Browse goods action. A DebugWorld-only boot has no pack overlay, so the fence sells nothing there (logged). Testsshop/stock-rules,shop/fence-stock-trade. - 🧪 (2026-11-16) Playtest cash top-up holds a reset amount (#1855). The 60 s debug top-up (
LF_DebugMoneyTopUp, debug game mode only) refills carried cash under 5,000 to 20,000. After the harnessresetplayer 1000and a $250 fence buy it refilled $750 between the buy and the sell, so the $100 sale read as $20,100 (not a double credit: the ledger has adebug-topuprow).resetplayer <cash>now holds that player's cash (HoldCash);resetplayerwith no amount releases it. Testmoney/debug-topup-hold. - ✅ Physical store (#202). The DebugWorld general store (
Shop_GeneralStore_Debug, store keygeneral_store) is also a physical store:LF_StoreComponentbeside the price list. The goods stand on the counter as real world items (apple, cabbage, water, apple juice, field dressing). The price list stays and is the convenient way to buy. Stock is one number per line (min(stock, slots)display copies stand on the shelf, the rest waits in the back room): a copy taken by hand leaves the stock once and is tagged unpaid (LF_Stores, a record per item instance on the server); a price-list sale (LF_ShopComponent.Buy) checks stock, takes the cash, reserves the units and deletes the surplus display copy; every stock operation first looks for items already taken, so a pickup and a sale can never count one unit twice, and an empty line refuses with#LF-Shop_RefuseOutOfStock. Pay for goods (LF_StoreTillActionon the cash register itself, #582:Shop_GeneralStore_Till, the station register prefabEL_FuelTill.etstanding on the counter and naming its store bym_sStoreKey, its action context on the customer side; the server refuses a payer more thanLF_StoreRules.TILL_REACH(3.5 m) from the register) charges exactly what the user carries unpaid in cash (reasonstore-sale, anLF_OnMoneyMoved), all or nothing, clears the tags and hands over anLF_Receipt(Read toasts the number, items and total; the printed fields are session state, so a receipt kept over a restart reads blank). An unpaid item eaten or used up stays on the bill. Shoplifting: a character holding unpaid goods of a store while outside its boundary box (m_vBoundaryCenter/m_vBoundaryHalf, flat) is caught by the 500 ms store tick: the goods close as theirs, the catalog's shoplifting amount (1) of wanted levels,LF_Dispatch.Reportwith#LF-Offence_Shoplifting(the alarm sounds at the counter and police are radioed) andLF_WantedReports.Identifyso the poster names them (being seen walking out of a shop counts as identified). The shelf refills from config over time:m_iRestockSeconds(120) adds each line'sm_iRestockAmountup tom_iMaxStockand respawns the missing copies. Stock persists (storestockpayload, save version 21,LF_StoreStockRowby store key and prefab); the shelf is rebuilt from it after a restart. The engine's own persistence also saves a loose shelf item (it carriesLF_QuantityComponent) and restores it where it stood, so on a fill or a load the store adopts a loose copy sitting on a shelf point (or deletes it when the slot is already filled) instead of spawning a second one;wt e2ecounts the loose apples around the store after the restart. Testsstore/rules,store/shelf-till,store/shoplift,persist/store-stock;session.mjs store-proof(two clients: A pays, B walks out). ⚠️ Follow-ups: the market and the car lot (cars on display, each with its own buy interaction, key at the desk) are not on this pattern yet; a shelf or unpaid item is kept out of stack merges (LF_Stores.HoldsApart, teststore/stack-merge), so it stays a separate stack until it is moved again after paying; receipt text does not survive a restart. Unpaid tags survive a restart and a logout (#479): thestoreunpaidpayload (save version 25,LF_StoreUnpaidRowby character record key, store key and prefab, never an entity id) saves the tag of every item a living player carries or used up, andLF_Stores.ParkCarrierparks them on disconnect; when that character's body spawns with its carried inventory back (LF_SpawnLogic.OnCharacterCreated), or a rejoin inside the logout window takes the same body back (LF_LogoutBodyRejoin.TakeBack, testrejoin/logout-body-unpaid-tags),LF_Stores.ReattachUnpaidputs each tag on an untagged item of that prefab it carries (a used-up one comes back as the same debt). A tag whose item or store is gone is dropped with a warning; a tag on the floor or a dead body is not saved. A restored tag is not swept while its carrier has the store's grace (m_iRestoredGraceSeconds, 300 s; toast#LF-Store_UnpaidRestoredat spawn) to come back and pay; once the carrier has stood in the store, or the grace has run out, the sweep applies as usual, so logging out inside a store is no way to leave with the goods. The till charges a restored tag as before. Testspersist/store-unpaid,e2e/pass*(a juice taken off the shelf before the save is owed and paid after the restart). - 🧪 (2026-11-15) Folded piles on a store shelf (clothing store step 2): an
LF_StoreLinewithm_iStackN reads every run of N shelf points as one pile, bottom first. Only the bottom copy finds the board (SnapToSurfaceAt); the copies above keep their written height over it, so a pile never floats or sinks. A shelf point may carry a fourth number, the copy's yaw relative to the store (a three-number point still spawns unturned). A copy taken from the middle of a pile leaves the stock once and the copies above close the gap (respawned one place lower,LF_StoreRules.StackMoves). After a restart each restored copy is adopted into its own pile slot: a pile slot matches only the copy at its own height (half the step), so the bottom slot no longer adopts the whole pile and deletes the rest. The building pipeline writes piles from a store line's"stack": N(one measured item height per copy, a seeded twist of up to 8 degrees; a pile taller than the air under the board above is refused). TestsLF_Test_StoreStackRules,LF_Test_StoreFoldedStack, the pile half ofLF_Test_E2E_SaveState(wt e2e),building-vanilla-store-selftest. - ✅ The general store sells a short list (2026-11-08, M1 RC QA):
Shop_GeneralStore_Debugcarries a curatedm_aShopItems(apple, cabbage, water, apple juice, field dressing, ALICE backpack). Without it the price list showed the whole 1312-line base-game catalog, starting with an SVD magazine pouch and two "!BASE KIT!" rows. Prices still come fromShopPrices.conf. The UI kit status row gives its action button more width (label 1.5, status 1, button 1.5), so "Order" is no longer cut to "Orde". - ✅ The general store is a walk-in village shop (2026-11-15, town-general-store): the village's
shop house at 179, 233.95 is our pack prefab
LF_Everon1989/Prefabs/Buildings/GeneralStore/GeneralStore.et(inherits the vanillaShopHouse_E_2I01t_Base.etwith the food store variant's doors, windows and FoodStore sign; its furniture is the vanilla food store's, flattened intoFurniture/GeneralStore_furniture_01.et, without the counter and till).Shop_GeneralStore_Debug(the counter with the price list, the store keygeneral_store), its till, radio and clerk stand where the vanilla counter stood, inside the shop room; the boundary is the ground floor (counter space centre -1.57 0 0.123, half 6.1 0 7.8), and the alarm sounds onShop_GeneralStore_AlarmBox, a bell box on the shop front (LF_AlarmMountComponent, reach 10). Ten self-serve lines, 201 shelf points: apple, plum, rowan berries, dried meat, crackers, field dressing and a torch on theShelfShop_01gondola and wall unit, water in the cooler, apple juice and a canteen (new; price in the pack overlayConfigs/Shop/LF_ShopPrices_GeneralStore.conf) on the wall shelves. Tools and work gear are left to the hardware store, other medicine to the drug store, navigation gear to the gun store. The counter's price list (cabbage, backpack, ...) is unchanged. The points come fromtools/buildings/general-store/slots.mjs(the building pipeline'sstorePlanover the furniture prefab,--checkto compare); the store stays on the core counter entity because the suite boots the core world without the pack. ⚠️ In the core-only test world the shelves are not there (the copies settle on the floor) and the canteen has no price. - ✅ The general store is dressed and lit (2026-11-16, #2008).
tools/buildings/general-store/dress.mjswrites the plain props (tins, bottles, bread, cartons; no Items, nothing pickable or sold) on every shelf board the store lines do not use and a back row on the sold boards that have room, plus the counter-top, wall, floor and window-display props and the ceiling lights fromspec.json(dress,dressing,lights) into the furniture prefab; every generated child has an ID startingD0and--checkcompares. Seven inlineLightEntityspots (always on, as the building pipeline's lighting preset) light the shop and make the window glow from the street at night, one more spot lights the frontage. The vanillaSignCommercial_01_FoodStorepanel (which read DROGERIE) is nowLF_Sign_Fasciawith sign idgeneral_store, like the gun store (#1903); the DebugWorld overlaySign_GeneralStoreis removed as the building carries the sign. - ✅ The general store meets the medium building budget (2026-11-17, #2327).
perf building GeneralStore --size mediumwas 845 entities, 11 lights, 11 casters (4 point lights casting, all unset); it is now 289 entities, 6 lights, 1 caster.dress.mjswritesCastShadowon every light (one shadowed spot over the counter, the rest fills; a point light never casts), the shop floor has one point fill (spec.lights), shelf rows aredress.thintimes sparser, andspec.prunecuts the vanilla set's light switches, radiators, bathroom and utility fittings and the attic aboveabove_y, keeping the flat's bones. The store lines, shelf picks and the counter are unchanged.
Shop price list — Feature/Shop/LF_ShopPriceList.c (was LF_ShopMenu)
- ✅ (2026-11-08, M1-13) Typed price list on
LF_UIScreenwith theLF_UISkin.PriceList()skin (paper, mono face, ink buttons): carried cash, a "Look for" field that narrows the list as you type, up to 40 lines of item and buy price with an Order button, an order slip (quantity with One less / One more, 1..99), Pay cash, Sell these, Leave. Buy and sell are the existingLF_CharacterShopComponentRPCs; every request now gets a reply withLF_EShopRefusal(not sold here, unpriced, cash short, pockets full, nothing to sell, quantity, too far, no shop), the money moved and the carried cash, printed on the slip. The shop no longer raises toasts. An accepted trade playsSOUND_PICK_UPon the character; UI sounds areLF_ShopActionattributes.LF_ShopActionopens only on the acting machine for its own character. Closes on Leave, MenuBack, death, or 3.5 m from the counter. Tests:shop/refusal-reasons,counter/local-only,counter/screen-layout. - 🧪 (2026-11-17, #2440) The slip shows the picked item. Picking a line draws its real prefab in a 100-unit square on the order slip (
LF_ShopItemPreview: a UI kitPORTRAITpart with no lines, resized, drawn throughItemPreviewManagerEntitylike the wanted portrait). The window stays hidden until a pick; a line without a prefab hides it again. Car lot and fence previews are follow-ups. Test:shop/item-preview. - ✅ (2026-11-12, #278)
ShopPrices.confis the core layer of the config service:LF_ShopManagerComponent.LoadConfigapplies pack overlays and the owner'sshopssection before it builds the catalog (LF_ShopPricesConfig.ApplyLayers). The server charges and pays the owner's prices.
LF_TraderManagerComponent + LF_InventoryStorageManagerComponent — Components/InventorySystem/
-
✅ Sell-to-trader pays cash (verified 2026-10-11): inserting into a trader-owned storage pays one cash unit per stack quantity (
LF_ShopRules.StackTradeTotal) viaLF_MoneyUtils.AddCash(pay-before-delete, clawed back if the item cannot be removed); black-market rejects non-civilian factions. The old "payout to ATM bank" and thePrint("testtesttest")debug line are gone. -
✅ The value lookup and the black-market decision are the static seams
LF_TraderManagerComponent.GetUnitValue/CanAccessBlackMarket(extracted 2026-11-07; the lookup now skips a null row instead of crashing), pinned bytrader/sell-rules(LOGIC; red-proof observed 2026-11-08). -
✅ (2026-11-17, #2407) The sale resolves on the server. The
InsertItemoverride runs on the client that drags the item, whereAddCashis refused (server state), so on a dedicated server every sale bounced. Now a client's drag only forwards a request:SCR_PlayerController.LF_RequestTraderSalesendsRpcAsk_LF_TraderSale(itemRplId, traderRplId)(Reliable,RplRcver.Server), andLF_TraderSale.Sell(Feature/Trader/LF_TraderSale.c) does the work. The seller is the controller's own character, never a payload field. Server checks for a client request: the trader entity carriesLF_TraderManagerComponent, the seller is withinLF_TraderSale.REACH(5 m), the item is in the seller's inventory (Contains), the price comes from the trader'sm_aTradableItems, the black-market gate holds; then pay, then delete (clawed back if the delete fails). A refusal toasts the seller (#LF-Trader_SaleRefused) and logs[LFDebug:Trader] sale refused (<why>). The listen host's own drag and server code call the sameSelldirectly (no reach/carried check: the inventory UI there enforces them). The seller is now the inventory manager's owner, notpStorageFrom.GetOwner(). Test:trader/server-sale(WORLD). A move that bypassesInsertItemis refused since #2506 (below). Proven only on a host so far, the dedicated-server steps are in the PR's manual testing. -
✅ (2026-11-18, #2506) A trader crate keeps nothing that skipped the sale. The sale never inserts into the crate (it pays and deletes), so on the server a storage whose owner carries
LF_TraderManagerComponentrefuses every insert:CanStoreItem,CanStoreResourceandCanReplaceItemonLF_RestrictedInventoryStorageComponentreturn false (Feature/Trader/LF_TraderCrateGuard.c) and log[LFDebug:Trader] crate refused <prefab>. A vicinity move, a direct storage insert or a swap now fails and the item stays where it was; the drag sale is unchanged because it never reaches the storage. Clients keep the prefab filter, so the drop highlight still works for them; on a listen host the crate shows as not a drop target during a drag; the drop still callsInsertItemand sells (vanillaSCR_InventoryMenuUIdoes not pre-check it; a manual step). Test:trader/crate-direct-insert(WORLD). -
⚠️ Unguarded
pStorageFrom.GetOwner()(null crash); nullm_aTradableItemsforeach crash; delete-then-pay not atomic;RETCODE_ITEM_TOO_BIGused for "not tradable"; black-market check fails closed but is only cache-keyed. -
✅ (2026-11-15, gun store prep) Stores in vanilla buildings, display racks, outlet counters (tooling).
tools\cli buildingtakes a spec with avanillablock (our prefab inheriting a base-game building, no ArchBuilder export); its store block can place shop fittings (store.fixtures), stand an item's model in a display rack's slots with no way to take it ("display": truelines onLF_WeaponRackCabinet_Display/LF_WeaponRackStand_Display, the FIA arsenal racks without the arsenal; slots measured from the vanilla racks intofixtures.jsonracks) and add a counter that sells an item-catalogue outlet (store.counters,LF_ShopComponent.m_sOutletId, e.g.gun_counterbehindFIREARM_PERMIT).building proofhas apermitstep: refused without the licence, harnesslicence <NAME>(the/licencerequest), then paid and delivered. Docs:docs/building-pipeline/README.md"A store in a vanilla building". Test:building-vanilla-store-selftest. -
✅ (2026-11-15, town-gunstore) The 1989 Everon gun store ("Gunsmith") is a working store on the main street.
Village_GunStore(Everon1989TownVillage_Buildings.layer, 378 0 266,angleY 180, north row at the east end, facing the street) placesPrefabs/Buildings/GunStore/GunStore_Store.et(pack), written by the building pipeline's vanilla-base store stage fromtools/buildings/gun-store/spec.json. It inherits ourGunStore.et(the vanillaShopHouse_E_2I01t_Base.etwith the food store variant's doors and windows; the fascia over the shop window is anLF_Sign_Fasciapainted "GUNSMITH", sign idgun_store, its MLOD also on the painted face so the street sees it at distance) andFurniture/GunStore_furniture_01.et(the general store's flattened food store set without the gondolas, cooler, crates, newspaper stands and food posters). Display only: M21 and vz. 58 rifles and an M9 and a PM inLF_WeaponRackCabinet_Displayon the shop wall, rifles inLF_WeaponRackStand_Displayin the shop window (core racks, the FIA arsenal racks' models with no arsenal). OverLF_GunCounter(outletgun_counter, its action "Buy guns and ammunition" in the pack table): M9 500, PM 350, M21 1500, vz. 58 1100 and their magazines behindFIREARM_PERMIT; ART II and 4x20 scopes, M12 and PM holsters, an M14 pouch for anyone (Configs/Catalogue/LF_Catalogue_GunStore.conf). Self-serve on twoShelfShop_01(store keyeveron_gunstore, restock 300 s): ushanka, red and brown knitted hats, flat cap, folded map, B8 binoculars, Adrianov compass, paid at theCashierShop_01till on the counter (Configs/Shop/LF_ShopPrices_GunStore.conf).Village_GunStore_Clerkstands behind the counter and calls out a walk-out; the bell box between the window and the arch carries the alarm. Proof:tools\cli building proof gun-store(M9 refused without the permit,/licence FIREARM_PERMIT, bought; binoculars paid at the till; a compass walk-out sets the alarm on the box and a wanted level). Not yet: a way for players to get a firearm permit (#1069), stock on the back-wall shelves behind the counter, the order slip takes one line per order. -
✅ (2026-11-16, town-gunstore-polish-2, #2012) Gun store second polish pass.
tools/buildings/gun-store/decor.mjsnow lights the ceiling at night (the spots all aim down and the ceiling sat 0.2 m above them, so it was black): three soft point lights hang under the fittings, the five lamp covers carry the base game's lit diffuser material, and a floor lamp and a bench lamp have a light each (10 lights in all). It fills the empty middle and right wall: a display table of cleaning kits and cases, a coat tree, a tall glass-fronted gun cabinet with a deer mount on the right wall, and a repair corner inside the shop room (a workbench with vice, toolbox, solvent tins and desk lamp, a stool, notices, a floor lamp); all plain props, none pickable. The far "DROGERIE" is the vanillaShopHouse_E_2I01tdistance atlas (House_Town_E_2I01_Ext_MLOD, one 512 px texture of walls and roof with the food-store sign baked in), not the sign entity.tools/buildings/shophouse-far/mlod.mjscopies that BC7 texture, paints the sign's blocks out in every mip, and writesAssets/Buildings/Facades/LF_ShopHouse_Ext_MLOD(.emat,_BCR.edds,_BCR.tif);GunStore.etassigns it to theHouse_Town_E_2I01_Ext_MLODslot only, so the walls and interior LODs are untouched. Any other ShopHouse prefab can assign the same material. -
✅ (2026-11-16, #1762) Weapons are sold only through outlets; the back room and black market are catalogue outlets.
LF_ShopComponentwithm_bBackRoomand no outlet of its own is theback_roomoutlet (LF_BackRoomRules.OUTLET_BACK_ROOM); theblack_marketoutlet is in the catalogue too. Both sell the M9 (and the black market the new illegalrifle_ak74, 1500) behindCRIMINAL_WEAPONS: without it the till refuses and names#LF-License_CriminalWeapons_Name. A raid seizes the outlet's offers. A shop with no stock, no outlet and no curated list sells nothing (it used to sell every priced item), and logs it. ThePrefabs/Weapons/price rule has no price any more (it only hides weapons from price-rule shops) and theHandgun_M9rule is gone; a fence's buyback prices a catalogue item at its catalogue price.Prefabs/Trader/BlackMarketTrader.etis deleted (it was placed nowhere). Test:LF_Test_BlackMarketOutlet. Not yet: masks, balaclavas and lockpicks have no assets (#1997); the grid layers still carry the old curated M9 list on the back room (unused now, a town pass removes it). -
✅ (2026-11-16, town-clothing-store) The 1989 Everon clothing store ("Moděva") is a working store on the main street.
Village_ClothingStore(Everon1989TownVillage_Buildings.layer, 360 0 266,angleY 180, north row between the village house at 343 and the gun store, facing the street) placesPrefabs/Buildings/ClothingStore/ClothingStore_Store.et(pack), written by the building pipeline fromtools/buildings/clothing-store/spec.json. It inherits ourShopHouse_E_2I01t_clothesstore_lf.et(the vanilla clothes-store variant ofShopHouse_E_2I01t_Base.et, its fascia's MLOD set to the painted face so the street no longer sees the vanilla "DROGERIE" distance texture) andFurniture/ShopHouse_E_2I01t_furniture_clothesstore_lf_01.et(the vanilla set flattened, without the broom, bucket, fallen tube, attic shelf and pub A-board; with twoLightIndustrial_02_on_interiorspot lamps over the window, a lit ceiling lamp and a coat tree on the pavement). Two dressed mannequins (LF_Mannequin_Denim,_Raincoat, #1886) in the shop window and a third (_Suit) inside. Self-serve on threeShelfShop_01and twoCounterShop_01display counters (store keyeveron_clothingstore, restock 300 s): cotton shirt, turtlenecks, denim jacket, trousers, fisherman trousers, suit jacket and trousers, black knitted hat, blue and light-grey flat caps, leather gloves, Soviet boots, one folded copy per shelf point, paid at theCashierShop_01till (Configs/Shop/LF_ShopPrices_ClothingStore.conf).Village_ClothingStore_Clerk(LF_Npc_ClothingClerk, a shopkeeper in a grey suit) calls out a walk-out; the bell box on the shop front carries the alarm. Proof:toolscli building proof clothing-store. Not yet: folded piles (thestackstore step, #1899, was reverted in #1902), raincoats on the shelves (0.56 m folded, deeper than any board), a collider on the mannequins. -
✅ (2026-11-16, town-clothing-store-polish-2, #2181) Clothing store second polish pass.
tools/buildings/clothing-store/decor.mjswrites the decor block of the furniture prefab (node tools/buildings/clothing-store/decor.mjs,--check; entities with IDsDC1F…): four warm point lights under the ceiling so the plaster no longer reads black at night, a third window mannequin (LF_Mannequin_Knit) and the raincoat one now green (the yellow coat moved to a wall board and the pavement coat tree), riser crates with shoe boxes, folded knitwear, a price card and a hat stand in the window, wall coat boards with hanging garments (mesh-onlyLF_MannequinGarment, nothing pickable), a hat rack, a shoe cabinet with boots, a full-length mirror and stool, a sale table of unsold folded goods and framed plates on the display counters. Store lines carrystack3 to 5, so the shelves hold folded piles (#1899). The cotton shirt sell-back inLF_ShopPrices_ClothingStore.confis 10, as in the clothing catalogue (#1770). Not done: a changing cubicle (the base game has no curtain-on-rail prop that fits). -
✅ (2026-11-16, #1770) 1989 clothing and equipment outlets.
LF_Catalogue_Clothing_Everon1989.confadds 32 period pieces (denim, suit and turtleneck tops, trousers, flat cap, knitted hat, hard hats, M70 surplus, canteen, binoculars, ALICE pack, police and doctor kit) and offers them atclothing_rack,workwear_counter,police_stores(job POLICE),medic_stores(job MEDIC) andsurplus_stall; the core raincoat keepsconcealsBuild. No Rally DLC prefab.fixtures/everon/outlets-clothing.jsonpins each outlet's must-sell and must-not-sell items. Five counters stand in theeveron-outletsgrid cell. The balaclava (#1997,Prefabs/Characters/HeadGear/LF/Balaclava.et, our own skinned mesh) is the oneconcealsFaceitem:black_marketoffers it at 40 behindCRIMINAL_BLACKMARKET, it isillegalto carry (a search seizes it), and the clothing rack does not sell it (#2439; testeveron/mask-conceals, fixture row inoutlets-clothing.json). Two more face masks sit beside it on the black market (purge-masks): the smiling doll mask (doll_mask, 45,Prefabs/Characters/HeadGear/LF/DollMask.et: moulded ivory plastic, painted smile, rosy cheeks, brows and lashes) and the cracked hockey mask (hockey_mask, 55,HockeyMask.et: yellowed fibreglass, eye slits, vent holes, a faded blue stripe, cracks). Both areconcealsFace,illegalto carry, behindCRIMINAL_BLACKMARKET, and not on the clothing rack (testeveron/mask-conceals, fixture rows inoutlets-clothing.json). They are modelled in Blender bytools/assets/doll-mask/model.pyandhockey-mask/model.pyontools/assets/pipeline/blender/mask_shell.py(the head of the base body, held 2 to 5 mm clear of the skin, an elastic strap). A mask takes the Hat slot like the balaclava: the loadout has no face or eyewear slot, so a mask and a hat cannot be worn together. Open: the lockpick, and an island shelf for the masks once the Saint-Philippe clothing slot (#2962) is approved. -
✅ The general store's second polish pass (2026-11-16, #2008).
dress.mjsnow also writes overstock cartons on the wall units (dress.tops), a strip of small price cards on the gondola board edges (dress.cards, notice posters at scale 0.17) and a door-clearance check (spec.doors: the front arch door is in the hall at the west end of the front wall, the shop door is the west pair at x -1.77, the stockroom door and a rear door are at x 4.3 and 4.4; a prop whose centre stands in a leaf's clearance fails the run, flat mats are exempt). The ceiling was black at night because the spot downlights never light upward; three point fill lights (base gameLightAmbientrecipe,DistanceAttenuation 0.8) and the stockroom tube as a point light light the ceiling and walls now (11 lights in all). Added: doormats at the shop door and the front door, a cork price board and a framed licence on the west wall, an aisle-end carton display with bottles and a bottle crate stack, and stacked cartons and crates in the stockroom beside the rear door. Also assignsLF_ShopHouse_Ext_MLODto the far slot (the DROGERIE fix of #2183). Not yet: a visible stockroom through the closed door. -
✅ (2026-11-16, slice-1768, merged in-dev) The 1989 Everon weapon split follows #989's table (
LF_Everon1989/Configs/Catalogue/LF_Catalogue_Weapons_Everon1989.conf, fixtureoutlets-weapons.json). Gun counter (FIREARM_PERMIT): PM and its magazine, the M21 stand-in; the M9 and the vz. 58 with their magazines leave it. Police armory (POLICE): M9 at rank 0 issued with a serial, M16A2 at rank 1 (core), AKS-74U at rank 2 (senior_patrol, price 3200,POLICE_ACCESS) with its AK magazine. Black market (CRIMINAL_WEAPONS): PM 350, AK-74 2600, vz. 58 1800, each with its ammo (PM 15, AK 45, vz. 58 40), stock 1 to 4 and restock 1 to 4 hours (m_iStock,m_iRestockSeconds); the M9 leaves it. No machine gun is offered anywhere (fixture). The starter pistol is Rally-DLC-owned, so no outlet sells it. Not yet: serialised issue prefabs for the AKS-74U and PM (the armory falls back to the plain prefab, which logs an "untracked" error), a price per outlet (a price lives on the item, so the PM costs the same at the counter and at the black market; scarcity is the stock), the hunting long gun (#341). -
✅ (2026-11-16, town-clothing-store-farsign, #2181) Clothing store far sign and prices.
ShopHouse_E_2I01t_clothesstore_lf.etassignsLF_ShopHouse_Ext_MLODto theHouse_Town_E_2I01_Ext_MLODslot only (the far-distance texture, as the gun store #2183 and general store #2185 do), so the vanilla "DROGERIE" no longer shows from 60 m and up; the inside walls are untouched.LF_ShopPrices_ClothingStore.confnow matches the clothing catalogue (#1770) for every line it shares: trousers 35/14, denim jacket 45/20, dark-blue turtleneck sell 12, leather gloves sell 8. Nine store lines have no catalogue entry and keep their own prices (black knitted hat, blue and light-grey flat caps, yellow fisherman trousers, beige turtleneck, Soviet boots, black suit jacket and trousers). -
✅ (2026-11-17, building-bank, merged in-dev) The Everon bank building (
LF_Everon1989/Prefabs/Buildings/Bank/, kit tooling intools/buildings/bank/, epic #2201).Bank_Kit.etfits the bank into the vanillaOffice_E_01whole:Bank.etis the building override (vanilla doors and windows) with our flattened furniture copy (beds, bath and the front rooms' desks and shelves cleared); the kit adds the vault annex on the east wall (LF_BankVaultwithm_sVaultId bank_vault, hood roof, theLF_MoneyBag(place kindBankBagidbank_vault) on the vault floor, the bell box (LF_AlarmMountComponent, reach 12) and thebankfascia sign on the front. The hall (three glazed post-office counters, twoLF_Npc_Teller_2tellers with the account and ATM action, a deposit-slip desk, queue tape, bench, wall clock, rates board) and the manager's office are static base-game props written bydecor.mjsfromlayout.mjs. Budget (medium building,tools\cli perf building bank --size medium): 205 entities of 300, 6 lights of 6 (hall 2, office 1, door glow 1, vault fixture 2), 0 shadow casters, every light writesCastShadow 0; no physics, no script on decoration. The vault fixture lost its second lamp and gained explicitCastShadow 0(the playtest town's vault is dimmer). The kit is pack content, so the grid layer is staged locally (tools/buildings/bank/stage.mjs, never committed) until pack-side grid layers exist; the claim isc11r02x2 (tools/grid/cells/bank.json).tools/buildings/bank/proof.jsonis the walkthrough (street, hall, vault, night, robbery) forbuilding proof bank; it has not run: the kit is not placed in a playtest world yet (town fitplaces it). ⚠️ Tellers stand in the layer, not the prefab, and the vault is an annex, not a back room: no back room ofOffice_E_01is 3.4 m clear. -
✅ (2026-11-17, bank-pass2, #2278, merged in-dev) The Everon bank, polish pass 2: the vault is a room. The east-wall vault annex is gone (the standalone
LF_BankVaultis the reserve vault for the later Federal Reserve building, #2283). The back-right room behind the corridor (x 2.75..7.72, z -4.62..-1.55, one door, high windows only) is the vault room:LF_BankVault_RoomDoor(safe typebank_room,m_sVaultId bank_vault, swing cut to 55 degrees for the 2.4 m corridor) stands on the corridor face of its doorway,shell.mjsleaves out the vanilla door there (socket_door_int_left_02), and the room holds safe-deposit walls, the cash trolley, a counting table and the cash bag. Also: the stair hall and first floor dressed, every vanilla wall lamp glows through its lit glass (no light cost), a real lamp by the street door (LightWall_01with lit glass plus one light), the sign, bell box and lamp on the real front wall face (z 6.58; pass 1 had them 0.9 m off it), the hall walls measured from the model (x -2.28..2.6). Every prop height is snapped (surface.mjs;tools\cli building check bankclean); the shell writes a pure yaw asangleYso the check reads vanilla desks right. Lights 6 of 6 (hall, office, corridor at the vault door, vault room, stair hall, door lamp), allCastShadow 0. The cell is now a pack cell (Everon1989Grid_Layers/Grid_bank.layer, committed, with the tellers and the rob kit fromstage.mjs);grid place <slug> --againre-places a merged claim aftergrid free. -
✅ (2026-11-22, #3888 baseline, merged in-dev) Saint-Philippe bank: the island vault is the vault room. The island fit (
tools/town/kits/bank.json) now placesLF_BankVault_RoomDoor(safe typebank_room,LF_BreachTargetComponent.m_sTargetId bank_vault,LF_BankVaultComponent.m_sVaultId bank_vault, swing 55) in the doorway of the back-right room ofOffice_E_01at building-local 3.785 1.053 -1.02, and the cash bag on that room's floor (5.2 1.053 -3.75), the same places asBank_Kit.etin the grid. The east-wall annex (LF_BankVaultandLF_BankVault_SmallRoof, which clipped each other and overhung a drop on the embankment) is gone, and the staff door (bank_staff_door) moved along the east wall to 8.1 1.1 2.6, clear of the building's own east door. The layer entity keeps the nameFit_saint_philippe_bank_lf_bank_vault, so the island vault and heist proofs find it;island-vault-proofpasses (drill, door open on both clients, bag pickup, alarm, locker rent and reopen). Not run: the four-clientisland-bank-heist-proof. The vanilla interior door of that doorway (Office_E_01, building-local 3.91 -1.49) still stands 0.5 m behind the vault door. Seven island baseline keys dropped. -
🧪 (2026-11-22, town-draft-saint-philippe-bank-door-clear) Saint-Philippe bank: the vanilla interior door behind the vault door is hidden. The bank kit (
tools/town/kits/bank.json) now has a top-levelclearlist with two boxed entries (DoorSet_Village_E_01_R_INT_COV_B, the frame, andDoor_Village_E_A_RIGHT_INT_COV_B, the leaf; a hide is not recursive) in a 1.8 x 1.0 m box at kit offset 3.91, -1.49.town fitwrites them asFit_saint_philippe_bank_clear_box1(LF_BaseWorldClearComponent, box mode). The other interior doors of that prefab (the ground floor has two more, 3 m either side) stay. The building mode would have hidden every one of them. Proofisland-bank-door-clear-proof(two clients): server and both clients loghid 2 vanilla props in the box Fit_saint_philippe_bank_clear_box1, a trace through the doorway first meets the vault door at 1.05 m (the vanilla leaf stood at 0.51 m), the two other interior doors still stop a trace, and the vault drill opens the vault door on both clients. Strict island audit of the layer: 0 of 251 flagged. -
✅ (2026-11-18, clothing-single-items, #2181) Clothing shelves hold one folded item per spot, never a stack (maintainer polish after the clothing store pictures: the piles did not look right). ools/buildings/clothing-store/spec.json store lines no longer carry stack, so every shelf and counter spot is one real, sellable item lying directly on the board (the m_iStack store step stays in the pipeline for any future shop; no store line uses it now); decor.mjs shows one folded garment where it had a pile (window riser, sale table). Rebuilt with
tools\cli building run clothing-store --forceandnode tools/buildings/clothing-store/decor.mjs;building check clothing-storeandperf building clothing-store(243/300 entities, 6 lights) clean. The Saint-Philippe clothing slot (#2369 draft, #2315) copies kit rows, so it needstown fit saint-philippe clothingagain once it is on main. -
✅ (2026-11-18, #2932 weekend, draft) Saint-Philippe bank slot carries its teller and the
atmsign:tools/town/kits/bank.jsonnow holds the teller (LF_Npc_Teller_2, anLF_BankTellerwith the "Talk to the teller" ATM action, behind the counter windows) and anLF_Sign_Platewithm_sSignId "atm"on the front wall (the town board card points at that id);Place_saint-philippe_bank.layerre-fitted. Draft PR for the maintainer batch. -
✅ Store stock rests on its board by measured contact (#2952).
LF_StoreComponent.RestOnBoardsettles each spawned copy withLF_PlaceSnap(Core): the mesh-bounds bottom goes on the highest support under a 3x3 footprint of traces, and a trace that starts inside a solid proxy collider (the boxShelfUniversal_01_widecarries round its boards) is dropped. The old rule put the pivot on one trace hit plus 2 cm, so a handgun sank 6 cm, a vice hovered 8 cm and goods hung 24 cm over the wide universal shelf. A pile copy keeps its written height above the bottom copy (it moves by what the bottom copy moved), so stray adoption after a restart is unchanged. Testsplace/snap-contact(juice, canteen, ALICE backpack, M9 and vice on a wide shelf, a gondola and a counter, bottom within 3 mm),store/folded-stack. -
🧪 (2026-11-18, #2916) The 1989 general store prices the house furniture. The pack overlay
LF_Everon1989/Configs/Shop/LF_ShopPrices_GeneralStore.confgains a rule and an extra-prefab row for each ofFurniture_Chair_Item(buy 60, sell back 25),Furniture_Lamp_Item(35 / 15),Furniture_Shelf_Item(90 / 40) andFurniture_Table_Item(120 / 50), so the price list sells them and a player can furnish a house; every buy price is well above its sell-back, so buying and selling back is no profit loop. Data only: the shelf stock list (LF_ShopStock_Everon1989.conf, #2710) is not touched, so no furniture stands on a shelf yet. Testeveron/furniture-stock(LF_Test_EveronFurnitureStock, pack leg: each item is in the shop catalogue, has its own rule rather than the flat default, and buys above its sell-back). -
✅ (2026-11-18, #3117) Shelf stock is no longer swept by the garbage system. The vanilla GarbageSystem tracks loose world items and deletes them when their lifetime runs out (Configs/Systems/GarbageSystem/Default.conf, 1200 s), so on an idle dedicated server every store's shelf copies were deleted in batches 20 minutes after boot and each store opened empty (0grind, 28,142
store X: a shelf Y was deletedlines).LF_StoreGarbage.Holdblacklists each shelf copy (GarbageSystem.UpdateBlacklist: withdrawn now, an insert request is refused later, so an inventory event cannot re-track it) whenLF_StoreComponentspawns it, when it adopts a restored loose copy at boot, and for every copy a pile compaction respawns;LF_StoreGarbage.Releasehands a unit back to the normal rules onceDetectTakenfinds it taken or knocked off. Teststore/shelf-garbage(LF_Test_StoreShelfGarbage, WORLD). The market's listings and trader goods are claims, not entities, and are untouched. -
🧪 (2026-11-18, #3153) The 1989 general store sells the Soviet flashlight.
Flashlight_Soviet_01(vanilla, buy 40 / sell back 20, the core price row) is on the general store's till buy list inLF_ShopStock_Everon1989.conf(general_store, price 40) and in the pack overlayLF_ShopPrices_GeneralStore.conf(rule and extra-prefab row), so a player can buy a light for the night. Testeveron/night-kit(LF_Test_EveronNightKit, pack leg: the prefab loads, the stock row has a price, the price config lists it and buy beats sell-back).
Trader sell rows: Feature/Trader/LF_TraderSellRows.c, LF_TraderSale.Quote / SellAll (first-two-hours review A21, B11)
- 🧪 (2026-11-22, merged, in-dev) A buyer is an action list, not an inventory window.
UniversalTrader.et(and so the market stall, the dock wholesale buyer and the iron, timber and pack traders) drops theSell Itemsaction, which opened the vanilla inventory with an empty "Universal Trade" grid. It gets sixLF_TraderSellActionrows instead. Rows 0 to 4 readSell 1 Apple Juice: $18(a stack readsSell Apple x4: $20): one per good the player carries that the buyer lists, in the buyer's list order. Each sells the first carried item of that good through the existingRpcAsk_LF_TraderSale. The last row,Sell all goods (6): $108, is always shown; with nothing to sell it is greyed You carry nothing this buyer takes. The client counts the goods from its own replicated inventory, at most once a frame. The prices come from the server, because the market curve and the premium buyers' purses live there.RpcAsk_LF_TraderQuote(INVENTORY rate bucket) is asked at most once a second: when the player reaches a new buyer, when the goods change, and every 8 s.RpcDo_LF_TraderQuoteanswers the owner with each good's one-item and all-items price fromLF_TraderSale.QuoteUnits, which checks the buyer row, then the curve, then the list value: the same orderSellpays. A known price of 0 (a full buyer, a part lot) greys the row Not buying this right now. Before the price arrives, a row reads without the$part.RpcAsk_LF_TraderSellAll(PURCHASE bucket) runsLF_TraderSale.SellAll. Each carried item the buyer lists goes throughSell, with the same reach, alive, carried and black-market checks and the same rollback. Its per-item toasts are held back for one Item sold toast with the total, or the refusal toast when nothing sold. Teststrader/sell-rows(LOGIC) andtrader/sell-all(WORLD);systems/economychecks that the rows hide with Trader off.
tools\cli economy — tools/commands/economy.mjs, tools/lib/economy.mjs (#3122, #3145)
- ✅ (2026-11-18, merged, in-dev) Prints the newcomer's money ladder from the merged configs, no game: opening bank, pay per run with the courier runs that unlock each job, benefit and duty pay per hour (each rank's own rate first, the core field when a row defers, as
LF_DutyPay.RateForAccountpays; rank 0 is the comparison line), the cheapest car, plot, permit, clothing and driving licence (a row only onceLF_LicencesConfig.DEFAULT_DRIVER_LICENCE_FEEexists), and what a courier who always takes the best open run can afford after hour 1, 2, 4 and 6 (--hours 1,2,4,6). The taxi is paid its fare (LF_TaxiFares.confplus the owner'staxiFares: floor to the short hop, then floor + rate per metre, capped) for--taxi-metres 2000. Standing-gated contracts (the harbour crates run) print asCONTRACTrun lines at their multiple of a parcel run and stay out of the ladder.--mission <addon|header>(defaultLF_Everon1989),--run-minutes parcel=6,fuel=8,taxi=10,--taxi-metres,--hours,--json. Layers: core.conf,server/flagship/config.json, then the pack overlays (pack wins). Flags: a buy-low sell-high loop (shop, catalogue or market), a weighted fish with no prefab, a job that pays 0, a sink with no faucet, a purchase out of reach after the last ladder hour. The parcel and fuel run pay, opening bank, permit fee and driving licence fee live in script and are read from the script text; a run's length is an assumption (the printed~min). Check:tools/validation/economy-report-selftest.mjsovertools/test/economy-fixtures/. - 🧪 (2026-11-19, #3270, slice LB12 of #3169, merged in-dev) The lumber loops.
toolscli economyprints the hand-haul softwood loop (planks only, and planks, posts and firewood) and the truck hardwood loop with steady and first-hour $/h, read fromLF_TreeSpecies.conf(yield rows),ResourceChains.conf(sawmill outputs per log), thebuyerDemand.rowsandmarket.goodsrows the merge holds (the design note's buyers where a row is missing, said so on thesources:line) and stated route assumptions (150 m haul at 1.1 m/s loaded and 3.4 m/s back, 6 logs a truck cycle, 4 cycles an hour). A premium purse is capped (full in the first hour, only the refill in the steady hour); the wholesale curve drops linearly to its floor and is back at base each hour (--wholesale-carrykeeps it between hours). A loop whose steady rate puts police or medic rank-0 duty pay outside 1.5 to 2.5 times it printsOUT OF BANDand alumber-dutyflag. Proof:tools/validation/economy-lumber-selftest.mjs(tools/lib/economy-lumber.mjs). - 🧪 (2026-11-18, #3121, merged in-dev) No buy-low, sell-high loop between shop and trader; a smaller idle benefit. The core
UniversalTraderpaid 15 for a cement bag the shop sells for 12; it now pays 10, andLF_Test_EconomyNoBuySellLoop(WORLD) holds the rule for every good both the coreShopPrices.confsells and the trader buys (shop buy price at least the trader's price; the pack market's cement base is 12, equal to the shop). The flagshipserver/flagship/config.jsonsets the unemployment benefit to 50 every 20 min while bank plus cash is under 250 (jobs.benefitAmount,jobs.benefitBalanceThreshold), 150 an hour for doing nothing instead of 300, below an hour of parcel runs at level 1. The core default (LF_Jobs.conf: 100 under 500) is unchanged.validate-profit-loopsstill lists the two baselined machine loops (furnace-gold, cement-plant), which are not shop-to-trader loops. - ✅ (2026-11-18, #3127) Shelf stock is left out of the world save. A shelf copy is a plain world item, so the engine's PersistenceSystem wrote it to the save and restored it at every boot beside the copies the store spawns from its saved stock count (the
storestockpayload);AdoptStraysthen deleted the restored ones (0grind: hundreds ofa restored copy of X sat on a shelf point already filled; deletedat each boot).LF_StoreShelfSave.Holdstops tracking each copy the store spawns or adopts (PersistenceSystem.StopTracking, its old record dropped at the next save), andLF_StoreShelfSave.Releasetracks a unit again onceDetectTakenfinds it taken, so a carried or dropped item is saved as before. A save written before this still restores its copies once; they are adopted or deleted as before and not written again. No payload or version change. Testpersist/store-shelf-not-saved(LF_Test_StoreShelfNotSaved, PERSISTENCE). - 🧪 (2026-11-18, merged in-dev) The Saint-Philippe general store sells a 1989 food and drink set. Eight consumables at villager prices, in the pack (
LF_Everon1989/Prefabs/Items/Store1989/): bread loaf ($3, hunger 30), canned meat ($8, 45), tinned sardines ($6, 35), chocolate bar ($3, hunger 12 and health 3), jar of pickles ($5, hunger 18, thirst 5), soda water ($3, thirst 18), bottle of milk ($4, thirst 15, hunger 8) and instant coffee ($7, thirst 14). Each is a row in thegeneral_storestock (LF_ShopStock_Everon1989.conf) and has its own rule and extra-prefab entry inLF_ShopPrices_GeneralStore.conf, with a sell-back under the buy price (1 to 3), so there is no profit loop. Bread and soda water (a siphon) use the base game meshes (S2_Bread,SodaBottle_01); the canned meat and sardine tins, coffee tin, milk bottle, chocolate bar and pickle jar are Blender models (tools/assets/<slug>/model.py) with plain colour wrappers and no brand names. Testeveron/store-food-1989(LF_Test_EveronStoreFood1989, pack leg): each item is on the stock at $2 to $12, priced by its own rule with a sell-back below the buy price, and its effect raises hunger or thirst. Shelf placement is unchanged: the new items are on the price list, not yet on a shelf board. - 🧪 (2026-11-18, #3171, merged in-dev) The general store sells what a plot owner needs. The pack stock (
LF_ShopStock_Everon1989.conf, idgeneral_store) and its price overlay (LF_ShopPrices_GeneralStore.conf) add gravel bag $22, cement bag $38, plank $16, brick $13 (the cottage materials ofLF_Property.confcome to $832, door not sold), an axe $120 (core price; it can move to the hardware store stock later) and cabbage seeds $4. Each buys above its sell-back and above what the trader pays (#3121).LF_Test_EveronBuildSupplies(WORLD, pack leg) holds it. Carrying: cement 20 kg and gravel 10 kg a bag, so the foundation stage (6 gravel, 4 cement) is several trips. - 🧪 (2026-11-18, #3218, slice of #3201) Stock ids for the new village shops.
LF_ShopStock_Everon1989.confaddssupermarket(water $4, apple juice $7, beer $10, apple $6, cabbage $5, plum $5, crackers $5, dried meat $14: a dollar over what the market curve pays),hardware(E-tool $45, axe $120, gravel bag $22, cement bag $38, brick $13, plank $16, sandbag $20, flashlight $40, handset radio $250: the general store's prices, and the plot build materials all sit here),seed_feed(cabbage seeds $4, bait tin $30, fishing rod $60, water $3),newsagent(tourist map $25, water $3) andmechanic(car parts $200). The newsagent stock now has its counter (#3222): the Saint-Philippe kiosk b13 (town-draft-saint-philippe-newsagent, kitnewsagent) holds a till on a counter selling it. So doesseed_feed(#3223): the closed barn b25 (town-draft-saint-philippe-seed-feed, kitseed-feed) has two shop counters and a till in its left bay, with sack piles and crates, stringsLF-Shop_*_SeedFeed; the others have none yet. Until the hardware counter opens (#3276) the general store keeps selling the hardware rows too, at the same price. The tourist map is $25 because the shop price table buys any item back at $25 by default.LF_Test_EveronVillageStock(WORLD, pack leg) holds it: every stock loads with its items, every prefab resolves, no item sells below its buy-back and no good sells below the market ceiling. - 🧪 (2026-11-18, apple loop, merged in-dev) Shop rows are now checked against the trader. The
cafemenu (#3063) and thegeneral_storesold an apple at $2 while the 1989 market (#2849, curve ceiling $5) paid up to $5: buy at the shop, sell to the trader.validate-profit-loopsread only the shop price table, so it missed it;tools/economy/profit-stock.mjsnow reads everyLF_ShopStock*.confrow (core, then pack overlays, a later stock of the same id replacing an earlier one) and fails any row priced below the best payout for its good: the market ceiling (any market file) or a catalogue outlet's sell price (the price table is left toLF_Test_EveronVillageStock, which checks the buy-back in game). Loop idstock:<stock id>:<item>, one per shop. The two apple rows are $6 (the supermarket's price: a dollar over the ceiling); plum ($5 at the supermarket, ceiling $4) and cabbage ($5, ceiling $4) were already clear, and the validator found no other loop.profit-loop-selftest.mjshas a stock fixture (red before the reader: "expected one stock:cafe:Ore +8, got []"), andLF_Test_EveronVillageStocknow runs the buy-back and market-ceiling checks on everycafeandgeneral_storerow (red with the rows at $2). - 🧪 (2026-11-19, #3227, merged in-dev) The bakery opens in town house b06 on the square. The pack stock
bakery(LF_ShopStock_Everon1989.conf) sells a bread loaf $5, crackers (the biscuits) $4 and a chocolate bar $7, all at or above what the 1989 market pays so there is no shop-to-trader loop. The tillLF_BakeryTill(Prefabs/Props/Commercial/) opens that stock and carries the shop-bell rob action like the café till; the shop sign idbakerypaints "Boulangerie" on the fascia. Thebakerytown kit (tools/town/kits/bakery.json) fits the ground-floor west room of the house: two shop counters, the till and loaves on them, three wall racks with loaves resting on the boards (LF_BakeryLoafDisplay, a static mesh, so no free bread), and the fascia above the street doors. The slot'sStoreCounterplace marker is the map point. The floors above are the baker's flat; this slice adds no lock marker on the stair door (follow-up). - 🧪 (2026-11-19, #3256) The furniture store ("Furniture") opens in the town house b55 on the square row. Slot
furniture(town-draft-saint-philippe-furniture, kittools/town/kits/furniture.json, 29 rows, layerPlace_saint-philippe_furniture.layer) fits the long west hall ofHouse_Town_E_2I01: a counter (LF_FurnitureCounter, theCounterShop_01mesh with anLF_ShopComponenton the pack'sfurniturestock and theBrowse the furnitureaction) with a cashier on it, a painted fascia (furniture_storesign) over the two street doors, and one of each stock piece on the floor as scenery: the base-game props behind the sellable items, not the_Placedprefabs, so nothing on show can be looted or picked up (a wardrobe-to-cupboard west run, two beds, a sofa, coffee table and armchair on a rug, a dining table with two chairs, plus a workbench, crate, lamp, plant, television, radio, mirror, picture and shelf). The upper floors are part of the fitted building and stay open. The four rows the general store used to carry (chair, table, shelf, lamp) are gone from itsgeneral_storestock: the furniture counter sells all 25 pieces. The slot's place kind isStoreCounter; its map POI is the per-slot rowStoreCounter/furniture(#3515). Testeveron/furniture-stocknow asserts the general store no longer lists the four. - 🧪 (2026-11-21, #3891, placement program, merged in-dev) The furniture store moves from the town house b55 to the cleared farm barn b23. b55's showroom was a 3.9 x 15.5 m tiled hall with a step and a stair, so 29 rows stood nose to tail; the maintainer called it terrible. Slot
furniturenow maps toBarn_E_01(b23, 163 m2, one open hall 15.1 x 10.8 m, 13 m from the NW-SE road, no claim), authored in an authoring bay (town author furniture), stamped bytown stamp furniture(tools/town/kits/furniture.json, 17 rows, sourcetools/town/kits/sources/furniture.layer): a sitting room (rug, sofa, coffee table, armchair, lamp), a bedroom (double bed, wardrobe), a kitchen run (fridge, stove, kitchen unit) with a table and two chairs, the counter on thefurniturestock with the cashier and a store clerk beside the front gate, and thefurniture_storefascia on the front wall; each piece is shown once and the aisles are over 2 m. The stamp's clear carrier hides the barn's own hay, sacks, pallet, barrow, tyre and milk cans (LF_BaseWorldClearComponent). The grid copy still holds the hay (the grid audit does not read the carrier), so its strict audit flags the rows standing over it; the island audit (strict,--layer Place_saint-philippe_furniture.layer) is clean with 0 displaced rows.purpose.jsonmarks b23 the furniture store; b55 gets its own purpose lock in a separate slot PR. - 🧪 (2026-11-18, #3220, town draft, in-dev) The Saint-Philippe hardware store opens in the workshop yard b59. The
hardwareslot fits Workshop_02 (the workshop on the south-east road beside the fence workshop b33) with kittools/town/kits/hardware.json: two counters in the hall behind the door, the shop counter on thehardwarestock (#3218: shovel, axe, gravel, cement, bricks, planks, sandbags, flashlight, handset radio) and the miner's supply counter on catalogue outletminers_supply(the pickaxe, behind the MINER job gate), a clerk between them, a shelf unit and a tool rack on the hall's east wall, a painted fascia (hardwaresign, "Quincaillerie") over the door, and pallets of bricks and mortar in the yard. The workshop's own furniture and partitions stay. The slot's marker is aStoreCounternamedsaint-philippe.hardware, so the map shows it through itsStoreCounter/hardwareslot row ("Hardware store", #3515). The general store stops selling the hardware rows (shovel, gravel, cement, bricks, planks, axe, flashlight, handset radio):general_storekeeps food, drink, the cabbage seeds and the furniture rows, andLF_Test_EveronBuildSupplies,LF_Test_EveronJobTablesandLF_Test_EveronNightKitnow read thehardwarestock (the seeds stay on the general store's).merchant-timber(#3274, street kit) shares b59: the kerb in front of the door (+z of the fascia) is left clear for its timber counter. The general store's own miner's supply till (#3085) is unchanged. Manual testing: see the PR. - 🧪 (2026-11-18, #3219, slice of #3201) The Saint-Philippe supermarket opens in the modern shop b66. Slot
supermarket(tools/town/kits/supermarket.json,town fit): the island shop keeps its own yellow counter, baskets and shelving; the kit addsSupermarket_Till.et(pack prefab, an invisible till on the host's cashier withLF_ShopComponentstocksupermarket,LF_ShopActionand aLF_RobActionwhose alarm kind isshopbell), the shopkeeper behind the counter, the alarm box beside the door and a paintedLF_Sign_Fascia(signsupermarket) on the front wall. Rows are in the host's own frame (front +z; the shell is 24 x 20 m with its origin off-centre), not the playtest building's 18 x 14 m frame. Shelf stock resting on boards is NOT placed yet: the host's wooden shelves have no authored slots (follow-up). The map POI is the existingStoreCounterkind, which still reads "General store" (own label is a follow-up). - 🧪 (2026-11-19, #3228, slice of #3201) The butcher opens in town house b20 by the clothes shop. The pack stock
butcher(LF_ShopStock_Everon1989.conf) sells dried meat $14 and tinned meat $8, the prices the supermarket and general store already charge, so there is no shop-to-trader loop. The tillLF_ButcherTill(Prefabs/Props/Commercial/) opens that stock and carries the shop-bell rob action like the café till; the shop sign idbutcherpaints "Boucherie-charcuterie" on the fascia. Thebutchertown kit (tools/town/kits/butcher.json) fits the ground-floor west room of the house (the bakery's plan): two shop counters with the till, a scale and cuts of meat on them, two open chillers and a chest freezer against the west wall with meat on its lid (LF_ButcherMeatDisplay, a static mesh, so no free meat), and the fascia above the street doors. The slot'sStoreCounterplace marker is the map point (label "Butcher", #3515). Shed b19 behind is the store and keeps its lock.LF_Test_EveronButcherStock(WORLD, pack leg) holds the stock. - 🧪 (2026-11-19, #3225, slice of #3201, merged in-dev) The bakery and the butcher sell four French foods of their own.
LF_Baguette($3, hunger +25) andLF_Croissant($3, +12) join thebakerystock;LF_Saucisson($12, +35) andLF_Ham($24, +55, the base game'sMeatLeg_01mesh, scale 0.6) join thebutcherstock, all inLF_ShopStock_Everon1989.conf. Each is aFood_Basechild inPrefabs/Items/Food/with theLF_ConsumableEffectSurvivaleat path. Baguette, croissant and saucisson are Blender models (tools/assets/baguette|croissant|saucisson/model.py, textured, no brand or text) underAssets/Items/Food/.Configs/Shop/LF_ShopPrices_BakeryButcher.conf(listed in both pack mission headers) gives each a sell-back under its price, so no shop-to-trader loop.LF_Test_EveronVillageStockcovers both stocks and the four eat paths. The bread loaf is the existingLF_Bread($4). - 🧪 (2026-11-19, #3516) Stock rests on the Saint-Philippe supermarket's own shelves. The host (b66,
ShopModern_E_01) keeps its vanilla woodenShelfUniversal_01_wideunits, which had no authored slots.tools/town/shelf-stock.mjs supermarketreads those units and their yaw from the host's furniture prefab, the board heights (0.588, 1.081 and 1.574 m) and the goods' footprints fromtools\cli measure, and the items from the shop's stock idsupermarket(LF_ShopStock_Everon1989.conf), and writes the pack prefabSupermarket_Shelves.et: anLF_StoreComponent(keyeveron_sp_supermarket, boundary = the host's model bounds, restock 120 s) with one line per item on its own unit of the two back-to-back gondola runs, a single row of one item directly on each board (never a pile;m_iStackis not used), 150 copies in all, plus anLF_ShopComponentfor the prices. The kit rowsupermarket-shelvesplaces it at the building origin, so the points turn with the building; the spawn trace settles each copy on the board by contact (LF_PlaceSnap). The invisible till carriesLF_StoreTillActionfor that key, so "Pay for goods" at the host's cashier charges what a shopper took off the shelf. The cabbage is left out: its model bounds (0.42 x 0.46 m) do not fit a 0.37 m board.town fit --refitno longer refuses when sibling worktrees hold an untouched copy of the slot's claim from main. Testshelf-stock-selftest;look contact place:saint-philippe/supermarket --stock everon_sp_supermarketfor the contact sheet. - 🧪 (2026-11-19, #3221, slice of #3201, merged in-dev) The Saint-Philippe pharmacy opens in the north drugstore b88. Slot
pharmacy(town-draft-saint-philippe-pharmacy, kitpharmacy, a copy of the playtestdrugstorekit without its source layer) holds a counter and till, a pharmacist (LF_Npc_Pharmacist), the drugstore shelf set, a burglar-alarm box and theLF_PharmacyCounter(outletpharmacy_counter) selling the drugstore catalogue (LF_Catalogue_Drugstore.conf, already in the pack header). The kit's sign row hangs on a window socket the island building does not have, so the fascia is left out; b78 stays the locked garage. No script or core change. - 🧪 (2026-11-19, #3526, follow-up to #3221, merged in-dev) The pharmacy gets its fascia and loses the double counter. The kit's fascia is now a building-space
LF_Sign_Fasciarow (sign idpharmacy, painted green, reads Pharmacie; packLF_SignDefand strings) over the shop opening of b88, so the socket the island building lacks no longer matters. The kit's ownCounterShop_01andCashierShop_01rows are dropped: b88 already carries both at the same spot, and the second counter overlapped the host's by about 1.1 m, so the host counter is the till. Pack and tools only. - 🧪 (2026-11-19, #3274, town draft, in-dev) The hardware store gets a timber counter on its kerb (look only). Slot
merchant-timber(street kittools/town/kits/merchant-timber.json, building b59, shares the hardware slot) puts a shop counter with a timber man on the kerb in front of the door, a pile of stacked timber beside it and a pavement chalk boardmerchant_timber("We buy timber": plank $8, hardwood board $12, the design table indocs/roadmap/lumber.md; pack sign fileLF_Signs_Timber.conf). The kerb in front of the door stays walkable. Not yet a buyer: thehardwarebuyer rows (#3269) and the in-world sale action with the "try the wholesale warehouse at the dock" refusal are not on main, so the counter sells nothing yet; the board's prices must match the rows #3269 lands. Manual testing: see the PR. - 🧪 (2026-11-19, #3610, town draft, in-dev) The timber counter now buys. Re-fit of slot
merchant-timber(kittools/town/kits/merchant-timber.json): the pack buyerLF_TimberBuyer_Everon1989(#3599, buyer idhardware) stands on the counter, a store clerk (LF_Npc_StoreClerk_1,Timber_Clerk) replaces the logger behind it, and the chalk board is seated on the ground again (the old layer had it at a terrain-relative y of 16). Sell planks ($8, 40-unit purse, 20 an hour) and hardwood boards ($12, 24, 8 an hour) with the inventory drag at the counter; a spent purse refuses with the toast pointing to the wholesale warehouse at the dock. The board's rows equal the buyer's prices (LF_BuyerDemand_Everon1989.conf,LF_Signs_Timber.conf). Manual testing: see the PR.
Bank transfer rules - Feature/ATM/LF_BankTransferRules.c (#3318, slice of #638)
- ✅ Pure logic, nothing calls it yet (a later card wires the transfer RPC and gets the money review).
LF_BankTransferRules.Evaluate(config, fromAccount, toAccount, toAccountKnown, amount, balance, sentToday)returns anLF_BankTransferVerdict: the amount and fee to move, or oneLF_EBankTransferRefusal(DISABLED,OWN_ACCOUNT,UNKNOWN_ACCOUNT,INVALID_AMOUNT,NOT_ENOUGH_BALANCE,DAILY_LIMIT) thatLF_BankTransferRules.Keyturns into a#LF-BankTransfer_Refuse*string. The balance must cover amount plus fee; the daily limit counts amounts only (0 = no limit). Fee = flat plus whole percent rounded down, int only. Settings:Configs/Money/LF_BankTransfer.conf(m_bEnabled,m_iFee,m_iFeePercent,m_iDailyLimit, default 50000) throughLF_BankTransferConfig. Test:bank/transfer-rules(LOGIC). - 🧪 (2026-11-19, #3269, slice LB-buyers of #3169, merged in-dev) The pack's lumber buyers.
LF_Everon1989/Configs/Market/LF_BuyerDemand_Everon1989.conf(listed in the mission header) holds the premium rows: the hardware store (hardware) buys planks at $8 (cap 40, +20/h) and hardwood boards at $12 (cap 24, +8/h), the seed and feed shop (seed-feed) fence posts at $11 (cap 12, +6/h), the bakery (bakery) firewood bundles at $4 (cap 30, +30/h).LF_Market_Everon1989.confholds the wholesale curves for the harbour warehouse: plank $6 to $4 (1 % a unit, 5 %/h back), board $7 to $4 (1 %, 5 %), post $5 to $3 (2 %, 5 %), firewood $2 to $1 (2 %, 10 %); the old trader plank row (6) is now the plank curve base. TestLF_Test_EveronLumberBuyers(pack leg).tools\cli economylumber loops stay in the 1.5 to 2.5x duty band (planks only 2.3x police, 2.0x medic). The wholesale trader prefab still lists its own per-good values (board 10, post 8, firewood 5); the market curve, not those, sets the price. - 🧪 (2026-11-19, #3197, slice Z8 of #3169) Shop shelves after a real dedicated restart are proven. The store logs one
[LFDebug:Store] store X shelf audit: <prefab> stock= want= tracked= loose= orphan=line per stock line after a fill or a load (LF_StoreComponent.AuditShelf):trackedis the copies the store owns,loosethe copies of that prefab really standing inside the shop boundary,orphanthe loose ones beyond tracked.node agent-box/session.mjs shelf-restart-proof(session up --mission playtest|island, one client) reads those lines before a buy, buys one item (shelf copy plus the till), runssession restart(SHUTDOWN save, fresh boot, rejoin) and demands tracked = want = loose with no orphan on every line, then buys again. Playtest (DebugWorld general store) passes: 10 lines, 0 orphans, stock 14 to 13 kept. On the island supermarket the shelves also come back whole (7 lines, 0 orphans); a restock that runs between the sale and the audit can hide a kept sale, so the proof prints a WARN instead of failing on it. Open: on the island the supermarket till answersuse LF_StoreTillActionwithaction_not_foundfrom a client, so the buy steps of the island preset fail until that is looked at. - 🧪 (2026-11-19, #3622, draft PR) The wheat loops and prices per lot.
tools\cli economyprints the granary-only loop and the milled loop (mill, then the bakery's flour row, the rest of the grain to the granary) for 4 fields of 2,600 kg an hour (harvester spike section 6), frommarket.goodsandbuyerDemand.rowswith theirlotSize(tools/lib/economy-wheat.mjs). A curve falls per lot, a part lot sells nothing; both loops print their duty ratio and anOUT OF BANDpluswheat-dutyflag outside 1.5 to 2.5 (the pack rows give $387/h and $452/h, police 2.3x and 2.0x). The market-floor loop checks (profit-market.mjs,profit-stock.mjs) compare a shop price to the ceiling per unit (m_iCeiling / m_iLotSize). Proof:tools/validation/economy-wheat-selftest.mjs. - 🧪 (2026-11-19, #3649) The island supermarket till takes a payment again.
Supermarket_Till.etdeclared its ownMeshObject,RigidBodyandSCR_DestructionMultiPhaseComponentunder GUIDs that are not the parent's, so the entity carried a second copy of each and no action on it was found:use LF_StoreTillActionandLF_ShopActionboth answeredaction_not_foundfrom every side on--mission island. The three stray components are gone; the till inherits the cashier prop fromEL_FuelTilllike the bakery and butcher tills. Checked in one island session as a real client: buy at the supermarket (take, till, cash 100 to 93,paid 7 for 1 item(s)), anduse LF_ShopActionopens the general store, miners' counter, bakery, butcher, hardware (both), newsagent, pharmacy, furniture, cafe and seed and feed. - 🧪 (2026-11-19, #3224, slice PS6 of #3201) The east districts workshop is the village mechanic. The districts
garageslot (wasnone) maps to the workshop b20 (Workshop_01_Main, with the side workshop b19 and the vehicle ramp b21 beside it left as they are). Kitgarage(town-draft-saint-philippe-districts-garage) puts a shop counter and a till on the pack stockmechanic(car parts $200, #3218) inside the hall, the mechanic NPC behind it, a shelf and a tool rack on the back wall, and a painted "Garage" fascia over the door (sign idmechanic, own fileLF_Signs_Mechanic.conf; stringsLF-Shop_*_Mechanic,LF-Sign_Mechanic_*). The workshop keeps its own tyre pile and boxes as dressing. The slot is checked by audit and pictures, not by a layout test. - 🧪 (2026-11-19, #3277, slice of #3201, merged in-dev) Rope, padlock, paint tin and nails: not made, no use yet. The hardware counter sells only goods a system consumes, so each was checked against the code. Nails and paint: the
cottagetier inLF_Property.confasks for gravel, cement, planks, bricks and a door, no stage names nails or paint, and the pack property overlays hold plots and houses only. Padlock: a locker (#777) is rented with money at a site and carries no item input (LF_LockerRules). Rope: nothing restrains or tows with an item (LF_Lockpickis the only crime tool). None is stocked, so thehardwarestock stays as #3218 lists it. When a system gains a use (a tier stage withm_Prefabnails, a locker that wants a padlock), the item and its stock row come with that card; base-game stand-ins arePaintCan_01(island houses) andFishingRope_01.xob(naval props), and there is no base-game padlock. - ✅ (2026-11-19, #3193, merged, in-dev) The clothing shop has something to save up for.
LF_Catalogue_Clothing_Everon1989.confadds 15 period civilian pieces from vanilla (black suit jacket and trousers, brown suit trousers, four more cotton shirts, a beige turtleneck, two flat caps, two knitted hats, a sawmill trucker cap, a blue hard hat, yellow fisherman trousers) and the suit pieces become the top tier: black jacket 250, black trousers 170, grey and brown jackets 160, brown trousers 150 (grey trousers 100). Sell-back is under half the price for every row (#3121). That is 47 priced items on sale across the outlets, five of them at $150 or more.LF_ShopPrices_ClothingStore.confis rewritten to one rule per item a clothing counter sells (the old list had nine rules with no catalogue row, among them the Soviet boots, which are dropped); buy price equals the catalogue price. TestLF_Test_EveronClothingRange(pack leg).
Bank transfer by number - Feature/ATM/LF_BankTransfer.c (#3319, slice of #638)
-
🧪 (2026-11-19, #3319) Send money to an account by number, offline recipient included, exactly once. Server only, nothing calls it yet (the transfer RPC and screen are a later card).
LF_BankTransfer.Send(transferId, from, to, amount)runsLF_BankTransferRules.Evaluate(the daily limit is read from the journal below, amounts of unrefunded transfers in the last 24 h), then writes a journal row (LF_BankTransferRow, state DEBITED), takes amount plus fee from the sender with oneLF_BankAccount.Withdraw(reasonbank-transfer-out:<id>, counterparty the recipient), credits the amount to the recipient (bank-transfer-in:<id>) and marks the row DONE; the fee is not credited anywhere. The ledger therefore holds one pair of rows with the same transfer id. An offline recipient is an account in the bank cache like any other (the save loads every account), so there is no separate offline path. A used transfer id is refused (LF_EBankTransferStatus.REPLAY) and the id stays used across a restart: the journal is thebank_transfersave section (rows kept 7 days, at most 4000). A credit that fails after the debit pays the sender back once (bank-transfer-refund:<id>, status REFUNDED, row REFUNDED). A save holding a DEBITED row (the server died between the two steps) pays the sender back on load, after the bank payload; loading the same save again ends in the same balances. Testbank/transfer-offline(PERSISTENCE). -
🧪 (2026-11-19, #3240, slice E1 of #3206) The mining chains in
tools\cli economy. The report prints one row per mining chain (iron by pickup, copper by car, stone by truck, stone on foot, the coal feeder): $/h net of the reagent bought and the fuel burned, first hour and steady, the trip (gather, plant runs, drive), and the ratio of police and medic rank 0 duty pay to it withOUT OF BAND, too richortoo thinoutside 1.5 to 2.5 and amining-dutyflag. The plant recipes (inputs, outputs,m_iMaxBatches,m_iProcessSeconds), the wholesale curves (per lot) and the hardware store's premium rows are read from the merged configs; the gather rate, vehicle loads (#3263 and #3265 sacks, a car's loose boot), km between mine, plant and buyer, reagent price and fuel are intools/economy/mining-assumptions.json(E2 #3246 tunes them), and a trip that gathers more than the vehicle carries is a printed problem. Codetools/lib/economy-mining.mjs, hooked intobuildReportbeside the lumber and wheat loops.validate-profit-loopsnow also checks the three plant recipes (tools/lib/economy-mining-recipes.mjs:smelter-iron,refinery-copper,cement-worksmust exist; every input shop-bought and the product sold at the market ceiling or a premium price is a loop; a shop that sells a reagent for less than the market pays for it is a loop). Selftesteconomy-mining-selftest.mjs. -
🧪 (2026-11-19, #3246, slice E2 of #3206) The mining chains tuned into the duty band. Rows only, no code: iron bar premium at the hardware store $26 to $22; copper bar wholesale 50 / 25 to 40 / 20 and premium $62 to $52; coal lump wholesale 3 / 2 to 7 / 5 (coal feeders now earn a stepping-stone wage, and a smelter's coal costs $5 a lump in
tools/economy/mining-assumptions.json); cement bag premium $9 to $10.tools\cli economynow prints iron by pickup $515/h, copper by car $514/h (first hour $701/h on a fresh market), stone by truck $460/h and the coal feeder $385/h, every ratio of police ($900/h) and medic ($792/h) duty pay inside 1.5 to 2.5. Stone on foot stays out of band on purpose (a 280 minute walk for 10 limestone, $8/h): the truck is the way in, so it is the one remainingmining-dutyflag. The gather and drive times are still the E1 assumptions, no measured rates exist yet. Selftesteconomy-mining-band-selftest.mjspins the bands and the $520 / $510 / $490 targets within 15 percent. -
🧪 (2026-11-19, #3320, slice of #638, merged in-dev) The ATM has a transfer page. A TRANSFER key on the terminal opens
LF_ATMTransferPage(UI kit parts, the keypad ofLF_ATMKeypad): it prints "YOUR NUMBER: ..." (your account number, a uid you can paste to someone), a box for the recipient's number, the amount, the fee and total, and SEND. The server (LF_CharacterATMComponent.RpcAsk_Transfer,LF_ATMTransferService.Serve) checks you are at an ATM, rate limits the player (3 per 5 s), trims the number, makes the transfer id itself and callsLF_BankTransfer.Send, which runs the #3318 rules again; the reply is a code the page turns into words (LF-BankTransfer_Refuse*, "slow down", "did not go through"). A sent transfer gives a toast naming the amount and the last four characters of the recipient's number. Double SEND fix (2026-11-21, REVIEW-NEEDED): the page holds a pending request until the server answers or 30 s pass (also across closing and reopening the page), the server refuses a repeat of the same number and amount from the same player within 10 s of a sent one (reply "slow down"), the fee line reads the server's fee settings (RPC when the page opens,LF_CharacterATMComponent.RequestTransferFee, its own rate limit of 3 per 5 s per player), and the number box types in dark ink on the cream well (LF_UISkin.m_FieldInk). Proofatm-transfer(two clients); testLF_Test_ATMTransferPage. -
🧪 (2026-11-19, town-draft-saint-philippe-gun-counter-fix) The Saint-Philippe gun counter refuses wanted, dead, downed and cuffed buyers, and its slips read as words.
LF_ItemCatalogue.Checknow refuses a licence-gated offer (a firearm, its magazines) before reading the permit when the buyer cannot trade (LF_BuyerFacts.CanTrade: not alive, downed or restrained →UNFIT, "The clerk won't hand that over to you in this state.") or is wanted (WantedLevel() > 0→WANTED, "You're wanted by the police. The counter won't sell you that."), on the server, for buy and sell. Guns were never free pickups: the counter already checked the permit on the server, the racks' guns are mesh-only props, and the self-service shelves held hats, maps, binoculars and compasses. A store shelf now also skips any weapon or non-legal line with an error (LF_StoreRules.MayShelve), since a shelf copy is a real item until paid. The counter's licence slip ("Refused: you're wanted by the police.") and the other screens that translated a{term}key by hand (barber pay, death bill, hideout door, shop refusal with a detail) go throughLF_Terms.Text;validate-terms-shownfails aWidgetManager.Translate,SetTextor layout text that shows a termed key raw. The island kitgun-countergains its clerk behind the counter (LF_Npc_StoreClerk_2, facing customers) and the display guns (GunStore_RackDisplay.et, the village store's mesh-only rack guns). Testscatalogue/gun-counter-gate(LOGIC),catalogue/gun-counter(WORLD, cuffed case). Manual: at the Saint-Philippe gun counter, buy the PM with no permit (refused), get the permit, buy (paid); get a wanted level and buy again (refused, the slip says "police"). -
🔧 (2026-11-19, town-draft-saint-philippe-clothing-fix; merged, in-dev) The Saint-Philippe clothing till takes payment, and the shop doors are clear. Reported from play: "I can't interact with the till" and "some items block the entrance and exit". The pay action (
LF_StoreTillAction) sat onClothingStore_Stock, a mesh-less entity at the building's origin, with its context a metre and a half away;looklisted it but the interact key never offered it. The till row is now the pack prefabLF_ClothesTill(theCashierShop_01mesh with its own context at the register andLF_StoreTillActionkeyedeveron_clothingstore, the pattern of the supermarket and cafe tills); the stock entity keeps only the store component. Doors: the decor generator (tools/buildings/clothing-store/decor.mjs) had put two coat boards half in the shop's hall door (0.49 m into its clearance) and the hat board across the back-room door (0.78 m); one board now stands 0.26 m clear of the door frame, the hat board stands left of the back-room door, and the 1.2 m lane from the door to the counter is clear. Proofclothing-till-proof(the interact key offers the till, a cap is paid for),aimharness verb. -
🧪 (2026-11-21, #3893) The newsagent sells what its counter shows. The Saint-Philippe kiosk b13 is rebuilt through the grid (kit
newsagent, now authored around the island'sNewspaperBooth_E_01_redwhite, stamped withtown stamp). Stocknewsagentadds five pack items underLF_Everon1989/Prefabs/Items/Newsagent/: newspaper $1, magazine $3, postcard $1, notebook $4, pen $2 (beside the tourist map $25 and water $3). Each has a price rule inLF_ShopPrices_Newsagent.conf(listed in the mission header) that buys it back for $0 to $2: without it the shop price table buys any item back at $25 and the $1 paper printed money (LF_Test_EveronVillageStockcaught it). One display model per spot on the counter: postcard, pen, magazine and the vanilla notebook stack (LF_NewsDisplay_*, meshes only; the till sells), the vanilla newspaper stand stands at the end of the counter. Core change:town authoraccepts a building smaller than the 2x2 bay (the check asked for an exact size). -
🧪 (2026-11-21, #3893) The pharmacy sells medicine off a stamped counter. The Saint-Philippe pharmacy b88 is rebuilt through the grid: kit
pharmacyis authored around the island's ownShopHouse_E_2I01t_drugstore(it used to carry a copy of the whole furniture group, which doubled the host's own) and stamped onto it. Rows: the dispensary counter (LF_PharmacyCounter, outletpharmacy_counter), a till (stockpharmacy: aspirin $10, gauze $8, tourniquets $25, buy-back capped byLF_ShopPrices_Drugstore.conf, in the newLF_ShopStock_Pharmacy.conf), the pharmacist, the green fascia and three counter displays (LF_PharmDisplay_*), one item per spot. The host's own empty shelves, counter and register stay. Pack only; no script or core change. -
🧪 (2026-11-21, town-draft-saint-philippe-dock-wholesale-yard, #3895; merged, in-dev) The dock wholesale hall is rebuilt around the building's own clutter. Slot
saint-philippe-dock/wholesale(b24,Garage_E_02, 28 x 19 m) was re-fitted fromtools/town/kits/wholesale.json: the log stack no longer clips the base map's racks and crates, the rows stay out of the 12 front bay doors, the west and back doors and the vanilla workshop corner, the fascia sits above the door leaves, and every row stands within 1 cm of its surface. The kit's new top-levelclearlist (27 prefabs, none a prefab a row uses) writesFit_saint_philippe_dock_wholesale_clear(LF_BaseWorldClearComponent, building mode), which hides the garage's racks, gas tanks, jerrycans, pallet piles, hydraulic jack, engine crane, cardboard and loose crates at load; the workshop corner (benches, cabinets, shelf) stays. Authored bytown fit, not the grid:Garage_E_02needs a 3x2 block of normal cells and none was free (the 2x2 authoring bays are too small), so grid-first waits for a free block. -
🧪 (2026-11-21, town-draft-saint-philippe-pharmacy-shelves, #3893; merged in-dev) The pharmacy gets two stocked medicine shelves. The kit's clear list now hides the host's empty
ShelfShop_01gondolas (aFit_saint_philippe_pharmacy_clearcarrier, stamp clear carrier #3930), and two of our own wide wall units (ShelfUniversal_01_wide, rowspharmacy-shelf-1on the east wall andpharmacy-shelf-2mid-room, each 1.2 m lane from the door) stand where they were. One item per spot: shelf 1 holds aspirin, gauze and a tourniquet on one board, shelf 2 the same three on a lower board (theLF_PharmDisplay_*meshes, matchingLF_ShopStock_Pharmacy.conf). The host's other wall units stay as they are. Pack only; no script or core change. -
🧪 (2026-11-21, #3888 baseline) The general store's two tills and its radio stand on the counter without overhang. The kit
general-storenow holds the miner's till as a row (general-store-miners-till, sourcetools/town/kits/sources/general-store.layer, so a refit keeps itsminers_supplyshop component and actions: the last refit would have dropped the hand-added row), lifts the tills and the radio to the counter's real island top (kit y 1.186: the hostCounterShop_01reads 5 cm under its prefab height), and hides the vanillaCashierShop_01register with the kit'sclearlist so the two tills fit side by side on the 1.5 m top. The radio moved onto the workshop table behind the counter. The main till's contact reading (7 to 11 cm "sunk" under a 3x3 trace while probe props at the same height read 0) is allowlisted inagent-box/place-audit-allow.json. -
🧪 (2026-11-21, #3888 baseline) The Saint-Philippe chess table stands on the cobbles and its two chairs sit within reach. The table was 4.6 cm into the road surface (kit y -0.7 to -0.654) and each chair's interaction point stood 0.67 to 0.71 m from the nearest mesh (limit 0.5 m), so the interact key never offered the seats; the chairs now sit 0.8 m from the table's middle instead of 1.1 m (kit z -15.3 and -13.7). Kit
chessonly. -
🧪 (2026-11-21, #3888 baseline) The clothing store's first counter and register stand 1.2 cm higher, and the clerk 15 cm further back. The counter sat 1.2 cm into the island floor (kit y 0.199 to 0.211, the cashier register on it follows) and the clerk's interaction point was 0.47 m from the register's, so F could pick the clerk over the till (limit 0.5 m; the clerk's kit z -1.2 to -1.35). Kit
clothingonly. -
🧪 (2026-11-21, #3888 baseline) The bakery clerk stands 0.17 m further back from the till. The clerk's interaction point sat 0.48 m from the till's, so the F key could pick the clerk over the register (limit 0.5 m). The kit row
bakery-clerkmoves from z 2.2 to 2.02 (at 1.85 the stamp refuses: the clerk would stand in a door's swing). Kitbakeryonly. -
🧪 (2026-11-21, #3888 baseline) The clothing store's two floor counters stand on the floor.
counter-shop-01-2and-3sat 1.2 cm into the island floor; their kit rows rise 1.2 cm (0.199 to 0.211), as the first counter did. Kitclothingonly. -
🧪 (2026-11-21, #3888 baseline) The bakery's two counters, the register and the loaves on them stand on the island floor. Both counters sat 2.8 cm into the host floor (the island shell is 2.8 cm higher than the grid copy, as the rebuild notes say): the kit rows
bakery-counter-1and-2, the register and the two counter loaves rise 2.8 cm. Kitbakeryonly. -
🧪 (2026-11-22, Coalman's Brow mine)
tools\cli economyprices pack machines. A mining chain row intools/economy/mining-assumptions.jsonwhose recipe is not in the coreResourceChains.confis looked up in every pack chain overlay (anLF_ResourceChainConfig.confunderaddons/<pack>/Configs). New rowiron-brow-foot(furnace-iron-mine, buyercoalmans_brow_mineon site, a 10 to 20 m walk): $471/h steady, in band;economy-mining-band-selftestholds it there. -
🧪 (2026-11-22, 0.2.0 playtest, merged in-dev) A new Everon character opens with $1,250 in the bank (was $1,000). The maintainer asked for a start that buys a car, the licence and basic hardware. The figure is the pack overlay's
LF_CharacterConfig.m_iStartingBank(LF_Characters_Everon1989.conf;-1, the core default, keeps the game mode'sLF_SpawnLogic.m_iStartingBankof 1000);LF_SpawnLogic.GetStartingBankreads it andLF_CharacterCreationManager.PayStartingBankpays it once, only into an empty account, so existing characters keep their balance (the admin#lfmoneycommand, #4052, tops them up). The list it covers at the island prices: cheapest lot car T601 $560 (base 700 at buyPercent 80, a server config key, so no republish is needed) + driving licence $100 + pickaxe $150 + axe $120 + entrenching tool $45 = $975, $275 left for fuel and food. Honest cost: the extra $250 is about half an hour of courier work (toolscli economy: $480 an hour in hour 1) and the whole opening bank about 2.6 hours of it.toolscli economyreads the overlay (start: bank $1250). TestLF_Test_EveronStartingBank(pack leg). -
🧪 (2026-11-22, 0.2.0 playtest, merged in-dev) The Everon start is $2,000 (was $1,250). The maintainer asked that a new character can also afford a few respawns after dying. $2,000 covers the starter list ($975: T601 at $560, licence $100, pickaxe $150, axe $120, entrenching tool $45) plus three $150 respawn bills (
LF_Respawn.confm_iBillAmount), with about $575 left for fuel and food. Same overlay field (LF_Characters_Everon1989.conf), same pack testeveron/starting-bank. -
✅ (2026-11-22, clothing-catalogue-full, merged, in-dev) The clothing outlets carry every civilian vanilla wearable the game lets us sell.
LF_Catalogue_Clothing_Everon1989.confgrows from 50 to 83 rows (sold byclothing_rack,workwear_counter,surplus_stall: uniforms 22 to 30, headgear 12 to 29, footwear 2 to 3, gloves 1 to 2, backpacks 1 to 5, equipment 3 to 5). New: raincoat in green, orange and yellow, the fourth cotton shirt, light-brown trousers, orange fisherman trousers, a clean denim work jacket, blue knitted hat, five more trucker caps, folded and unfolded ushanka, three Zmijovka caps, three berets, a green hard hat, wool gloves, clean Soviet work boots, two wristwatches, boonie hats and M65 trousers at the surplus stall, and four rucksacks priced by capacity (canvas sack $28, Swiss M70 $30, Kolobok $60, ALICE $80, IIFS field pack $110; the ALICE pack also goes on the clothing rack because the island has no surplus stall). Every colour variant is its own row;LF_ShopPrices_ClothingStore.confcarries a rule for each rack and workwear row. Left out on purpose: military uniforms, vests, helmets and pilot or tanker suits; every Rally item (suit, helmet, gloves) and the competition bibs are DLC-owned (tools/validation/dlc-owned-prefabs.txt); no vanilla prefab has a GUID for the organizer bib. Vanilla has no civilian vests and no shoes beyond the CombatBoots. TestLF_Test_EveronClothingCatalogue(pack leg): every row sold by a clothing outlet loads and has a price, range minimums per kind, backpack price follows capacity, red proofRedProof(). -
🧪 (2026-11-22) Buy clothes off a mannequin. Each dressed mannequin in the clothing store lists its worn pieces in the action list ("Buy work jacket: $45", one line each) and "Buy whole outfit: $X" (the sum); F buys through the outlet till (
LF_ShopComponent.BuyDropOverflow: server checks, full pockets drop the piece at the buyer's feet). A sold-out piece is greyed "Sold out", short cash "Not enough cash"; no window opens. Five pack mannequins atclothing_rack(work denim, suit, knit, raincoat, backpack display);clothing_rackalso offers work boots and green fisherman trousers so every worn piece is sellable. Testsshop/mannequin-outfit,everon/mannequins. -
🧪 (2026-11-22, town-draft-saint-philippe-clothing-mannequins) Saint-Philippe clothing store: mannequins face the customer. Kit
tools/town/kits/clothing.json: the denim, knit and raincoat window mannequins turn to face the street door and the room (yaw -120, pulled back to z 6.3 to 6.5 so no arm reaches the glass); the suit mannequin leaves the street doorway for the east wall where the coat boards hung (faces the room); the new backpack display (LF_Mannequin_Backpack) stands on the west wall where the denim coat board hung, facing the door. Rack clutter out of the furniture prefab (tools/buildings/clothing-store/decor.mjs): three coat boards with their coats and the in-window coat tree with its caps. Every mannequin sells what it wears (#4100).audit placement --world MainWorld --strict: no clothing finding beyond a 0.03 m bounding-box touch of the backpack mannequin and the west shelf. Flowagent-box/flows/island-clothing-mannequins.txt. -
✅ Playtest town ATM kiosks (2026-11-23, #4241, DebugWorld
ATM.layer): threeLF_ATMwall kiosks on the town's walls: the bank's front, the drugstore's west wall on the square, and the fuel station kiosk, each with the island's place id (atm.saint-philippe.b79,atm.saint-philippe-dock.b08,atm.saint-philippe.b97). The legacyATM_Debugaction stand inside the bank lobby is left where the maintainer placed it, with its teller; retiring it is a follow-up. -
🧪 (2026-11-22, #4178, slice X-8 of #4170) Duty pay on the 0.3.0 ladder. Police is the lowest steady pay: Cadet $350, Patrol $375, Senior Patrol $400, Sergeant $425, Lieutenant $450 an hour (
m_fPayPerSecond0.0972 to 0.125 inLF_Police_Everon1989.conf). Medics sit on the mid-tier rung: orderly $480, EMT $500, paramedic $530, doctor $560 (0.1333 to 0.1556 inLF_Medic_Everon1989.conf).tools\cli economydrops the old 1.5 to 2.5x duty band. It prints aduty rungsrow per rank (shift, bonus cap, most and typical per hour; caps police $100/$100/$100/$95/$70 and medic $40/$50/$50/$40, the rows PO-D4 reads,LADDERintools/lib/economy-lumber.mjs) and flags (duty-rung) a police rank above the $480 entry rung or over $520 with its bonus, a medic rank off the $480 to $600 mid-tier rung or over $600 with its bonus, and a civilian loop under the Cadet shift. Stone on foot is the one intended flag. Test:tools/validation/economy-ladder-selftest.mjs. -
🧪 (2026-11-23, first-2-hours re-review C8) The ATM payout line fits its screen. The screen shows about 25 characters; "PLEASE TAKE YOUR CASH: $20" lost its last digit.
LF-ATM_Dispensedis now "TAKE YOUR CASH: %1" andLF-ATM_Deposited"DEPOSITED: %1" (both at most 22 characters with a four-digit amount). Testatm/status-fits.