Difference between revisions of "SystemNames"
From Vendetta Lua
Line 1: | Line 1: | ||
'''Description:'''<br> | '''Description:'''<br> | ||
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. | ||
− | + | \nNumerical Order: (1 to 30) | |
<source lang="text"> | <source lang="text"> | ||
Sol II | Sol II |
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.
\nNumerical 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)