Hacker News new | ask | show | jobs
by pdknsk 4739 days ago
In case anyone wants to accelerate the game slightly, but still play it as intended, set this in the Chrome console.

window.Engine._incomeTimeout = setTimeout(Engine.collectIncome, 500) // default 1000

IMO it's not a cheat, because it just shortens somewhat tedious waiting early in the game, but doesn't alter it otherwise.

3 comments

I ran this in console. just to automate gathering wood and trap checking, since forgetting to switch between panels is easy to do:

function pushButtons(){if(!$("#gatherButton,#trapsButton").hasClass('disabled')){$("#gatherButton,#trapsButton").trigger('click');}}setInterval(pushButtons, 1000);

$('#roomPanel').width(350);

See inside and outside at the same time

Here's a way to check traps, gather wood, and stoke the fire separately:

var stoke = function(){if(!$('#stokeButton').hasClass('disabled')){$('#stokeButton').trigger('click')}}

var check = function(){if(!$("#trapsButton").hasClass('disabled')){$("#trapsButton").trigger('click')}}

var gather = function(){if(!$("#gatherButton").hasClass('disabled')){$("#gatherButton").trigger('click')}}

g = setInterval(gather, 1000) c = setInterval(check, 1000) s = setInterval(stoke, 60000)

Was getting undefined errors with that..

This works:

function pushGather(){if(!$("#gatherButton").hasClass('disabled')){$("#gatherButton").trigger('click');}}setInterval(pushGather, 1000);

function pushCheck(){if(!$("#trapsButton").hasClass('disabled')){$("#trapsButton").trigger('click');}}setInterval(pushCheck, 1000);

function pushStoke(){if(!$("#stokeButton").hasClass('disabled')){$("#stokeButton").trigger('click');}}setInterval(pushStoke, 60000);

Here's a way to get the ship, max out the hull, launch and win:

    Ship.init();State.ship = {hull:10000, thrusters:10000};Ship.liftOff();
Dodging optional.
I just realized what this really does. It just sets up a second callback to Engine.collectIncome. So when you go to set it "back", you end up with 3 income collecting loops. If you try to set it "back" multiple times you end up with more income loops.
I think that would make it a bit unmanageable in the later stages, though.
Well you can easily switch back to default!

Another tip for fighting: equip different weapons. I had only equipped the best weapon, as is customary in games, not knowing you can attack with all equipped weapons at once basically (each weapon has a separate timer). This makes a huge difference.

Switching back didn't seem to work for me. The game is super fast for me now.
Refreshing the page will clear any console shenanigans you've added (unless you changed state).