Files
anekdotin d3bed34c6c Add game mode categories, character creation, on-foot ship/hub mode, RAM currency, and in-ship navigation
Bundles several sessions' worth of previously uncommitted work: map
categories with Domination/Conquest/King of the Hill mode stubs and a
server-list mode filter; a procedurally-drawn character-creation screen
replacing the old callsign-only PROFILE overlay; the on-foot groundwork
(walkable station hub, ship interior, character controller) plus the RAM
currency backend; and today's addition, an in-ship Helldivers-2-style
navigation table that QUICK PLAY's queue/connect flow and the Belters/
Military hub travel now live behind, with hub-and-ship return paths and a
context-aware pause menu usable both in-match and inside the ship.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-19 12:30:22 -04:00

30 lines
1.2 KiB
Python

from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
database_url: str
casual_team_size: int = 7
dev_seed_server_ip: str = "127.0.0.1"
dev_seed_server_port: int = 7777
# Real/demo servers are considered offline once their last heartbeat is
# older than this. Godot's NetworkManager heartbeats every 8s (see
# spacewar/autoload/network_manager.gd's HEARTBEAT_INTERVAL), so this
# needs enough slack for one missed beat without flapping a live server
# to "offline" and back.
server_stale_seconds: int = 20
# RAM payout formula for POST /matches/report (see overview/onfoot.md) --
# every reported player gets ram_payout_participation_kb just for being
# in the match, plus ram_payout_per_kill_kb per kill, plus
# ram_payout_win_bonus_kb if they won. Placeholder numbers, not balanced
# against anything -- tune freely, nothing else in the schema depends on
# the specific values.
ram_payout_participation_kb: int = 50
ram_payout_per_kill_kb: int = 15
ram_payout_win_bonus_kb: int = 200
settings = Settings()