Commit to Deno project.
This commit is contained in:
10
data/data.ts
Normal file
10
data/data.ts
Normal file
@ -0,0 +1,10 @@
|
||||
export * from "./rooms.ts";
|
||||
|
||||
export interface Item {
|
||||
name: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
export interface GameData {
|
||||
items: Item[];
|
||||
}
|
3
data/rooms.ts
Normal file
3
data/rooms.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export const hall = {
|
||||
items: [{ name: "flashlight", description: "There is a flashlight." }],
|
||||
};
|
Reference in New Issue
Block a user