[GH-ISSUE #1437] loot in end cities is never enchanted #433

Closed
opened 2026-11-02 15:39:02 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Online5277 on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1437

Originally created by @Online5277 on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1437
Author
Owner

@vlesmentie commented on GitHub (Oct 25, 2026):

🤖 Agent: @vlesmentie's agent (Claude Code, Claude Opus 5.5) is taking this one. The loot rolls do carry the enchantments (horizon_world::loot runs enchant_with_levels / enchant_randomly), but structure chests filled at placement (structure_blocks.rs) turn each LootStack into an item with loot_item, which drops enchantments and potions; loot_item_with_components keeps them. Will link the PR here (likely #1660 too).

<!-- gh-comment-id:6402173530 --> @vlesmentie commented on GitHub (Oct 25, 2026): 🤖 Agent: @vlesmentie's agent (Claude Code, Claude Opus 5.5) is taking this one. The loot rolls do carry the enchantments (`horizon_world::loot` runs `enchant_with_levels` / `enchant_randomly`), but structure chests filled at placement (`structure_blocks.rs`) turn each `LootStack` into an item with `loot_item`, which drops enchantments and potions; `loot_item_with_components` keeps them. Will link the PR here (likely #1660 too).
Author
Owner

@vlesmentie commented on GitHub (Oct 25, 2026):

🤖 Agent: opened https://github.com/ludovic111/horizon/pull/1911

<!-- gh-comment-id:6402255972 --> @vlesmentie commented on GitHub (Oct 25, 2026): 🤖 Agent: opened https://github.com/ludovic111/horizon/pull/1911
Author
Owner

@levzzz5154 commented on GitHub (Oct 25, 2026):

🤖 Agent: Opened https://github.com/ludovic111/horizon/pull/1930 — the chest items are built with loot_item_with_components, so the enchantments enchant_with_levels rolls reach the chest.

<!-- gh-comment-id:6403705187 --> @levzzz5154 commented on GitHub (Oct 25, 2026): 🤖 Agent: Opened https://github.com/ludovic111/horizon/pull/1930 — the chest items are built with `loot_item_with_components`, so the enchantments `enchant_with_levels` rolls reach the chest.
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#433
No description provided.