Once upon a time I came across Chris McVeigh’s awesome LEGO creations. I was curious to know how high the pure material cost of his NES was. Chris is nice enough to share the building instructions of his masterpieces, complete with the breakdown of parts numbers. Awesome! So, taking the NES instructions, I obviously wrote a little script that selects all the parts automagically on the LEGO Pick a Brick shop.

(function() {
    var a = [
    b = function() {
        if(i<a.length) {

It’s very simple because it relies on the website’s shopping cart’s addBrick function. This means that if LEGO changes its site, the script won’t work anymore. But that’s not very important I guess. Note that you can re-use the script for anything you want by changing the parts list. Here’s how you can run it:

Copy’n’paste the script into the JavaScript console and hit Enter

We end up with a total of $32.05. Chris sells his for $58.50. It seems more or less fair to me if you take into account that he has to handle your order, which is dumb and easy but takes time. He also deserves some royalties, I’m sure he spent hours creating the piece, setting up the building instructions and product page.

Happy building!