Files
dota_factory/src
Malte Langkabel 768298dc7c Animate items entering building input ports
Accepted input items now travel inward across the input port's footprint
cell on a virtual input belt (progress 0.0 -> 0.5) before entering the
buffer, mirroring the output emergence (REQ-MAT-INPUT-INTAKE). Uses
reserve-on-entry accounting: pendingInputCount (buffered + in-transit)
gates acceptance so a material never exceeds its 2x cap, and the item
becomes consumable only on arrival at the tile centre. Covers the HQ
global-stock intake, clears in-transit items on recipe/schematic change,
folds the lanes into the checksum, and renders them occluded by the
building (shared draw pass with the output emergence).

Reuses the shared BeltSlot helpers and the belt-speed getter; no new belt
logic. Adds intake travel/arrival and reservation-cap tests, and updates
input-buffer assertions to count buffered + in-transit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DZR44tA8sn4dPqDzAVXyps
2026-07-14 18:10:49 +02:00
..
2026-05-22 06:34:42 +02:00