Skip to main content

nms_core/
lib.rs

1//! Core types, enums, address math, and portal glyph display for NMS Copilot.
2//!
3//! This crate provides the foundational types used by all other NMS Copilot crates:
4//!
5//! - `GalacticAddress` — 48-bit packed coordinates with bidirectional conversion
6//! - Portal glyph system — hex, emoji, name, and index interconversion
7//! - `Biome` / `BiomeSubType` enums matching game data
8//! - `System`, `Planet`, `PlayerBase`, `PlayerState` models
9//! - Distance calculation (Euclidean voxel distance × 400 ly)