Spaces:
Runtime error
Runtime error
File size: 1,525 Bytes
637dd5c 008456e fd2aa6b 008456e 7064b36 9349de1 008456e 9349de1 008456e b1ecc22 008456e e66b0b0 637dd5c 008456e b1ecc22 008456e a438bb5 008456e |
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 |
import { orbitron } from "@/lib/fonts"
import { Game } from "./types"
import { InventoryItem } from "../../types"
const initialSituation = [
`looking at building on Mars, with multiple moons in the sky`,
].join(", ")
const initialActionnables = [
"sun",
"dune",
"building",
"gun",
"person",
"door",
"laser",
"window",
"box",
"rocks"
]
const inventory: InventoryItem[] = [
{
name: "box",
title: "Box",
caption: "",
description: "A strange metal box."
},
{
name: "first-aid",
title: "First-aid kit",
caption: "",
description: "Might come in handy!"
},
{
name: "laser-gun",
title: "Laser gun",
caption: "",
description: "Bzing bzing!"
},
]
export const game: Game = {
title: "Doom",
type: "doom",
description: [
"The game is a futuristic first-person shooter similar to \"Doom\".",
"Following a mining accident, the player has been called to Mars to explore the US Martian base, but they encounter aliens.",
"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: orbitron.className,
initialSituation,
initialActionnables,
inventory,
getScenePrompt: (situation?: string) => [
`Screenshot from Doom`,
`first person`,
`shooter game`,
`science fiction`,
`unreal engine`,
situation || initialSituation,
]
}
|