How nafiz-codes/peaks-of-eternal-light works
Peaks of Eternal Light is a Godot lunar exploration and mission-management game. Players launch through startup and landing-site selection, then manage a lunar outpost and its crew across a seven-sol campaign while balancing resources, construction, safety, and mission decisions. They can explore on foot and operate scheduled rover expeditions for surveys, sampling, and rescue. The graph preserves the README’s major gameplay capabilities and uses exact scene, script, and data paths from the tree. Source excerpts cover only data-preparation tools, not runtime wiring, so unverified runtime relationships are omitted or dashed.
Main entry points: rover_drive.gd Rover Control · lunar_landing_selector.tscn Landing Selection · lunar_outpost_3d.tscn Outpost World · startup.tscn Startup
Components 25
Campaign Journey
- Startup
scenes/startup.tscn - Landing Selection
scenes/lunar_landing_selector.tscn - Outpost World
scenes/lunar_outpost_3d.tscn
Mission Systems
- Mission Planning
scenes/mission_planning.tscn - Mission Planner
src/simulation/mission_planner.gd - Mission Simulator
src/simulation/mission_simulator.gd - Mission State
src/simulation/mission_state.gd - Construction Planning
Resources/construction.json - Mission Decisions
Resources/events.json - Campaign Story
src/simulation/story.gd
Surface Exploration
- Rover Expeditions
src/simulation/rover_expedition.gd - Expedition Scene
scenes/rover_expedition.tscn - Rover Control
src/world/rover_drive.gd - Rover Scanner
src/world/rover_scanner.gd - Sample Arm
src/world/rover_sample_arm.gd - Polar Terrain
src/world/polar_terrain.gd
Player Interface
- Mission Dashboard
scenes/mission_dashboard.tscn - Crew Dialogue
src/ui/crew_dialogue.gd - Crew Activities
src/world/crew_fieldwork.gd - Mission Ending
scenes/mission_ending.tscn
Runtime Services
- Mission Session
src/runtime/mission_session.gd - Mission Saves
src/runtime/mission_save.gd - Game Settings
src/runtime/game_settings.gd - Game Audio
src/runtime/game_audio.gd
Other components
- Player
Connections 25
- Player → Startup: launches
README.md - Startup → Landing Selection: opens
README.md - Player → Landing Selection: chooses site
README.md - Landing Selection → Outpost World: begins campaign
- Player → Mission Planning: plans construction
- Mission Planning → Mission Planner: configures
- Mission Planner → Mission Simulator: simulates
- Mission Simulator → Mission State: updates
- Player → Mission Dashboard: monitors resources
README.md - Player → Mission Decisions: resolves decisions
README.md - Mission Decisions → Campaign Story: shapes campaign
- Player → Outpost World: explores on foot
README.md - Player → Crew Dialogue: talks with crew
README.md - Outpost World → Crew Activities: hosts activities
- Player → Expedition Scene: starts expedition
README.md - Expedition Scene → Rover Expeditions: runs objectives
- Player → Rover Control: drives rover
README.md - Rover Control → Rover Scanner: scans targets
- Rover Control → Sample Arm: collects samples
- Player → Polar Terrain: surveys surface
- Player → Mission Ending: reviews outcome
README.md - Player → Mission Saves: saves mission
README.md - Player → Game Settings: customizes settings
README.md - Player → Game Audio: adjusts audio
- Mission Session → Mission Saves: persists progress