Spaces:
Runtime error
Runtime error
File size: 3,134 Bytes
637dd5c 6896326 fd2aa6b f4af987 b1ecc22 6896326 9349de1 6896326 9349de1 7064b36 9349de1 f4af987 6896326 f4af987 6896326 f4af987 6896326 f4af987 e66b0b0 637dd5c 6896326 b1ecc22 6896326 f4af987 a438bb5 f4af987 a438bb5 6896326 f4af987 |
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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
import { lugrasimo } from "@/lib/fonts"
import { Game } from "./types"
import { InventoryItem } from "../../types"
const actions = [
"idling",
"making bubbles",
"making circles",
"opening and closing its mouth",
// "with an octopus",
"playing with another fish",
"eating fishfood",
"eating a crab",
"attacked by a jellyfish"
]
const positions = [
"at the top of the coral",
"at the bottom of the coral",
"centered in the middle",
"burrowing in the sand",
"hiding in the coral"
]
const lights = [
"during the day",
]
const inventory: InventoryItem[] = [
{
name: "coconut",
title: "Coconut",
caption: "",
description: "Might be useful for lunch or fighting."
},
{
name: "compass",
title: "Compass",
caption: "",
description: "Never get lost in the Seven Seas!"
},
{
name: "crystal-skull",
title: "Crystall skull",
caption: "",
description: "It says \"Made in Germany\"."
},
{
name: "fishbone",
title: "Fish bone",
caption: "",
description: "I use this to pick my teeth. And locks."
},
{
name: "lizard",
title: "Lizard",
caption: "",
description: "Found this lizard, I call it Lizzie."
},
{
name: "parrot",
title: "Parrot",
caption: "",
description: "Arr!"
},
{
name: "pirate-hat",
title: "Pirate hat",
caption: "",
description: "Can't find the owner.. Now it\'s mine!"
},
{
name: "skunk",
title: "Skunk",
caption: "",
description: "So this is where the smell was coming from!"
},
]
const initialActionnables = [
"door",
"box",
"sea",
"chest",
"key",
"parrot",
"lock",
"barrel",
"tree",
"sun"
// skull
// "door",
// "window",
// "sail",
// "capstan",
// "ship's wheel",
// "hat",
// "barrel",
// "cannon",
// "rope",
// "bucket",
// "skull",
// "ship",
// "wooden leg"
]
const initialSituation = [
`inside the hold of a pirate ship`,
`a pirate chest in the center with a large lock`,
`a parrot on top of it`,
`at sunset`,
].join(", ")
export const game: Game = {
title: "Pirates",
type: "pirates",
description: [
"The game is a role playing adventure set in the world of pirates.",
"The player is Guybroom Threepence, a pirate apprentice who try to find the Crystal Monkey treasure by himself.",
"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: lugrasimo.className,
initialSituation,
initialActionnables,
inventory,
getScenePrompt: (situation?: string) => [
// this prompt is beautiful:
// screenshot from an adventure videogame, inside the hold of a pirate ship, with a pirate chest in the center, at sunset, beautiful, award winning, unreal engine, intricate details
`screenshot from an adventure videogame`,
`pirate themed`,
`unreal engine`,
`pixar style`,
`goofy and comedical`,
situation || initialSituation,
],
} |