Docs · Engineering reference
Processing
docs/features/processing.mdEdit on GitHub
LF_RecycleRules — Feature/Processing/LF_RecycleRules.c (#3347, 2026-11-19)
- Recycle recipes as pure logic: a car door gives back 2 of its 4 scrap metal at 50 %, a recipe worth as much as the item is refused at load with the reason, an unknown item gives nothing. No player-facing recycler yet. Tests:
processing/recycle-rules(LOGIC).
LF_RecyclerComponent — Feature/Processing/LF_Recycler.c (#3349, 2026-11-19)
- The recycler bench (
Prefabs/Props/Processing/LF_Recycler.et): Load takes one item that has a recycle recipe from the worker's inventory on the server, Work is a held action (4 units by default, each worker adds one, so more hands finish sooner), Collect hands over the parts fromLF_RecycleRules.Yield(overflow drops at the worker's feet). One job at a time per bench. An item with no recipe, a recipe item not carried, a busy bench, a worker out of reach and a collect with nothing ready are each refused in words (#LF-Recycler_*). A job in progress is not saved. The core ships no recipe, so the bench does nothing until a pack adds recipes. Tests:processing/recycler(WORLD). Grid cell:look grid:recycler.
Scrapyard recipes — addons/LF_Everon1989/Configs/Processing/ (#3351, 2026-11-19)
LF_RecycleConfignow reads pack overlays (ApplyLayers: a row with an item an earlier layer has replaces it, any other is added). The 1989 pack adds the first recipe: car parts break into 3 iron bars (6 at 50 %), worth $150 against the $200 item, and the bar has a market curve (drops per unit, recovers hourly). The new catalogue ids arecar_partsandscrap_iron_bar(LF_Catalogue_Scrap_Everon1989.conf). Tests:everon/scrapyard(pack leg).
Scrapyard items — addons/LF_Everon1989/Prefabs/Items/Scrap/ (#3823, 2026-11-19)
- Five loose carry items from vanilla meshes (no Meshy, no Blender): scrap metal (a dented pot), copper wire coil, rubber scrap (a tyre), worn hand tool (a wrench) and old radio (an R107M set; a dead prop, not a working radio). They are catalogue rows
scrap_metal,copper_wire_coil,rubber_scrap,worn_hand_toolandold_radio(LF_Catalogue_ScrapItems_Everon1989.conf). Recipes at 50 % (LF_Recycle_Everon1989_Items.conf): worn hand tool 6 scrap metal gives 3; old radio 4 scrap metal and 2 wire coils gives 2 and 1; rubber scrap 2 scrap metal gives 1 (the steel bead). Scrap metal, copper wire and rubber have buyer curves (LF_Market_Scrap_Everon1989.conf: they drop per unit sold and recover hourly). The parts of a recipe are worth less than the item, and a load at base prices times 15 loads an hour stays under the $450/h fuel haul (the biggest, the old radio, pays $24 a load). Copper bar stays off the pack market for the mining chains; wire is the copper that scrap pays for. Nothing spawns these items yet: loot and shop rows are their own cards. Tests:everon/scrap-items(pack leg).
The scrapyard on the island (#3357, 2026-11-19)
- ✅ Slot
scrapyard.recyclerof the Everon 1989 pack, fitted onto the concrete plant of the north-east industrial compound (Place_scrapyard_recycler.layer, kittools/town/kits/scrapyard.json, 38 rows). The kit carries all three groups so one slot holds them: the recycler bench (LF_Recycler.et) on the gravel apron east of the plant with drums, pallets and crates; the dealer's yard round the site cabin (signeveron_scrapyard, crates, tyres, a work lamp on the cabin roof); the dump on the open plot north-east (five vanilla wrecks, plough and cultivator wrecks, two cargo containers, tyre heaps and sixLF_LootScrapPilepiles to search at night). Rows are terrain rows (town fit --terrain); the slot's margin is 64 m so the dump fits (tools/town/templates/scrapyard.json). Three work lamps useLF_LampIndustrial_NoShadow(a street lamp counts as a shadow caster in the building budget). Not yet: the dealer's counter inside the cabin, a crane, a map point, and a system that looks up theScrapRecyclerkind (town checkwarns). Pictures:website/public/docs-images/3357/. - 🧪 (2026-11-21, #3877) Scrapyard baseline pass. 25 placement-baseline keys cleared. Kit rows now carry
liftwhere the dump slopes (scrap piles 1 and 4, the drums, the dealer lamp, the pallets), the dump lamps stand on the container tops (the old 2.6 m put them 0.8 m inside the containers),dump-tyres-3,dump-pile-5anddump-wreck-151moved off their neighbours, and the two dump containers keep their slope tilt as kitpitch/roll(town fitnow writesangleX/angleZ; the 2026-11-21 container-seat edit had put them in the layer by hand and a refit dropped them).TirePile_*is a heap (2.3 m), not a tyre: newtire-pilesize entry. Allowlisted with reasons: the dealer lamp on the cabin roof, the 8 m scrap heap beside the tin-wall gate, the last dump pile among base-map clutter, one wreck against a vanilla bin. - 🧪 (2026-11-22, buyer for the island) Scrap has a buyer. The garage mechanic's stock (
mechanicinLF_ShopStock_Everon1989.conf) gets a buyback list: scrap metal, copper wire coil and rubber scrap at 0.5 of the catalogue price (4, 12 and 5),m_bStolen 0so the garage still buys nothing flagged stolen. The existing garage till and mechanic NPC take it ("Sell" rows in the shop list); the garage never sells the goods back, so there is no loop. A flat price, no curve: the yard's finds are the limit (about $100 to $200 an hour). The three curves inLF_Market_Scrap_Everon1989.confstay but no trader lists those goods; the garage is the buyer. Testeveron/fish-scrap-buyers(pack leg). - 🧪 (2026-11-22, first-2h review B10) A timed machine shows it is running.
LF_ProcessRunFxComponent(on the coreFurnace.etand the pack'sLF_MineFurnace.et): whileLF_ProcessRunholds a run there, every rendering peer sees smoke from the stack and a fire glow, and the machine's process row reads the time left, greyed with "Still running" ("Smelt iron ore (3 make a bar): 3:12 left"). The server replicates the run's end in seconds of the replicated server clock (ChimeraWorld.GetServerTimestamp, anRplPropint), so every player and a late joiner count down from the same end whatever their own wall clock says (a first cut onSystem.GetUnixTimeread 4:41 for a 240 s run on a client 45 s off). The start toast now says the time left shows on the machine. Testprocessing/run-clock(LOGIC).
Feed from the truck — Feature/Processing/LF_FeedFromVehicle*.c (#4191, 2026-11-23)
- A vehicle with storage whose bounding box is within 3 m of a processing station (
LF_FeedFromVehicle.REACH) feeds it. When the worker does not carry one batch, the station's ownLF_ProcessActionreads Feed from the truck (#LF-Process_FeedFromTruck, a modded action, so every station has it with no prefab change). On Perform the server finds the vehicle again, refuses a locked one (#LF-Process_TruckLocked), runs the same system, hideout, level and busy gates, takes as many whole batches as the vehicle holds up to the machine's cap from the vehicle's storage (all inputs or none, rolled back on a short removal), and puts the product in the vehicle; what does not fit goes to the worker, then the ground at the station. A force-drop station (sawmill, furnace) drops its product at the station as a carried process does. The lock check walks up the vehicle parents, since the feed removes items directly. A timed machine drops its product at the machine as before. Out of reach the action is the ordinary carried process. Nothing new is saved. Any vehicle with storage counts (a car's trunk too); the van and truck are where it pays. Tests:processing/feed-from-vehicle(WORLD).