FNEI

by npo6ka

FNEI mod. All recipes for items and usage for them.

Utilities
a month ago
0.15 - 2.0
312K

g CPU usage

7 years ago

FNEI is consuming a quite significant amount of time in it's on_tick callback if we consider that it is "only" a button with a dialog.

A quick fix is to have a "if event.tick % 30 == 0" around the body of the event. I would very much appreciate if you could add this.

What you could also do is have a counter that counts the open dialogs. And register the on_tick if the counter gets >0 and unregister it if it is back to zero.

7 years ago

I'm sorry I did not really understand the problem and its solution.
You can add your changes to my githab repository and suggest the pull requests.
https://github.com/npo6ka/FNEI

7 years ago

Ok

New response