Harvestable.getMaterialId
Returns the material id of a harvestable.
Kind: Function
Environments: Game
Game
harvestable:getMaterialId( )
Parameters:
| Name | Type | Description |
|---|---|---|
harvestable |
Harvestable | The harvestable. |
Returns:
| Type | Description |
|---|---|
| integer | The id of the material. |