Something went wrong. Try again.
Your trusty automation assistant in TLE Community misadventures!
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434/** * Some constants that are used around the application. * * @namespace constants */const constants = { /** * This is the format of the dates returned by the Lacuna server. Use it with `moment()` * to get `moment`s representing server dates. * * @name serverDateFormat * @memberof constants * @type string */ serverDateFormat: 'DD MM YYYY HH:mm:ss ZZ',
/** * A map of user-friendly ship names to server ship types. * * @name shipTypes * @memberof constants * @type {Object} */ shipTypes: { Barge: 'barge', Bleeder: 'bleeder', 'Cargo Ship': 'cargo_ship', 'Colony Ship': 'colony_ship', Detonator: 'detonator', Dory: 'dory', Drone: 'drone', Excavator: 'excavator', Fighter: 'fighter', 'Fissure Sealer': 'fissure_sealer', Freighter: 'freighter', Galleon: 'galleon', 'Gas Giant Settlement Ship': 'gas_giant_settlement_ship', Hulk: 'hulk', 'Hulk Fast': 'hulk_fast', 'Hulk Huge': 'hulk_huge', 'Mining Platform Ship': 'mining_platform_ship', 'Observatory Seeker': 'observatory_seeker', Placebo: 'placebo', 'Placebo II': 'placebo2', 'Placebo III': 'placebo3', 'Placebo IV': 'placebo4', 'Placebo V': 'placebo5', 'Placebo VI': 'placebo6', Probe: 'probe', Scanner: 'scanner', Scow: 'scow', 'Scow Fast': 'scow_fast', 'Scow Large': 'scow_large', 'Scow Mega': 'scow_mega', 'Security Ministry Seeker': 'security_ministry_seeker', 'Short Range Colony Ship': 'short_range_colony_ship', 'Smuggler Ship': 'smuggler_ship', Snark: 'snark', 'Snark II': 'snark2', 'Snark III': 'snark3', 'Space Station Hull': 'space_station', 'Spaceport Seeker': 'spaceport_seeker', 'Spy Pod': 'spy_pod', 'Spy Shuttle': 'spy_shuttle', Stake: 'stake', 'Supply Pod': 'supply_pod', 'Supply Pod II': 'supply_pod2', 'Supply Pod III': 'supply_pod3', 'Supply Pod IV': 'supply_pod4', 'Supply Pod V': 'supply_pod5', Surveyor: 'surveyor', Sweeper: 'sweeper', 'Terraforming Platform Ship': 'terraforming_platform_ship', Thud: 'thud', },
allBuildingNames: [ 'Algae Cropper', 'Algae Pond', 'Amalgus Bean Plantation', 'Amalgus Meadow', 'Apple Cider Bottler', 'Apple Orchard', 'Archaeology Ministry', 'Art Museum', 'Atmospheric Evaporator', 'Bakery', 'Beach [1]', 'Beach [10]', 'Beach [11]', 'Beach [12]', 'Beach [13]', 'Beach [2]', 'Beach [3]', 'Beach [4]', 'Beach [5]', 'Beach [6]', 'Beach [7]', 'Beach [8]', 'Beach [9]', 'Beeldeban Herder', 'Beeldeban Nest', 'Beeldeban Protein Shake Factory', 'Black Hole Generator', 'Burger Packer', 'Capitol', 'Cheese Maker', 'Citadel of Knope', 'Cloaking Lab', 'Corn Meal Grinder', 'Corn Plantation', 'Crashed Ship Site', 'Crater', 'Culinary Institute', 'Dairy Farm', 'Denton Brambles', 'Denton Root Chip Frier', 'Denton Root Patch', 'Deployed Bleeder', 'Development Ministry', 'Distribution Center', 'Embassy', 'Energy Reserve', 'Entertainment District', 'Espionage Ministry', 'Essentia Vein', 'Fission Energy Plant', 'Fissure', 'Food Reserve', 'Fusion Energy Plant', 'Gas Giant Lab', 'Gas Giant Settlement Platform', 'Genetics Lab', 'Geo Thermal Vent', 'Geo-Energy Plant', `Gratch's Gauntlet`, 'Great Ball of Junk', 'Grove of Trees', 'Halls of Vrbansk', 'Hydrocarbon Energy Plant', 'Intel Training Facility', 'Intelligence Ministry', 'Interdimensional Rift', 'Interstellar Broadcast System', 'Junk Henge Sculpture', 'Kalavian Ruins', `Kastern's Keep`, 'Lagoon', 'Lake', 'Lapis Forest', 'Lapis Orchard', 'Library of Jith', 'Lost City of Tyleon (A)', 'Lost City of Tyleon (B)', 'Lost City of Tyleon (C)', 'Lost City of Tyleon (D)', 'Lost City of Tyleon (E)', 'Lost City of Tyleon (F)', 'Lost City of Tyleon (G)', 'Lost City of Tyleon (H)', 'Lost City of Tyleon (I)', 'Luxury Housing', 'Malcud Field', 'Malcud Fungus Farm', `Massad's Henge`, 'Mayhem Training Facility', 'Mercenaries Guild', 'Metal Junk Arches', 'Mine', 'Mining Ministry', 'Mission Command', 'Munitions Lab', 'Natural Spring', 'Network 19 Affiliate', 'Observatory', 'Opera House', 'Oracle of Anid', 'Ore Refinery', 'Ore Storage Tanks', 'Oversight Ministry', 'Pancake Factory', 'Pantheon of Hagness', 'Park', 'Parliament', 'Patch of Sand', 'Pie Bakery', 'Pilot Training Facility', 'Planetary Command Center', 'Police Station', 'Politics Training Facility', 'Potato Patch', 'Propulsion System Factory', 'Pyramid Junk Sculpture', 'Ravine', 'Rocky Outcropping', 'Security Ministry', 'Shield Against Weapons', 'Shipyard', 'Singularity Energy Plant', 'Soup Cannery', 'Space Junk Park', 'Space Port', 'Space Station Lab (A)', 'Space Station Lab (B)', 'Space Station Lab (C)', 'Space Station Lab (D)', 'Station Command Center', 'Stockpile', 'Subspace Supply Depot', 'Subspace Transporter', 'Supply Pod', 'Syrup Bottler', 'Temple of the Drajilites', 'Terraforming Lab', 'Terraforming Platform', 'The Dillon Forge', 'Theft Training Facility', 'Theme Park', 'Trade Ministry', 'University', 'Volcano', 'Warehouse', 'Waste Digester', 'Waste Energy Plant', 'Waste Exchanger', 'Waste Recycling Center', 'Waste Sequestration Well', 'Waste Treatment Center', 'Water Production Plant', 'Water Purification Plant', 'Water Reclamation Facility', 'Water Storage Tank', 'Wheat Farm', ],
buildingCategories: { ship: [ 'Shipyard', 'Space Port', 'Observatory', 'Pilot Training Facility', 'Cloaking Lab', 'Munitions Lab', 'Propulsion System Factory', 'Trade Ministry', ],
spy: [ 'Espionage Ministry', 'Intelligence Ministry', 'Intel Training Facility', 'Mayhem Training Facility', 'Politics Training Facility', 'Theft Training Facility', 'Mercenaries Guild', 'Genetics Lab', ],
defense: ['Shield Against Weapons', 'Security Ministry'],
food: [ 'Algae Cropper', 'Apple Orchard', 'Amalgus Bean Plantation', 'Beeldeban Herder', 'Lapis Orchard', 'Malcud Fungus Farm', 'Denton Root Patch', 'Corn Plantation', 'Potato Patch', 'Wheat Farm', 'Bakery', 'Burger Packer', 'Cheese Maker', 'Denton Root Chip Frier', 'Apple Cider Bottler', 'Corn Meal Grinder', 'Dairy Farm', 'Pancake Factory', 'Pie Bakery', 'Beeldeban Protein Shake Factory', 'Soup Cannery', 'Syrup Bottler', ],
ore: ['Mine', 'Ore Refinery', 'Mining Ministry'],
water: [ 'Water Purification Plant', 'Water Production Plant', 'Water Reclamation Facility', 'Atmospheric Evaporator', ],
energy: [ 'Geo-Energy Plant', 'Fission Energy Plant', 'Fusion Energy Plant', 'Singularity Energy Plant', 'Hydrocarbon Energy Plant', 'Waste Energy Plant', ],
waste: [ 'Waste Digester', 'Waste Recycling Center', 'Waste Treatment Center', 'Waste Exchanger', ],
storage: [ 'Distribution Center', 'Ore Storage Tanks', 'Food Reserve', 'Water Storage Tank', 'Energy Reserve', 'Waste Sequestration Well', 'Stockpile', ],
archaeology: ['Archaeology Ministry'],
government: [ 'Planetary Command Center', 'Development Ministry', 'Oversight Ministry', 'Mission Command', 'Subspace Transporter', 'Capitol', 'Embassy', ],
station: [ 'Space Station Lab (A)', 'Space Station Lab (B)', 'Space Station Lab (C)', 'Space Station Lab (D)', ],
terraforming: ['Terraforming Lab', 'Gas Giant Lab'],
happiness: [ 'Theme Park', 'Entertainment District', 'Park', 'Luxury Housing', 'Network 19 Affiliate', ],
tyleon: [ 'Lost City of Tyleon (A)', 'Lost City of Tyleon (B)', 'Lost City of Tyleon (C)', 'Lost City of Tyleon (D)', 'Lost City of Tyleon (E)', 'Lost City of Tyleon (F)', 'Lost City of Tyleon (G)', 'Lost City of Tyleon (H)', 'Lost City of Tyleon (I)', ], },
unupgradeableBuildings: [ // Happiness (expensive) 'Pyramid Junk Sculpture', 'Space Junk Park', 'Metal Junk Arches', 'Great Ball of Junk', 'Junk Henge Sculpture',
// Natural features 'Patch of Sand', 'Grove of Trees', 'Lagoon', 'Beach [1]', 'Beach [2]', 'Beach [3]', 'Beach [4]', 'Beach [5]', 'Beach [6]', 'Beach [7]', 'Beach [8]', 'Beach [9]', 'Beach [10]', 'Beach [11]', 'Beach [12]', 'Beach [13]', 'Crater', 'Smoldering Crater', 'Lake', 'Rocky Outcropping',
// Glyph buildings 'Geo Thermal Vent', 'Natural Spring', 'Kalavian Ruins', 'Volcano', 'Ravine', 'Essentia Vein', 'Fissure', 'Algae Pond', 'Amalgus Meadow', 'Beeldeban Nest', 'Denton Brambles', 'Lapis Forest', 'Malcud Field', 'Black Hole Generator', 'Oracle of Anid', 'Pantheon of Hagness', 'Citadel of Knope', `Gratch's Gauntlet`, 'Library of Jith', 'Temple of the Drajilites', 'Interdimensional Rift', `Massad's Henge`, `Kastern's Keep`, 'The Dillon Forge',
// Situational plot-expansion platforms 'Gas Giant Settlement Platform', 'Terraforming Platform',
// Temporary/colony-setup 'Supply Pod', 'Crashed Ship Site', 'Subspace Supply Depot',
// Hostile/non-player 'Deployed Bleeder', ],}
export default constants