get_number_of_availability_breakpoints

Get the number of availability breakpoints for a renewable resource.

The number of availability breakpoints is equal to the number of times the resource availability changes and can be increased/decreased by the P2Resource:add_breakpoint_to_availability function.

Parameters: 
I/O Type Name Description
input integer ID resource ID
output integer number number of availability breakpoints
Learn More: 

Step inside PMKC.

Example: 
function ()
        io.write('\n')
end
Class: 
P2Resource