Draw belts, underground belts and splitters with their direction

Belts are drawn like the in-game map: a strip in the colour of their tier
(taken from the icon of the transport belt of the same tier), with an arrow
per lane in the direction items go. Splitters are drawn at their rotated
2x1 footprint with a bar across the back.

The mod now sends whether an underground belt is an entrance or an exit.
Entrances are capped on the side where items go underground, exits on the
side where they come out, and the hover tooltip says which it is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lazzexus 2026-11-03 10:21:11 +01:00
parent b9adb9ea83
commit 4bf90a6c1d
7 changed files with 159 additions and 2 deletions

View file

@ -71,6 +71,7 @@ class BuildingService(
unitNumber = entity.unitNumber,
direction = entity.direction,
recipe = entity.recipe,
beltToGroundType = entity.beltToGroundType,
)
}
}