Kittens tools

Kittens tools (visual)

< 脚本 Kittens tools 的反馈

提问 / 留言

§
发布于:2019-01-17

iron to steel and plate still incorrect

your function ironToSteelOrPlates lock the funcion ironToPlates and only repeat the funcion ironToSteel use this for solve the problem:

ironToSteelOrPlates: function() { var iron = game.resPool.get("iron"); var coal = game.resPool.get("coal"); if (iron.value >= iron.maxValue || coal.value >= coal.maxValue) { var minPlate = _Helpers.getMinCraft('plate'); if (coal.value >= coal.maxValue && _Helpers.isResourceUnlocked('steel')) { _BotLogic.ironToSteel(); } else if (iron.value >= iron.maxValue && _Helpers.isResourceUnlocked('plate')) { _BotLogic.ironToPlates(); } } },

§
发布于:2019-01-18

Fixed in 1.167:

added for steel: coal.value >= coal.maxValue added for plates: iron.value >= iron.maxValue

so now steel if only Coal at max, plates if Iron at max.

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址