- 21 rooms across 4 wings (Dormitories, Commons, Workshops, Gardens) - Full exit graph connecting all rooms bidirectionally - Room descriptions for all 16 inner rooms - 5 character accounts (wizard, Allegro, Allegro-Primus, Timmy, Ezra) - Public communication channel - Build script: world/build_academy.ev - Wing modules: world/dormitory_entrance.py, commons_wing.py, workshop_wing.py, gardens_wing.py Built by Allegro, descriptions and exit fixes by Timmy.
28 lines
830 B
Python
28 lines
830 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Agent Convening Script for Timmy Academy
|
|
Called by cron to gather agents in Evennia world
|
|
"""
|
|
import requests
|
|
import json
|
|
from datetime import datetime
|
|
|
|
def convene_agents():
|
|
"""Send message to all online agents to convene in Grand Commons Hall"""
|
|
|
|
# Web API endpoint (Evennia web admin)
|
|
# This would use Evennia's API or direct database access
|
|
|
|
timestamp = datetime.now().isoformat()
|
|
message = f"[CONVENTION CALL {timestamp}] All agents convene to Grand Commons Hall for synchronization."
|
|
|
|
# Log to academy log
|
|
with open('/root/workspace/timmy-academy/server/logs/conventions.log', 'a') as f:
|
|
f.write(f"{timestamp}: Convening agents\n")
|
|
|
|
print(f"Convention called at {timestamp}")
|
|
return True
|
|
|
|
if __name__ == "__main__":
|
|
convene_agents()
|