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:
parent
c509162be1
commit
94385b195d
7 changed files with 139 additions and 54 deletions
|
@ -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})
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue