Mostly worked out how to do looting but now need how to take out of inventory and put into loot.

This commit is contained in:
Zed A. Shaw 2025-06-07 00:11:29 -04:00
parent c509162be1
commit 94385b195d
7 changed files with 139 additions and 54 deletions

View file

@ -43,7 +43,7 @@ namespace gui {
} else {
$gui.set<Textual>(button, {guecs::to_wstring(name)});
$gui.set<Clickable>(button, {
guecs::make_action(*$level.world, Events::GUI::LOOT_PLACE, {name})
guecs::make_action(*$level.world, Events::GUI::INV_SELECT, {name})
});
}
}