ContainerCrane
From TrainzOnline
Container crane
The container crane knows every time in driver mode the fitting (reachable) stacks and knows its own maximum container count. This count is the sum of all minimums of crane's maximum stack height and the fitting stacks maximum container stack count. One container height is reserved for moving the crane parts with a container hooked over the tops of all fitting stacks.
All cranes have a config extensions sub soup with the name "acts.reacharea-251489" and tags that declare the reacharea, looking like follows:
acts.reacharea-251489 { reacharea.dimension.x 30000 reacharea.dimension.y 100000 reacharea.dimension.z 26000 reacharea.origin_inset.x 15000 reacharea.origin_inset.y 50000 reacharea.origin_inset.z 5000 max_container_count 7 }
A crane is able to report its parameter soups, including a list of the reachable stacks.