* Updated ram cost of documentation

* v0.47.3

Co-authored-by: Samuel A. Lamb <samuei@users.noreply.github.com>
This commit is contained in:
hydroflame
2021-03-07 04:13:37 -05:00
committed by GitHub
parent f9162e4d30
commit e9dfe3c389
130 changed files with 18094 additions and 303 deletions

View File

@@ -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.
:param string field:

View File

@@ -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.

View File

@@ -2,6 +2,7 @@ commitCrime() Netscript Function
================================
.. js:function:: commitCrime(crime)
:RAM cost: 5 GB
:param string crime:
Name of crime to attempt. Not case-sensitive. This argument is fairly lenient in terms of what inputs it accepts.

View File

@@ -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

View File

@@ -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
:param number donateAmt: Amount of money to donate

View File

@@ -2,6 +2,7 @@ getAugmentationCost() Netscript Function
========================================
.. js:function:: getAugmentationCost(augName)
:RAM cost: 5 GB
:param string augName: Name of Augmentation. CASE-SENSITIVE

View File

@@ -2,6 +2,7 @@ getAugmentationsFromFaction() Netscript Function
================================================
.. js:function:: getAugmentationsFromFaction(facName)
:RAM cost: 5 GB
:param string facName: Name of faction. CASE-SENSITIVE

View File

@@ -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.

View File

@@ -2,6 +2,7 @@ getCompanyFavor() Netscript Function
====================================
.. js:function:: getCompanyFavor(companyName)
:RAM cost: 1 GB
:param string companyName: Name of the company. CASE-SENSITIVE

View File

@@ -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

View File

@@ -2,6 +2,7 @@ getCompanyRep() Netscript Function
==================================
.. js:function:: getCompanyRep(companyName)
:RAM cost: 1 GB
:param string companyName: Name of the company. CASE-SENSITIVE

View File

@@ -2,6 +2,7 @@ getCrimeChance() Netscript Function
===================================
.. js:function:: getCrimeChance(crime)
:RAM cost: 5 GB
:param string crime:
Name of crime. Not case-sensitive. This argument is fairlyn lenient in terms of what inputs it accepts.

View File

@@ -2,6 +2,7 @@ getFactionFavor() Netscript Function
====================================
.. js:function:: getFactionFavor(factionName)
:RAM cost: 1 GB
:param string factionName: Name of faction. CASE-SENSITIVE

View File

@@ -2,6 +2,7 @@ getFactionFavorGain() Netscript Function
========================================
.. js:function:: getFactionFavorGain(factionName)
:RAM cost: 0.75 GB
:param string factionName: Name of faction. CASE-SENSITIVE

View File

@@ -2,6 +2,7 @@ getFactionRep() Netscript Function
==================================
.. js:function:: getFactionRep(factionName)
:RAM cost: 1 GB
:param string factionName: Name of faction. CASE-SENSITIVE

View File

@@ -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.

View File

@@ -21,3 +21,5 @@ getStats() Netscript Function
res = getStats();
print('My charisma level is: ' + res.charisma);
:RAM cost: 0.5 GB

View File

@@ -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.

View File

@@ -2,6 +2,7 @@ gymWorkout() Netscript Function
===============================
.. js:function:: gymWorkout(gymName, stat)
:RAM cost: 2 GB
:param string gymName:
Name of gym. Not case-sensitive. You must be in the correct city for whatever gym you specify.

View File

@@ -2,6 +2,7 @@ installAugmentations() Netscript Function
=========================================
.. js:function:: installAugmentations(cbScript)
:RAM cost: 5 GB
:param string cbScript:
Optional callback script. This is a script that will automatically be run after Augmentations are installed (after the reset).

View File

@@ -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.

View File

@@ -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

View File

@@ -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
:param string augName: Name of Augmentation to purchase. CASE-SENSITIVE

View File

@@ -16,3 +16,5 @@ purchaseProgram() Netscript Function
purchaseProgram("brutessh.exe");
This function will return true if the specified program is purchased, and false otherwise.
:RAM cost: 2 GB

View File

@@ -9,3 +9,5 @@ purchaseTor() Netscript Function
function is the same as if you were to manually purchase one.
This function will return true if it successfully purchase a TOR router and false otherwise.
:RAM cost: 2 GB

View File

@@ -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.
This function is used to end whatever 'action' the player is currently performing. The player

View File

@@ -2,6 +2,7 @@ travelToCity() Netscript Function
=================================
.. js:function:: travelToCity(cityName)
:RAM cost: 2 GB
:param string cityName:
City to travel to. CASE-SENSITIVE.

View File

@@ -2,6 +2,7 @@ universityCourse() Netscript Function
=====================================
.. js:function:: universityCourse(universityName, courseName)
:RAM cost: 2 GB
:param string universityName:
Name of university. Not case-sensitive. You must be in the correct city for whatever university you specify.

View File

@@ -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.

View File

@@ -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.
Optional. If not specified, this argument defaults to

View File

@@ -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
:param string workType: