SystemNames: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
Kierky (talk | contribs)
No edit summary
Kierky (talk | contribs)
No edit summary
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)  
<br>Numerical Order: (1 to 30)  
<source lang="text">
<source lang="text">
Sol II
Sol II

Revision as of 00:48, 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) <source lang="text"> 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 </source>

Example <source lang="lua"> 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) </source>