18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-27 21:45:16 +01:00
Files
maszyna/vehicle
jerrrrycho da1f10d6b7 feat(cab): i-compartmentlights: lamp showing the compartment lighting (#352)
A cab lamp keyword for the .mmd, lit while the compartment lighting of the
cab's own vehicle (mvOccupied) is on: CompartmentLights.is_active, which
LightsCheck() works out from the low voltage power and the compartment
lights switches. Bound like i-cablight: in the autolights table, so it is
bound again whenever the cab's .mmd is read on a change of the occupied
vehicle. No vehicle uses it yet.

Unit tests of the state the lamp shows on the real Elf definition.

Refs eu07/maszyna#456.
2026-11-20 04:38:31 +01:00
..