Have a plan for the new inventory and looting system, now have to implement it. Temporarily you can't pick anything up, but it will go away.

This commit is contained in:
Zed A. Shaw 2025-06-02 00:58:16 -04:00
parent b8d2d1870d
commit ab391aaa97
9 changed files with 23 additions and 261 deletions

View file

@ -3,9 +3,9 @@
#include <fmt/core.h>
#include <iostream>
#include "components.hpp"
#include "inventory.hpp"
#include "rituals.hpp"
#include "maze.hpp"
#include "textures.hpp"
using namespace fmt;
using namespace components;
@ -203,7 +203,6 @@ void WorldBuilder::place_entities(DinkyECS::World &world) {
world.set_the<ritual::Belt>({});
world.set_the<ritual::Blanket>({});
configure_starting_items(world);
world.set<Inventory>(player.entity, {5});
world.make_constant(player.entity);
}