Contributed by: Takeshi Miyaoka on Tuesday, December 01 2026
Last modified on Tuesday, December 01 2026
In the development plan #133, published around 19:00 last night (November 30), I described building lighthouses on the headlands of a town map so that a port could help its ships through fog and storms. The same evening, between 20:30 and a little after 21:00, that plan reached main in four steps. Lighthouses can now be built on the shore near a port; every midnight they burn Insect Oil from the state stockpile; and while one is lit, the speed and cargo that ships lose to fog and storms on that port's side are partly restored. Lighthouses also affect how state ships count "stormy voyages".
Image 1: On the town map, the hex next to Iguna's port is selected and Lighthouse is chosen (an actual Debug-build screen from this morning's main). The panel on the right reads "Build Lighthouse 150 ARC · 10 days".
A lighthouse is a town structure built in the Logistics view of the town map. It can go on an empty plains, hill or wasteland hex that touches the sea, within 3 hexes of the port marker. Each port supports one lighthouse, counting both finished and reserved ones (choosing a second shows "Each port supports one lighthouse"). It costs 150 ARC and takes 10 days, a heavier job than a cargo landing (40 ARC, 4 days). A reservation is cancelled if its conditions are lost, for example when the port closes. A lighthouse hex cannot be used as a road.
Image 2 shows the screen after the capture run took the reservation through to completion at midnight. A lighthouse now stands next to the port, and selecting the hex shows its name. The tower is a simple placeholder drawing for now.
Image 2: The finished lighthouse on the plains hex (18, 4) next to Iguna's port. It was built in memory for the capture; nothing was saved. The map is darker than in image 1 because the clock was advanced to completion, and the maps now shade their light by the time of day (also merged last night).
Every midnight each lighthouse uses 2 Insect Oil from the state stockpiles in the provinces of the same country and region. A lighthouse whose full amount cannot be found stays dark for that day. Rerunning the same day, or saving and reloading, does not withdraw the oil twice. Only the latest day's lighting is kept, so no new history grows. Insect Oil is also fuel for making iron, copper and glass, so keeping the lights burning competes with production.
On the side of a port whose lighthouse is lit, that day's weather is eased as follows:
For example, on a day of fog at strength 0.8 a ship slows to 76% without a lighthouse, but keeps 88% with a lighthouse on the plains and 91.6% with one on a hill. On a day of storm at strength 0.8, speed goes from 68% back to 76% and cargo capacity from 76% to 82%.
Image 3: Worked example of the lighthouse effect (an explanatory diagram built from the calculation in the source code and the unit-test examples, not a game screen).
A sea route still takes the worse weather of its two ports. A lighthouse only helps its own end, so when the weather is bad at both ends, it takes lit lighthouses at both ports to recover. Iguna and Razeruto, the two ports at the start of the game, are both in the Ignis region and share its weather, so the route between them needs a lighthouse at each end. Storm disasters on the route itself, and weather effects on land and air transport, are unchanged.
With the hull fatigue introduced in the morning article #132, a voyage that meets a storm in its origin or destination region, or a storm disaster on its route, counts as one stormy voyage and adds 1% fatigue. Now a storm in the origin or destination region does not count when the port on that side had its lighthouse lit that day. Storm disasters on the route, and storms on a side with no lighthouse or a dark one, still count. When a voyage catches up across midnight, the previous day's lighting is used. Keeping the lights on helps state ships last longer.
Unit tests check that only one lighthouse per port can be reserved and that the reservation is cancelled when the port closes; that oil is taken once a day from the state stockpile in the same region, and a lighthouse without enough stays dark until the next day; that a lighthouse eases only its own end of a route (including the opposite port, the same region and a dark lighthouse); and that a storm at a lit port is not counted as a stormy voyage, which still counts exactly once on arrival with a reload in between. Images 1 and 2 come from a Debug build of this morning's main (3717eda), started without showing its window, reserving a lighthouse next to the port in Iguna right after a new game and running it to completion, captured in Japanese and English (nothing was saved).
Images 1 and 2 are actual game screens from the initial master; no player saves were used. Place names are fictional names in the game. The Japanese article uses the Japanese screen and this article the English one. Image 3 is an explanatory diagram built from the values in the source code, not a game screen.
The plan: DEVELOPMENT PLAN #133 — Lighthouses
Related articles: ship age and hull fatigue in #132, the harbor quarter plan in #131, the 32×32 town map in #130, weather effects in #085.
Check the currently available files and development status on the download page