Difference between revisions of "SystemNames"

From Vendetta Lua
Jump to: navigation, search
Line 2: Line 2:
 
Table to translate systemid's into system names and back. Note that the "ID to name" translation returns names with capital letters, but the "name to ID" translation only works with all lower-case names.
 
Table to translate systemid's into system names and back. Note that the "ID to name" translation returns names with capital letters, but the "name to ID" translation only works with all lower-case names.
 
Numerical Order: (1 to 30)  
 
Numerical Order: (1 to 30)  
<source>
+
<source lang="text">
 
Sol II
 
Sol II
 
Betheshee
 
Betheshee

Revision as of 00:47, 10 February 2014

Description:
Table to translate systemid's into system names and back. Note that the "ID to name" translation returns names with capital letters, but the "name to ID" translation only works with all lower-case names. Numerical Order: (1 to 30)

Sol II
Betheshee
Geira Rutilus
Deneb
Eo
Cantus
Metana
Setalli Shinas
Itan
Pherona
Artana Aquilus
Divinia
Jallik
Edras
Verasi
Pelatus
Bractus
Nyrius
Dau
Sedina
Azek
Odia
Latos
Arta Caelestis
Ukari
Helios
Initros
Pyronis
Rhamus
Dantia

Example

print(SystemNames[16]) -- Prints the name of the system with ID 16, "Pelatus"
print(SystemNames["pelatus"]) -- Prints 16
print(SystemNames["Pelatus"]) -- Prints "nil" (note the capital P)