Пример #1
0
item_location game::inv_for_gunmod( const item &gunmod, const std::string &title )
{
    return inv_internal( u, gunmod_inventory_preset( u, gunmod ),
                         title, -1, _( "You don't have any guns to modify." ) );
}
Пример #2
0
item_location game_menus::inv::gun_to_modify( player &p, const item &gunmod )
{
    return inv_internal( p, gunmod_inventory_preset( p, gunmod ),
                         _( "Select gun to modify" ), -1,
                         _( "You don't have any guns to modify." ) );
}