Initializing help system before first use

is_producing

is_producing


Purpose
Returns true IFF the specified task produces a specific resource.
Synopsis
function is_producing(task:cptask, resource:cpresource) : boolean
Arguments
task 
the task
resource 
the resource
Return value
true IFF the task produces the specified resource, false otherwise
Related topics