feat: add command table functionality and integrate logic for turn commands
This commit is contained in:
@@ -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