// Update the recipe book UI function updateRecipeBook() if (!recipeListDiv) return; if (recipes.size === 0) recipeListDiv.innerHTML = '<div style="color:#888; padding:8px;">No recipes yet. Combine elements to learn!</div>'; return;
// Auto-learn: repeatedly combine the newest discovered with everything async function autoLearn() autoLearnBtn.disabled = true; autoLearnBtn.textContent = '⏳ Learning...'; infinite craft userscript
// Wait for game to load const waitForGame = setInterval(() => if (typeof window.first !== 'undefined' , 500); // Update the recipe book UI function updateRecipeBook()