Made it so you can see the sword in your inventory and pick them up from the ground.

This commit is contained in:
Zed A. Shaw 2026-03-30 11:33:08 -04:00
parent dfc86452fc
commit aa83417ba3
6 changed files with 26 additions and 2 deletions

View file

@ -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);
}