SpawnMinerals (Harvest)

From OxeyeWiki

Revision as of 07:16, 31 March 2009 by Jeb (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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