cameroncondry / cbc-kitten-scientists

Add-on for the wonderful incremental browser game: http://kittensgame.com/web/
MIT License
113 stars 94 forks source link

Hunt with only some hunters #113

Open l0rb opened 9 years ago

l0rb commented 9 years ago

https://github.com/cameroncondry/cbc-kitten-scientists/blob/master/kitten-scientists.js#L340 says there is no way. But the following is possible once the village tab has rendered at least once (does not need to be active tab, just been there at some point so the button exists)

for(var i=0;i<amt;i++) {
    gamePage.villageTab.huntBtn.onClick();
}
oliversalzburg commented 8 years ago

I'm not sure I understand what you're proposing or reporting as an issue. Would you mind elaborating? Also, I guess, master has changed since you reported this, so the line number you're referencing might not be the correct one anymore :(

cameroncondry commented 8 years ago

@oliversalzburg instead of sending out max hunters, the request was for a set number of hunts to be sent out. This would be achieved by hitting the send single hunter link in the interface according to l0rb's suggestion. The only benefit I could see with this functionality is during the early game when you need some catpower, but through most of the game it doesn't help.

oliversalzburg commented 8 years ago

@cameroncondry Oh, I see. Thanks for the clarification. And, also, thanks for the promotion :)