Give a healing potion too for testing.
This commit is contained in:
parent
b6d1ae2700
commit
6576164fad
1 changed files with 4 additions and 0 deletions
|
@ -180,6 +180,10 @@ void WorldBuilder::configure_starting_items(DinkyECS::World &world) {
|
|||
auto &inventory = world.get_the<inventory::Model>();
|
||||
inventory.add("hand_r", torch_id);
|
||||
world.make_constant(torch_id);
|
||||
|
||||
auto healing = System::spawn_item(world, "POTION_HEALING_SMALL");
|
||||
inventory.add("hand_l", healing);
|
||||
world.make_constant(healing);
|
||||
}
|
||||
|
||||
void WorldBuilder::place_entities(DinkyECS::World &world) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue