These functions are mostly for manipulating travel exclusions items.
This list is taken from l_travel.cc.
There should also be a function to test if there is a travel exclusion at a spot.
Syntax:
travel.set_exclude ( x, y, radius )
Parameters:
x
(int, required): The x coordinatey
(int, required): The y coordinateradius
(int, default LOS): The radius for the travel exclusionReturns: N/A
This function places a travel exclusion with radius radius
at position (x, y)
. What does it do if there already is one?
Syntax:
travel.del_exclude ( x, y )
Parameters:
x
(int, required): The x coordinatey
(int, required): The y coordinateReturns: N/A
This function removes a travel exclusion at position (x, y)
. What does it do if there isn't one?
I believe these are duplicates of functions in the Features Module. If not, they should probably be in there.
They take a feature name as a parameter.
It takes the branch name as a string as a parameter.