DEVELOPMENT PLAN #135 — Running Aground: Lighthouses, Damage and Repairs

Contributed by: Takeshi Miyaoka on Tuesday, December 01 2026

Last modified on Tuesday, December 01 2026

This is a development plan: it describes something I would like to build next. None of it is implemented yet, and the details are still under consideration and may change before implementation.

The lighthouses from last night's plan, #133, landed on main that same night (this morning's post #134), and today AI countries also started building them at their state fleets' home ports. A lighthouse makes ships faster on fog and storm days, but it does not yet protect the ships themselves. Tonight's plan gives lighthouses that second job: ships running aground, and the way damaged ships get repaired in port. It expands the improvement item RTE-023, which is already registered.

Image 1: Today's port screen (a Debug build of today's main, started without showing a window, right after starting a new game with the initial master data; the opening state fleets were prepared in memory during the capture and nothing was saved). Under the port's Operating orders, the ships of State fleet 1 (home port Iguna Port, 4 ships) and State fleet 2 (home port Razeruto Port, 2 ships) in Ignis are listed with size, commissioning date, age, hull fatigue, home port, location, status and repairs, and each fleet notes "Storm voyages: storms only at ports with a lit lighthouse are excluded." There is no column yet for how worn a ship is (its condition) or for damage.

Today: ships never get damaged, yet the repair system exists

  • Every ship has a condition value (0–100%) for how worn it is, and what it can carry is its capacity × condition. A ship below 70% condition, or due for maintenance, goes into maintenance in port before its next departure. With a repair kit, one day restores 25% (a simple repair kit restores half that), and a port can maintain as many ships at once as its scale.
  • State ships also build up hull fatigue from age and voyages (#132); above 60%, a 7-day overhaul halves it.
  • But nothing in normal play lowers a ship's condition yet (only an editing screen does, and decommissioning when a fleet shrinks). The repair side is in place; the damage side is missing.
  • A lit lighthouse softens the speed and cargo lost to fog and storms on its own port's side and stops state ships counting storm voyages there. The port installations table has a lighthouse column, and a year of weather confirms that the opening route between Iguna Port and Razeruto Port, which share a region, needs a lighthouse at both ends.

What is missing: the danger of entering and leaving port

Coming into port on a foggy or stormy day is the most dangerous moment of a voyage, which is why lighthouses have always stood at harbor mouths. In the game today, bad weather only slows ships down; they never get hurt, so repair kits, maintenance berths and overhaul decisions rarely matter. I would like lighthouses to mean "a light so we do not lose ships" as well.

Plan 1: Checking for groundings at each arrival and departure

  • I would like to check once when a ship leaves a port and once when it enters one, using that port region's weather for the day. The initial chances: 0.05% in clear or cloudy weather, 0.3% in rain or snow, 1.5% in fog and 2.5% in a storm, with rain, snow, fog and storms scaled by the weather's intensity (0.2–1.0).
  • On the side of a port whose lighthouse was lit that day, the chance is multiplied by 0.4. The other end of the route is checked with its own port's lighthouse, keeping today's rule that a lighthouse only helps its own port.
  • Old ships with 60% hull fatigue or more get 1.5 times the chance, so the risk of running aground joins the decision between keeping an old ship, overhauling it or replacing it.

Image 2: Concept mock (plan under consideration). The ship list from Image 1 with condition, damage stage (light, moderate, heavy) and a repair outlook added. The band at the top is the notice when a ship runs aground, the lower left shows the initial idea for damage stages, and the lower right lists groundings in the last 30 days. Ship states, dates and numbers are illustrative.

Plan 2: Four outcomes of a grounding

  • A ship that runs aground would take light (60%), moderate (25%) or heavy (12%) damage, or sink (3%). For ships with 60% hull fatigue or more, heavy damage and sinking become 1.5 times as likely.
  • Light damage lowers condition by 15% and the ship keeps sailing; since capacity follows condition, it carries a little less until its next maintenance.
  • Moderate damage lowers condition by 35%, and the ship is repaired in port before its next departure, using today's maintenance (+25% per day with a repair kit).
  • Heavy damage lowers condition by 60%, and the ship cannot sail until repairs bring it back to 70%. Its cargo is unloaded at that port, or taken back to the port it left if it ran aground on departure. It needs several repair kits and holds a maintenance berth for days, so a port's scale and its stock of repair kits start to matter.
  • A sunk ship leaves its fleet like a decommissioned one. Its cargo is recorded as lost and treated as a failed delivery, so no quantity disappears without a record. The idea is that the crew returns to port and the fleet will want a replacement.
  • A grounding on a given voyage is applied only once, and reloading or redoing the same day gives the same result.

Image 3: Concept mock (plan under consideration). The port installations table with the grounding chance in today's weather next to the lighthouse column, and the grounding chance by weather (per arrival or departure, initial idea). On the side of a port with a lit lighthouse the chance is multiplied by 0.4. Port scale (6) is today's game value; the weather and chances are illustrative or initial ideas.

Plan 3: Screens and AI

  • The ship list in the port orders would show each ship's damage stage (light, moderate, heavy) and its repair outlook (days and repair kits).
  • Next to the lighthouse column in the port installations table, the grounding chance in today's weather (with and without a lighthouse) would help decide where to build one.
  • A grounding would raise a notice naming the fleet, the ship, the port and the damage, and the last 30 days of groundings would be listed.
  • AI countries already build lighthouses at state fleet home ports when they have 30 days of Insect Oil; I would like them to also weigh each home port's grounding chance and light the riskiest ports first.

Implementation steps and how it fits with other systems

  1. The grounding check at departure and arrival (weather of the day, lit lighthouse, hull fatigue).
  2. The four outcomes: lower condition, whether the ship can sail, what happens to its cargo, and the decommissioning and crew of a sunk ship.
  3. Connecting to today's maintenance, repair kits and overhauls.
  4. The ship list, port installations and notices (Japanese and English), and the AI's lighthouse decisions.
  5. Checking that saving and reloading give the same results and nothing is applied twice, and checking the numbers in long-run simulations.

This builds on lighthouses (plan #133) and state ship hull fatigue (#132). The check only runs when a ship enters or leaves a port, so the work grows with the number of voyages; only the last 30 days of groundings are kept, and nothing rescans every ship or every history each day. The numbers (chances, the lighthouse's 0.4×, fatigue's 1.5×, the outcome shares and condition losses) are initial ideas; before implementing them I will check the port voyage records so that fleets do not shrink too fast. Differences by ship size (small, medium, large) are left out for now and will be revisited after the research for larger ships.

Tell me what you think

Groundings and sinkings add tension, but losing a ship you have looked after also hurts. Should sinking be in, or should it stop at heavy damage? And would you like ways to help a grounded ship, such as tugs, rescue ships or hiring harbor pilots? I would love to hear your thoughts.

About the images

Image 1 is an actual game screen. Images 2 and 3 are mocks that explain the plan; they are not game screens, and their ships, dates and numbers are illustrative.

Related posts: lighthouses implemented #134, the lighthouse plan #133, state ship age and hull fatigue #132, the ship ageing plan #129, and port managers and handling slots #126.

See the downloads page for the files currently available and the development status

Comment (0)

Happa - DEVELOPMENT PLAN #135 — Running Aground: Lighthouses, Damage and Repairs
https://www.happa.bz/article.php?story=devblog-135-running-aground_en