[PR #546] [MERGED] Show the tenth storage slot in chests #2634

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

📋 Pull Request Information

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

Base: main ← Head: fix/chest-slot-nine


📝 Commits (1)

  • bfb6a04 Restrict crafter result rendering to crafter menus

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+3 -1)

📄 Description

Fixes #525.

Container drawing treated game slot 309 as a crafter result in every menu. That ID also names the tenth storage slot (row 2, column 1), so chests displayed an empty recipe result instead of the stack stored there. Only select the computed result when a crafter is actually open; other containers now read their stored stack normally.

Validation: four existing crafter tests passed with both client library and binary compiled; formatting and diff checks passed. There is no small existing Game drawing harness for this branch, so the actual slot display is a manual check.

Draft pending in-game testing: put a stack in row 2, column 1 of a double chest, reopen it, and check visibility, count and pickup. Also check the corresponding slot in a single chest/barrel and that a crafter still shows its recipe result.


🔄 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/546 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/16/2026 **Status:** ✅ Merged **Merged:** 10/16/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/chest-slot-nine` --- ### 📝 Commits (1) - [`bfb6a04`](https://github.com/horizon-rust/horizon/commit/bfb6a0458d45f0e02f21e68d2c988cc804cae37e) Restrict crafter result rendering to crafter menus ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+3 -1) </details> ### 📄 Description Fixes #525. Container drawing treated game slot 309 as a crafter result in every menu. That ID also names the tenth storage slot (row 2, column 1), so chests displayed an empty recipe result instead of the stack stored there. Only select the computed result when a crafter is actually open; other containers now read their stored stack normally. Validation: four existing crafter tests passed with both client library and binary compiled; formatting and diff checks passed. There is no small existing Game drawing harness for this branch, so the actual slot display is a manual check. Draft pending in-game testing: put a stack in row 2, column 1 of a double chest, reopen it, and check visibility, count and pickup. Also check the corresponding slot in a single chest/barrel and that a crafter still shows its recipe result. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:57:48 +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#2634
No description provided.