-your mom is fadd-
(yes, I think its funny)
With infiniteAdd you can add elements to infinite craft.
Just paste this code into your browser console and type the emoji and name of the element (the AI only knows the name and doesent care about the emojis).
To open the browser console, press ctrl + alt + i
on Windows or cmd + alt + i
on Mac and click on console.
For this to work you need to have crafted one thing before or else you will get this error: Uncaught TypeError: Cannot read properties of null (reading 'elements') at <anonymous>:3:18
.
WARNING: Dont use this your normal game or backup the localStorage before. I would recommend an incognito tab.
PEASE: Dont use this for cheating. I only made this to get better at javaScript (thats why the code is so terrible). Maybe you can look through this and understand how it works and learn from this.
If you dont want to set the emoji
or name
of the element every time, you can change them from nothing to what you want at line 45
.
The "discovered" attribute sets if the client thinks youve discovered the element.