[PR #2662] [MERGED] Add zombie village sieges #4517

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

📋 Pull Request Information

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

Base: main ← Head: fix/village-siege


📝 Commits (2)

  • ca83704 Add zombie village sieges
  • 8649eda Merge main into fix/village-siege

📊 Changes

2 files changed (+147 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game/creatures.rs (+1 -0)
📝 crates/horizon-client/src/game/raids.rs (+146 -0)

📄 Description

What and why

Zombie village sieges did not exist. In vanilla, one night in ten, at midnight, 20 zombies spawn 32 blocks from a player who stands in a village. This adds that, run next to the patrol spawner. It uses every player in the level (so it also works on the single player server thread, where the window is a guest).

Vanilla reference

VillageSiege.tick, tryToSetupSiege, trySpawn and findRandomSpawnPos; time marker roll_village_siege (tick 18000); ServerLevel.isVillage.

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/2662 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/village-siege` --- ### 📝 Commits (2) - [`ca83704`](https://github.com/horizon-rust/horizon/commit/ca83704cbb6d4634b5fe8053668eb0a51b76e71b) Add zombie village sieges - [`8649eda`](https://github.com/horizon-rust/horizon/commit/8649edaf16c5f46bc5e87af19505572d9c31e295) Merge main into fix/village-siege ### 📊 Changes **2 files changed** (+147 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/creatures.rs` (+1 -0) 📝 `crates/horizon-client/src/game/raids.rs` (+146 -0) </details> ### 📄 Description ## What and why Zombie village sieges did not exist. In vanilla, one night in ten, at midnight, 20 zombies spawn 32 blocks from a player who stands in a village. This adds that, run next to the patrol spawner. It uses every player in the level (so it also works on the single player server thread, where the window is a guest). ## Vanilla reference `VillageSiege.tick`, `tryToSetupSiege`, `trySpawn` and `findRandomSpawnPos`; time marker `roll_village_siege` (tick 18000); `ServerLevel.isVillage`. ## 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:17:44 +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#4517
No description provided.