(dVer)
| 965 | |
| 966 | #util_between(low, check, high) { return ( check >= low && check <= high ) } |
| 967 | #util_gameVersion(dVer) { |
| 968 | if ( this.#util_between(4, dVer, 6) ) { return 11 } |
| 969 | if ( this.#util_between(9, dVer, 16) ) { return 13 } |
| 970 | if ( this.#util_between(20, dVer, 25) ) { return 15 } |
| 971 | if ( this.#util_between(31, dVer, 39) ) { return 17 } |
| 972 | if ( this.#util_between(40, dVer, 53) ) { return 19 } |
| 973 | if ( this.#util_between(60, dVer, 85) ) { return 22 } |
| 974 | if ( dVer >= 90 ) { return 25 } |
| 975 | return 0 |
| 976 | } |
| 977 | |
| 978 | #addModToData(collectKey, modRecord) { |
| 979 | const thisModRecord = { ...modRecord } |
no test coverage detected