Minor changes to help players see each other

This commit is contained in:
2024-02-28 15:35:47 -05:00
parent 0c126e62d6
commit 4495ae7133
8 changed files with 25 additions and 15 deletions

View File

@@ -80,6 +80,10 @@ public:
stdostream() << "Syntax Error: " << words[1] << std::endl;
}
void do_view_command(const StringVec &cmd) {
stdostream() << master_->tangibles_near_debug_string(admin_id_, 1000);
}
void do_menu_command(const StringVec &cmd) {
int64_t place = sv::to_int64(cmd[1], admin_id_);
master_->update_gui(admin_id_, place, &gui_);
@@ -118,6 +122,7 @@ public:
else if (words[0] == "luainvoke") do_luainvoke_command(words);
else if (words[0] == "luaprobe") do_luaprobe_command(words);
else if (words[0] == "syntax") do_syntax_command(words);
else if (words[0] == "view") do_view_command(words);
else if (words[0] == "menu") do_menu_command(words);
else if (words[0] == "choose") do_choose_command(words);
else if (words[0] == "tick") do_tick_command(words);