cameroncondry / cbc-kitten-scientists

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

Steel is not crafted when coal is at cap #345

Closed andrewshyichuk closed 10 months ago

andrewshyichuk commented 10 months ago

KS beta.8-20230717-b86ef52

I have a setup: coal: stock 0, consume 1; iron: stock 150K, consume 1; craft: steel (and other things); trigger 0.9. Result: steel not crafted. I can have, say, 200-250-300K of iron, 80K coal (at cap), and steel is not crafted. Other resources are crafted correctly.

Edit: yep, triggers at iron cap, no matter the coal cap.

Edit2: even worse, it apparently requires both resources to be at cap. It has to trigger at "or", not at "and".

Edit3: same with 2.0.0-beta.8-20231018-1fbc52c

andrewshyichuk commented 10 months ago

Wrong kitten scientists.