GetPlanet (Harvest)
From OxeyeWiki
(Difference between revisions)
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | getPlanet() | Fetches the current planet as a four-letter string. In other words, "heph", "pose" or "ares". | | Returns a four character String containing the n...')
(Created page with '{{HarvestMethod | getPlanet() | Fetches the current planet as a four-letter string. In other words, "heph", "pose" or "ares". | | Returns a four character String containing the n...')
Latest revision as of 19:07, 2 December 2009
|
getPlanet() | ||
|
Fetches the current planet as a four-letter string. In other words, "heph", "pose" or "ares". | ||
| Parameter | Expected Type | Description |
| Returns | ||
|
Returns a four character String containing the name of the planet. | ||
Example
if harvest.getPlanet() == "pose" then
print("It's chilly outside.")
end