Made it so you can see the sword in your inventory and pick them up from the ground.
This commit is contained in:
parent
dfc86452fc
commit
aa83417ba3
6 changed files with 26 additions and 2 deletions
|
|
@ -204,8 +204,8 @@ void WorldBuilder::configure_starting_items(DinkyECS::World &world) {
|
|||
auto healing = System::spawn_item(world, "REPAIR_KIT");
|
||||
inventory.add("inv0", healing);
|
||||
|
||||
healing = System::spawn_item(world, "REPAIR_KIT");
|
||||
inventory.add("inv1", healing);
|
||||
auto sword = System::spawn_item(world, "SWORD_1");
|
||||
inventory.add("hand_main", sword);
|
||||
|
||||
world.make_constant(healing);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue