How paradisess13/paradise works
Paradise Station is a BYOND Space Station 13 game, with TGUI providing player-facing interfaces written in JavaScript and exchanging data with DreamMaker. The main visible workflow is game state reaching TGUI, route selection choosing an interface, and interface actions returning through the backend to BYOND. The repository also contains Rust gameplay/support subsystems, map-manipulation tools, and browser UI assets. Source excerpts are selective; unsampled components are included only where the tree or README identifies a meaningful product capability, and uncertain links are omitted.
Main entry points: milla Milla simulation · mod.rs Map manipulation · interfaces Game interfaces · backend.ts Backend bridge
Components 23
TGUI client
- TGUI framework
tgui/packages/tgui - Backend bridge
tgui/packages/tgui/backend.ts - Interface routing
tgui/packages/tgui/routes.tsx - Game interfaces
tgui/packages/tgui/interfaces - Window layouts
tgui/packages/tgui/layouts - Panel client
tgui/packages/tgui-panel - Chat client
tgui/packages/tgui-say
Game runtime
- BYOND runtime
- Milla simulation
rust/src/milla - Milla API
rust/src/milla/api.rs - Simulation model
rust/src/milla/model.rs - Simulation logic
rust/src/milla/simulate.rs - Simulation ticks
rust/src/milla/tick.rs - Background jobs
rust/src/jobs/mod.rs
Map tools
- Map manipulation
rust/src/mapmanip/mod.rs - Map representation
rust/src/mapmanip/core - Map generation
rust/src/mapmanip/procgen - Submap tools
rust/src/mapmanip/tools - DMM map processing
tools/mapmerge2/dmm.py
Browser UI
- Browser interfaces
html/browser - Search UI
html/search.js - Statistics browser
html/statbrowser.js
Other components
- Player
Connections 17
- Player → TGUI framework: uses
README.md - TGUI framework → Interface routing: resolves views
tgui/packages/tgui/routes.tsx - Interface routing → Game interfaces: loads interface
tgui/packages/tgui/routes.tsx - Game interfaces → Window layouts: renders windows
tgui/packages/tgui/interfaces/SuitStorage.jsx - Game interfaces → Backend bridge: reads state; sends actions
tgui/packages/tgui/interfaces/SecureStorage.jsx - Backend bridge → BYOND runtime: exchanges messages
tgui/packages/tgui/backend.ts - BYOND runtime → Backend bridge: sends updates
tgui/packages/tgui/backend.ts - Player → Panel client: uses
- Player → Chat client: uses
- Map manipulation → Map representation: uses map types
rust/src/mapmanip/mod.rs - Map manipulation → Map generation: calls generation
rust/src/mapmanip/mod.rs - Map manipulation → Submap tools: extracts submaps
rust/src/mapmanip/mod.rs - Milla simulation → Milla API: exposes
rust/src/milla/mod.rs - Milla simulation → Simulation model: declares
rust/src/milla/mod.rs - Milla simulation → Simulation logic: declares
rust/src/milla/mod.rs - Milla simulation → Simulation ticks: declares
rust/src/milla/mod.rs - DMM map processing → Map manipulation: map data exchange