ClassLuaPlanet
Members
| create_surface() | → LuaSurface | Creates the associated surface if one doesn't already exist. |
Creates the associated surface if one doesn't already exist. | ||
| associate_surface(surface) | Associates the given surface with this planet. [...] | |
Associates the given surface with this planet. [...] | ||
| reset_map_gen_settings() | Resets the map gen settings on this planet to the default from-prototype state. | |
Resets the map gen settings on this planet to the default from-prototype state. | ||
| get_space_platforms(force) | → array[LuaSpacePlatform] | Gets the built space platforms orbiting this planet on the given force. [...] |
Gets the built space platforms orbiting this planet on the given force. [...] | ||
| name | :: R string | The planets name. |
The planets name. | ||
| prototype | :: R LuaSpaceLocationPrototype | |
| surface | :: R LuaSurface? | The surface for this planet if one currently exists. [...] |
The surface for this planet if one currently exists. [...] | ||
| valid | :: R boolean | Is this object valid? [...] |
Is this object valid? [...] | ||
| object_name | :: R string | The class name of this object. [...] |
The class name of this object. [...] | ||
Methods
create_surface() → LuaSurface
associate_surface(surface)
Parameters
| surface | :: SurfaceIdentification | The surface to be associated. |
The surface to be associated. | ||

