mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 19:37:07 +02:00
API: Return active SF levels in getOwnedSourceFiles and ResetInfo.ownedSF (#1761)
* DOCUMENTATION: Clarify getOwnedSourceFiles when player overrides active levels of SFs * Return Player.activeSourceFiles instead of Player.sourceFiles * Get rid of zeroes in the map
This commit is contained in:
@@ -21,5 +21,9 @@ Array containing an object with number and level of the source file.
|
||||
|
||||
RAM cost: 5 GB
|
||||
|
||||
Returns an array of source files
|
||||
Returns an array of source files. This function takes BitNode options into account.
|
||||
|
||||
For example, let's say you have SF 1.3, but you overrode the active level of SF1 and set it to level 1. In this case, this function returns {<!-- -->"n":1,"lvl":1<!-- -->}<!-- -->.
|
||||
|
||||
If the active level of a source file is 0, that source file won't be included in the result.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user