[PR #956] [MERGED] Carry: YUNG's and Moog's enhanced terrain adaptation as horizon:enhanced_terrain_adaptation #2938

Closed
opened 2026-11-02 16:00:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/956
Author: @ludovic111
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @ludovic111

Base: main ← Head: feat/carry-terrain-adaptation


📝 Commits (2)

  • 44b8aea Carry: YUNG's and Moog's terrain adaptation as the game's terrain kernel
  • 9a836c5 Docs: carried terrain kernels and what they change in seed 1234

📊 Changes

2 files changed (+155 additions, -21 deletions)

View changed files

📝 crates/horizon-port-pack/src/worldgen.rs (+144 -18)
📝 docs/modpacks.md (+11 -3)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

The game reads the key in #955. This PR builds alone; without #955 the key is ignored.

What

Carry stops dropping YUNG's and Moog's enhanced terrain adaptation and writes it as horizon:enhanced_terrain_adaptation:

  • YUNG's API: on every yung_jigsaw (with rigid_junctions and inflate, as YUNG's assembler has them) and on elements that set their own, NONE included. The presets are spelled out: large is 24/16 carve/none, small is 12/6 carve/none. custom keeps its fields. An aquifer_override counts as lost (no ATM10 mod has one).
  • MoogsStructureLib: on its jigsaws (size 0 when unset) and its own element types, with its band. A malformed one counts as lost, as the library's codec would refuse it. Repurposed Structures' copy still counts as lost.
  • docs/modpacks.md: what it gives, measured.

Proof

  • Over ATM10's 42 data-tier mods, terrain adaptation rules lost go from 5 to 0.
  • See #955 for what the terrain looks like.
  • The carry tests are updated for the new key.

Self-check

cargo fmt --all --check                                   ok
cargo clippy --workspace --all-targets -- -D warnings     ok
cargo test -p horizon-port-pack                           ok

No game code here.

Nothing needs Ludovic. The mod jars stayed in a local work folder.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/956 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/19/2026 **Status:** ✅ Merged **Merged:** 10/19/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/carry-terrain-adaptation` --- ### 📝 Commits (2) - [`44b8aea`](https://github.com/horizon-rust/horizon/commit/44b8aeab0a98edf001c617ab7bb3845b3b69bd75) Carry: YUNG's and Moog's terrain adaptation as the game's terrain kernel - [`9a836c5`](https://github.com/horizon-rust/horizon/commit/9a836c50a830f023c6a08bca328c0f7c80592795) Docs: carried terrain kernels and what they change in seed 1234 ### 📊 Changes **2 files changed** (+155 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-port-pack/src/worldgen.rs` (+144 -18) 📝 `docs/modpacks.md` (+11 -3) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. The game reads the key in #955. This PR builds alone; without #955 the key is ignored. ## What Carry stops dropping YUNG's and Moog's enhanced terrain adaptation and writes it as `horizon:enhanced_terrain_adaptation`: - **YUNG's API**: on every `yung_jigsaw` (with `rigid_junctions` and `inflate`, as YUNG's assembler has them) and on elements that set their own, NONE included. The presets are spelled out: large is 24/16 carve/none, small is 12/6 carve/none. `custom` keeps its fields. An `aquifer_override` counts as lost (no ATM10 mod has one). - **MoogsStructureLib**: on its jigsaws (size 0 when unset) and its own element types, with its band. A malformed one counts as lost, as the library's codec would refuse it. Repurposed Structures' copy still counts as lost. - docs/modpacks.md: what it gives, measured. ## Proof - Over ATM10's 42 data-tier mods, terrain adaptation rules lost go from 5 to 0. - See #955 for what the terrain looks like. - The carry tests are updated for the new key. ## Self-check ``` cargo fmt --all --check ok cargo clippy --workspace --all-targets -- -D warnings ok cargo test -p horizon-port-pack ok ``` No game code here. Nothing needs Ludovic. The mod jars stayed in a local work folder. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 16:00:15 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2938
No description provided.