Initial commit: Echoes of the Ashes - Telegram RPG Bot
This commit is contained in:
26
images/README.md
Normal file
26
images/README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user