mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 13:45:44 +01:00
hotfix getPlayer non-singularity
This commit is contained in:
parent
0ef09a1c73
commit
34c2c70a2b
@ -5,8 +5,6 @@ getPlayer() Netscript Function
|
|||||||
|
|
||||||
:RAM cost: 0.5 GB
|
:RAM cost: 0.5 GB
|
||||||
|
|
||||||
If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to run this function.
|
|
||||||
|
|
||||||
The result of this function can be passed to the :doc:`formulas API<../netscriptformulasapi>`.
|
The result of this function can be passed to the :doc:`formulas API<../netscriptformulasapi>`.
|
||||||
|
|
||||||
Returns an object with the Player's stats. The object has the following properties::
|
Returns an object with the Player's stats. The object has the following properties::
|
@ -46,6 +46,7 @@ This includes information such as function signatures, what they do, and their r
|
|||||||
getHackingLevel() <basicfunctions/getHackingLevel>
|
getHackingLevel() <basicfunctions/getHackingLevel>
|
||||||
getHackingMultipliers() <basicfunctions/getHackingMultipliers>
|
getHackingMultipliers() <basicfunctions/getHackingMultipliers>
|
||||||
getHacknetMultipliers() <basicfunctions/getHacknetMultipliers>
|
getHacknetMultipliers() <basicfunctions/getHacknetMultipliers>
|
||||||
|
getPlayer() <basicfunctions/getPlayer>
|
||||||
getServerMoneyAvailable() <basicfunctions/getServerMoneyAvailable>
|
getServerMoneyAvailable() <basicfunctions/getServerMoneyAvailable>
|
||||||
getServerMaxMoney() <basicfunctions/getServerMaxMoney>
|
getServerMaxMoney() <basicfunctions/getServerMaxMoney>
|
||||||
getServerGrowth() <basicfunctions/getServerGrowth>
|
getServerGrowth() <basicfunctions/getServerGrowth>
|
||||||
|
@ -28,7 +28,6 @@ level 3, then you will be able to access all of the Singularity Functions.
|
|||||||
connect() <singularityfunctions/connect>
|
connect() <singularityfunctions/connect>
|
||||||
manualHack() <singularityfunctions/manualHack>
|
manualHack() <singularityfunctions/manualHack>
|
||||||
installBackdoor() <singularityfunctions/installBackdoor>
|
installBackdoor() <singularityfunctions/installBackdoor>
|
||||||
getPlayer() <singularityfunctions/getPlayer>
|
|
||||||
hospitalize() <singularityfunctions/hospitalize>
|
hospitalize() <singularityfunctions/hospitalize>
|
||||||
isBusy() <singularityfunctions/isBusy>
|
isBusy() <singularityfunctions/isBusy>
|
||||||
stopAction() <singularityfunctions/stopAction>
|
stopAction() <singularityfunctions/stopAction>
|
||||||
|
@ -2946,7 +2946,6 @@ function NetscriptFunctions(workerScript) {
|
|||||||
},
|
},
|
||||||
getPlayer: function() {
|
getPlayer: function() {
|
||||||
updateDynamicRam("getPlayer", getRamCost("getPlayer"));
|
updateDynamicRam("getPlayer", getRamCost("getPlayer"));
|
||||||
checkSingularityAccess("getPlayer", 1);
|
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
hacking_skill: Player.hacking_skill,
|
hacking_skill: Player.hacking_skill,
|
||||||
|
Loading…
Reference in New Issue
Block a user