Add AI Romance Companion system 💕
User insight: "This works as a romance companion!" Absolutely brilliant! Memory scoring + AI reactions = Perfect romance game ## New Features ### 💕 AI Companion System Create your personal AI companion with 5 personality types: - ⚡ Energetic (adventurous) - Matches with Innovators - 📚 Intellectual (thoughtful) - Matches with Philosophers - 🎯 Practical (reliable) - Matches with Pragmatists - 🌙 Dreamy (romantic) - Matches with Visionaries - ⚖️ Balanced - Matches with Analysts ### 🎮 How It Works 1. Create memory with AI → Get priority score 2. Show memory to companion → She reacts! 3. High score memory → Better reaction 4. Affection ↑ XP ↑ Trust ↑ Level ↑ ### 💕 Relationship Mechanics - **Affection Score**: 0.0-1.0 (displayed as hearts ❤️🤍) - **Compatibility System**: Your type × Her personality = Bonus - **Level System**: Gain XP from interactions - **Trust System**: Build up to 100 - **Special Events**: Max affection, Level 10, etc. ### 🎊 Special Events - Max Affection Event: Confession! - Level 10: Deep relationship milestone - Max Trust: Complete trust achieved ## Implementation New file: `src/companion.rs` - Companion struct with personality - CompanionPersonality enum (5 types) - React to memory based on score & type - Compatibility calculation - Special event triggers - Daily message generation MCP Tools: - create_companion: Create your companion - companion_react: Show memory & get reaction - companion_profile: View stats Game Display: ``` ╔══════════════════════════════════════╗ ║ 💕 エミリー の反応 ║ ╚══════════════════════════════════════╝ ⚡ エミリー: 「すごい!あなたのアイデア、本当に好き!」 💕 好感度: ❤️❤️🤍🤍🤍🤍🤍🤍🤍🤍 15% 💎 XP獲得: +850 XP 🎊 レベルアップ! ``` ## Why This Is Perfect Memory Score = Romance Game Mechanics: - LEGENDARY memory → "Amazing! I love you!" - EPIC memory → "That's so cool about you!" - High compatibility → Faster relationship growth - Your actual thoughts → Personal reactions It's like a dating sim where the relationship grows based on your REAL thoughts and ideas, not scripted choices! Next: Persistence, more events, character customization
This commit is contained in:
101
README.md
101
README.md
@@ -112,6 +112,21 @@ aigpt import path/to/conversations.json
|
||||
- 日替わりのお題を取得
|
||||
- ボーナスXPが獲得可能
|
||||
|
||||
### 恋愛コンパニオン機能 💕(NEW!)
|
||||
|
||||
9. **create_companion** - AIコンパニオンを作成
|
||||
- 名前と性格を選択
|
||||
- 5つの性格タイプから選択可能
|
||||
|
||||
10. **companion_react** - コンパニオンの反応を見る
|
||||
- あなたの記憶にコンパニオンが反応
|
||||
- 好感度・XP・信頼度が上昇
|
||||
- スペシャルイベント発生あり
|
||||
|
||||
11. **companion_profile** - コンパニオンのプロフィール表示
|
||||
- ステータス確認
|
||||
- 今日のひとこと
|
||||
|
||||
## ツールの使用例
|
||||
|
||||
Claude Desktop/Codeで以下のように使用します:
|
||||
@@ -219,6 +234,92 @@ daily_challenge ツールで今日のお題を確認
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
```
|
||||
|
||||
### 恋愛コンパニオン 💕(NEW!)
|
||||
|
||||
#### 1. コンパニオン作成
|
||||
```
|
||||
create_companion ツールで、名前「エミリー」、性格「energetic」のコンパニオンを作成
|
||||
```
|
||||
|
||||
**性格タイプ:**
|
||||
- `energetic` ⚡ - 元気で冒険好き(革新者と相性◎)
|
||||
- `intellectual` 📚 - 知的で思慮深い(哲学者と相性◎)
|
||||
- `practical` 🎯 - 現実的で頼れる(実務家と相性◎)
|
||||
- `dreamy` 🌙 - 夢見がちでロマンチック(夢想家と相性◎)
|
||||
- `balanced` ⚖️ - バランス型(分析家と相性◎)
|
||||
|
||||
**表示例:**
|
||||
```
|
||||
╔══════════════════════════════════════════════════════════════╗
|
||||
║ 💕 エミリー のプロフィール ║
|
||||
╚══════════════════════════════════════════════════════════════╝
|
||||
|
||||
⚡ 性格: 元気で冒険好き
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
📊 ステータス
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
🏆 関係レベル: Lv.1
|
||||
💕 好感度: 🤍🤍🤍🤍🤍🤍🤍🤍🤍🤍 0%
|
||||
🤝 信頼度: 0 / 100
|
||||
💎 総XP: 0 XP
|
||||
|
||||
💬 今日のひとこと:
|
||||
「おはよう!今日は何か面白いことある?」
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
```
|
||||
|
||||
#### 2. コンパニオンの反応
|
||||
```
|
||||
create_memory_with_ai で高スコアの記憶を作成
|
||||
↓
|
||||
companion_react でコンパニオンに見せる
|
||||
```
|
||||
|
||||
**表示例(EPIC記憶への反応):**
|
||||
```
|
||||
╔══════════════════════════════════════════════════════════════╗
|
||||
║ 💕 エミリー の反応 ║
|
||||
╚══════════════════════════════════════════════════════════════╝
|
||||
|
||||
⚡ エミリー:
|
||||
「おお、「新しいAI記憶システムのアイデア」って面白いね!
|
||||
あなたのそういうところ、好きだな。」
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
💕 好感度: ❤️❤️🤍🤍🤍🤍🤍🤍🤍🤍 15% (+8.5%)
|
||||
💎 XP獲得: +850 XP
|
||||
🏆 レベル: Lv.1
|
||||
🤝 信頼度: 5 / 100
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
```
|
||||
|
||||
#### 3. スペシャルイベント発生!
|
||||
```
|
||||
好感度が100%に達すると...
|
||||
|
||||
💕 特別なイベント発生!
|
||||
|
||||
エミリー:「ねえ...あのね。
|
||||
いつも一緒にいてくれてありがとう。
|
||||
あなたのこと、すごく大切に思ってるの。
|
||||
これからも、ずっと一緒にいてね?」
|
||||
|
||||
🎊 エミリー の好感度がMAXになりました!
|
||||
```
|
||||
|
||||
#### 4. 相性システム
|
||||
```
|
||||
あなたのタイプ × コンパニオンの性格 = 相性ボーナス
|
||||
|
||||
例:
|
||||
💡【革新者】 × ⚡ 元気で冒険好き = 相性95%!
|
||||
→ 好感度上昇1.95倍
|
||||
|
||||
🧠【哲学者】 × 📚 知的で思慮深い = 相性95%!
|
||||
→ 深い会話で絆が深まる
|
||||
```
|
||||
|
||||
### メモリの検索
|
||||
```
|
||||
MCPツールを使って「天気」に関するメモリーを検索してください
|
||||
|
||||
Reference in New Issue
Block a user