sm.harvestable.getAllHarvestables

Returns a table with all the harvestables in the world.

Kind: Function

Environments: Game

Game

sm.harvestable.getAllHarvestables( world )

Open the full Game reference

Parameters:

Name Type Description
world (optional) World The world, will default to the script's world. (optional)

Returns:

Type Description
table The table of all harvestables. {Harvestable, ..}