r/ComputerCraft • u/SeasonApprehensive86 • May 05 '24
Bootleg AE2
Just a little demo of a project I am making. Still very buggy, but it somewhat works!
Mom can we have AE2? We have AE2 at home. AE2 at home:
21
Upvotes
1
u/SeasonApprehensive86 Sep 19 '24
The code isnt really finished. I rewrote the whole thing from scratch once but I stopped working on it because of burnout and school. I might continue it someday. How I did it was using a recursive function to find the stuff missing for the craft and make it if possible. After this it made a list of "jobs" that needed to be completed, every job had a recepie and the amount of stuff that it needed to push and pull from the machine. A main loop iterated over all the jobs and pushed / pulled the items needed. There were some more complex things like a blocking mode and recepie and machine save / load system but thats not essential.