Picture for clarification purposes: The green line is 16 tiles, the red is 14, and the value printed by both the below commands is 14.
Code: Select all
/c game.print(prototypes.max_beacon_supply_area_distance)
/c game.print(prototypes.entity[game.player.selected.name].get_supply_area_distance()) --when the beacon is selected