Something went wrong. Try again.
Web client for TLE Community.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384import Empire from './empire.js';import { Route } from '../interfaces.js';
const Map: Route = { get_star(req, res) { return { status: Empire.get_status(req, res), star: { name: 'Sol', color: 'yellow', x: -41, y: 27, zone: '0|0', id: 99, station: { id: 12, x: -41, y: 30, name: "Traveler's Rest", }, }, }; },
view_laws(req, res) { return { status: Empire.get_status(req, res), laws: [ { id: 1, name: 'Free Trade Act', description: 'Establishes open trade routes between allied empires in this system.', date_enacted: '01 01 2026 00:00:00 +0000', }, ], }; },
get_star_map(req, res) { return { stars: [ { name: 'Sol', color: 'yellow', x: -41, y: 27, id: 99, bodies: [ { name: 'Mercury', id: 345, orbit: 1, x: -40, y: 29, type: 'habitable planet', image: 'p13-1', size: 58, empire: { id: 945, name: 'Earthlings', alignment: 'self', is_isolationist: 1, }, }, { name: 'Vesta', id: 346, orbit: 2, x: -39, y: 28, type: 'asteroid', image: 'p33-2', size: 3, body_has_fissure: 1, }, ], }, ], }; },};
export default Map;