chore: sync

This commit is contained in:
2026-02-09 00:05:29 +01:00
parent 0301716890
commit 6bfa3d4dda
23 changed files with 622 additions and 18 deletions

View File

@@ -0,0 +1,18 @@
## Planet Generator Module
### Module Description
Generates planetary environments with unique characteristics and resources.
### API Endpoints
- **GET /planet/generate**
- *Purpose:* Generate new planet data
- *Auth:* Required (JWT token with `planet.generate` permission)
- *Payload:* `{"class": "string", "size": "string"}`
- *Response:* `{"planet_id": "int", "resources": {"ore": "int", "crystal": "int"}, "climate": "string"}`
- **GET /planet/detail**
- *Purpose:* Retrieve planet details
- *Auth:* Required (JWT token)
- *Payload:* `{"planet_id": "int"}`
- *Response:* `{"planet_id": "int", "class": "string", "resources": {"ore": "int", "crystal": "int"}, "climate": "string"}`