Add NPC interaction system with memory and quest generation

- Introduced a new NPC system with dynamic NPCs and conversation handling.
- Implemented NPC memory using SQLite to log conversations and manage relationships.
- Added commands for talking to NPCs, listing available NPCs, and generating quests.
- Updated database schema to support NPC conversations and relationships.
- Refactored code structure to separate concerns into cogs and handlers.
This commit is contained in:
2025-09-30 14:12:22 +02:00
parent c8980f785f
commit 7e76353c6a
24 changed files with 7468 additions and 14 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ from random import shuffle, choices, choice
from discord.ext import commands
from utils.sql_commands import DatabaseManager
from utils.bank_functions import bank_data, update_money
from datetime import datetime, timedelta
from datetime import datetime
import asyncio
import random
@@ -94,7 +94,7 @@ class Deck:
class Hand:
def __init__(self, name, bet):
def __init__(self, name:str, bet:int):
self.cards = []
self.value = 0
self.aces = 0