SpawnMinerals (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
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 →

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.

Harvest Library

Example

   harvest.spawnMinerals(0, 0, 100)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox