Skip to content

Fix lighthouse placement on water - #1202

Open
zhangnjsd wants to merge 3 commits into
louis-e:mainfrom
zhangnjsd:fix-issue-1195
Open

Fix lighthouse placement on water#1202
zhangnjsd wants to merge 3 commits into
louis-e:mainfrom
zhangnjsd:fix-issue-1195

Conversation

@zhangnjsd

Copy link
Copy Markdown

Fix water-based lighthouse placement by adding a footprint-aware wooden foundation. The foundation follows the lighthouse schematic’s projected shape instead of using a rectangular area and skips cells with grass above the water surface.
Lighthouse placement is replayed after water-depth carving, avoiding per-cell block checks in the water generation hot path and preventing water from overwriting the final foundation.

Fixes #1195

Copilot AI review requested due to automatic review settings July 19, 2026 09:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A lighthouse has no floor when it is on the water

2 participants