[PR #2954] [MERGED] Open the saddle and armour screen on a tame nautilus #4708

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2954
Author: @kacpherek
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @ludovic111

Base: main ← Head: fix/nautilus-inventory


📝 Commits (1)

  • 222dc28 Open the saddle and armour screen on a tame nautilus

📊 Changes

3 files changed (+42 additions, -26 deletions)

View changed files

📝 crates/horizon-client/src/game/lan_mount_menu.rs (+1 -1)
📝 crates/horizon-client/src/game/mount_menu.rs (+37 -23)
📝 crates/horizon-client/src/game/nautili.rs (+4 -2)

📄 Description

What and why

  • Shift + use on a tame nautilus did nothing. Horizon returned before opening any screen.
  • Now it opens the saddle and body armour screen, the same menu a tamed horse uses. E while riding a tame nautilus opens it too.
  • The screen has vanilla's layout: saddle slot at (8, 18), armour slot at (8, 36), no chest, vanilla's nautilus background and armour slot icon.
  • A saddle put into the nautilus plays the nautilus saddle sound, as vanilla does.
  • On a server, a guest gets the same screen through the existing mount window path (lan_open_mount). Traced in code, not run in game.

Vanilla reference

  • AbstractNautilus.java:399-402: mobInteract opens the screen when tame and shift is held.
  • AbstractNautilus.java:151-153: canUseSlot (alive, adult, tame).
  • AbstractNautilus.java:500-503: openCustomInventoryScreen.
  • AbstractNautilus.java:516: getInventoryColumns returns 0 (no chest).
  • AbstractNautilus.java:472-476: saddle sounds in getEquipSound.
  • inventory/NautilusInventoryScreen.java:13-18: background nautilus.png, slot sprites.
  • inventory/NautilusInventoryScreen.java: shouldRenderSaddleSlot and shouldRenderArmorSlot.
  • inventory/NautilusInventoryMenu.java:11, 16-25: slot positions and armour sprite.
  • EntityTypeTags CAN_WEAR_NAUTILUS_ARMOR: nautilus and zombie nautilus.

Self-check

clippy and fmt pass for horizon-client. Not run in game.


🔄 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/2954 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/nautilus-inventory` --- ### 📝 Commits (1) - [`222dc28`](https://github.com/horizon-rust/horizon/commit/222dc28be9614f918fbe4e779f53b844aa28c2af) Open the saddle and armour screen on a tame nautilus ### 📊 Changes **3 files changed** (+42 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/lan_mount_menu.rs` (+1 -1) 📝 `crates/horizon-client/src/game/mount_menu.rs` (+37 -23) 📝 `crates/horizon-client/src/game/nautili.rs` (+4 -2) </details> ### 📄 Description ## What and why - Shift + use on a tame nautilus did nothing. Horizon returned before opening any screen. - Now it opens the saddle and body armour screen, the same menu a tamed horse uses. E while riding a tame nautilus opens it too. - The screen has vanilla's layout: saddle slot at (8, 18), armour slot at (8, 36), no chest, vanilla's nautilus background and armour slot icon. - A saddle put into the nautilus plays the nautilus saddle sound, as vanilla does. - On a server, a guest gets the same screen through the existing mount window path (lan_open_mount). Traced in code, not run in game. ## Vanilla reference - AbstractNautilus.java:399-402: mobInteract opens the screen when tame and shift is held. - AbstractNautilus.java:151-153: canUseSlot (alive, adult, tame). - AbstractNautilus.java:500-503: openCustomInventoryScreen. - AbstractNautilus.java:516: getInventoryColumns returns 0 (no chest). - AbstractNautilus.java:472-476: saddle sounds in getEquipSound. - inventory/NautilusInventoryScreen.java:13-18: background nautilus.png, slot sprites. - inventory/NautilusInventoryScreen.java: shouldRenderSaddleSlot and shouldRenderArmorSlot. - inventory/NautilusInventoryMenu.java:11, 16-25: slot positions and armour sprite. - EntityTypeTags CAN_WEAR_NAUTILUS_ARMOR: nautilus and zombie nautilus. ## Self-check clippy and fmt pass for horizon-client. Not run in game. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:07:21 +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#4708
No description provided.