[PR #5011] [MERGED] Give zombies and skeletons pumpkin heads on Halloween #6005

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5011
Author: @doodlyyousuf
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/4986-halloween-pumpkin-head


📝 Commits (1)

  • 8dadd9e Give zombies and skeletons pumpkin heads on Halloween

📊 Changes

9 files changed (+95 additions, -12 deletions)

View changed files

📝 crates/horizon-client/src/game/creatures.rs (+1 -0)
📝 crates/horizon-client/src/game/mob_gear.rs (+10 -0)
📝 crates/horizon-client/src/game/natural_spawning.rs (+1 -0)
📝 crates/horizon-client/src/game/persist.rs (+1 -0)
📝 crates/horizon-client/src/game/raids.rs (+1 -0)
📝 crates/horizon-client/src/game/spawner.rs (+1 -0)
📝 crates/horizon-client/src/mobs/finalize.rs (+37 -9)
📝 crates/horizon-client/src/mobs/spawning.rs (+42 -0)
📝 crates/horizon-client/src/vanillagen/structure_mobs.rs (+1 -3)

📄 Description

🤖 Opened by doodlyyousuf's AI agent (OhMyAgent, grok-4.6), not by doodlyyousuf personally.

What and why

Zombies and skeletons that spawn on 31 October never wore a pumpkin. Vanilla's Zombie.finalizeSpawn / AbstractSkeleton.finalizeSpawn put a carved pumpkin (10% jack o'lantern) on an empty head 25% of the time, with drop chance 0.

Horizon already ran that for structure placement (vanillagen/structure_mobs.rs). Natural, spawner, summon, raid and unfinished-structure paths use spawning::finalize, which never did. Those paths now call the same roll after spawn-gear enchant, so a helmet still wins.

Fixes #4986

Kind

  • parity: Horizon now does what vanilla 26.3 does
  • bug: a crash or a breakage
  • perf: faster, or less memory
  • feature: something new for players (listed under New in the release notes)
  • extra: Horizon-only, off by default
  • tooling: tools, CI, tests, harnesses
  • docs

Vanilla reference

SpecialDates.isHalloween (October 31). Zombie.finalizeSpawn and AbstractSkeleton.finalizeSpawn halloween garb. No local cargo/rustc; python3 tools/check_public_tree.py passed. pr_ready and crate tests need CI.

Other projects' code

none

Self-check

No local cargo/rustc. Public tree check passed on commit. python3 tools/pr_ready.py needs CI.


🔄 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/5011 **Author:** [@doodlyyousuf](https://github.com/doodlyyousuf) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/4986-halloween-pumpkin-head` --- ### 📝 Commits (1) - [`8dadd9e`](https://github.com/horizon-rust/horizon/commit/8dadd9e02a73f1788937f5cf85c46a2c6dc23fd0) Give zombies and skeletons pumpkin heads on Halloween ### 📊 Changes **9 files changed** (+95 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/creatures.rs` (+1 -0) 📝 `crates/horizon-client/src/game/mob_gear.rs` (+10 -0) 📝 `crates/horizon-client/src/game/natural_spawning.rs` (+1 -0) 📝 `crates/horizon-client/src/game/persist.rs` (+1 -0) 📝 `crates/horizon-client/src/game/raids.rs` (+1 -0) 📝 `crates/horizon-client/src/game/spawner.rs` (+1 -0) 📝 `crates/horizon-client/src/mobs/finalize.rs` (+37 -9) 📝 `crates/horizon-client/src/mobs/spawning.rs` (+42 -0) 📝 `crates/horizon-client/src/vanillagen/structure_mobs.rs` (+1 -3) </details> ### 📄 Description > 🤖 Opened by doodlyyousuf's AI agent (OhMyAgent, grok-4.6), not by doodlyyousuf personally. ## What and why Zombies and skeletons that spawn on 31 October never wore a pumpkin. Vanilla's `Zombie.finalizeSpawn` / `AbstractSkeleton.finalizeSpawn` put a carved pumpkin (10% jack o'lantern) on an empty head 25% of the time, with drop chance 0. Horizon already ran that for structure placement (`vanillagen/structure_mobs.rs`). Natural, spawner, summon, raid and unfinished-structure paths use `spawning::finalize`, which never did. Those paths now call the same roll after spawn-gear enchant, so a helmet still wins. Fixes #4986 ## Kind - [x] parity: Horizon now does what vanilla 26.3 does - [ ] bug: a crash or a breakage - [ ] perf: faster, or less memory - [ ] feature: something new for players (listed under New in the release notes) - [ ] extra: Horizon-only, off by default - [ ] tooling: tools, CI, tests, harnesses - [ ] docs ## Vanilla reference `SpecialDates.isHalloween` (October 31). `Zombie.finalizeSpawn` and `AbstractSkeleton.finalizeSpawn` halloween garb. No local `cargo`/`rustc`; `python3 tools/check_public_tree.py` passed. `pr_ready` and crate tests need CI. ## Other projects' code none ## Self-check No local `cargo`/`rustc`. Public tree check passed on commit. `python3 tools/pr_ready.py` needs CI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:16:34 +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#6005
No description provided.