Compare commits

..

23 Commits

Author SHA1 Message Date
hydroflame
e9dfe3c389 v0.47.3 (#808)
* Updated ram cost of documentation

* v0.47.3

Co-authored-by: Samuel A. Lamb <samuei@users.noreply.github.com>
2021-03-07 04:13:37 -05:00
kalobkalob
f9162e4d30 Update ls.rst (#734)
* Update ls.rst

Modified ram cost.

Co-authored-by: hydroflame <79246165+hydroflame@users.noreply.github.com>
2021-03-07 03:10:53 -05:00
danielyxie
b97fab2bf4 Fixed gym bug 2019-07-16 09:52:43 -07:00
danielyxie
3c9ebb75fe Merge pull request #647 from danielyxie/dev
v0.47.2-patch-1
2019-07-16 01:33:35 -07:00
danielyxie
434a522429 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-07-16 01:32:02 -07:00
danielyxie
49fa63971b Minor typo fixes for v0.47.2 2019-07-16 01:31:48 -07:00
Kalumniatoris
8dfc563c86 stockmarket.rst typo very -> every
fixed typo: "Stock prices are updated very ~6 seconds." -> "Stock prices are updated every ~6 seconds."
2019-07-16 01:31:47 -07:00
danielyxie
dded9103cb Minor typo fixes for v0.47.2 2019-07-16 01:30:35 -07:00
Kalumniatoris
741f57e9e2 stockmarket.rst typo very -> every
fixed typo: "Stock prices are updated very ~6 seconds." -> "Stock prices are updated every ~6 seconds."
2019-07-15 21:41:03 -07:00
danielyxie
57815ac6a0 v0.47.2 2019-07-15 21:40:13 -07:00
danielyxie
758f329d14 isBusy() now returns true if you are in a hacking mission 2019-07-13 22:44:53 -07:00
danielyxie
096f984d6b Converted everything to use acorn npm package. Updated acorn packages to latest version. Updated acorn parsing to use ES9 2019-07-13 22:36:12 -07:00
danielyxie
06cd584f10 Minor bugfixes with killing Netscript scripts, and cleaned up text 2019-07-13 20:55:58 -07:00
danielyxie
4f2f75762c Implemented 'kill by PID' functionality 2019-07-11 19:37:17 -07:00
danielyxie
d94516f39b Color-coded BitNode selection screen and added SF information 2019-07-08 18:41:59 -07:00
danielyxie
b479a3570e Minor bugfixes for a variety of NS functions. After infiltration, UI returns to corp page rather than city page 2019-07-08 18:41:59 -07:00
danielyxie
ac49b8074f Renamed getNoSuchRunningScriptErrorMessage() function 2019-07-04 18:14:34 -07:00
danielyxie
7a49a5b3e8 Fix GH Issue #621: workForFaction() now properly accounts for disabled/enabled logs 2019-07-04 18:14:34 -07:00
danielyxie
6d9e6e6466 Implement GH Issue #620: Add tail() Netscript function 2019-07-04 18:14:34 -07:00
danielyxie
2d179199ed Implemented GH Issue #599: Added 'solarized dark' theme to CodeMirror 2019-07-04 18:14:34 -07:00
danielyxie
dc928828e2 Fix GH Issue #616: Stock Market UI throws error for certain locales because the price format length is too high 2019-07-04 18:14:34 -07:00
danielyxie
658df9fb01 Fix GH Issue #632: 'Create Program' link visibility should now be properly dynamically evaluated 2019-07-01 21:15:11 -07:00
danielyxie
44bf3cb101 Fixed GH Issue #641 2019-07-01 20:39:12 -07:00
134 changed files with 18100 additions and 307 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -184,7 +184,7 @@ See :ref:`netscript_tixapi` for more details.
Under the Hood
--------------
Stock prices are updated very ~6 seconds.
Stock prices are updated every ~6 seconds.
Whether a stock's price moves up or down is determined by RNG. However,
stocks have properties that can influence the way their price moves. These properties

View File

@@ -588,7 +588,7 @@ The data can only be downloaded to a script (.script, .ns, .js) or a text file
(.txt). If the target file already exists, it will be overwritten by this command.
Note that will not be possible to download data from many websites because they
do not allow cross-origin origin sharing (CORS). This includes websites such
do not allow cross-origin resource sharing (CORS). This includes websites such
as gist and pastebin. One notable site it will work on is rawgithub. Example::
$ wget https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md game_readme.txt

View File

@@ -18,3 +18,5 @@ getBitNodeMultipliers() Netscript Function
mults = getBitNodeMultipliers();
print(mults.ServerMaxMoney);
print(mults.HackExpGain);
:RAM cost: 4 GB

View File

@@ -4,7 +4,7 @@ brutessh() Netscript Function
.. js:function:: brutessh(hostname/ip)
:param string hostname/ip: IP or hostname of the target server
:RAM cost: 0 GB
:RAM cost: 0.05 GB
Runs the BruteSSH.exe program on the target server. BruteSSH.exe must exist on your home computer.

View File

@@ -4,7 +4,7 @@ ftpcrack() Netscript Function
.. js:function:: ftpcrack(hostname/ip)
:param string hostname/ip: IP or hostname of the target server
:RAM cost: 0 GB
:RAM cost: 0.05 GB
Runs the FTPCrack.exe program on the target server. FTPCrack.exe must exist on your home computer.

View File

@@ -4,7 +4,7 @@ httpworm() Netscript Function
.. js:function:: httpworm(hostname/ip)
:param string hostname/ip: IP or hostname of the target server
:RAM cost: 0 GB
:RAM cost: 0.05 GB
Runs the HTTPWorm.exe program on the target server. HTTPWorm.exe must exist on your home computer.

View File

@@ -5,7 +5,7 @@ ls() Netscript Function
:param string hostname/ip: Hostname or IP of the target server
:param string grep: a substring to search for in the filename
:RAM cost: 0 GB
:RAM cost: 0.2 GB
Returns an array with the filenames of all files on the specified server (as strings). The returned array
is sorted in alphabetic order

View File

@@ -5,6 +5,7 @@ nFormat() Netscript Function
:param number n: Number to format
:param string format: Formatter
:RAM cost: 0 GB
Converts a number into a string with the specified formatter. This uses the
`numeraljs <http://numeraljs.com/>`_ library, so the formatters must be compatible

View File

@@ -4,7 +4,7 @@ nuke() Netscript Function
.. js:function:: nuke(hostname/ip)
:param string hostname/ip: IP or hostname of the target server
:RAM cost: 0 GB
:RAM cost: 0.05 GB
Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer.

View File

@@ -4,7 +4,7 @@ relaysmtp() Netscript Function
.. js:function:: relaysmtp(hostname/ip)
:param string hostname/ip: IP or hostname of the target server
:RAM cost: 0 GB
:RAM cost: 0.05 GB
Runs the relaySMTP.exe program on the target server. relaySMTP.exe must exist on your home computer.

View File

@@ -9,7 +9,7 @@ spawn() Netscript Function
Additional arguments to pass into the new script that is being run.
:RAM cost: 2 GB
Terminates the current script, and then after a delay of about 20 seconds it will execute the newly-specified script.
Terminates the current script, and then after a delay of about 10 seconds it will execute the newly-specified script.
The purpose of this function is to execute a new script without being constrained by the RAM usage of the current one.
This function can only be used to run scripts on the local server.

View File

@@ -4,7 +4,7 @@ sqlinject() Netscript Function
.. js:function:: sqlinject(hostname/ip)
:param string hostname/ip: IP or hostname of the target server
:RAM cost: 0 GB
:RAM cost: 0.05 GB
Runs the SQLInject.exe program on the target server. SQLInject.exe must exist on your home computer.

View File

@@ -2,6 +2,7 @@ getActionAutolevel() Netscript Function
=======================================
.. js:function:: getActionAutolevel(type, name)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,6 +2,7 @@ getActionCountRemaining() Netscript Function
============================================
.. js:function:: getActionCountRemaining(type, name)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,6 +2,7 @@ getActionCurrentLevel() Netscript Function
==========================================
.. js:function:: getActionCurrentLevel(type, name)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,6 +2,7 @@ getActionEstimatedSuccessChance() Netscript Function
====================================================
.. js:function:: getActionEstimatedSuccessChance(type, name)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,6 +2,7 @@ getActionMaxLevel() Netscript Function
======================================
.. js:function:: getActionMaxLevel(type, name)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,6 +2,7 @@ getActionRepGain() Netscript Function
=====================================
.. js:function:: getActionRepGain(type, name[, level=current level])
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,6 +2,7 @@ getActionTime() Netscript Function
==================================
.. js:function:: getActionTime(type, name)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,5 +2,6 @@ getBlackOpNames() Netscript Function
====================================
.. js:function:: getBlackOpNames()
:RAM cost: 0.4 GB
Returns an array of strings containing the names of all Bladeburner Black Ops

View File

@@ -2,6 +2,7 @@ getBlackOpRank() Netscript Function
====================================
.. js:function:: getBlackOpRank(name)
:RAM cost: 2 GB
:param string name: name of the BlackOp. Must be an exact match.

View File

@@ -2,6 +2,7 @@ getBonusTime() Netscript Function
=================================
.. js:function:: getBonusTime()
:RAM cost: 0 GB
Returns the amount of accumulated "bonus time" (seconds) for the Bladeburner mechanic.

View File

@@ -2,5 +2,6 @@ getCity() Netscript Function
============================
.. js:function:: getCity()
:RAM cost: 4 GB
Returns the city that the player is currently in (for Bladeburner).

View File

@@ -2,6 +2,7 @@ getCityChaos() Netscript Function
=================================
.. js:function:: getCityChaos(cityName)
:RAM cost: 4 GB
:param string cityName: Name of city. Case-sensitive

View File

@@ -2,6 +2,7 @@ getCityEstimatedCommunities() Netscript Function
================================================
.. js:function:: getCityEstimatedCommunities(cityName)
:RAM cost: 4 GB
:param string cityName: Name of city. Case-sensitive

View File

@@ -2,6 +2,7 @@ getCityEstimatedPopulation() Netscript Function
===============================================
.. js:function:: getCityEstimatedPopulation(cityName)
:RAM cost: 4 GB
:param string cityName: Name of city. Case-sensitive

View File

@@ -2,5 +2,6 @@ getContractNames() Netscript Function
=====================================
.. js:function:: getContractNames()
:RAM cost: 0.4 GB
Returns an array of strings containing the names of all Bladeburner contracts

View File

@@ -2,6 +2,7 @@ getCurrentAction() Netscript Function
=====================================
.. js:function:: getCurrentAction()
:RAM cost: 1 GB
Returns an object that represents the player's current Bladeburner action::

View File

@@ -2,5 +2,6 @@ getGeneralActionNames() Netscript Function
==========================================
.. js:function:: getGeneralActionNames()
:RAM cost: 0.4 GB
Returns an array of strings containing the names of all general Bladeburner actions

View File

@@ -2,5 +2,6 @@ getOperationNames() Netscript Function
======================================
.. js:function:: getOperationNames()
:RAM cost: 0.4 GB
Returns an array of strings containing the names of all Bladeburner operations

View File

@@ -2,5 +2,6 @@ getRank() Netscript Function
============================
.. js:function:: getRank()
:RAM cost: 4 GB
Returns the player's Bladeburner Rank

View File

@@ -2,6 +2,7 @@ getSkillLevel() Netscript Function
==================================
.. js:function:: getSkillLevel(skillName="")
:RAM cost: 4 GB
:param string skillName: Name of skill. Case-sensitive and must be an exact match

View File

@@ -2,5 +2,6 @@ getSkillNames() Netscript Function
==================================
.. js:function:: getSkillNames()
:RAM cost: 0.4 GB
Returns an array of strings containing the names of all Bladeburner skills

View File

@@ -2,5 +2,6 @@ getSkillPoints() Netscript Function
===================================
.. js:function:: getSkillPoints()
:RAM cost: 4 GB
Returns the number of Bladeburner skill points you have

View File

@@ -2,6 +2,7 @@ getSkillUpgradeCost() Netscript Function
========================================
.. js:function:: getSkillUpgradeCost(skillName="")
:RAM cost: 4 GB
:param string skillName: Name of skill. Case-sensitive and must be an exact match

View File

@@ -2,6 +2,7 @@ getStamina() Netscript Function
===============================
.. js:function:: getStamina()
:RAM cost: 4 GB
Returns an array with two elements:

View File

@@ -2,6 +2,7 @@ getTeamSize() Netscript Function
================================
.. js:function:: getTeamSize(type, name)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,6 +2,7 @@ joinBladeburnerDivision() Netscript Function
============================================
.. js:function:: joinBladeburnerDivision()
:RAM cost: 4 GB
Attempts to join the Bladeburner division.

View File

@@ -2,6 +2,7 @@ joinBladeburnerFaction() Netscript Function
===========================================
.. js:function:: joinBladeburnerFaction()
:RAM cost: 4 GB
Attempts to join the Bladeburner faction.

View File

@@ -2,6 +2,7 @@ setActionAutolevel() Netscript Function
=======================================
.. js:function:: setActionAutolevel(type, name, autoLevel)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,6 +2,7 @@ setActionLevel() Netscript Function
===================================
.. js:function:: setActionLevel(type, name, level)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,6 +2,7 @@ setTeamSize() Netscript Function
================================
.. js:function:: setTeamSize(type, name, size)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,6 +2,7 @@ startAction() Netscript Function
================================
.. js:function:: startAction(type, name)
:RAM cost: 4 GB
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match

View File

@@ -2,5 +2,6 @@ stopBladeburnerAction() Netscript Function
==========================================
.. js:function:: stopBladeburnerAction()
:RAM cost: 2 GB
Stops the current Bladeburner action

View File

@@ -2,6 +2,7 @@ switchCity() Netscript Function
===============================
.. js:function:: switchCity(cityName)
:RAM cost: 4 GB
:param string cityName: Name of city

View File

@@ -2,6 +2,7 @@ upgradeSkill() Netscript Function
=================================
.. js:function:: upgradeSkill(skillName)
:RAM cost: 4 GB
:param string skillName: Name of Skill to be upgraded. Case-sensitive and must be an exact match

View File

@@ -18,3 +18,5 @@ attempt() Netscript Function
option is configured, then the function will instead return a string. If the
contract is successfully solved, the string will contain a description of the
contract's reward. Otherwise, it will be an empty string.
:RAM cost: 10 GB

View File

@@ -11,3 +11,5 @@ getContractType() Netscript Function
(e.g. Find Largest Prime Factor, Total Ways to Sum, etc.)
:returns: A string with the contract's problem type
:RAM cost: 5 GB

View File

@@ -10,3 +10,5 @@ getDescription() Netscript Function
Get the full text description for the problem posed by the Coding Contract
:returns: A string with the contract's text description
:RAM cost: 5 GB

View File

@@ -11,3 +11,5 @@ getNumTriesRemaining() Netscript Function
self-destructs.
:returns: Number indicating how many attempts are remaining
:RAM cost: 2 GB

View File

@@ -20,3 +20,5 @@ ascendMember() Netscript Function
agi: Agility multiplier gained from ascending. Decimal form
cha: Charisma multiplier gained from ascending. Decimal form
}
:RAM cost: 4 GB

View File

@@ -4,3 +4,5 @@ canRecruitMember() Netscript Function
.. js:function:: canRecruitMember()
:returns: Boolean indicating whether a member can currently be recruited
:RAM cost: 1 GB

View File

@@ -11,3 +11,5 @@ getBonusTime() Netscript Function
"Bonus time" makes the game progress faster, up to 10x the normal speed.
:returns: Bonus time for the Gang mechanic in seconds
:RAM cost: 0 GB

View File

@@ -7,3 +7,5 @@ getChanceToWinClash() Netscript Function
Returns the chance you have to win a clash with the specified gang. The chance
is returned in decimal form, not percentage
:RAM cost: 4 GB

View File

@@ -10,3 +10,5 @@ getEquipmentCost() Netscript Function
:returns: Cost to purchase the specified Equipment/Augmentation (number). Infinity
for invalid arguments
:RAM cost: 2 GB

View File

@@ -7,3 +7,5 @@ getEquipmentNames() Netscript Function
Gang Members. This includes Augmentations.
:returns: Array of strings of the names of all Equpiment/Augmentations
:RAM cost: 1 GB

View File

@@ -14,3 +14,5 @@ getEquipmentType() Netscript Function
* Augmentation
:returns: A string stating the type of the equipment
:RAM cost: 2 GB

View File

@@ -21,3 +21,5 @@ getGangInformation() Netscript Function
wantedLevel: Gang's wanted level
wantedLevelGainRate: Wanted level gained/lost per second (negative for losses)
}
:RAM cost: 2 GB

View File

@@ -9,6 +9,8 @@ getMemberInformation() Netscript Function
:returns: An object with the gang member information.
:RAM cost: 2 GB
The object has the following structure::
{

View File

@@ -6,3 +6,5 @@ getMemberNames() Netscript Function
Get the names of all Gang members
:returns: An array of the names of all Gang members as strings
:RAM cost: 1 GB

View File

@@ -24,3 +24,5 @@ getOtherGangInformation() Netscript Function
},
... (for all six gangs)
}
:RAM cost: 2 GB

View File

@@ -6,3 +6,5 @@ getTaskNames() Netscript Function
Get the name of all valid tasks that Gang members can be assigned to
:returns: Array of strings of all task names
:RAM cost: 1 GB

View File

@@ -10,3 +10,5 @@ purchaseEquipment() Netscript Function
Gang member.
:returns: True if the equipment was successfully purchased. False otherwise
:RAM cost: 4 GB

View File

@@ -13,3 +13,5 @@ recruitMember() Netscript Function
* There already exists a member with the specified name
:returns: True if the member was successfully recruited. False otherwise
:RAM cost: 2 GB

View File

@@ -10,3 +10,5 @@ setMemberTask() Netscript Function
If an invalid task is specified, the Gang member will be set to idle ("Unassigned")
:returns: True if the Gang Member was successfully assigned to the task. False otherwise
:RAM cost: 2 GB

View File

@@ -6,3 +6,5 @@ setTerritoryWarfare() Netscript Function
:param bool engage: Whether or not to engage in territory warfare
Set whether or not the gang should engage in territory warfare
:RAM cost: 2 GB

View File

@@ -15,3 +15,5 @@ getCacheUpgradeCost() Netscript Function
If an invalid value for *n* is provided, then this function returns 0. If the
specified Hacknet Server is already at the max cache level, then Infinity is returned.
:RAM cost: 0 GB

View File

@@ -10,3 +10,5 @@ getCoreUpgradeCost() Netscript Function
If an invalid value for *n* is provided, then this function returns 0. If the
specified Hacknet Node is already at the max number of cores, then Infinity is returned.
:RAM cost: 0 GB

View File

@@ -10,3 +10,5 @@ getLevelUpgradeCost() Netscript Function
If an invalid value for *n* is provided, then this function returns 0. If the
specified Hacknet Node is already at max level, then Infinity is returned.
:RAM cost: 0 GB

View File

@@ -21,6 +21,8 @@ getNodeStats() Netscript Function
totalProduction: Total amount that the Node has produced
}
:RAM cost: 0 GB
.. note:: Note that for Hacknet Nodes, production refers to the amount of money the node generates.
For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the amount
of hashes the node generates.

View File

@@ -4,3 +4,5 @@ getPurchaseNodeCost() Netscript Function
.. js:function:: getPurchaseNodeCost()
Returns the cost of purchasing a new Hacknet Node
:RAM cost: 0 GB

View File

@@ -10,3 +10,5 @@ getRamUpgradeCost() Netscript Function
If an invalid value for *n* is provided, then this function returns 0. If the
specified Hacknet Node is already at max RAM, then Infinity is returned.
:RAM cost: 0 GB

View File

@@ -12,6 +12,8 @@ hashCost() Netscript Function
Returns the number of hashes required for the specified upgrade. The name of the
upgrade must be an exact match.
:RAM cost: 0 GB
Example:

View File

@@ -9,3 +9,5 @@ numHashes() Netscript Function
of a Hacknet Node).
Returns the number of hashes you have
:RAM cost: 0 GB

View File

@@ -4,3 +4,5 @@ numNodes() Netscript Function
.. js:function:: numNodes()
Returns the number of Hacknet Nodes you own.
:RAM cost: 0 GB

View File

@@ -9,3 +9,5 @@ purchaseNode() Netscript Function
If the player cannot afford to purchase a new Hacknet Node then the function
will return -1.
:RAM cost: 0 GB

View File

@@ -24,3 +24,5 @@ spendHashes() Netscript Function
hacknet.spendHashes("Sell for Corporation Funds");
hacknet.spendHashes("Increase Maximum Money", "foodnstuff");
:RAM cost: 0 GB

View File

@@ -17,3 +17,5 @@ upgradeCache() Netscript Function
it purchases some positive amount and the Server reaches its max cache level.
Returns false otherwise.
:RAM cost: 0 GB

View File

@@ -12,3 +12,5 @@ upgradeCore() Netscript Function
it purchases some positive amount and the Node reaches its max number of cores.
Returns false otherwise.
:RAM cost: 0 GB

View File

@@ -12,3 +12,5 @@ upgradeLevel() Netscript Function
if it is upgraded by some positive amount and the Node reaches its max level.
Returns false otherwise.
:RAM cost: 0 GB

View File

@@ -14,3 +14,5 @@ upgradeRam() Netscript Function
it is upgraded some positive number of times and the Node reaches it max RAM.
Returns false otherwise.
:RAM cost: 0 GB

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

Some files were not shown because too many files have changed in this diff Show More