feat: add command table functionality and integrate logic for turn commands
This commit is contained in:
1 parent
0c1e27ee4a
commit
f32f9b10c2
6 files changed
+762
-2
No files matched your search
@@ -19,6 +19,15 @@ const buildContext = (options?: {
|
||||
worldState: {
|
||||
findFirst: async () => options?.state ?? null,
|
||||
},
|
||||
general: {
|
||||
findUnique: async () => null,
|
||||
},
|
||||
city: {
|
||||
findUnique: async () => null,
|
||||
},
|
||||
nation: {
|
||||
findUnique: async () => null,
|
||||
},
|
||||
};
|
||||
return {
|
||||
db,
|
||||
|
||||
Reference in new issue
Block a user