From the looks of it, you probably got SuperLib 39 installed as dependency. (otherwise it should have had an error about that)
The line that triggers the error looks like this:
GSLog.Info("Loading Economy ", Log.LVL_WARNING) // <------------ Line 36 in econ/econ.nut
One problem I see here is that it mix GS
Log with Log which is not going to go well. However the error is about LVL_WARNING not existing which is also true.
SuperLib.Log has these levels defined:
/* Log levels: */
static LVL_INFO = 1; // main info. eg what it is doing
static LVL_SUB_DECISIONS = 2; // sub decisions - eg. reasons for not doing certain things etc.
static LVL_DEBUG = 3; // debug prints - debug prints during carrying out actions
Users of SuperLib can call SetIsLevelAcceptedFunction to inject a different function to decide if a log message should be outputed or not if they like to introduce more levels. Or create your own constants with value 1, 2 and 3, as I would very unlikely change these values as too much code depend upon the log system.stinkyfax:
As you probably understood, this is an error in the script code. So you'll have to wait for the author to upload a fixed version.
_________________My OpenTTD contributions
(AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)Junctioneer
(a traffic intersection simulator)