Harvestable.getMaterialId

Returns the material id of a harvestable.

Kind: Function

Environments: Game

Game

harvestable:getMaterialId(  )

Open the full Game reference

Parameters:

Name Type Description
harvestable Harvestable The harvestable.

Returns:

Type Description
integer The id of the material.