SpawnMinerals (Harvest)
From OxeyeWiki
harvest.spawnMinerals(x, y, amount) | ||
Creates a new mineral patch at the given position. | ||
Parameter | Expected Type | Description |
x | A number | The x coordinate for the mineral patch. |
y | A number | The y coordinate for the mineral patch. |
amount | An integer | The amount of minerals in the mineral patch. |
Returns | ||
Returns nothing. |
Example
harvest.spawnMinerals(0, 0, 100)