StdLib.Data.Planet
Wrapper for Factorio planet prototypes.
Methods2
function Planet.__index(table: StdLib.Data.Planet, key: any) -> value any
Custom __index function for function inheritance from both Space and Data.
Parameters
tableStdLib.Data.PlanetPlanet wrapper
keyanyField or method key
Returns
valueany
function Planet.__call(planet: string) -> planet StdLib.Data.Planet
Looks up and wraps a planet by name.
Parameters
planetstringPlanet prototype name
Returns
planetStdLib.Data.Planet
Fields1
Planet.__class: string = "Planet"