https://github.com/ZeroK-RTS/Zero-K/blob/master/units/jumpsumo.luaI am trying to edit a value named "impulse" under "customparams" under the weapon "GravityNEG".
This value is a string. [[string in lua]]
Editing numbers is a trivial matter, but for some reason strings won't be edited. There are other parameters that are strings but hold numbers, for some reason.
The logical thing is to use tonumber() and tostring() to convert the value to the proper. However, this prevents the script from executing, without error or warning.
Next I tried to implicitly conver the string with old_value+0 and ""..new_value. However, the same situation occurs; the script doesn't work but does not give an error.