public void setTransient(Registry rg) {
        registry = rg;
        inventory = null;
        if(itemType != null) {
            itemType = rg.getItemManager().getItemType(itemType.getName());
            if(itemType.getName().equals("ScrapHammer")) {
                int x = 9;
            }
            if(item == null) {
                int level = 1;
                if(itemType.getType().equals("Weapon") || itemType.getType().equals("Armor")) {
                    level = rg.getPlayerManager().getCurrentPlayer().getLevel();
                }
                item = new Item(itemType, level);
            }
            item.setTransient();
        } else {
            itemType = null;
        }
        if(item != null) {
            item.setTransient();
        }
    }