Rituals are now being added a belt on the player in a temp function in LevelManager.
This commit is contained in:
parent
a70f11646a
commit
00c28f47eb
8 changed files with 103 additions and 44 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <iostream>
|
||||
#include "components.hpp"
|
||||
#include "inventory.hpp"
|
||||
#include "rituals.hpp"
|
||||
|
||||
using namespace fmt;
|
||||
using namespace components;
|
||||
|
@ -257,6 +258,7 @@ void WorldBuilder::place_entities(DinkyECS::World &world) {
|
|||
// configure player in the world
|
||||
Player player{player_ent};
|
||||
world.set_the<Player>(player);
|
||||
world.set<combat::RitualBelt>(player.entity, {});
|
||||
world.set<Inventory>(player.entity, {5});
|
||||
world.make_constant(player.entity);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue