# film-street-story: write a playable story

> Names, lines for each weather, errands and chapters in one file. The game loads it as is.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Game creation](https://www.sandbase.ai/skills/games)
- Version: 0.1.3
- Page: https://www.sandbase.ai/skills/games/film-street-story

## Install

Download the Skill package from https://www.sandbase.ai/skills/games/film-street-story (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/film-street-story write a two-chapter story for Sunset Street about a lost letter, in English and Chinese
```

## How it works

1. **Read the street card** Film Street Story writes for a baked street, so it starts with the street file, assets/streets/sunset-street.json or harbour-street.json. That card lists people with positions and an about line, the lighting states, places, check-ins, props, the cat and the walkable strip. references/story-format.md defines the street-story/1 format that the output file must follow.
2. **Write chapters in two languages** Pick one to four chapters, each set in one weather and usually with two goals, one of them an item errand using gives, needs and takes. Write lines per state for the baked people, keep each to about one breath, and put the action in the prompt, such as "E borrow an umbrella". Every player-facing string needs en and zh-CN.
3. **Validate and play it through** node scripts/validate.mjs story.json checks the file and auto-plays it with the game's own story engine in English and Chinese; add --street for another street. It reports any chapter that cannot be finished and its open goals. Validation needs only Node 18+. The result is one JSON file the player drops onto the game page or opens with ?story=.

## FAQ

### Can Film Street Story add new characters to the street?

No. Film Street Story works only with the baked street: people, positions, shops, check-ins, weathers and props all come from the bake. A story decides who says what, which items change hands and when the cat or snowman matter. New characters, weathers or props need the film-street kit and a new bake.

### Does Film Street Story call an AI model?

No. Film Street Story is a JSON format, a validator and the game's own story engine, so writing and checking a story needs no code changes, model calls or keys, and nothing is billed. Your Agent writes the text, and scripts/validate.mjs runs on Node 18 or later with no dependencies.

### How does a player load a Film Street Story file?

A Film Street Story file loads when the player drags it onto the street game page, or opens the game with ?story= followed by the file's URL. The game reloads with the new story. Progress is kept per story, and adding ?reset starts it again from the first chapter.

### Which example stories come with Film Street Story?

Film Street Story ships three examples. the-letter.json is a two-chapter dusk and storm story about a letter and a sheltering cat. four-seasons.json is the built-in four-chapter story. tide-and-lantern.json has four chapters for Harbour Street, which has no cat, ending with a snowman and a hungry gull.

### Does passing the Film Street Story validator mean the story is good?

No. The Film Street Story validator proves only that every chapter can be finished in both languages. Read the story once in English and once in Chinese for tone and pacing. Keep text plain, because the game shows every line as plain text with no HTML or markup.

## Examples

- Drop-in stories (image)
