Production Analyst


Analyze the consumption of an item or fluid on demand, throughout your entire factory. Designed to be very UPS-friendly.

Utilities
1 year, 5 months ago
1.1
2.42K
Manufacturing

b [Fixed][1.1.7] Crash Monitoring Deuterium-depleted water

2 years ago

When monitoring consumption of deuterium-depleted water (realistic fusion mod), I have 0 entities using it. With a default 20s scan, I get the following error:
The mod Production Analyst (1.1.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event production-analyst::on_nth_tick(60)
production-analyst/scripts/core.lua:121: attempt to perform arithmetic on field 'amount' (a nil value)
stack traceback:
production-analyst/scripts/core.lua:121: in function 'get_ingredient_amount'
production-analyst/scripts/core.lua:146: in function 'get_consuming_recipes'
production-analyst/scripts/core.lua:89: in function 'start_task'
production-analyst/control.lua:386: in function <production-analyst/control.lua:369>

I have a sense of what the problem might be, but I'm not able to replicate it. Can you share a savefile with just that mod and PA enabled, where that issue is reproducible?

1 year, 5 months ago

Fixed in 1.1.9.

New response