Infinite Craft Userscript -
// Hook into the game's internal events if possible (monkeypatch) let originalAddElement = null; if (window.addElement) originalAddElement = window.addElement; window.addElement = function(element, ...args) if (element && element.name) discovered.add(element.name); // Try to infer recipe from last craft const lastCombine = window.lastCombine return originalAddElement.apply(this, [element, ...args]); ;
(function() 'use strict';
// 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; infinite craft userscript


