The last post ended on a question: why the hell would anyone build a bridge? The village's paths are FREE, and walking further cost nothing at all. A woodcutter walking around the whole bay worked exactly as hard as one living next door.
So did walking time affect how much the village gets done at all? It did not.
What I wanted is kind of what Cities: Skylines does: efficient roads, so the traffic doesn't clump up. But there's one big difference. In Little Shores you don't lay roads, the village lays its own paths. You only decide where bridges and tunnels go. So a traffic jam would be something you can't fix, which is just annoying. No jams then, and no traffic view either.
Instead, three walks cost time:
- Walking to work. Everyone lives in a home and walks to work in the morning and back home in the evening, and that walk comes out of the working day.
- The carrier's trip. Goods go to storage a load at a time, and the workplace waits while the carrier is away.
- Builders carry the goods. A site's goods are brought from the nearest store, a load at a time.
Together they should make a badly laid-out village do about 20 to 30% worse than a well laid-out one of the same size.
Nobody works at night
The first snag came right away. The village worked around the clock, at half speed through the night. Walking to work in the morning makes little sense if nobody ever goes home. SO: let's just buff every workplace's output and not have them work at night.
So the village works from dawn to dusk now. To make up for it, every workplace makes about a tenth more, and on top of that more again by how much its carrier walks: the woodcutters, the quarries and the mine 15%, the dairy 45%, since its milk goes six churns a trip. Here's one in the morning at the fishers' huts:


That's the very same moment of the very same night, by the way. The benchmark's village is built from a fixed seed and a fixed build order, so both versions of the game build it the same, and both get run to the same tick.
The night isn't completely empty though. The Dutch and Frisian towns of the time had a klapperman, a night watchman who walked the streets with a lantern and a wooden rattle and called the hours. So we have one too. He steps out onto the town hall's square halfway into dusk and walks a round past the nearest homes. At every full hour he stops, shakes his klapper (twelve knocks of light wood) and shows the hour on a little clock in a speech bubble. Nothing in the game comes of him. He's just there.
Who works where
Next question: who lives where and works where? That's not something the player should have to sort out. The workers should be assigned to the workplaces automatically, so that every walk to work is as short as possible.
So the game does it. Whenever something is built or torn down, it matches the homes to the workplaces so that all the walks to work add up to the least. That's a classic from logistics, the transportation problem: so many people in each home, so many places at each workplace, a cost for every pair. It gets solved by successive shortest paths over the village's actual paths, and in the villages I measured that takes 0.2 to 12 ms.
At dawn they all walk out, lanterns and all:
And stopping for a chat, or to watch the fireworks? Not on the way to work. The morning walk goes straight there.
The carrier
A carrier used to take four goods at a time, and that only held a workplace back once its store lay really far. Now he sets out once a full load waits, and the workplace starts nothing new while he's away. So every step to the store costs time, from the very first one.
How big should a load be? I measured it on fifteen kinds of island, each village played up to the grand town hall. What the walks take of the village's output:
| A carrier takes | The carrier alone | Both walks |
|---|---|---|
| 4 | 23 to 30% | 27 to 33% |
| 8 | 14 to 19% | 19 to 23% |
| 12 | 11 to 14% | 15 to 19% |
| 16 | 8 to 11% | 13 to 17% |
With four, the carrier alone would eat over a quarter of everything. Twelve it is: twelve logs, blocks or loads of ore, and of everything else by how much room it takes in store. That's 24 sacks or bars, 36 fish, loaves or cheeses, and 6 churns of milk. With that, a badly placed workplace does 27 to 37% worse than a well placed one.
Two things went wrong on the way. First, fish went short at supper. A fisher's hut fills a load only about once a day, so the day's catch reached storage after the evening meal. Now a food's carrier also brings what there is in time for supper. Second, I tried letting carriers bring what they had whenever storage ran out of a good. That sent a windmill's carrier off with every two sacks of flour. Dropped.
And the yards: a stone yard showed at most 4 blocks waiting, so it looked the same from 4 blocks to 12. Better to divide it evenly, so the 4 blocks stand for the whole load: each block shows its share of it now.
Showing it
Walking time is invisible unless the game tells you. So a workplace's card has a Walking bar: the share of its working day that goes to its crew's walks and its carrier's trips. It says which homes its crew comes from, and choosing either one tints the other in the sea's blue. A workplace whose walks eat more than a third of its day wears a "Long walk" bubble with a little clock.
That one is in the benchmark's village. What walking takes of each workplace's day there:
| Workplace | Walking |
|---|---|
| Bakeries | 5 to 8% |
| Fisher's huts | 6 to 8% |
| Windmills | 6 to 7% |
| Farms | 6 to 9% |
| Quarries | 6 to 30% |
| Woodcutter's huts | 16 to 46% |
The woodcutters stand out in the woods, far from any home or store, so they walk the most. Which is exactly what a bridge or a storehouse out there is for.
Builders carry too
The last walk: a building's goods. You still pay the price when you place it, but its builders bring the goods from the nearest store, eight at a time, and build only with what has come. One of them carries while the rest build, and he picks the store and the way every time he sets out. So a store or a bridge that comes nearer meanwhile brings the rest sooner.
This one isn't solved yet. I saw sites hang: the progress wasn't smooth from start to finish, it stopped every now and then. The builders build a load in seconds and then wait for the next one, so the bar stands still most of the time while they keep hammering. On one island a new building took three times its work, a raise to the third level some 30 minutes for 2 minutes of work. That's noted for the balancing.
So, the bridges
And a bridge is finally worth something. While you drag one, its badge says how much more the village would work with it, "+1.2% work" for example.
One funny thing came up while measuring: the game's ways didn't take the shortest route. A way between two buildings went up each one's way to the town hall until the two met. A bridge rerouted some of those, so in 7 of 13 villages the best bridge made the walks to work LONGER. Very expensive decoration, with a penalty. Now every walk takes the shortest way over the paths, and a bridge or a tunnel never makes one longer.
What's next
The numbers: the rates, the loads, how much a long walk may cost. Those get balanced together with the whole economy. And the paths themselves got a rework right after this, lanes. That one gets a post of its own.



Comments 0
Join to comment: with your address and a code, kept to the house rules.
No comments yet.