private static void updateDisplay() {
        if(inventory[2] !=null){
            win();
        }
        if(currentLocale==pit&&inventory[1] !=null&& inventory[0]!=null){
            currentLocale.setDesc(currentLocale.getDescAfterItem());
            currentLocale.getSouth().setExplorable(true);
        }

        //only update location text if location has changed, so it won't redisplay when taking an item or looking at your map.
        if(lastLocale!=currentLocale && currentLocale.getId()!=3){
        System.out.println(currentLocale.getText());
        }
        else if(currentLocale.getId()==3){
            if (shopping!=true){
                System.out.println(currentLocale.getName());
            }
            store();
        }

    }