sarbian / ModuleManager

177 stars 95 forks source link

Identify arrays with elements seperated by \tab #179

Open jcyuan06 opened 1 year ago

jcyuan06 commented 1 year ago

In some Kopernicus configs, some array elements are separated by space or tab, e.g.: key = 0 292 0.00000E+00 -6.04157E-03 However, if I need to edit the values with module manager, e.g. @key,*[0, ] *= 1.61, it can only identify the elements separate with space, but not with tab. An error will be reported and here is what the log looks like: Error - Failed to do a maths replacement: @temperatureCurve : original value="0 292 0.00000E+00 -6.04157E-03" operator=Multiply mod value="1.61" It can be a problem since both space and tab works in KSP. Is it possible to fix the issue?