Locations and Travel
The map is one tree, rooted at the case's world and descending through districts, buildings and rooms. A location carries its own pictures, its travel cost, its opening rules, what can be found there and who is likely to be around. Identifiers are unique across the whole tree, so a place can be named without knowing where it sits.
1. What a location carries
| Part | Meaning |
|---|---|
| Id and name | the id is referenced by layouts, saves and discoveries; the name is shown |
| Travel cost | in hours; usually zero for a room inside a building |
| Time-dependent images | a background per hour threshold, picking the closest earlier one |
| Sub-locations | the children in the tree |
| Buttons | the navigable hotspots drawn on the current image |
| Discoveries | evidence, people and items that can be found here |
| Crowd rule | who might be passing by, and whether by day or by night |
| Access rule | opening hours, and items that act as keys |
A button is positioned in fractions of the image, from 0 to 1 across the full uncropped picture, with an anchor describing which point of the button sits at that coordinate. That is what lets one map image serve several locations, and what lets an art pack reposition buttons without recompiling the case — a layout file beside the image overrides the compiled coordinates, and an unknown destination in a layout cannot invent a route.
2. Travel costs hours
This is the detail most often got wrong, because the other cost in the game is measured in days. Travel is hours; summoning is days.
Following a button to a place with a non-zero cost does not move the player. It raises a question — do you want to travel there, it will cost this many hours — and waits. Confirming advances the clock and enters; cancelling stays put. A zero-cost move just happens.
In Case 1 the figures range widely, and they are the case's main pacing instrument: most districts cost four hours, a school district three, the far outskirts twenty-four, and the deep part of a flooded mine sixteen. Interiors cost nothing.
Waiting is the other way to move the clock: the player names an hour, and time only ever moves forward, so naming an earlier hour means tomorrow.
Crossing midnight has a consequence worth knowing about, because it is easy to trigger by accident. Advancing hours past the end of a day increments the day counter, and incrementing the day empties the police station and clears every station question budget. A sixteen-hour journey can therefore send a waiting interviewee home.
3. Opening hours and keys
An access rule gives a location opening hours on a 24-hour clock, a closed notice, and optionally a list of items that act as keys. The rules are:
- No access rule means open all hours.
- An empty hour set means always locked — a place that only a key opens.
- Holding any one of the unlock items bypasses the hours entirely. A key is not consumed, and it does not change anybody's schedule or eject people already inside.
- The check uses the arrival hour, not the departure hour, and the travel confirmation re-checks it. A journey that would arrive after closing is refused before the hours are spent.
- A closed destination stays visible on the map and says why it is closed.
Case 1's fortune-telling workshop is the worked example: open 08:00 to 21:00, with a workshop key that admits the player after hours, and a closed message that says exactly that. The key is itself obtained from a character — see Evidence and items.
4. Discoveries are gated twice
Everything findable at a location passes two gates before the player can see it:
- Hours. A discovery may carry a set of hours; an empty or absent set means always.
- Prerequisites. An evidence discovery may require other evidence, and all of it must already have been collected.
The second gate is the one that makes a case a case rather than a scavenger hunt, and the rule behind it is stated in the engine itself: only collected evidence unlocks a follow-up; dialogue claims cannot do so. A character telling the player about a document does not make the document findable.
5. Question budgets are per place
A street conversation's budget is kept per location and per character, not per character. The engine's own comment on this is the clearest statement of why: somebody who will not say another word on the quay may still answer three questions at the market. Street budgets are not reset by the passing of days; they are a property of that pairing.
The location is also told to the model on every turn, because where a question is asked is half of what makes the answer different. A police station interview and a doorstep conversation are the same mechanic with different context.
6. Authoring and reviewing a map
Two escape hatches exist for authors and testers, and neither costs clock time: jumping directly to any location by id, and forcing a particular person to be present. They rebuild the navigation trail from the root, so the player is somewhere coherent afterwards.
For checking that a map is actually navigable, the demo product ships a review tool that renders every navigable image at a given size and writes out the button rectangles and hit-test results, including whether a label is covered by another control. That is the kind of check a picture needs: it is not enough that a button exists, it has to be reachable and readable at the sizes people play at.
See also
- Evidence and items: what discoveries yield
- Cases and projects: where the map tree is declared
- Maps in A Detective Story: the demo's own map documentation