No Run Through 2.0.0

Lower the time and xp requirements for 'Survived' status on raids, so you can't get a 'Run Through'.

Configuration


Settings are available in src/config.json.


enabled: true | false global on/off switch for the mod


survived_exp_requirement: Number XP required to trigger a 'Survived' status for a raid. Included config is set to 1, game is set to 300 by default.


survived_seconds_requirement: Number Seconds required to trigger a 'Survived' status for the raid. Included config is set to 1, game is set to 420 by default.


Installation


Extract the zip into your "spt-install-location/user/mods/" folder.

Notes


The raid requirements are one or the other, you don't need to hit both time and XP requirements to get a 'Survived' status.

  • Doesn't work on 3.7.4

  • The fix below still works for 3.6.2

  • Not sure if you're still updating this or not, and I'm a total noob with javascript and the mod api for this game, but just changing


    JavaScript
    delayedLoad(container) {
        ...
    }

    to

    JavaScript
    postDBLoad(container) {
        ...
    }

    seems to get it working again for 3.2.1, (or at least stops it from erroring) and probably 3.1.X versions as well.


    I also removed the load function, but it doesn't seem to matter either way for it.