IDK if it was changed in an update or not, but "gamePage.getResourcePerTickConvertion(resName)" returns a negative value if you're converting something. But since you subtract it, that actually adds to the food production. You need to change the "-" to a "+" in
KE_calcResourcePerTick_NCW calculation wrong
IDK if it was changed in an update or not, but "gamePage.getResourcePerTickConvertion(resName)" returns a negative value if you're converting something. But since you subtract it, that actually adds to the food production. You need to change the "-" to a "+" in
return (gamePage.calcResourcePerTick(resName,{"modifiers" : {"catnip" : mockSeasonWeatherMod}})-gamePage.getResourcePerTickConvertion(resName));