set_resource_type

Define the type of a resource (renewable/consumable).

Parameters: 
I/O Type Name Description
input integer ID resource ID
input integer renewable 1 (renewable) or 0 (consumable)

 

Learn More: 

Step inside PMKC.

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