Loggy's interpretation of the chassis value function code

The "chassis value" function (there's no mark suggesting what name Illwinter may have given it) is used in a variety of places, out of a lack of other solutions I thought it sensible to put it here.

Alternatively, here's one I made earlier