Files
echoes-of-the-ash/images/README.md

27 lines
696 B
Markdown

# Game Images
Place your location and interactable images in this directory.
## Structure
- `locations/` - Images for different locations
- `interactables/` - Images for interactive objects
## Supported Formats
- PNG, JPG, JPEG
- Recommended size: 800x600 or similar aspect ratio
- Max file size: 10MB (Telegram limit)
## Example Files
To use images, add them to the appropriate folder and reference them in `data/world_loader.py`:
```python
location = Location(
id="start_point",
name="Ruined Downtown Core",
description="...",
image_path="images/locations/downtown.jpg"
)
```
The bot will automatically upload the image once and cache the Telegram file_id for future use.