Disabled config option

I set "Running time per fuel units (time in seconds)": 1.0,
but I am getting the following warning even though there doesnt appear to be an option in the config to disable this setting.


[Excavator Lock] Warning, config.runningTimePerFuelUnit modifier is disabled.

I set a limit to be between 10 sec and 6000sec per diesel in the code.  Facepunch default is 120sec

if (_config.runningTimePerFuelUnit < 10f)
{
    PrintWarning("Warning, config.runningTimePerFuelUnit modifier is disabled.");
    _config.runningTimePerFuelUnit = 10f;
    _config.enablefuelModifier = false;
}

 

Aaah ok, I had it set to one second lol...can you add a way to instantly use the amount of diesel put in? Or make a new plugin that does that?

Merged post

Aaah ok, thank you! I had it set to one second lol...is there a way to instantly use the amount of diesel put in?

I dont understand the idea of "instantly use the amount of diesel put in"
the amout of diesel determine how long the excavator will run.

If you dont want a player to add or remove diesel once it is started, use
"Enable engine loot after it is started to add diesel": false,