Help programming an incremental production system

Godot Version

4.72

Question

Edit: Please disregard, this was my first post and this was not really a good question, thank you, please close.

Hey,
Please provide the code that only does that specific thing, it will be harder to find the problem as we don’t know about your project structure.

Edit: ???

Please explain further as your explanation is kind of difficult to understand. Thanks!