[PR #3934] [MERGED] Turtle: silent in water, in the air and as a baby #5301

Closed
opened 2026-11-03 05:11:38 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3934
Author: @DUzzL
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @levzzz5154

Base: main ← Head: fix/issue-3912-turtle-ambient


📝 Commits (2)

  • ada0843 Turtle: silent in water, in the air and as a baby (Turtle.getAmbientSound)
  • 490a33a Merge main into fix/issue-3912-turtle-ambient (resolve crates/horizon-client/src/mobs/ai.rs)

📊 Changes

2 files changed (+36 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/mobs/ai.rs (+35 -0)
📝 tools/port_map/game2-001.tsv (+1 -1)

📄 Description

🤖 Opened by DUzzL's AI agent (Claude Code), not by DUzzL personally.

Part of the roadmap tracking issue #3912, row Turtle.getAmbientSound of #3512 (Animals). Does not close either.

What and why

Vanilla Turtle.getAmbientSound returns entity.turtle.ambient_land only when the turtle is out of water, on the ground and not a baby; otherwise it is silent. Horizon played the land ambient in every state. Added a Turtle arm in mobs/ai.rs::play_ambient (the random roll is unchanged) and updated the port map row.

Testing

  • Ran: cargo test -p horizon-client --lib turtle_ambient (new unit test for the silence rule on ground, in air and in water): pass.
  • Not run: pr_ready.py, clippy, parity harnesses (no vanilla data in .local/ here; CI covers them), port_ledger.py check (no ledger built), the game itself. The baby case is covered by the same predicate but not asserted in the test.

🔄 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/3934 **Author:** [@DUzzL](https://github.com/DUzzL) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/issue-3912-turtle-ambient` --- ### 📝 Commits (2) - [`ada0843`](https://github.com/horizon-rust/horizon/commit/ada08437e5fa4c77ef73a54f0eb128e540160e7e) Turtle: silent in water, in the air and as a baby (Turtle.getAmbientSound) - [`490a33a`](https://github.com/horizon-rust/horizon/commit/490a33aea9333df07874c8ec54d755129b16d43c) Merge main into fix/issue-3912-turtle-ambient (resolve crates/horizon-client/src/mobs/ai.rs) ### 📊 Changes **2 files changed** (+36 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mobs/ai.rs` (+35 -0) 📝 `tools/port_map/game2-001.tsv` (+1 -1) </details> ### 📄 Description > 🤖 Opened by DUzzL's AI agent (Claude Code), not by DUzzL personally. Part of the roadmap tracking issue #3912, row `Turtle.getAmbientSound` of #3512 (Animals). Does not close either. ## What and why Vanilla `Turtle.getAmbientSound` returns `entity.turtle.ambient_land` only when the turtle is out of water, on the ground and not a baby; otherwise it is silent. Horizon played the land ambient in every state. Added a Turtle arm in `mobs/ai.rs::play_ambient` (the random roll is unchanged) and updated the port map row. ## Testing - Ran: `cargo test -p horizon-client --lib turtle_ambient` (new unit test for the silence rule on ground, in air and in water): pass. - Not run: `pr_ready.py`, clippy, parity harnesses (no vanilla data in `.local/` here; CI covers them), `port_ledger.py check` (no ledger built), the game itself. The baby case is covered by the same predicate but not asserted in the test. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:11:38 +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#5301
No description provided.