Spaces:
Runtime error
Runtime error
File size: 2,563 Bytes
637dd5c a438bb5 fd2aa6b f4af987 6896326 f4af987 6896326 f4af987 9349de1 6896326 9349de1 f4af987 9349de1 f4af987 b1ecc22 c245dc5 b1ecc22 6896326 f4af987 e66b0b0 637dd5c 6896326 b1ecc22 6896326 a438bb5 8fb2ec4 a438bb5 6896326 a438bb5 008456e 6896326 |
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
import { amatic } from "@/lib/fonts"
import { Game } from "./types"
import { InventoryItem } from "../../types"
const actions = [
"not moving",
"walking in",
"looking up",
"looking down",
"looking left",
"looking right",
"looking around"
]
const positions = [
"corridor with a beautiful wooden door at the end, wooden floor and stone walls",
"a beautiful wooden door",
"beautiful room with stone walls and wooden floor",
"large ball room with stone pillars, stone floor and red carpet",
"a cosy room with a fireplace, stone walls and wooden floor",
"a fireplace with stone walls",
"a cold dungeon with stone walls",
"a damp medieval jail cell with stone walls and wooden floor"
]
const lights = [
"lit through windows",
"lit through wall-mounted torches"
// "poorly lit"
]
const initialSituation = [
`inside a beautiful room with stone walls and wooden floor`,
`a fireplace on the wall and a metal chest in the center with a large lock`,
].join(", ")
const initialActionnables = [
"door",
"box",
"stone wall",
"torch",
"window",
"chest",
"key",
"machine",
"table",
"fireplace"
]
const inventory: InventoryItem[] = [
{
name: "axe",
title: "Axe",
caption: "",
description: "A good dwarf is nothing without his axe!"
},
{
name: "box",
title: "Box",
caption: "",
description: "Hmm, a mysterious box.."
},
{
name: "candlestick",
title: "Candlestick",
caption: "",
description: "This candlestick looks strange.."
},
{
name: "rabbit-foot",
title: "Rabbit foot",
caption: "",
description: "I hope it will bring me luck!"
},
{
name: "skull",
title: "Skull",
caption: "",
description: "The skull of some poor fellow."
},
]
export const game: Game = {
title: "Dungeon",
type: "dungeon",
description: [
"The game is a role playing adventure set during middle ages.",
"The player is playing a dwarf, and they explore the inside of a mysterious dungeon.",
"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: amatic.className,
initialSituation,
initialActionnables,
inventory,
getScenePrompt: (situation?: string) => [
`screenshot from adventure videogame`,
// `first-person footage`,
`medieval dungeon`,
`adventure`,
`unreal engine`,
situation || initialSituation,
]
} |