🔮 Feature: /tarot Command – Inventory-Based Readings with VIP Perks
🧙♂️ Purpose
Implement a /tarot command that allows players to perform magical tarot readings if they own Tarot Cards in their inventory.
Additionally, VIP players unlock advanced multi-card readings using AI-generated mystical interpretations (via OpenAI API).
🧾 Requirements
🔐 Access Conditions
- Users must own at least 1
Tarot Card item in their inventory to use the /tarot command.
- Only users with the "VIP" role can:
- Draw multiple cards (2 or 3-card spread).
- Receive dynamic interpretations using the OpenAI API.
🧙 Basic Reading (non-VIP)
✨ VIP Reading
📂 Data Source: Tarot Deck
Store cards in src/data/items/tarot-cards/cards.json.
🧠 OpenAI Integration (VIP only)
prompt = (
"As a mystical tarot expert, interpret the following cards in a 3-card spread:\n"
f"1. {card1['name']} ({', '.join(card1['keywords'])})\n"
f"2. {card2['name']} ({', '.join(card2['keywords'])})\n"
f"3. {card3['name']} ({', '.join(card3['keywords'])})\n\n"
"Give a poetic, magical interpretation suitable for a dark-fantasy RPG world."
)
✅ Tasks
🧙 Future Features
- Add in-world consequences from tarot readings (affects quest, XP, etc.)
🔮 Feature:
/tarotCommand – Inventory-Based Readings with VIP Perks🧙♂️ Purpose
Implement a
/tarotcommand that allows players to perform magical tarot readings if they own Tarot Cards in their inventory.Additionally, VIP players unlock advanced multi-card readings using AI-generated mystical interpretations (via OpenAI API).
🧾 Requirements
🔐 Access Conditions
Tarot Carditem in their inventory to use the/tarotcommand.🧙 Basic Reading (non-VIP)
✨ VIP Reading
📂 Data Source: Tarot Deck
Store cards in
src/data/items/tarot-cards/cards.json.🧠 OpenAI Integration (VIP only)
✅ Tasks
🧙 Future Features