Open theqmann opened 7 months ago
Can you maybe provide a savegame, just so there are no misunderstandings about the situation? I can't really wrap my head around it without walking through it in the debugger, I fear :(
I ran into the same thing and I get the sense that this is explicitly how it was meant to work based on my reading of this comment and the surrounding code. The comment below it applies to crafted materials as well, but only under the condition that they're at their own "max". I think a similar condition for capped resources would make sense where you can exceed the limit only once the required resource is capped. This would make setting a lower workshop trigger a much more viable option, without which you can get into some resource starvation issues.
@dpatti Thanks for looking into it. There haven't been any recent changes to how the script works at its core. At this point, it's always highly likely that the script is working as intended. If the intention is the right one, is always up for debate :) So, your analysis is likely to be correct.
Resource crafting just has a lot of edge cases that are hard to all get right, while still keeping the rules simple enough so you always know why things are happening (hopefully). At the very least, I'm always open to further clarify how things should behave.
Possibly related to #451
Version Check
v2.0.0-beta.8
or later.nightly
build from last night (or latest one available).main
as of today.What browser are you using?
Firefox
How are you loading Kitten Scientists?
Bookmarklet
Describe the Bug
Per the documentation, the Limited button works as follows:
In my game, I have 1 million beams in stock, and have 5 million wood max capacity. Based on the description, it shouldn't craft any more beams until I have 175 million wood (enough to meet the current stock). When setting Workshop threshold to any value (tried at 0.0, 0.1, and 0.995) it will craft beams immediately when the workshop threshold is met (at 0 threshold, it crafts immediately when wood > 175), without respecting the Limited flag.
Your Savegame
No response
To Reproduce
No response
Screenshots
No response