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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user