|
|
@ -39,7 +39,7 @@ namespace gui { |
|
|
|
$gui.world().set_the<Background>({$gui.$parser, ColorValue::DARK_MID}); |
|
|
|
$gui.world().set_the<Background>({$gui.$parser, ColorValue::DARK_MID}); |
|
|
|
auto& the_belt = $level.world->get_the<ritual::Belt>(); |
|
|
|
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)) { |
|
|
|
if(the_belt.has(slot)) { |
|
|
|
std::string name = fmt::format("button_{}", slot); |
|
|
|
std::string name = fmt::format("button_{}", slot); |
|
|
|
auto& ritual = the_belt.get(slot); |
|
|
|
auto& ritual = the_belt.get(slot); |
|
|
|