Crash in 1.1 if you manually bump json:
The mod Integrated Circuitry (0.18.1) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event integratedCircuitry::on_gui_opened (ID 84)
integratedCircuitry/control/status-panel.lua:196: bad argument #1 of 2 to 'newindex' (string expected, got number)
stack traceback:
[C]: in function '__newindex'
__integratedCircuitry/control/status-panel.lua:196: in function 'updateGui'
integratedCircuitry/control/status-panel.lua:94: in function 'open'
integratedCircuitry/libs/control/gui.lua:124: in function <integratedCircuitry/libs/control/gui.lua:114>
I haven't personally run into this issue because I don't use the status panels. If I had then based on some other mods I've had to make similar changes to you need to change lines 196 and 197 in status-panel.lua from
tab["integratedCircuitry.min"].text = data.min or ""
tab["integratedCircuitry.max"].text = data.max or ""
to
tab["integratedCircuitry.min"].text = tostring(data.min) or ""
tab["integratedCircuitry.max"].text = tostring(data.max) or ""
I haven't tested this change (as I mentioned, I don't use the status panels myself currently) so let me know if it works or not for you. If it works I want to add the change to my copy. If it doesn't or you get a different error, I'm happy to help. (I'm no expert, but I seem to do ok with fixing the problems, at least temporarily.)
Update: I couldn't help myself...just made the change and there seems to be at least one other change you need to make as well in the same file on lines 130 and 131.
text = tonumber(text) or data[fieldName] or ""
if tostring(text) ~= tostring(textBefore) then
change to
text = text or tostring(data[fieldName]) or ""
if text ~= textBefore then
Alternately, you should theoretically get the same results by instead changing line 132 to be
tab["integratedCircuitry."..fieldName].text = tostring(text)
but the changes as I specified only change from a number to text once for the one variable that needs it instead of changing a bunch of other variables to numbers and then back to text.