SpawnMinerals (Harvest)
From OxeyeWiki
(Difference between revisions)
Jeb (Talk | contribs)
(Created page with '{{HarvestMethod | harvest.spawnMinerals(x, y, amount) | Creates a new mineral patch at the given position. | {{MethodParam|x|A number|The x coordinate for the mineral patch.}} {{...')
Newer edit →
(Created page with '{{HarvestMethod | harvest.spawnMinerals(x, y, amount) | Creates a new mineral patch at the given position. | {{MethodParam|x|A number|The x coordinate for the mineral patch.}} {{...')
Newer edit →
Revision as of 07:16, 31 March 2009
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)