HOPE

What the city is and how it runs. No code, no numbers that matter; those are in the repo.

A walled city on an ash plain. Nobody alive has seen the wall open and nobody is sure what is on the other side. Inside it, people farm, trade, drink, patrol and sleep, and the city gets on with being a city whether or not you do anything about it. You are one more person in it, poor, middle class or wealthy, with nothing, a knife or a pistol, and the only thing the city will not do for you is tell you what it is for.

Time

The city has hours. A game hour is a minute and a half, so a full day passes in a little over half an hour of play, and the clock only runs while you are free to act: it stops when you talk, fight, watch a scene or die. Dawn is a slow brightening from five to seven, dusk the reverse from six to eight, and the night in between is long and blue. Shops trade by day. The wastes get louder after dark, and the things in them come closer to the walls. Sleeping in your own bed skips to morning. Lamps come on at dusk; so does whatever you carry.

06712172022
work 7โ€“17evening at the bar 17โ€“22going home, waking upnight 20โ€“6, streets empty

Shops open at six and close at eight. Work starts at seven. At five most people walk to a bar and drink until ten, when anyone with a home goes indoors until morning. Guards, raiders, scavengers and the barkeep never do.

Nobody comes back from the dead. When a shopkeeper, a guard or a farmer is killed, the stall or the post stands empty for a couple of days (a guard's for longer) until one of the town's own takes it up, often a son or a daughter only lately grown: the same face in a new apron or armband, living in the same house as before.

The weather comes in fronts. Two to four of them cross the city at a time on the prevailing wind, a bank of cloud, a band of rain or a storm, each over one to three towns, taking most of a day to pass, with clear sky between; the wind swings round slowly, so for days the weather comes from the same quarter. One town can be in sunshine while the next is under rain, and a storm has a ring of rain and a rim of cloud round its heart. You see the sky where you are looking. Cloud dims the light and drags shadows across the ground, rain empties the streets by half, a storm empties them entirely and throws lightning at the ground somewhere out of reach; a storm over the next town hides its far houses in the same haze, its near edge still clear. Every run begins with a front already on its way across, and clear sky over you. Each town lives under its own sky: its people go in when it rains on them, its fields grow by the rain that falls on them, and a storm flattens only the ripe crops it passes over. Rain never stops the roads, but a storm does: caravans, settlers and wandering groups wait it out where they stand, and nobody sets out under one. Every so often the whole city has a season for days: a drought (no rain anywhere, failing fields, short tempers), a rainy season (a soft rain everywhere, good for the crops) or a monsoon (a storm over everything, everyone indoors and nothing on the roads), and the criers say so. The crier on each plaza also cries tomorrow's weather, for his town and the next, and he is right for a few hours and then less and less; a sober crier is usually right, a drunk one slurs and is often wrong, and one in someone's pay makes it all sound calm when the town is restless. A crier who is wrong again and again loses his audience, and the board's District status carries his forecast.

The people

Everyone belongs to a class and a class holds ground. The high class hold the hill and the gate. The middle class hold the dense streets, the farms and the yards of the Works. The poor hold the scattered city of shacks and the marsh towns of the Fen, and nobody holds the wastes, which is where the raiders and the wolves come in. Standing with each class rises when you do their work and falls when you cross them, and standing is what opens doors: shops, conversations, and in the end the key. It is spoken of in words, not numbers: loved, liked, neutral, disliked, hated, and below hated, cast out. The hill stops talking to you and serving you at hated, the middle class only once it has cast you out, and the poor never stop.

People have days. A farmhand is in the field by seven and at the bar, or the gambling hall, by five; a shopkeeper is behind the counter all day and home by night; nobles promenade the plaza; servants and stewards keep their lord's house; scavengers never go home because they have none. By night most of them are indoors and the streets belong to the guards and whatever got over the wall. Every house holds so many beds and no more; people live where there is room, and a town that runs out leaves the rest sleeping rough. Those who sleep rough, the scavengers of the shack towns, the Fens and the wastes, do not stand about all night: at ten they lay a bedroll down where they are and light a small fire, and one or two others nearby come and lie down by it, so after dark those places are dotted with little camps of one to three round a fire. A sleeper sees nothing, so a camp is easy to creep past; wake one and he will talk, not gladly. A fight nearby wakes every camp round it, the wolves of the wastes find a camp as they find you, and by morning the fires are out, the bedrolls rolled and everyone back to their day. In each town one to three of the houses you can walk into are not abandoned at all: a family lives there, and by night the door is locked and they are asleep inside. What is in their chest is theirs, and so is what is in the chest of the manor a noble lives in (the box's buttons say Steal, not Take): take it in front of anyone and they shout thief, take it while they sleep and the noise may wake them, and a weapon or armour carried off a shelf or out of a home is known stolen for four days (a named one for good). A fence buys it without asking; an honest shopkeeper only far from where it went missing. Some houses have children: smaller, dressed like their family and named for it, they play by their own door by day and the plaza in the evening, run inside when a weapon or a fight comes near, never fight, and in three days are young adults of their family's class, in the same house and bed. New ones are born: a household of two grown-ups with a bed to spare may have a child, born at home a week or so later, though a hungry town or a heavily taxed one has fewer, and there are never more people in a house than beds. About one grown-up in eight is an elder, grey-haired; elders die of old age a few weeks on, and the town's oldest greys in their place. Neighbours who come to like each other well enough are married at their town's church at the next service, whoever they are: the poor with the priest and a friend, the middle class with a few friends, the wealthy before most of the town. They then share one house. A widow or widower keeps to the house for a few days in black, and an elder who dies of age is buried at the next service with the household there. A town that has lost people draws them back slowly from the towns it trades with or borders: a settler or a small family walks the road in with a mule of belongings, one party a town a day at most, never through a shut gate and never in a war, a riot or a famine, and only where the town's holders take their class (the hill takes only its own). Sometimes two to five go together, with a leader and a mule for every two: the faithful of a faith whose church is out of reach, whose priest is dead or whose ruler has no time for faith; the hands of a struck yard or a farm in drought; households that will not stay after a war, a riot or a murdered child; or a clan that has simply decided to go. A town takes in such a pack at most once in ten days and only with a bed for each of them; turned away, they try elsewhere, up to three times over about ten days, and camp outside a gate shut on their way. A peaceful pack nobody will have takes what it can: the farms, which take almost anyone, a camp at the wastes' edge, splitting up, or home. A stubborn or hot-tempered one digs in: it bullies the people it blames until they leave or the guard steps in, holds the church or a gate until the ruler gives way or the guard clears it, or fights the guard in the square; one camped for days at a shut gate forces it or, driven off, goes to the wastes as raiders. A pack's leader may ask you to see them safely to their new door, and a town with a pack dug in posts a notice for someone to talk them round. The wastes send drifters too: a small ragged group, at most one a week across the whole city, and only ever to the poor towns, so no city empties for good. A town whose houses have stood empty for a week is abandoned: its shops shut, nobody holds its post, and the road there goes quiet. About twenty days later, if the times allow it, settlers walk in from the nearest healthy town of its kind (for a poor town, perhaps from the wastes), fill about a third of its beds, and it is a town again. Killing a child is the one thing no town forgives: if anyone sees it, every class wants you for murder, the town's guards and armed people go for you on sight for ten days, its gates are barred to you for three (one road out is always left), and the towns around it think far less of you; only the cells end it sooner. (Settings has a content toggle, on by default, under which children cannot be harmed at all.) Rain sends half of them home early and a storm sends all of them.

The class rules bite. A noble, tall hat, gold band and a faint blue mark over the head, will not have a commoner within arm's reach: a shout, and a royal guard walks you to the gate. Draw a weapon in the wrong street and someone shouts for the guard. The gates into the dense city and onto the hill are guarded, and nobody walks through one with a weapon out: the guard shouts from his post every time you try it, and you put it away or you have a fight, unless his class loves you. Inside a town a drawn weapon is noticed: the poor tell you to mind it and still trade, while in middle-class and hill towns the shopkeepers, innkeepers, barkeeps and priests will not deal with you, nor anyone talk work, until it is put away, a guard who waves you through still tells you to holster it, and a middle-class patrol walks over to ask, the second refusal in a day a fight. A blade in your hand costs you there too: in a middle-class town people are harder to talk round and a little harder to charm, and the few who still trade with you, the dealers and the fences, charge you more and pay you less; on the hill it is worse; the poor only grumble. It also makes you frightening: with a weapon out, a threat lands more easily, in the middle towns, more so on the hill, and in the wastes. Put it away and all of that is gone. Out in the wastes a drawn weapon is a challenge: a lone scavenger who sees yours pulls his own knife, club or pipe gun and stands you off, while a few of them prey on whoever walks there alone and empty-handed. Let your standing with a class fall below nothing and its people stop shouting: the armed ones come at you the moment they see a blade in your hand, the rest run, and its guards come for you from further off. Put the weapon away and they let you be, for now. Every ruler who keeps people at a distance wears a red marker over the head and every guard a small pale one, so you know who you are about to make an enemy of before you do it. Nobody walks up to the King or the President uninvited. The President sees anyone the middle class has nothing against, and only empty-handed, not so much as a knife in the bag, until the middle class loves you. The King sees those the hill loves; or, oddly, someone the hill likes whom the poor and the middle class both hold in contempt, so long as they come empty-handed. Whoever passes is walked in by a guard to say their piece. Anyone else is walked back out with a word about their sort or their bag, and the third time in a day the guards stop asking. To steal you get low: crouched, you can lift from somebody at your elbow, from behind, where a passer-by does not feel you coming (a guard or one of the great does, until your Stealth is good), or, from across a counter, off a shopkeeper's or a dealer's shelves, so long as nobody's eyes are on you. Guards, the great and anyone minding a shop or a corner keep a far closer hand on what is theirs than a passer-by does. Fumble a lift and it is theft like any other: the armed fight, the rest shout for the guard, and nobody lets you try twice. Walk up the hill as a poor man and the residents turn on you. Guards never start a fight, but they finish one, and they will stand with you against wolves and raiders because that is their job too. Animals are animals: wolves and boars hunt the wastes, deer run (sooner from a drawn weapon), livestock graze and go where they are led. A fight has some sense to it: a gunman keeps his distance, ducks behind a crate or a fence and backs off when you close in, and a crouched body behind cover is twice as hard to hit, yours included; armour on an enemy counts the way yours does; and an animal or a raider near death runs for it, unless it is cornered.

A class is not the whole of it. Every town has its own mood about you, and it moves with what the town knows: steal in front of three people and the street goes cold, steal where nobody sees and it never hears of it; kill someone where they can see and they do not forget. Work for its people, bring a load in, put down a wolf inside its walls and it warms to you. A town's named people, the keepers, the priest, the nobles, the leaders, anyone who has given you work, remember you on their own account, for good or ill, and it fades if you leave them be. Where a class dislikes you, a cold town looks for your weapon from further off and more of its people stand and fight; a warm one gives you room. The mood never turns a stranger into an enemy by itself.

Who rules

Every town has a seat and somebody in it, and the seat belongs to the town, not to whoever sits it. The hill has its lords, one before the palace of every High city and one at the big house of every Estate. The dense streets and the Works each have a senator behind the hall's desk, and one of them, in the Dense City nearest the middle of the city, sits the President's chair. The shack towns and the Fen get a sheriff, who rides in a day or so after you arrive with one deputy and takes a corner by the plaza. The farms have a reeve, who keeps the barn's count, takes no side and keeps no guard. The King is not one of them: he sits in the High city that opens onto Gate Control, he does not change, and his palace stands back from that town's gates, so the road to Gate Control does not cross his lawn. The wastes answer to nobody, and Gate Control answers to the King.

Rulers keep their distance by rank: seven paces round the King, four round a lord, the President or a senator (a senator's four are his hall), two round a sheriff. A guard who sees you inside walks you out, and on the hill's lawns that is trespass; turned out of a hall it is not. A sheriff pushes you back himself and thinks no more of it. A lord lets someone the hill likes walk right up, a sheriff anyone the poor have nothing against; the King and the halls have their guards walk a welcome visitor in. Whoever holds a seat keeps the town's deeds and takes what you owe their class, and the hill's stewards do too. Each town backs its ruler by a figure the Standing panel shows beside who holds it. Kill a ruler where people can see and the town takes it twice as hard as any other killing, unless it had already gone off them.

A dead ruler leaves the seat empty, and an empty seat stops a town's trade: no caravan leaves it or comes in, so it goes short of whatever it does not make, its prices climb and its people grow restless. Somebody takes it after a while, half a day or so on the farms and a day or two in the halls and on the hill, each town in its own way, and the caravans run again. A rival's shortage is somebody's profit. The King's chair is never filled again, but his stewards keep his town trading.

Each town changes hands by its own rule. Every ten days the senators' seats are voted on. The day before, one or two challengers stand on the plaza and the notice board posts the race; on voting day booths go up round the town centre, the town comes to them through the day and queues at the nearest or the shortest, and when the polls close the guards carry the booths back to the hall over their heads. The votes are counted at the next dawn: a town that has turned against its senator throws them out, and the loser walks out of town. Then the Senators choose the President, each for the strongest of them as they see it, and a senator who wins moves into the President's chair. You can put coin behind a campaign; it helps as far as that town likes you, and hurts if it does not. Between votes the halls send somebody to sit an empty desk. In the shack towns nobody votes: when a sheriff dies, or has held a town long enough, two or three lieutenants come in by the gate and fight for the badge by the corner, and the last one standing wears it. You can stand behind one before it starts. When a lord dies the palace names one of the town's nobles, and the farms raise a reeve from their own hands. Now and then a lord dies in the night, of his heart, the palace says. Not everyone believes it.

Every ruler has views on war, on trade and on the faith, and every town has its own. A ruler whose views suit the town is liked a little more each morning; one who does not, or whose town is restless, less. Whoever takes a seat starts from half of what the town thought of the one before. Rulers get on with each other by the same views and by how close their towns stand, and a feud climbs a ladder: tariffs first, when the caravans between the two run half as often and the gate guards between them go through your bag for the other town's goods and want a duty on them; then an embargo, when nothing passes between the two at all, the guards keep what they find, and each town's notice board quietly posts a price on the other's ruler. Past that the feud is at breaking point. The King is above all of it. Every notice board keeps a district status: who holds the seat, how the town takes them, their views, the feuds, the checked and the shut gates and the next vote. Under it are the town's details and graphs, kept for the last thirty days: its people, those born, come, gone and dead, its food, its ruler's backing, its mood and its sky, all in round figures and words ("about 120 people", "falling") unless the town is yours; a tap on a town's name on the big map opens the same page.

Past breaking point, two towns go to war: not often, and never a ruler in two wars at once. Their men march, three to a side, and meet in the square of one of the two towns if they share a gate, or on open ground between them, a sparse town, a farm or the wastes, if they do not. Where they meet, people get off the street as they would in rain; now and then a few pick up what they can and stand with a side, and a side outnumbered sends for more. The last side standing wins. The loser's town sends and takes no caravan for some hours, thinks less of its ruler and grows restless, and at worst its ruler does not live to hear of it; the winner's ruler is liked the better for it, and the feud cools for a while. Strike one of the soldiers and you have taken a side: his comrades turn on you, the other side fights beside you, and a town that thinks well of you sends its people out to join you. A soldier killed in a war is the war's business, not the law's, but both towns remember whose side you were on. The crier, the notice board and the rumours carry the news, and the district status keeps it for a day.

The ranters on the corners are not only shouting. Every one of them has a name in mind, and it is the name of whoever holds their town's seat. Stand and listen to them often enough and you are one of them: they say so, the street says so, and they tell you the plan. Then you choose. Join, and they stand with you, and the riot comes within the day. Go to the ruler and give the names, and the guards take the ranters away, all but the one who got off, who will come for you and will not stop; the ruler pays, and remembers. Or walk away, and the plot goes on without you. A riot in a plotting town is a coup: the crowd goes past the plaza to the ruler's door, and if it holds to the end, or the ruler falls in it, the ruler is gone and the seat stands empty until somebody takes it. Put down, it leaves the ruler stronger than before. The corners also know what the hill will not say: which lord's heart was a rival's knife. The lord who took the dead man's seat would pay to hear it.

A seat can be taken. Kill a town's ruler, or have one of yours do it, and while the seat stands empty the town's notice board lets you put yourself forward. Then the town is asked, door to door, and every one of them answers by what they think of you: how their class sees you, how the town feels about you, any bond between you. A town that has turned on you shuts the door, and the seat goes its own way. A town that says yes is yours, nearly: the old ruler's guards, the guard captain and whoever hates you most go to the seat to keep it, and there is no law in killing them. Then one of your companions sits it for you, under the seat's own title in the town's books and a title of your own in its mouth, Regent, Governor or Boss, by the class that likes you best. The town backs them as far as it said yes; their guards let you be; nobody votes for that seat or fights for that badge while you hold it, but its feuds and wars go on as any town's do, and if your governor dies the town goes back to its own ways. The tax is yours to set at their talk, nothing to a quarter of what the town makes, and their chest keeps a few days of it for you. Take more than a tenth and the town likes your governor less every morning; take less and it warms to them, slowly, but at a twentieth or less the armoury goes unpaid and the guards go short of good blades and good coats. A town that barely backs its governor grows restless. The King's seat is nobody's to take.

Towns at war shut the gates between them, and a town in a riot shuts its own, until it is over. A shut gate has a striped barrier across it and shows red on the map; no town is ever shut in, it always keeps one gate open, and Gate Control's never close. A guard stands on each side of a shut gate and turns you back from the barrier, walking you off a few steps with no harm done, unless his town loves you, in which case he lifts it and looks the other way; push past him and it is a fight. One shut gate is always left with nobody at it, and its barrier can be picked; the subway is the other way round. Nobody else goes through: caravans on the road turn round and take their loads home, none sets out, the runners wait, and the townsfolk stop going to church, on pilgrimage or preaching in the town next door. The walker warns you when your way runs through a shut gate, and the district status names the shut gates and why.

The ground

Dense City

Paved streets, a town hall where a senator works behind a desk (in one of them, the President), shops with stalls, the bars, your own house if you start with one.

Farmland

Fenced fields that grow, ponds, a barn, a room over the bar, a farmhouse or two with room for children, a reeve at the farmhouse door, people who need wolves thinned and sacks carried.

Scattered City

Shacks, dirt, a junk dealer, the only bar the poor can afford, a sheriff on the corner from the second day, and the start of the worst route to the key.

Fen

A marsh town of the poor: ponds and reeds, plank paths over mud that drags at your boots, shacks, one guard and a sheriff, smugglers, bad water and eels. It sells fish, herbs and what the dealers need. When the rain sets in, the marsh comes up over the planks. A hard run may begin here.

Works

An industrial yard of the middle class: long sheds under smoking stacks, furnaces, scrap heaps and the yard hands who work them. It makes the city's weapons and iron and eats everyone else's bread. The wages sit in a strongbox in the yard office, behind the senator's desk. When the yard is angry enough it walks out, and nothing leaves the sheds until the strike is over.

The wastes

Nobody's ground: ruins, dead trees, the raider camp, wolves and boars by day and worse by night. Some of it is the Dust Flats, sand and salt and bones where little lives, and some the Ruin Quarter, a broken city block of fallen towers and gutted tenements that scavengers pick over. Kill the wastes empty and they fill again over the mornings; the dead are gone by dawn.

High-Class City

Lawns, hedges, a palace with a lord before it, people who do not want you there. The one beside Gate Control is the King's, and he stands behind his guards.

Estate

A rich family's farm: hedged fields, an orchard or a vineyard, the big house with a lord at its door, a cottage or two for the families who work it, a few nobles and the people who work for them, and a guard or two. The hill's, but quiet: the easy way across wealthy ground.

Gate Control

Stone, a bunker, the console the key fits. There is only ever one. Locals only: unless the hill likes you, a guard who sees you walks you back out. The subway hatch comes up in its plaza all the same.

Wasteland

Ash, ruins, crates beside them, a raider camp, nobody's law. Between the towns in bigger worlds.

A seed draws the whole thing: the shape of every district and its name (grand on the hill, plain in the middle, scrappy in the shacks, bleak in the wastes), every street, every building and the voxels it is made of, every prop, every person and their name, what is in every chest, who hands out work and what the work is. Type the same seed and you get the same city. A city comes in four sizes: a sample of six districts, a town of twelve, which is where a new run starts unless you pick another, a city of twenty and a sprawl of thirty, each with its one Gate Control beside the hill. The world economy, set on the same screen from very poor to very wealthy, decides what the city is made of: a poor world is mostly ash and shacks and short of everything, a wealthy one is plenty behind walls, mostly dense streets and the hill, and its gates are not for the poor. Wherever you start, the town you wake in has at least two ways out and open ground beyond one of them; only a poor start in a wealthy world can still find itself hemmed in. Under every plaza there are stairs down to a subway that runs beneath the whole map, lit and guarded where the rich live above it and black where the poor do. It is not one line. The tunnels loop back on themselves, now and then meet at a hub with a wide concourse and three or four lines running out, open into ragged halls where a few pillars still stand, bend on the long runs, and end in side rooms or break through into the next tunnel. No two cities dig it the same way. Down there you see only what your light shows you, and only along a clear line: a pillar in a hall throws a shadow, the tunnel round a bend stays black until you step round it, and you walk only where you have seen. The tunnels you have walked stay drawn, dimmer, every time you come back, so you never have to find your way twice; but people, beasts, crates, caches and handcarts show only while light you can see falls on them, your own or a lamp's, so a rat crossing a lit patch far down a tunnel shows for a moment and is gone again. Nobody throws a grenade into the dark. (Settings can lift the fog.)

Fights

A fight is turns. Everyone close enough to matter is in it, on one side or the other, and everyone else waits. On your turn you spend action points: a tile of walking each, a blow, a shot or a throw as the weapon asks. Your chance to hit falls with every tile past a weapon's reach, a body crouched behind cover is twice as hard to hit, and armour takes its share off every blow. End turn, in red so you do not press it by accident, hands the turn to everyone against you. Leave combat is green when nobody is close enough to stop you walking away, and yellow when somebody is: then pressing it is a try at slipping off, a Stealth roll that is harder with an enemy at your elbow or more of them about, costs four action points whether it works or not, and buys you only a few seconds' start.

Things

Gear is rolled, not stocked. A knife is never just a knife: it comes out Rusty or Keen or Light, with its own numbers and sometimes a surname, and your Luck tilts the roll. Shops stock by district (a grocer, an armourer, a general store, an outfitter on the hill, a junk dealer in the shacks) and prices move with your Charisma. Chests in abandoned houses, crates by the houses and the ruins and caches in the subway hold the rest, never much at once, and less the poorer the world. You wear four things: what is in your hands, what is in the other hand (a shield, or a light), what is on your body and what is on your head. Your bag holds only so much, and what you wear and hold has its own place outside it. A shop will buy what you are wearing straight off your back, and shows how a blade or a coat on its shelf compares with what you have on. Your chest at home is a big one, a few empty houses have one too, and whatever you drop lands in a pile at your feet. A torch burns down and is gone. A flashlight charges in the sun.

Buildings burn. A Molotov cocktail, a bottle of fuel with a burning rag in its neck, is thrown like a grenade: on a roof it may set the building alight, about one throw in five in dry weather, less in light rain and never in a downpour or a storm, and lightning in a storm can do the same. A fire starts small and gets worse over hours, from a wisp of smoke to the whole house ablaze to a gutted shell; rain puts out the small ones. Nobody dies in a burning house: the household gets out and stands in the street, the town takes it hard, and once the fire is out the owners rebuild. Thrown in the street a Molotov splashes the tile it lands on with fire, a fraction of a grenade's harm, and nobody takes that as an attack. Setting a building alight is another matter: anyone who sees you throw is a witness to arson, and the law wants you for it (unless the city has fallen to anarchy), harder than for a burglary and harder still if the fire took, with days in the cells to match. The people who live in the house are worse: if they are out and see it, one or two of them come for you, through their town, until you leave it, outrun them or a couple of hours pass; anarchy or no anarchy, a home is a home. The fences and the dealers sell them, and a poor town's crates turn one up now and then.

Levels and skills

Work, stories and fights won pay experience, and every level brings points for your five stats (Health, Action Points, Charisma, Luck and Stealth) and a skill. A run draws twelve skills from a larger pool, the seed deciding which, in three tiers: the trades and conveniences are open from the start, the solid ones from level four, and the ones that win fights (a longer reach, a steadier aim, a lucky break, a thicker skin, quicker feet, eyes that find enemies through walls) from level seven. Every run has some of each. A level puts three of them on the table and you pick one; the rest of the twelve wait below, greyed, the locked ones marked with the level they open at. Off-Script is never drawn: you choose it on the title screen or not at all.

Work and talk

Every run opens with a small job that points you at the town: read the board, find the bar, feed the old man on the corner; the board in your first town always holds one easy notice, tagged. Every trade wears its sign over its head (scales for a trader, a bed for the innkeeper, a loaf for the grocer, a sword for the armourer, a bell for the crier), and the sign glows green when they have work for you; anyone else with work to give carries a green mark, and so do the notice boards on the town plazas (Gate Control keeps none), read out by a crier. The marks are a language of their own: red crossed swords on everyone in a fight when it starts, fading once the health bars take over, and on anyone coming for you before the first blow; a blue raised hand on whoever stops you, a guard with questions or a noble calling for one, for as long as they hold you; green on friends, which in a town that loves you is everyone. The work is small and local: thin the wolves, fetch a part from an empty house across the city, carry a parcel, pass on a message and bring back the answer. Conversations are built from who the person is, where you are and what they have heard, and some choices are rolls against your Charisma, your Luck or a skill, with a way to fail that is usually funnier than the way to succeed. Doing work for a class is how you earn standing with it. People die for good, and their work with them: a job whose giver or whose person is dead is closed, never quietly lost, and a giver's household pays half for work already done; an errand nobody had taken passes to someone else in a day or so, and the boards post fresh notices at dawn and take down the ones nobody wants.

Companions

Some of the people who remember you well will walk with you. A town's named people, the ones who keep a bond with you, come round to you over two jobs done for them, and whoever stood on your side in a fight that opened your story starts there. Ask one of them along while you have something worth the walk, a job you are on or the fight for the key, and they come; nobody comes for nothing, and anyone who keeps a shop, a church, a seat or a post will not leave it for you. They fight the way their old life taught them: a guard as a Soldier or a Marksman, a scavenger as a Scout or a Brawler, a farmer and a citizen as their own nature runs, and each brings a kit of their own. One walks with you; the rest go home and wait to be sent for, and a call brings one across the city to you while the other goes home. They follow a step behind and never stand in your way, they stand with you in every fight and spread out round you when it starts, and the law never hears anything from them. They learn from the fights they are in with you, and each time they are better for it: tougher, sharper or quicker, with one piece of their kit improved, up to three times for each piece. At nothing they go down, not dead; a medkit beside them brings them back while the fight lasts and a little after, and after that they are gone, their kit in the dirt. When the uprising or the riot marches on the palace, everyone who ever walked with you comes.

The towns and the trade

Every district is a town with a name of its own, grand on the hill, plain in the middle, scrappy in the shacks, bleak in the wastes, and the big map only names the ones you have walked. Every town keeps an economy of seven goods: food, drink, medicine, arms, materials, luxuries and the drugs nobody admits to, which no trading post will discuss and no caravan carries. Farms make food, the dense city makes arms and materials, the hill makes luxuries and medicine, and every town eats; what a town is short of costs more there and what it has too much of costs less. Trading posts hold the ledger and send caravans along the routes between them, a trader with guards and a mule for every few sacks, or a cart by road for a big load. Raiders and the pack go for the mules first. A caravan that never arrives is a shortage somewhere, and a shortage is a tense town. A town whose food runs low asks for it at its trading post, and a caravan from a town with food to spare, a farm most often, takes the order and carries it there, the hungriest towns first. A caravan robbed on the way, turned back by a feud or a town in mourning, or stopped at a shut gate leaves the order up for somebody else, so a town cut off from the farms by its roads goes hungrier than the rest. A town's details say when its post has asked for food and who is bringing it. You can carry a load yourself for a post, with a clock on it, or take a mule nobody is guarding and sell it at the next post.

The farms grow. Every plot has a crop and a stage, sprout to ripe to stubble, moved along by rain and stalled by a dry spell; farmhands carry the sacks to the barn and the barn is the food. A farmer will pay you by the sack for a day's work at the harvest, and steadier work after that.

The three faiths

There is one god and three ways of following it, one per class, and the names are new every world: the Keepers of the Mended Fence, the Society of the Long Table, the Church of the Open Hand. Each has a greeting, a few customs (one preaches on corners, one walks into the ash to think, one forbids hats indoors and cannot say why), service days and an hour. The hill, the dense city and the farms build a church you can walk into, pews either side of an aisle and a bell tower over the door; the shacks make do with a ring of benches round a crate. A priest stands at each altar with a flock, and you stand a service by standing inside with them. You start with your home town's faith and it is worth something: a perk that grows with your devotion, and devotion grows by standing the services and fades with the days between them: a week without a service or a holy object and it is gone. Your sheet and every priest say when the next one is. Stand another faith's services three times and you have changed sides. Most people follow their class's faith, but in every town a minority (most among the poor) hold with another class's, and walk to its church. Priests sell a token of the faith, but only to someone who holds that faith, cure the curse a thing in the tunnels can leave on you, and take you in if you hold with nobody. Curses are not all alike: ill luck, the shakes, a sour face, or a glamour that makes you lovely and useless, and they only bite when you fight. The worst thing in the tunnels is the husk, a stooped grey thing with one long arm and a head that sits wrong. It comes up in the unlit stretches at most twice a week, never two days running and never two at once; it has a name of its own, it never runs, and the day it comes, word goes round. It gets into your head from four tiles off, through any armour, bites up close and whispers curses; kill it and its eye and teeth sell well.

The drug trade

Every world rolls two or three drugs of its own, each with a kick, a cost and a comedown. Three doses of one inside four days and it has you: off it you grow hungry faster, your aim shakes and people like you less, until four clean days or a priest. Dealers work the corners by the bars of the poor and middle towns, never fewer than two towns to a city, kept stocked by runners who lead a mule from one corner to the next; a run that gets in makes the drug cheap there, one that never arrives makes it dear. Guards stop a runner now and then, though a runner keeps his head down better than you do, and a stopped one hands over the load or bolts and leaves the mule behind. Once in a while it happens on a plaza in front of you, and you can walk on, talk the guard out of it, or point him at the mule, and somebody will remember which. A mule nobody is watching can be emptied, if you do not mind every dealer thinking less of you and the one who sent it never dealing with you again. They wear no mark; you know a dealer by the wide flat brim, the long coat with its coloured lining and the satchel on the hip, and a runner by the same coat without the brim. Now and then a shack town has a drug house on a back street: the dealer keeps shop in the front room, a large chest stands in the back, and nothing outside says what it is. A dealer keeps a ledger the way a trading post does: the town's stock, what he charges and pays for each drug, and the other corners' prices and which way they are going. Dealers have their own opinion of you that has nothing to do with your standing: the middle class loving you is a reason for a dealer not to. They hand out jobs with a clock, a parcel for a dealer in the next town, a sale to a regular who will not come to them, and a job that runs very late ends with both dealers wanting you dead. Walk around with a weapon drawn under a guard's eye and you may be searched; drugs found go in the river and every dealer hears about it. Bars and halls are where people buy; the hill is where they shout for the guard.

Ranters, moods and bad days

Some corners have a ranter. Nine lines in ten are nonsense, one in ten is true and worth a crust of bread to hear. Hear one out for three days and they will wade into your fights. Every town has a mood, calm to boiling, pushed up by ranters, shortages, busts and killings and down by services and full bars; a tense town's guards search more and tolerate less, its prices twitch, and past a line its ranters take the plaza, and now and then a rioter throws a Molotov at a house; its people, if they are out, may go for him. In a town wound up that tight the guards take ranters off the street, one a day at most, to the cells or the lock-up at the gate; a ranter who has served his few days goes home and keeps his mouth shut, so no town stays on the edge of a riot for good. Once an hour each town rolls the dice on something happening: a sickness, a holy day, a guard crackdown, a runner stopped on the plaza, a wolf surge, a drought, a harvest festival. The criers call it, the boards post it, and the street talks about what happened last night instead of the same old lines.

Fences

In every shack town somebody leans on the wall by the bar with a coat full of lockpicks, a Molotov or two and no questions. A fence will sell to anyone, but works only with a face they know, and only as far as the poor think well of you: a thing lifted off a shelf by daylight to begin with, the back shelf or the till of a shut shop once they like you, and something bigger once they love you: somebody's kin out of a jail cell, the strongbox behind a senator's desk in a town hall locked for the night, a ledger out of the chest in a manor on the hill. The dealers have the same kind of work for people they know. The pay is coin and the poor's good word; get caught at it and the rest of the city thinks less of you.

Every class has a longer climb of its own. The poor have the fence's ladder: a lift, a night job, a heist. The middle class hunts Old Tusk and then the scorpion king, and the last rung is a war: take a side and see it win. The rich start with a poor man who talks too much, then another town's ruler, then their own town's; never the King. Each rung is pinned to the board of the town you stand in (from Gate Control, which keeps no board, the nearest town's) once the one before is done and your level is high enough.

The night watch

When the lamps come on the guards change their rounds. In every town that keeps guards one of them takes a lantern and walks the town's places, the plaza, the hall, the jail, the shop doors, the manor, the gates, stopping at each to look round; in the circle of his lantern the dark hides nobody. The others stand the night at the jail's door, inside the hall and at the manor's door. On the hill every town has a manor, a noble's house open to callers by day and locked by night, with a chest that is always locked. At first light the watch goes home.

Locks

The shops lock up when they shut at eight, and their keepers unlock at six; a door stands in the doorway all night. Some chests are locked too, more of them up on the hill. A lock gives to lockpicks, which the junk dealers sell, and patience: one pin at a time, each a moment's touch, more of them the better the lock. A pick that slips snaps, and the sound carries: a guard within earshot comes to see, or somebody in the next house wakes and shouts for one. Behind a shop's locked door half the stock waits on the back shelves with the night's till, and nobody is minding it. Being seen at a lock, or inside a shut shop, is burglary.

Crimes, bounties and the cells

People see what is in front of them: a wide cone, the length of a street for a guard and less for anyone else, half that at night unless you carry a light. Behind a back you are nobody, unless you stand at arm's reach, and nobody sees through a wall. Posted guards turn their heads. Animals need no eyes. If somebody saw it, it is written down. A guard who saw knows on the spot; a townsperson runs for one. Nobody saw it, nobody knows. Everyone who saw remembers you, for a while: the worse it was, the longer. The middle class and the hill each keep a bounty on you, the sum of what they know; the poor keep no guards, so what you do to them is the middle class's business. Petty things fade, murder and robbery never. Past a line the boards post your description, nobody hires you, and guards who see you come after you. The one who gets his hand on you takes you in: a small bounty can be paid as a fine on the spot, anything bigger is the cells, and hands caught in a pocket or on a shop's shelf, or drugs found when a guard searches you, are the cells whatever the sum. Past the line where the hunters come, nobody takes you in: they draw. Pay what you owe or serve the time and the class lets it go: its guards and its people stand down and its witnesses forget. An angry face calms after a few hours without seeing yours. When somebody shouts for the guard, the guard does not know where you are: he goes to where you were seen and searches it, round corners and into houses, for longer the worse the crime, then stays and watches the street a while before he goes back to his rounds; the whole town's watch keeps an eye out while it lasts. A guard who sees you runs at you, and you can run too, and sprint while your breath lasts; a guard who wants you for a bounty does not stop you to ask about a weapon. The townsfolk read the notice too: anyone who sees you may know your face, the likelier the bigger the bounty, and shout for a guard or run to fetch one, and so does anyone who flees your drawn weapon in a town that dislikes you. The guard comes to where you were seen, so be somewhere else, or have the weapon away and the bounty paid by the time he gets there. Go quietly and you wake in the nearest jail, if your part of the city has one: three cells of bars with a cot in each, a warden at the desk, a jailer walking the cells. A third of your coin goes for your keep and everything else into the evidence chest; sleep on the cot and the time passes, and the warden hands your things back, the contraband excepted. The warden will hear you out once, and for enough coin the page with your name on it goes missing. Or wait for the jailer to stop at your door with his back to you, reach through the bars and take his keys (a hand he catches costs you another day and a fine), or work the lock with a bent nail if you know how, and get out; they will know, and come looking. Where there is no jail, the lock-up at the gate does, and you sleep the sentence away there. At a high bounty the class sends hunters.

There is another way to a clean name, if you hold a faith and a priest counts you a friend. Every morning from six to eight, before the first service, each church hears confession. Tell the priest what you did and they will lift it from the notice of the class their town answers to: theft, assault, burglary, dealing, a robbed caravan, anything but a killing. It costs a gift to the church and a penance first: bread for the poor, a word of peace carried to another town, the stolen goods and more carried back to the town that went without, or your stash and a vow. Hand the penance in and it is gone, and the hunters stop looking. Murder stays, and so does a child's death. A priest will not hear you twice in a week and a half unless you are close, nor a third time at all, and absolving you and seeing you back at it within days sours them. You hear the hours before you see them: each faith rings its own bell at six and at eight, carried far in a devout town and barely past the square in a godless one, and while the priest hears confession a banner hangs by the open door, a lamp burns at the step, and a confessional stands in the churchyard: a box two tiles wide with a door on each side, the priest in one half and whoever is confessing in the other, a grille between them and a lantern on the roof that burns while someone is inside. A short line of the faithful waits by the second door and goes in one at a time. You may go in yourself any morning, with nothing on your name at all: a few words through the grille once a day bring you closer to the priest and keep your devotion up between services, and the box shows you plainly what confessing would take before you have earned it. Only your own faith's box opens to you. At an open-air circle there is no wall to stand behind, and more of the street sees who is waiting.

Hunger, beds and homes

A meter beside your hit points fills over a day and a half; hungry costs you an action point and some aim, starving drains you and slows you and kills. Bread, stew, a sack of produce or a hot meal at a bar feed you; sleep does not. You sleep in a bed of your own, at an inn for a fee that follows the town's opinion of you, or in a sleeping bag where your class is allowed to lie down, which in the wastes is a gamble; but only once dusk has come, never in the middle of the day. Houses with a sign are for sale at the town's trading post, which asks no audience, or at the hall if the hall will see you, for a price the local economy sets; one to a town, and the hill sells only to those it likes. A home makes you a resident, judged by your standing and not your class, with a bed and a large chest of your own. The post buys it back, and if the chest is not empty it buys the lot at the day's rates or holds it for you until you buy another house, anywhere. The city saves itself once a minute; Resume on the title screen picks it up.

You do not have to be in it at all. The character screen asks whether you play or watch: watched, the city runs with nobody in it, every town and every number open to you, and a free camera that pans, turns, pulls far back over the whole map, follows a person or goes to wherever something is happening, at the normal pace, twice or four times as fast, or paused. A watched city is saved apart from your own run, and nothing in it ever answers to you. You stand under no sky of your own: every town's rain and storms show as the veil you would see over a neighbouring town, and no mist hides the wastes. Nobody wears a mark or a sign over their head for you, since you are nobody in the city; the maps keep their streets, towns and shops.

The farms tell of Old Tusk, a boar the size of a cart that goes through the fields on some nights and leaves them looking ploughed by a drunk. Out past the scattered towns the dogs have gone wild and thin.

The wastes keep hours. Bats come out between dusk and dawn, hares in the middle of the day, and in the dust flats the scorpions are always about; their sting poisons, and the cure is an antidote, which is rare, or a priest. Once in a while, and never in the wet, the Scorpion King walks the dust, and raiders and scorpions will fight each other whenever they meet. The husk, Old Tusk and the Scorpion King are the three beasts that are not like the rest, and the game marks them with a crowned skull.

Named things

The best rolls and a chest or two carry a name, Hollow Tooth, Second Regret, and a past: who made it, who first carried it, what it was used for. The past grows while you carry it, every life it takes and every town it passes through, and a shop that buys it tells the story on the shelf.

A few were made by hand and are always the same: the Gutter Saint, ground from a cart spring by a cutler who prayed over every blade; the Bailiff's Cosh, turned in the hall's cellar for the men who collect debts; and Old Gate-Breaker, built for the wall's first guard and lost in the dark under the city, where something kept it.

How the stories work

The story is not a script. It is a set of modules, each a small self-contained plot with the roles left blank: a steward on the hill, a chest in the wastes, a guard who owes money. When a run starts, the seed decides which modules are live and the city fills the blanks with real people and places that exist in that city. The same module is a different story in a different seed because the steward has a different name, the ruin is somewhere else and the guard patrols a different street.

Three modules are always live: the spine, the three ways to the key. A handful of filler modules are drawn per run from a larger pool. The wacky set only appears if you opt in to Off-Script on the title screen, and then the city stops making sense around you. And every run opens with a start, a short module drawn for the class you begin in, which is the job you wake to. A start can also be an opening scene: you begin in the middle of something, people standing round you and a choice to make before you have taken a step, and the choice decides who likes you, what you carry and where you live. Untick it on the title screen and you get the quiet start. Modules can require the outcome of another, so finishing one can bring a new one to life mid-run, which is the closest thing the city has to consequence. Writing a new one is writing a JSON file; no code needs to know it exists.

The story as it stands

This plot was generated by an AI to prove out the engine, the module format and the three-route structure. It is placeholder, and it is not remotely the final story. Treat it as a test pattern.

The wall has never opened. Somewhere on the hill the King carries the Gate Key, and the key fits a console in the Gate Control hall. Whoever turns it decides whether the gates stay shut or open, and that is the whole game. Walking up the hill and attacking the King gets you killed. If he does fall, the whole city hears of it by nightfall, and if it was you or yours who did it, people start calling you king, technically, though nobody sits his chair again. There are three ways in, and each starts with being somebody:

Around the spine, the filler: a steward whose hand was the one that stole the palace candlestick; a guard in debt to the armourer; a letter that is not allowed down the hill; a man the census never counts; a sign that is stolen every week; a toll owed to the raider Rook; a well that is not poisoned; two grocers and some stale bread; a lamp taken from over a shop door in broad daylight; a caravan four days late; a farmhand bleeding in a barn for want of a medkit; a bar tab nobody pays, and, once you have settled it, a barkeep who knows which gate is thin at night; a pair of boots too good to have been found. And if you go Off-Script: a man in a bucket crown who is the real King, a shop that only takes shoes, a talking goat, a door in the plaza that goes down, a wall that knows your name, a committee of rats that keeps minutes, and a tax on shadows. The starts: the middle class wake in their own bed to the town board or a hungry old man on the corner, the poor in the dirt to the only bar that feeds them or a scavenger with advice, and the wealthy in a house of their own on the hill or out on an Estate.

The wealthy have an opening scene, The Hill's Errand. You are a soldier of the hill, sent down into the Scattered City with two others to collect something the hill says the street took from it. Three of the poor and two of the middle class are waiting, and at the last moment you do not want to do it. Turn on your own men, and the street likes you, the hill does not, and you can still go home with a story about how your men died, if a royal guard believes it. Walk away, and your two run up the hill to say you deserted. Give the order yourself, and the street hates you, the hill gives you a house, and a fourth way to the key opens that no other start has: The King's Soldier. The King wants the list of names the President keeps for his rising, and he is a patient man, for a King.

If the King falls to you or yours, the city wants to know what that means before you take another step: the crown's question, asked the moment his fight is over, and it will not wait. Open the gates is always an answer. You walk to the Gate Control hall with every companion still on their feet, the console opens, and the run ends with their names on the stats screen, or with nobody's, if nobody loved you enough to follow. The question has other answers written into it, each behind the love of the class that would carry it out: burn the wealthy, burn the poor, no crown at all, or a peace the middle class keeps. All four can be given now. No crown at all has a back door too: it is yours to give if nobody stood beside you when the King fell.

Peace is the middle class's answer, and the run goes on under it with no end in sight, which is the point. Every town's guards stop anyone who walks its streets with a blade out, whoever they are, though they search fewer bags; the nobles no longer call the guards on commoners; towns go to war less often and one at a time, feuds cool, and it takes more anger to turn a corner's shouting into a riot. Not everyone is grateful. Where a town's unrest runs high, somebody may come for you with a knife, one of its own people, never twice in a day; the law does not count it against you when you put him down.

Burn the wealthy is the commoners' answer, given when the poor or the middle class loves you. Every day or two a poor or middle-class town marches on one of the hill's towns and fights its royal guards in the square, the old King's town first, then the lords' towns nearest the commoners. A rising won leaves the lord dead or gone, sends his guards, nobles and stewards out by the gate, and puts a sheriff or a senator in his seat; a rising lost leaves that town alone for two days. In the thick of a rising the risers throw Molotovs at the hill's houses, and some of them burn. The middle class is never a target. While it lasts nobody on the hill pays for the rich man's kind of work. When no lord holds a town any more the hill has fallen: Gate Control goes to whoever holds the old King's town, its checkpoint leaves with its royal guards, and the risings stop.

Burn the poors is the hill's answer, given when the wealthy love you. Every day or two the royal guards of the nearest town the hill holds march on one of the poor towns and fight its sheriff's deputies in the square, the towns nearest the hill first; sometimes guards from the nearest middle-class town come down to stand with the poor. A raid won leaves some of the town's people dead or gone for good, maybe its sheriff too; a raid lost or won, that town is left alone for two days. The raiders throw Molotovs at the poor's houses as they fight, and some of them burn. When a poor town has too few people left to stay, the rest walk out to the nearest middle-class town and it becomes a ghost town: nobody holds its post again, its shops stay shut and no caravan comes or goes. The poor towns' guards hunt you on sight while it lasts, the hill's towns wave you through. When no poor town is left standing, the raids stop. The middle class and the hill keep their towns.

Anarchy is the answer of the poor, or of whoever killed the King alone: no crown, no King, nobody's law. Everyone close enough to hear you say it turns on you on the spot, all but your companions, and nobody holds that fight against you. After it, more of everything: every town is angrier than it was, riots start sooner, spread faster and break out up on the hill too, the towns go to war three times as often and feud over tolls and embargoes. The hill never stops making war on the poor: its royal guards walk the poor towns in pairs picking fights, and every few days they come down on one in force, but no poor town is ever emptied. In a rising or a raid either side may set the town's houses alight with Molotovs. The commoners still rise against the hill's towns, the King's first, at half the pace of Burn the wealthy, and a town they take is theirs. The King's own town can be taken by whoever empties his seat and has the town behind them, and held by a companion as Regent; nobody is ever called King again. The hill's guards run you out of every town it still holds but the one where the King fell. There is no end to it but the gates or your death, and under Anarchy alone you may break the Gate Key, after which there is only your death.

At the console you choose. Three endings (the gates kept shut, the gates opened, the crown's march), and a stats screen that counts the days you lasted, the people you killed and the coin you made. Then the title again, and a different seed.