cameroncondry / cbc-kitten-scientists

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

Buildings won't purchase #195

Closed vandiere closed 7 years ago

vandiere commented 7 years ago

Just updated to the latest release but now, regardless of resource count, KS won't purchase any buildings. I have the trigger set to default. Crafting still works. I did have to delete and then re-install the script for the most recent update to work with 1.4.0.6. Using Chrome and TamperM.

andrealessi commented 7 years ago

This also appears to be an issue with trading:

Uncaught TypeError: button.tradeMultiple is not a function at TradeManager.trade (eval at <anonymous> (:1:1), <anonymous>:818:20) at Engine.trade (eval at <anonymous> (:1:1), <anonymous>:546:30) at Engine.iterate (eval at <anonymous> (:1:1), <anonymous>:395:50)

tsaulic commented 7 years ago

same thing with hunting

kitten-scientists.user.js:770 Uncaught TypeError: button.tradeMultiple is not a function at TradeManager.trade (kitten-scientists.user.js:770) at Engine.trade (kitten-scientists.user.js:498) at Engine.iterate (kitten-scientists.user.js:347)

TeWeBu commented 7 years ago

200 resolves this issue

predakanga commented 7 years ago

@TeWeBu #200 does resolve the building issue, but not the trading issue

TeWeBu commented 7 years ago

@predakanga Ups. You are right. I did half the job. :-(

predakanga commented 7 years ago

I think they're different issues, to be fair - but your PR definitely fixes the building issue

TeWeBu commented 7 years ago

201 should fix the trading issue.

predakanga commented 7 years ago

Nice work :)