Docs · Engineering reference
Vehicles & License Plates
docs/features/vehicles-license-plates.mdEdit on GitHub
LF_VehicleLockComponent / LF_VehicleKeyComponent — Feature/VehicleLock/
- ✅ Server-assigned vehicle and debug-key identifiers explicitly bump their replicated state during initialization, so clients receive the identifier after picking up a key.
- ✅ The lock identifier, key id, owner, and lock flag are stored by
LF_VehicleOwnership. A restart writes that identifier back withSetVehicleIdentifier, so the key still matches. Purchased vehicles replace the vanillaSCR_BaseLockComponentslot{54D6FBC0EA806FE5}, so get-in reads this lock. (verified 2026-10-11) - 🧪 Locked cargo is closed on the server (#2411, WORLD
vehicles/locked-cargo-server-gate):LF_VehicleStorageLockGate(a moddedSCR_UniversalInventoryStorageComponent) refusesCanStoreItemandCanRemoveItemfor any storage whose owner chain reaches a lockedLF_VehicleLockComponent, so a vanilla drag, a scripted move or a modified client cannot take from or stash in a locked car. The open action stays the UI gate. The climb stops at a living character, so a seated occupant still moves their own items; theVehicleLockswitch turns it off. Manual proof still owed: a client on a dedicated server dragging cargo out of a locked car. - 🧪 Keys can be revoked (#2411, WORLD
vehicles/change-locks-revokes-keys,vehicles/retrieve-gives-owner-a-key): the lock carries a replicated key id beside the vehicle identifier (GetKeyId, empty = the vehicle identifier, which every older key and save uses). "Change the locks" on the lot sheet names the car by plate, charges the extra-key price, gives the record a newm_sKeyId(already in the savedvehiclespayload, no version bump) and the owner one new key; every older key stops opening the car. A garage retrieve or impound collect where the owner arrives without the last key (it is in a stash or a thief's pocket) re-keys the car the same way instead of minting a duplicate. Action prompts no longer log akey check:line every frame. - 🧪 "Store in garage" shows on a client (#3366, WORLD
vehicles/garage-store-here-client):LF_VehicleOwnershipfills only on the server, so the car's own row (LF_VehicleStoreHereAction) read empty tables on a dedicated client and never offered. The lock now replicates the owner's record key (m_sOwnerUid,SetOwnerUidwritten on buy, retrieve and save-apply) and the client branch (OwnedIdFor(..., useTables=false)) compares it with the user's key. Display gate only:PerformActionstill checks the ownership tables on the server. Needs a dedicated-server check. - 🧪 No free cars (island playtest 2026-11-22, WORLD
vehicles/no-free-cars; checkvalidate-no-free-carsfails any vehicle prefab in a MainWorld layer that does not start locked, selftestno-free-cars-selftest): one entry rule,LF_VehicleLockComponent.MayEnter(pureEntryRule), read by the client's get-in offer (IsLocked, reason#EL-VehicleLock_Reason) and by a server guard. A service car (police marker) opens for an officer on duty only, locked or not; a job vehicle's driver's seat (SetJobDriver, replicated player id, session only) is its job driver's only; any other car opens when unlocked.LF_VehicleEntryGuard(a moddedSCR_CompartmentAccessComponent.OnCompartmentEntered, server) puts a player who reaches the driver's seat of a car the rule refuses (and whose key they do not hold) back out beside it and logsentry refused; cargo seats (a carried patient, a suspect in a police car) and non-player crews are left alone. Island inventory: six parked-car markers and three police-car markers put out locked cars (unchanged); the layer cars that were plain drivable vanilla vehicles, the taxi-rank cab, the woodlot truck, the cash van, the Montignac depot tanker and the car lot's two display cars (UAZ469, UAZ452), now override the vanilla lock slot{54D6FBC0EA806FE5}withLF_VehicleLockComponentandm_bDebugLocked 1, so they stand locked with no key (re-applied on every load: a restart keeps them locked, a late joiner reads the replicated flag). The garbage round's company truck is the new coreLF_Ural4320_transport_CIV.et(the lock on the vanilla Ural) handed to the round's player (SetJobDriver); a bought load at a depot hands the tanker to the hauler, and another hauler's load is refused while that holder is online. Vanilla Everon places no vehicles (docs/everon/README.md), so nothing in the base world needs a clear. Event-scene vehicles (the shipment-docks Ural, the evidence convoy) stay as they are: AI-crewed and deleted when the scene ends. The taxi-rank cab is also a job car (m_bJobCar 1): "Start fare" at the rank hands it to that driver (HandNearestJobVehicle, 15 m; a cab whose holder stands beside it is skipped), and a job car's other seats follow the doors, which the hand-out unlocks, so a fare can board. The layer edits ship one slot per PR (taxi here; car lot, cash van, woodlot, Montignac depot beside it).
LF_LicensePlateManager + generators — Feature/LicensePlate/
- ✅
LF_LicensePlateGeneratorGeneric.GenerateLicensePlate()is"AA BB NNNN". - ✅ The alphabet includes
Z(LetterAt(25)) and the number range includes9999.Math.RandomIntis exclusive at the top, so the generator rolls 26 letters and a number end of 10000. (verified 2026-10-11) - ✅
LF_LicensePlateRegistrykeeps live plates. A second issue of a live plate is refused, so two vehicles do not share one by construction. (verified 2026-10-11) - ✅ The registry is session memory, so
LF_VehicleOwnership.ApplyAllre-reserves every saved plate on load; a purchase after a restart cannot be issued a plate already on a saved vehicle (2026-11-07, testrestart/vehicle-plates-reserved, verified 2026-11-07). - 🧪 Every client holds the registration (#2475, WORLD
licenseplate/client-apply, proofplate-late-proof):LF_LicensePlateManagerComponentapplies the registration to every plate it spawned when the replicatedm_Registrationchanges (the onRpl handler), when the vehicle's initial state reaches a client (RplSave/RplLoad, so a late joiner or a streamed-in car gets it), and at the end ofEOnInitif the value arrived before the plates spawned. The applied text is kept on the plate record (LF_LicensePlatePointInfo.GetAppliedText), so it is readable on a dedicated server with no text widget; the widget shows it when one exists. Each apply logs[LFDebug:LicensePlate] server|client applied plate <X> on rpl <RplId> <entity name>once per change (entity names are empty on clients). Manual proof owed: a second client joining a dedicated server after the Annex police UAZ spawned. - 🧪 The plate shows its registration (#2476, #3039, WORLD
licenseplate/layout):LF_LicensePlateEntitybuildsLicensePlate.layoutonce on a client (not on a dedicated server) and binds itsRTTexture0to the plate mesh withSetRenderTarget, so the manager's text widget draws the registration on thePIPMaterialface (PIPMaterial.emat,$rendertarget). The plate was white because the Workbench bake ofLicensePlate.xobdrew the window face (a second mesh object,Cube.001) with the box material, and the UAZ point had the plate pitched 180 degrees, so a rear viewer saw the solid back of the box.LicensePlate.fbxis now one mesh (tools/assets/license-plate/merge-face.py) and the UAZ plate point faces the rear at its own height and clear of the spare tyre. Verified in a full-profile session close shot (tmp/plate-close). - 🧪 An owned car keeps one plate (#2474, #2434, WORLD
licenseplate/no-leak):LF_LicensePlateManagerComponentremembers the plate itsEOnInitissued; whenSetRegistrationswaps in the owner's plate (purchase, retrieve, impound collect) the spawn's plate is released in the registry, once, so it can be issued again. A plate the manager did not issue, and setting the same plate twice, release nothing. A vehicle with noRplComponent(the test fixture) now counts as its own authority and gets a plate at spawn.
Vehicle lot and garage — Feature/Vehicles/
-
✅ Playtest: two cars from the start (2026-11-08, WORLD
vehicles/test-cars): withLF_SpawnLogic.m_bGrantTestCars(on inGameMode_Roleplay_Debug.et, so DebugWorld and the playtest; off in the flagship mode) a newly registered character owns the lot's first two cars as records with their keys in hand: the S105 stored in the garage and the UAZ at the impound lot (LF_VehicleOwnership.GrantTestCars). Nothing spawns; retrieve and collect work at once. Granted only to an owner with no vehicle yet. -
✅
Roadmap_Vehicle_Lotsells vanilla S105, UAZ469, S1203, UAZ452, and M923. Each spawn is a thin child of that vanilla prefab withLF_VehicleLockComponentand{9D94B834AF514B4A}Prefabs/Items/Roleplay/VehicleKey.et. (verified 2026-10-11) -
✅ Free 1.9 period cars (#981): the lot also sells the vanilla Dana 2101 (
V2101_beige, 1800) and Sputnik T601 (T601_beige, 700), prices fromLF_VehiclePrices.conf, chop values fromLF_ChopShop.conf. Each spawns as a thin locked child (EL_V2101_beige.et,EL_T601_beige.et: lock, key action, storage access, store-here, search) and gets a plate on purchase like every lot car. Display carsLot_Display_dana2101(233.6, 261) andLot_Display_t601(208, 260) with chalkboard price boards. WORLDvehicles/period-cars. No Rally DLC car (*_rally_*, S105 RS and so on) is in any list. Not done: the Tozer 5322 tractor is not in the installed 1.9.0.37 game data under any searchable name, so nothing could be added for farming or the fuel depot; the 1.8 shop interior window is already part of the vanillaShopHouse_E_2I01t_foodstorethe general store uses, so nothing to swap. -
🧪 Trucks move to the truck yard (0.3.0 W20, #4417; pack test
everon/truck-yard): a vehicle price row (LF_VehiclePriceEntry) takes an optionalm_sLotId, am_sCapacityClass(theLF_Capacityclass) and am_sNameKey; the lot takes anm_sLotId. A row with no lot id is sold at every lot, so saves and the playtest town are unchanged; a row that names a lot is sold only there (LF_VehicleLotComponent.CollectOffers, which the sheet's row count, the Buy index and the buy check all read). A lot with an id and no placed offers lists its own rows, so the truck yard needs no layer entry for its catalogue. The Everon 1989 price overlay puts the Ural 4320 ($9,500) and the M923A1 ($12,000) on lottruck-yard, so the Saint-Philippe car lot no longer sells the M923A1. Buying anytruckclass row without the truck licence (LF_DrivingCheck.HoldsTruckLicence) is refused before any money moves with#LF-Lot_NeedsTruckLicence, which names the $300 truck check. Not done here: the truck yard lot entity and its place in the north-east compound (the town pipeline), the civilian grey M923A1 repaint, and colour rows for the Ural. The overlay stream (WriteStream) carries the three new fields so a client's sheet agrees with the server's. -
✅ A price at or below the lot cash ceiling (500) debits MoneyStack. A higher price debits the ATM balance and does not convert cash. A short payment is refused and charges nothing. Above the ceiling the refusal reads
#LF-Vehicle_BankShort(pay from the bank; deposit at an ATM), so a buyer holding enough cash knows why (vehicles/bank-refusal). -
✅ Purchase spawns the locked child, sets the buyer as owner, locks it, issues a unique plate, and gives one key. Extra keys are an owner action at the configured cash price.
-
✅ The vehicle record is keyed by the lock identifier.
Export/Applyrestore the owner and the key id.LF_PersistenceComponentSerializerversion 4 writes those records after the hideout records; a version 3 save has hideouts and no vehicle payload. Store keeps the prefab and the lock flag; retrieve spawns on the garage's own pad (LF_VehicleGarageComponent.m_sPadIdnames anLF_VehicleSpawnPointComponent), not at the last world coordinates. -
🧪 Car cargo is kept (#2809, WORLD
vehicles/store-keeps-cargo, PERSISTENCEvehicles/cargo-persist, restarttoolscli wt e2e): a car's storages are anLF_StorageSnapshotrecord under the vehicle id (slotvehiclecargo), so they ride thecarriedpayload with ammo, serials, stolen flags and house keys, like placed storage: no new save version.LF_VehicleOwnership.CaptureCargoruns when the garage stores the car, when a tow takes it (TakeOffStreet), and for every owned car on the street at each save point (CaptureAllCargo, which is what the restart impound gives back). A garage retrieve or impound collect applies it a frame after the spawn (ApplyCargo, a reconcile: the prefab's stock fill is not added on top, a prefab that no longer loads is held and logged). A scrapped car, a burned-out car at the save point, or one that left the world without a capture (checked at the save point and again when the impound gives it back, so an admin delete or wreck sweep followed by a collect cannot replay an old snapshot) drops its cargo, so an old snapshot never comes back next to items that already left. WithkeepCashoff the cash in car cargo is stripped too;keepCarriedGearoff leaves car cargo, as it leaves placed storage. The garage has no capacity limit, so nothing refuses a full car. (2026-11-18) -
✅ Garage it to keep it (M1-16, #101, decision 2026-11-07; tests
vehicles/impound,restart/vehicle-street-impounded,garage/ledger-card): a vehicle survives a restart only when it is stored in a garage. After a load,LF_VehicleOwnership.ImpoundStreetVehiclesleaves every owned vehicle that was not stored unspawned: it is at the impound lot (IsImpounded= owned, not stored, no live entity; derived, so no save field and no version bump). No key is spawned at load.Roadmap_Impound_Desk(246 0 269, at the gate of the net-fenced yard behind the garage, x 236..256, z 271..283) releases the owner's latest impounded vehicle forLF_GarageConfig.m_iImpoundFee(Configs/Vehicles/LF_Garage.conf, 250) in carried cash onto a yard pad, once; short cash, a stranger, a full yard, or a second collect is refused and charges nothing. A collect or retrieve hands the owner a key bound to the car when they hold no live one (a restart unbinds carried keys); when the last key is alive but not on the owner, the car is re-keyed (#2411). A purchase is followed by a toast that teaches the rule (#LF-Garage_BuyHint); the garage sign and a newSign_Impoundboard at the desk explain store, retrieve, the ledger, and the fee. -
✅
Garage_E_01({A548C1C5370D0734}Prefabs/Structures/Houses/Garage/Garage_E_01/Garage_E_01.et) is the garage shell. DebugWorld places the use pointRoadmap_Garageat238 0 256.6onStreet_Vehicles.layer, with store, retrieve, and read the ledger. A retrieved car is parked along the kerb in front of the doors (254.6, then 7 m west). Store takes the owner's car parked within 15 m of that garage; the lot is no longer a garage. The shell is its child 5.9 m north, turned so its doors face the street; the player stands in front of the doors. The lot counter isRoadmap_Vehicle_Lot: bought cars land on a pad 5 m west and 5 m south of it, then 8 m steps north across the concrete lot. The showroom body isRoadmap_Vehicle_S105. (verified 2026-10-11; moved with M1-25) -
✅
LF_Garageholds the park rules and the ledger. Park refuses a seated player or a missing garage, and a vehicle that is not within the same garage's radius as the player (LF_VehicleGarageComponent.SharesGarage,#LF-Garage_VehicleTooFar, testsecurity/garage-store-range), then stops the engine and teleports occupants out before store. Store ejects any stranger seated in the car (a stranger in an unlocked car no longer blocks the owner;LF_Garage.StopAndEject, thenHasOccupantsis checked again so a seat that stays taken keeps the car and a player is never deleted) but refuses while the owner or anyone carrying the car's key is seated (#LF-Garage_Occupied;LF_Garage.OccupantBlocksStore,KeyholderInside; LOGICvehicles/store-ejects-stranger; a live eject is a manual step). Store no longer refuses a car with items in it: the cargo goes into the garage with the car (#2809, below). Police recovery of a stolen car still refuses until the officer empties it (#LF-Garage_EmptyCargo,LF_Garage.HasCargo), so a thief's goods never ride home in the owner's garage. Reading the garage or the impound desk sends the reader's rows from the server (SCR_PlayerController.LF_ShowGarageLedger) and opensLF_GarageLedger, a read-only paper card: model, plate, and where each vehicle is (in the garage, at the impound lot), plus the release fee when one is impounded. The old catalog screen (buy, paint, preview, stats), unreachable from the world and a duplicate of the lot's buy path, is deleted withUI/Layouts/Garage/LF_GarageVehicleRow.layout. (2026-11-08) -
🧪 Garage slots and the tow config (#2655, spec #774, LOGIC
vehicles/garage-slots): each character may keepLF_GarageConfig.m_iBaseSlots(2) vehicles stored, at mostm_iMaxSlots(6) with bought slots. The price of slot index n (0-based) ism_iSlotPriceStart(500) +m_iSlotPriceStep(250) * (n - base); the base slots are free andLF_GarageSlots.NextSlotPriceis -1 at the max. Slots in use are the owner's stored records (LF_GarageSlots.UsedBy); bought slots come fromLF_GarageSlotStore(#2656).LF_Garage.CanPark(..., slotsUsed, slotCap, out reasonKey)refuses an owner at the cap, and the store action toasts#LF-Garage_SlotsFullnaming the cap. The tow keys (m_iTowAfterMinutes60,m_iTowFee150,m_fTowExemptNearGarage30 m) are read byLF_VehicleTow(#2657). No save change. -
🧪 Abandoned cars are towed (#2657, spec #774/#859, WORLD
vehicles/tow):LF_VehicleTowsweeps the owned cars standing in the world every 60 s (server only, started by the game mode). A car with nobody seated and its owner not online within 50 m starts a clock (unix seconds); afterLF_GarageConfig.m_iTowAfterMinutes(60) it is deleted from the street, its record readsLF_EVehicleTowState.TOWEDwithtowedAt(the existingvehiclestatesidecar, no save change), and an online owner gets#LF-Tow_Towedwith the plate. It is then impounded like a restart car, and the impound desk (LF_VehicleTow.Collect,FeeOf) releases it form_iTowFee(150) and clears the state; the ledger shows the same fee. Never towed: a car someone sits in, a police car (it carriesLF_SirenKnobComponent), a car withinm_fTowExemptNearGarage(30 m) of a garage, a car flagged stolen, and job cars (they are not owned records). As with a restart impound, items left in a towed car are lost. -
🧪 Buy a garage slot (#2656, WORLD
vehicles/garage-buy-slot, PERSISTENCEvehicles/garage-slots-persist): "Buy a garage slot" at a garage desk (LF_GarageBuySlotAction, wired on the grid garage) takes the next slot's price in carried cash and raises the cap by one (LF_GarageSlotStore.Buy). The request carries nothing; the server checks desk reach (m_fDeskReach), the PURCHASE rate limit and that the buyer is alive and conscious. Short cash and the max are refused with nothing taken; a partial cash take is handed back. Bought slots per character key ride thegarageslotspayload (save version 55); a pre-55 save loads everyone with 0, and a count past a lowered max clamps on load. The ledger card line ("slots 2 of 3, next 750") is a follow-up. -
🧪 Saint-Philippe car lot (
carlotslot, #2933): the workshop garage b77 beside the town hall holds the pack lot (LF_VehicleLotComponent,roadmap-lotoffers and prices), a garage pad (2 bays), an impound desk (2 bays), the mechanic, three display cars and thevehicle_lotsign, so a newcomer can buy a car on the island. Kittools/town/kits/carlot.json(read from DebugWorldStreet_Vehicles.layer); layerPlace_saint-philippe_carlot.layer; template slotcarlot(optional,margin 18for the yard). Bay offsets are world-axis (the spawn-point component does not turn them). The garage pad carries store, retrieve, the ledger and buy-a-slot, the impound desk the collect and the ledger; the lot keeps buy and extra key (#3363: a fit had copied the lot's actions onto all three, so a bought car could not be stored and an impounded one never collected). Thedana2101display car is removed: it stood on the garage and lot bays and blocked a retrieve (spawn refused: no free pad). A UAZ452 display car (#3491) stands on the grass west of the workshop, clear of the pad and every bay. Buy-a-slot is in the kit source (DebugWorldRoadmap_Garage), sotown fit --refitkeeps it.town fitnow takes a row's nested blocks from the source entity of the same name. Proof:agent-box/flows/island-garage.txt, thenharness.mjs park, thenisland-garage-store.txt(its steps 6 and 7 impound the car with the dev verbimpoundand collect it at the desk for the fee; WORLDvehicles/dev-impound).impoundasks the server (LF_VehicleDevImpound, administrators or a harness build, same gate as /licence) to take the caller's newest street car off the street as a tow does; a flow sends it withsend impound. Draft for the maintainer. Check:town check saint-philippe,audit placement --strict. -
✅ (2026-11-22, 0.2.0 release walk) A pad is taken only by a vehicle whose origin is within the pad radius plus 5 m (
LF_VehicleSpawnPointComponent.IsNearPad,PAD_VEHICLE_REACH). The sphere query tests bounds, and the cash van, teleported between its stops while asleep, kept bounds spanning its route: parked 36 m away it filled pads 1 and 2, and the second player could not buy a car (spawn refused: no free pad for roadmap-lot). The display van beside pad 0 still holds it. Test LOGICvehicles/pad-reach. -
🧪 The car lot asks for a driving licence on the flagship (#3151, WORLD
vehicles/lot-licence, packeveron/car-lot-licence):LF_VehiclePricesConfig.m_bLotNeedsDrivingLicence(core off; the pack overlayLF_Everon1989/Configs/Vehicles/LF_VehiclePrices_Everon1989.confturns it on) makesLF_VehicleLotComponent.BuyColourrefuse a buyer who does not holdDRIVING_LICENCE(#3140) before the spawn check and before any cash or bank money moves. The server reads the licence from the buyer's licence manager (else the progression store), never from the client. The toast reads#LF-Lot_NeedsDrivingLicencewith the desk fee fromLF_LicencesConfig.DriverLicenceFee()("Not without a driving licence. The town hall desk issues it for $100." on the flagship). The ownerconfig.jsonvehiclessection reads it aslotNeedsDrivingLicence(true or false), and the generated schema lists it. With the License system off the lot never asks, since nobody could get the licence. The clerk'ssettle_wheelsstep says to get the licence first. -
🧪 Parked cars (#3365, WORLD
vehicles/parked-car-marker):LF_ParkedCarMarker.et(core,Prefabs/Systems/Vehicles/) puts out one locked civilian car fromConfigs/Vehicles/LF_ParkedCars.confat world start (LF_ParkedCarMarkerComponent, server only, nothing saved). Locked is the normalLF_VehicleLockComponentlock with no key anywhere, so opening it is a lockpick or hotwire and the crime, police and chop-shop loop handles it. When the car has been gone from the marker (deleted, or more thanm_fHomeMetres8 away) form_iRespawnMinutes(30) and no player is withinm_fPlayerClearMetres(100), the marker puts out a fresh one; the taken car is just a car in the world. One tracked car per marker (anEntityID).LF_ParkedCarssweeps every 30 s;LF_ParkedCarConfigreads pack overlays by prefab GUID, so a pack names its period cars (core list: the Dana 2101 and the Sputnik T601 locked children). Logs[LFDebug:ParkedCar]on each spawn and respawn. A car prefab that does not spawn (the Z7211 on a server without the Rally content, #3676; WORLDvehicles/parked-car-fallback) is logged once, remembered for the session inLF_ParkedCarsand skipped, and the marker tries the next car in the list, so it still puts a car out. Saint-Philippe (#3532): the pack overlayLF_Everon1989/Configs/Vehicles/LF_ParkedCars_Everon1989.confadds the Skoda 105, the covered UAZ 469 and the Z7211 (pack testeveron/parked-cars), andPlace_saint-philippe_parked-cars.layerholds six markers on the kerbs and driveways beside the square shops, the pub, two homes and the dock road (toolscli town parked-cars saint-philippe: each car 5.5 m off a road centre line, heading along it, 3.5 m from any door and 9 m from the taxi rank; audited on MainWorld).town parked-cars saint-philippe --probe(#3879) sites each marker by ray on a booted island instead of by the survey: the best 16 spots per building are checked for a flat surface under the box, a clear outline at bumper and window height (walls, fences, gates) and the door leaves' swing, and the first clean one is written with the height the island answered; the(runtime: parked cars)audit rows are clean. -
🧪 One locked parked car after a restart (#4122, PERSISTENCE
vehicles/parked-car-restart, restarttoolscli wt e2e): the engine's world save wrote every marker car, so a restart put it back unlocked and the marker put a second car on the same spot (a free car and a pile-up per restart). A marker car is now held out of the world save (LF_VehicleWorldSave.Hold, as owned cars since #3614); at world start the marker waits for a continued save to finish loading (SCR_PersistenceSystem.IsLoadInProgress, up to 60 s), thenPutOuttakes its current car, else adopts the nearest saved, unowned, job-free car withinm_fHomeMetresthat an older save restored (locked, service flag for a police marker, which takes only its own prefab; held out of the save again;[LFDebug:ParkedCar] parked car adopted from the save and locked), else spawns one. Asking twice gives the same car, so two restarts in a row still leave one locked car per marker. The garbage round's truck and event-scene vehicles are held out of the save too (session state).LF_VehicleWorldSaveremembers every held vehicle and holds it again before each save (GetOnBeforeSave), since the engine can register an entity after the spawn that held it. Layer cars (taxi, depot tanker) are layer entities whosem_bDebugLockedlock is re-applied inEOnIniton every load. Not changed: a car the vehicle robbery hands out is still a plain saved car. -
🧪 Locked police cars (#3875, WORLD
vehicles/police-car-marker):LF_PoliceCarMarker.et(core, a child of the parked-car marker) puts out the lockedLF_UAZ469_Policeat its marker instead of a car from the list (m_sServiceCar), and marks it a service vehicle (LF_VehicleLockComponent.SetServiceVehicle, replicated, never saved). A service vehicle refuses every civilian route: the key toggle (TryToggleBy), the pick (LF_Lockpick.CheckDoor/ShowsPick), the hotwire (LF_Hotwire.CheckVehicle/ShowsHotwire) and the chop bench (FindDropVehicleskips it even when flagged stolen); it is in no catalogue, so no record owns it and the garage refuses it. The usual sweep puts a fresh one out if it is gone, and the world-start spawn brings it back after a restart. The island slotpolice-cars(toolscli town parked-cars saint-philippe --slot police-cars --probe, mapping"marker": "police", a drop"count": 3) seats three of them on the kerb and forecourt in front of the Saint-Philippe police villa (Place_saint-philippe_police-cars.layer); the probe also rays at 0.75 m now, which is how a guard rail used to slip through. An officer on duty can unlock, lock and start one with no key (rc 0.2.0, WORLDvehicles/police-car-duty): for a service vehicleLF_VehicleLockComponent.UserHasValidKeyisIsServiceDriver(the replicated account state says on duty as police), so the lock action, the U key and the engine start pass and no unkeyed start marks it stolen. A civilian, or the same officer after clocking out, is refused; a carried police key does nothing on it. -
🧪 A hidden compartment (#3434, WORLD
vehicles/compartment):LF_VehicleCompartment.Fit(vehicle)hangsLF_VehicleCompartment.et(core,Prefabs/Vehicles/) off a car as a child entity with its own small storage, so it is not in the car's inventory tree. The quick search (LF_ChainSearch.SearchVehicle) misses its goods;LF_VehicleCompartment.SearchFull(the detective's full search) searches the normal storage then the compartment and deletes what it finds, once. The owner's "Open the panel" row (LF_VehicleCompartmentAction, shown by the replicated owner key) opens it; the server refuses a take from the compartment by anyone but the car's owner, since vanilla's nearby list can still show it. Fitting a car, putting the action on a pack vehicle prefab and the detective-gated "Full search" row (#3427) are not wired in the core yet. Its goods are saved across a restart and refitted when the car comes back from the garage or impound (#3435,vehiclecachesection). -
🧪 Inspection stickers (#3433, card Q8 of #1035, LOGIC
vehicles/inspection): an on-duty officer at the inspection desk (Prefabs/Props/Police/LF_InspectionDesk.et, vanilla post-office counter mesh, not placed anywhere yet) uses "Inspect vehicle" (LF_InspectVehicleAction) on the nearest car within 8 m and stamps a sticker valid forLF_Inspection.VALID_DAYS(7) game days; "Check the sticker" (LF_CheckStickerAction) reads valid, expired or none as a toast. A sticker is the expiry game day (the licence desk's day count) per car, kept under the car's lock identifier (LF_VehicleLockComponent.GetVehicleIdentifier); valid while today is before the expiry day. Server only. An owned car's sticker is saved in thevehiclecachesection under its garage id (#3435); an unowned car loses it at a restart. Both actions also work on a car prefab (the owner is the vehicle), but no car prefab carries them yet. Logs[LFDebug:Inspection]. -
🧪 1989 garage slots, prices and tow copy (#3458, LOGIC
everon/garagein the pack leg,garage/pack-overlayin core):LF_GarageConfignow reads pack overlays likeLF_PropertyConfig(#2977): an overlay sets only the fields it writes (m_iImpoundFee,m_iBaseSlots,m_iMaxSlots,m_iSlotPriceStart,m_iSlotPriceStep,m_iTowAfterMinutes,m_iTowFee,m_fTowExemptNearGarage); a value under its floor is refused and logged, and the cap never falls under the free slots. The flagship overlayLF_Everon1989/Configs/Vehicles/LF_Garage_Everon1989.conf(listed in the mission header) keeps 2 free slots and 6 at most, prices the first bought slot at 1200 (a week's wage at about 240 a day), then 2000, 2800, 3600, tows after 90 minutes for 150, and charges 200 at the impound desk (all under a day's pay). The pack string table overridesLF-Garage_SlotsFullandLF-Tow_Towedwith period copy. Merged, in-dev: the numbers are a first pass for the maintainer to tune. No save change. -
🧪 1989 repair kit on sale (#3334, WORLD
everon/repair-kitin the pack leg): the pack'shardwarestock sellsLF_RepairKit.et(#3332) for 90 and itsmechanicstock for 80, both under the 150 tow fee (LF_GarageConfig.TowFee), so a kit is cheaper than being towed. One kit restores the prefab's share (0.4, the test holds it between 30 % and 50 %), enough to get a wreck home but never back to new. The rows are inLF_ShopStock_Everon1989.conf, not a separate overlay file: a pack stock overlay replaces a core stock by id (LF_ShopStockConfig.Merge), so a second file naminghardwarewould mask this one's other rows. Merged, in-dev: the prices are a first pass. -
🧪 The garage counter lists Take out your car first (2026-11-22, first-2-hours review A15). The counter's four actions carry a
Sort Priority(lowest first, like the lock row): Take out 1, Store 2, Read the ledger 3, Buy a slot 4, in the kit source (Street_Vehicles.layerRoadmap_Garage) and the fitted Saint-Philippe layer, so a newcomer at the counter is offered the car and not the ledger. The till mesh that clips the camera at the outdoor desk is not moved in this change. Test:tools/validation/garage-action-order-selftest.mjs. -
🧪 (2026-11-22, first-2h review C18) A police car shows no Get in prompt to a civilian:
modded SCR_GetInUserActionhides it when the vehicle'sLF_VehicleLockComponentis a service car and the user is not an officer on duty (LF_GetInServiceCar.Shows). A plain locked car keeps its greyed prompt (its owner can unlock it). The server's entry guard is unchanged. Door prompts of the vanilla car are not touched.