Spaces:
Runtime error
Runtime error
File size: 1,724 Bytes
a438bb5 fd2aa6b a438bb5 40fde09 a438bb5 9349de1 a438bb5 7064b36 9349de1 1be0bd5 a438bb5 b1ecc22 a438bb5 e66b0b0 a438bb5 b1ecc22 a438bb5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
import { macondo } from "@/lib/fonts"
import { Game } from "./types"
import { InventoryItem } from "../../types"
const initialSituation = [
`looking at a beautiful medieval castle on a lake, with a metallic gate, during golden hour, surrounded by mountain, with a flying dragon visible afar`,
].join(", ")
const initialActionnables = [
"trees",
"dragon",
"castle",
"gate",
"rocks",
"lake",
"sun",
"boat",
"mountain",
"sky"
]
const inventory: InventoryItem[] = [
{
name: "garden-gnome",
title: "Garden gnome",
caption: "",
description: "Found in a mystical garden."
},
{
name: "key",
title: "Key",
caption: "",
description: "Ha-ah! I wonder what it opens?"
},
{
name: "old-book",
title: "Old book",
caption: "",
description: "Written in an ancient elfic language"
},
{
name: "pixie-dust",
title: "Pixie dust",
caption: "",
description: "Well, it is magical for sure."
},
]
export const game: Game = {
title: "Enchanters",
type: "enchanters",
description: [
"The game is a role playing adventure set during middle ages.",
"The player is an elfic wizard, and they explore a mysterious castle.",
"The player can click around to move to new scenes, find or activate artifacts.",
"They can also use objects from their inventory.",
],
engines: [
"cartesian_image",
"cartesian_video",
"spherical_image",
],
className: macondo.className,
initialSituation,
initialActionnables,
inventory,
getScenePrompt: (situation?: string) => [
`Screenshot from a videogame`,
`unreal engine`,
`magical wizard world`,
`first person`,
situation || initialSituation,
]
}
|