diff --git a/src/overmap_ui.cpp b/src/overmap_ui.cpp index 463931c67bb0e..e60342c2b4f3f 100644 --- a/src/overmap_ui.cpp +++ b/src/overmap_ui.cpp @@ -1088,6 +1088,8 @@ static void draw_om_sidebar( } if( ( data.debug_editor && center_seen ) || data.debug_info ) { + mvwprintz( wbar, point( 1, ++lines ), c_white, + "abs_omt: %s", center.to_string() ); const oter_t &oter = overmap_buffer.ter( center ).obj(); mvwprintz( wbar, point( 1, ++lines ), c_white, "oter: %s (rot %d)", oter.id.str(), oter.get_rotation() ); @@ -1118,6 +1120,15 @@ static void draw_om_sidebar( io::enum_to_string( dir ), *join ); } } + + for( const mongroup *mg : overmap_buffer.monsters_at( center ) ) { + mvwprintz( wbar, point( 1, ++lines ), c_red, "mongroup %s (%zu/%u), %s %s%s%s", + mg->type.str(), mg->monsters.size(), mg->population, + mg->horde_behaviour, + mg->dying ? "x" : "", mg->horde ? "h" : "", mg->diffuse ? "d" : "" ); + mvwprintz( wbar, point( 1, ++lines ), c_red, "target: %s (%d)", + project_to( mg->target ).to_string(), mg->interest ); + } } if( has_target ) {