FNEI

by npo6ka

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

Utilities
2 months ago
0.15 - 1.1
261K

b [0.1.9] Error when enabling KS_Power oil boiler recipes

5 years ago

Replications steps
1) Enable the crafting category "OilBurn" in settings
2) Search for steam and try to select recipes which creates it. No recipe is shown, and the game log shows the following:
86225.758 Script @FNEI/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents> FNEI/scripts/recipe/controller.lua:393: attempt to call field 'valid' (a boolean value)
86225.999 Script @FNEI/core/Debug.lua:98: [FNEI][ERROR] <FNCustomEvents> FNEI: event main choose-elem-button fluid return error!

True enough, at that line you attempt to call the enable field as a function in an "if" statement. Removing the "()" after the ".enable" solves the problem.

5 years ago

Thanks for your feedback. Fixed in 0.1.10.

New response