get_resource_cost_use

Get the cost per use for a resource.

The cost for the use of a resource is as a one-time cost incurred every time that the resource is used and can be set at the P2Resource:set_resource_cost_use function.

Parameters: 
I/O Type Name Description
input integer ID resource ID
output float cost cost per use
Learn More: 

Step inside PMKC.

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