The rituals can now craft from items taken from dead enemies and they go into the blanket right away.
This commit is contained in:
parent
1a9e068d02
commit
9d55b2954a
4 changed files with 12 additions and 2 deletions
|
@ -39,7 +39,7 @@ namespace gui {
|
|||
$gui.world().set_the<Background>({$gui.$parser, ColorValue::DARK_MID});
|
||||
auto& the_belt = $level.world->get_the<ritual::Belt>();
|
||||
|
||||
for(int slot = 0; slot < 4; slot++) {
|
||||
for(int slot = 0; slot < the_belt.max_slots; slot++) {
|
||||
if(the_belt.has(slot)) {
|
||||
std::string name = fmt::format("button_{}", slot);
|
||||
auto& ritual = the_belt.get(slot);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue