mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
0.47.3 patch 2 fix documentation (#810)
This commit is contained in:
@@ -2,6 +2,7 @@ applyToCompany() Netscript Function
|
||||
===================================
|
||||
|
||||
.. js:function:: applyToCompany(companyName, field)
|
||||
|
||||
:RAM cost: 3 GB
|
||||
|
||||
:param string companyName: Name of company to apply to. CASE-SENSITIVE.
|
||||
|
||||
@@ -2,6 +2,7 @@ checkFactionInvitations() Netscript Function
|
||||
============================================
|
||||
|
||||
.. js:function:: checkFactionInvitations()
|
||||
|
||||
:RAM cost: 3 GB
|
||||
|
||||
If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function.
|
||||
|
||||
@@ -2,6 +2,7 @@ commitCrime() Netscript Function
|
||||
================================
|
||||
|
||||
.. js:function:: commitCrime(crime)
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
:param string crime:
|
||||
|
||||
@@ -2,6 +2,7 @@ createProgram() Netscript Function
|
||||
==================================
|
||||
|
||||
.. js:function:: createProgram(programName)
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
:param string programName: Name of program to create. Not case-sensitive
|
||||
|
||||
@@ -2,6 +2,7 @@ donateToFaction() Netscript Function
|
||||
====================================
|
||||
|
||||
.. js:function:: donateToFaction(factionName, donateAmt)
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
:param string factionName: Name of faction to donate to. CASE-SENSITIVE
|
||||
|
||||
@@ -2,6 +2,7 @@ getAugmentationCost() Netscript Function
|
||||
========================================
|
||||
|
||||
.. js:function:: getAugmentationCost(augName)
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
:param string augName: Name of Augmentation. CASE-SENSITIVE
|
||||
|
||||
@@ -3,6 +3,8 @@ getAugmentationPrereq() Netscript Function
|
||||
|
||||
.. js:function:: getAugmentationPrereq(augName)
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
:param string augName: Name of Augmentation. CASE-SENSITIVE
|
||||
|
||||
If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function.
|
||||
|
||||
@@ -2,6 +2,7 @@ getAugmentationsFromFaction() Netscript Function
|
||||
================================================
|
||||
|
||||
.. js:function:: getAugmentationsFromFaction(facName)
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
:param string facName: Name of faction. CASE-SENSITIVE
|
||||
|
||||
@@ -2,6 +2,7 @@ getCharacterInformation() Netscript Function
|
||||
============================================
|
||||
|
||||
.. js:function:: getCharacterInformation()
|
||||
|
||||
: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.
|
||||
|
||||
@@ -2,6 +2,7 @@ getCompanyFavor() Netscript Function
|
||||
====================================
|
||||
|
||||
.. js:function:: getCompanyFavor(companyName)
|
||||
|
||||
:RAM cost: 1 GB
|
||||
|
||||
:param string companyName: Name of the company. CASE-SENSITIVE
|
||||
|
||||
@@ -2,6 +2,7 @@ getCompanyFavorGain() Netscript Function
|
||||
========================================
|
||||
|
||||
.. js:function:: getCompanyFavorGain(companyName)
|
||||
|
||||
:RAM cost: 0.75 GB
|
||||
|
||||
:param string companyName: Name of the company. CASE-SENSITIVE
|
||||
|
||||
@@ -2,6 +2,7 @@ getCompanyRep() Netscript Function
|
||||
==================================
|
||||
|
||||
.. js:function:: getCompanyRep(companyName)
|
||||
|
||||
:RAM cost: 1 GB
|
||||
|
||||
:param string companyName: Name of the company. CASE-SENSITIVE
|
||||
|
||||
@@ -2,6 +2,7 @@ getCrimeChance() Netscript Function
|
||||
===================================
|
||||
|
||||
.. js:function:: getCrimeChance(crime)
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
:param string crime:
|
||||
|
||||
@@ -2,6 +2,7 @@ getFactionFavor() Netscript Function
|
||||
====================================
|
||||
|
||||
.. js:function:: getFactionFavor(factionName)
|
||||
|
||||
:RAM cost: 1 GB
|
||||
|
||||
:param string factionName: Name of faction. CASE-SENSITIVE
|
||||
|
||||
@@ -2,6 +2,7 @@ getFactionFavorGain() Netscript Function
|
||||
========================================
|
||||
|
||||
.. js:function:: getFactionFavorGain(factionName)
|
||||
|
||||
:RAM cost: 0.75 GB
|
||||
|
||||
:param string factionName: Name of faction. CASE-SENSITIVE
|
||||
|
||||
@@ -2,6 +2,7 @@ getFactionRep() Netscript Function
|
||||
==================================
|
||||
|
||||
.. js:function:: getFactionRep(factionName)
|
||||
|
||||
:RAM cost: 1 GB
|
||||
|
||||
:param string factionName: Name of faction. CASE-SENSITIVE
|
||||
|
||||
@@ -3,6 +3,8 @@ getOwnedAugmentations() Netscript Function
|
||||
|
||||
.. js:function:: getOwnedAugmentations(purchased=false)
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
:param boolean purchase:
|
||||
Specifies whether the returned array should include Augmentations you have purchased but not yet installed.
|
||||
By default, this argument is false which means that the return value will NOT have the purchased Augmentations.
|
||||
|
||||
@@ -2,6 +2,7 @@ getOwnedSourceFiles() Netscript Function
|
||||
========================================
|
||||
|
||||
.. js:function:: getOwnedSourceFiles()
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function.
|
||||
|
||||
@@ -3,6 +3,8 @@ getStats() Netscript Function
|
||||
|
||||
.. js:function:: getStats()
|
||||
|
||||
: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.
|
||||
|
||||
Returns an object with the Player's stats. The object has the following properties::
|
||||
|
||||
@@ -2,6 +2,7 @@ getUpgradeHomeRamCost() Netscript Function
|
||||
==========================================
|
||||
|
||||
.. js:function:: getUpgradeHomeRamCost()
|
||||
|
||||
:RAM cost: 1.5 GB
|
||||
|
||||
If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function.
|
||||
|
||||
@@ -2,6 +2,7 @@ gymWorkout() Netscript Function
|
||||
===============================
|
||||
|
||||
.. js:function:: gymWorkout(gymName, stat)
|
||||
|
||||
:RAM cost: 2 GB
|
||||
|
||||
:param string gymName:
|
||||
|
||||
@@ -2,6 +2,7 @@ installAugmentations() Netscript Function
|
||||
=========================================
|
||||
|
||||
.. js:function:: installAugmentations(cbScript)
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
:param string cbScript:
|
||||
|
||||
@@ -2,6 +2,7 @@ isBusy() Netscript Function
|
||||
===========================
|
||||
|
||||
.. js:function:: isBusy()
|
||||
|
||||
: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.
|
||||
|
||||
@@ -2,6 +2,7 @@ joinFaction() Netscript Function
|
||||
================================
|
||||
|
||||
.. js:function:: joinFaction(name)
|
||||
|
||||
:RAM cost: 3 GB
|
||||
|
||||
:param string name: Name of faction to join. CASE-SENSITIVE
|
||||
|
||||
@@ -2,6 +2,7 @@ purchaseAugmentation() Netscript Function
|
||||
=========================================
|
||||
|
||||
.. js:function:: purchaseAugmentation(factionName, augName)
|
||||
|
||||
:RAM cost: 5 GB
|
||||
|
||||
:param string factionName: Name of faction to purchase Augmentation from. CASE-SENSITIVE
|
||||
|
||||
@@ -3,6 +3,8 @@ purchaseProgram() Netscript Function
|
||||
|
||||
.. js:function:: purchaseProgram(programName)
|
||||
|
||||
:RAM cost: 2 GB
|
||||
|
||||
:param string programName: Name of program to purchase. Must include '.exe' extension. Not case-sensitive.
|
||||
|
||||
If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function.
|
||||
|
||||
@@ -3,6 +3,8 @@ purchaseTor() Netscript Function
|
||||
|
||||
.. js:function:: purchaseTor()
|
||||
|
||||
:RAM cost: 2 GB
|
||||
|
||||
If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function.
|
||||
|
||||
This function allows you to automatically purchase a TOR router. The cost for purchasing a TOR router using this
|
||||
|
||||
@@ -2,6 +2,7 @@ stopAction() Netscript Function
|
||||
===============================
|
||||
|
||||
.. js:function:: stopAction()
|
||||
|
||||
:RAM cost: 1 GB
|
||||
|
||||
If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to run this function.
|
||||
|
||||
@@ -2,6 +2,7 @@ travelToCity() Netscript Function
|
||||
=================================
|
||||
|
||||
.. js:function:: travelToCity(cityName)
|
||||
|
||||
:RAM cost: 2 GB
|
||||
|
||||
:param string cityName:
|
||||
|
||||
@@ -2,6 +2,7 @@ universityCourse() Netscript Function
|
||||
=====================================
|
||||
|
||||
.. js:function:: universityCourse(universityName, courseName)
|
||||
|
||||
:RAM cost: 2 GB
|
||||
|
||||
:param string universityName:
|
||||
|
||||
@@ -2,6 +2,7 @@ upgradeHomeRam() Netscript Function
|
||||
===================================
|
||||
|
||||
.. js:function:: upgradeHomeRam()
|
||||
|
||||
:RAM cost: 3 GB
|
||||
|
||||
If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function.
|
||||
|
||||
@@ -2,6 +2,7 @@ workForCompany() Netscript Function
|
||||
===================================
|
||||
|
||||
.. js:function:: workForCompany(companyName=lastCompany)
|
||||
|
||||
:RAM cost: 3 GB
|
||||
|
||||
:param string companyName: Name of company to work for. Must be an exact match.
|
||||
|
||||
@@ -2,6 +2,7 @@ workForFaction() Netscript Function
|
||||
===================================
|
||||
|
||||
.. js:function:: workForFaction(factionName, workType)
|
||||
|
||||
:RAM cost: 3 GB
|
||||
|
||||
:param string factionName: Name of faction to work for. CASE-SENSITIVE
|
||||
|
||||
Reference in New Issue
Block a user