How ss220-space/paradise works
Paradise is a BYOND-based multiplayer game repository with a TypeScript game UI and Rust support modules. The visible user workflow is an interface selected by the UI router, where player actions use the backend bridge to communicate with BYOND. The Rust side includes map manipulation, icon processing, simulation, and utility capabilities. The supplied excerpts show only selected frontend and map-manipulation relationships; other Rust modules are grouped by their known responsibilities without inferred call chains.
Main entry points: backend.ts UI backend · mod.rs Map manipulation · SecureStorage.tsx Secure storage UI · routes.tsx Interface router
Components 20
Game interface
- Interface router
tgui/packages/tgui/routes.tsx - Game interfaces
tgui/packages/tgui/interfaces - Secure storage UI
tgui/packages/tgui/interfaces/SecureStorage.tsx - UI backend
tgui/packages/tgui/backend.ts - Action dispatch
tgui/packages/tgui/events/act.ts
Map processing
- Map manipulation
rust/src/mapmanip/mod.rs - Map conversion
rust/src/mapmanip/core - Map generation
rust/src/mapmanip/procgen - Submap tools
rust/src/mapmanip/tools
Rust capabilities
- Icon processing
rust/src/iconforge/icon_operations.rs - Image blending
rust/src/iconforge/blending.rs - Image cache
rust/src/iconforge/image_cache.rs - Spritesheets
rust/src/iconforge/spritesheet.rs - Cave generation
rust/src/cave_system_generator/layout.rs - Milla API
rust/src/milla/api.rs - Milla model
rust/src/milla/model.rs - Milla simulation
rust/src/milla/simulate.rs - Milla tick
rust/src/milla/tick.rs
Other components
- Player
- BYOND runtime
Connections 9
- Player → Interface router: opens UI
tgui/packages/tgui/routes.tsx - Interface router → Game interfaces: loads interface
tgui/packages/tgui/routes.tsx - Secure storage UI → UI backend: reads state
tgui/packages/tgui/interfaces/SecureStorage.tsx - Secure storage UI → UI backend: sends actions
tgui/packages/tgui/interfaces/SecureStorage.tsx - UI backend → Action dispatch: dispatches via
tgui/packages/tgui/backend.ts - UI backend → BYOND runtime: sends messages
tgui/packages/tgui/backend.ts - Map manipulation → Map generation: invokes generation
rust/src/mapmanip/mod.rs - Map manipulation → Submap tools: uses submap tools
rust/src/mapmanip/mod.rs - Map manipulation → BYOND runtime: calls runtime
rust/src/mapmanip/mod.rs