Initial idea for the interactive devices thing but I kind of hate it. Going to try another idea that will be simpler.
This commit is contained in:
parent
e30c18fbdf
commit
8defc0bedf
8 changed files with 48 additions and 26 deletions
4
gui.cpp
4
gui.cpp
|
@ -261,6 +261,10 @@ void GUI::handle_world_events() {
|
|||
std::string(item.data["name"])));
|
||||
}
|
||||
break;
|
||||
|
||||
case eGUI::STAIRS: {
|
||||
$status_ui.log("You can go down stairs!");
|
||||
} break;
|
||||
default:
|
||||
$status_ui.log(format("INVALID EVENT! {},{}", evt, entity));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue