The rituals can now craft from items taken from dead enemies and they go into the blanket right away.

This commit is contained in:
Zed A. Shaw 2025-04-27 13:48:35 -04:00
parent 1a9e068d02
commit 9d55b2954a
4 changed files with 12 additions and 2 deletions

View file

@ -105,7 +105,8 @@ namespace gui {
// remove the items from the blanket now
auto& the_belt = $level.world->get_the<ritual::Belt>();
the_belt.equip(0, ritual);
the_belt.equip(the_belt.next(), ritual);
$level.world->send<Events::GUI>(Events::GUI::NEW_RITUAL, $level.player, {});
reset_inv_positions();