diff --git a/doc/source/netscript/singularityfunctions/getPlayer.rst b/doc/source/netscript/basicfunctions/getPlayer.rst similarity index 96% rename from doc/source/netscript/singularityfunctions/getPlayer.rst rename to doc/source/netscript/basicfunctions/getPlayer.rst index f76aa7c59..3f674fab7 100644 --- a/doc/source/netscript/singularityfunctions/getPlayer.rst +++ b/doc/source/netscript/basicfunctions/getPlayer.rst @@ -5,8 +5,6 @@ getPlayer() Netscript Function :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>`. Returns an object with the Player's stats. The object has the following properties:: diff --git a/doc/source/netscript/netscriptfunctions.rst b/doc/source/netscript/netscriptfunctions.rst index deea623f9..dbdd06dfc 100644 --- a/doc/source/netscript/netscriptfunctions.rst +++ b/doc/source/netscript/netscriptfunctions.rst @@ -46,6 +46,7 @@ This includes information such as function signatures, what they do, and their r getHackingLevel() getHackingMultipliers() getHacknetMultipliers() + getPlayer() getServerMoneyAvailable() getServerMaxMoney() getServerGrowth() diff --git a/doc/source/netscript/netscriptsingularityfunctions.rst b/doc/source/netscript/netscriptsingularityfunctions.rst index 6dcea124a..95e3dbb72 100644 --- a/doc/source/netscript/netscriptsingularityfunctions.rst +++ b/doc/source/netscript/netscriptsingularityfunctions.rst @@ -28,7 +28,6 @@ level 3, then you will be able to access all of the Singularity Functions. connect() manualHack() installBackdoor() - getPlayer() hospitalize() isBusy() stopAction() diff --git a/src/NetscriptFunctions.js b/src/NetscriptFunctions.js index 4ee51dd4b..1e96762f3 100644 --- a/src/NetscriptFunctions.js +++ b/src/NetscriptFunctions.js @@ -2946,7 +2946,6 @@ function NetscriptFunctions(workerScript) { }, getPlayer: function() { updateDynamicRam("getPlayer", getRamCost("getPlayer")); - checkSingularityAccess("getPlayer", 1); const data = { hacking_skill: Player.hacking_skill,