[PR #2228] [MERGED] Count talking to villagers under vanilla's statistic name #4122

Closed
opened 2026-11-03 04:14:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: fix/stats-talked-to-villager


📝 Commits (1)

  • 84aba7b Count talking to villagers under vanilla's statistic name

📊 Changes

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

View changed files

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

📄 Description

What and why

Talking to a villager or wandering trader counted a statistic named talk_to_villager. Vanilla's key is talked_to_villager, which is what the statistics screen and the scoreboard criterion read, so it always showed 0. The wandering trader goes through the same code and is fixed too.

Vanilla reference

  • Stats.TALKED_TO_VILLAGER (talked_to_villager)
  • Villager.mobInteract and WanderingTrader.mobInteract (awarded for the main hand, adults only)

Self-check

cargo check -p horizon-client passes.


🔄 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/2228 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/stats-talked-to-villager` --- ### 📝 Commits (1) - [`84aba7b`](https://github.com/horizon-rust/horizon/commit/84aba7b3d494f6d1315214c41a27464e14e8be87) Count talking to villagers under vanilla's statistic name ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/trading.rs` (+1 -1) </details> ### 📄 Description ## What and why Talking to a villager or wandering trader counted a statistic named `talk_to_villager`. Vanilla's key is `talked_to_villager`, which is what the statistics screen and the scoreboard criterion read, so it always showed 0. The wandering trader goes through the same code and is fixed too. ## Vanilla reference - `Stats.TALKED_TO_VILLAGER` (`talked_to_villager`) - `Villager.mobInteract` and `WanderingTrader.mobInteract` (awarded for the main hand, adults only) ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:14:50 +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#4122
No description provided.