275 Commits

Author SHA1 Message Date
catloversg
3bb56efb34 DOCUMENTATION: Clarify ns.scan (#1965) 2025-02-16 18:27:10 -08:00
catloversg
adc39ad825 BUGFIX: ns.corporation.bribe can bribe faction that player is not member of (#1966) 2025-02-16 01:05:22 -08:00
catloversg
2dfaca3db4 DOCUMENTATION: Clarify ns.nuke (#1969) 2025-02-16 00:58:00 -08:00
LJ
905d37ef93 Add donationToFavor() to docs (#1960) 2025-02-13 21:35:55 -08:00
Michael Ficocelli
c8d2c9f769 IPVGO: Support scripts playing against each other as each color on "No AI" boards (#1917)
This is a big change with a *lot* of moving parts.

The largest part of it is enabling scripts to `playAsWhite` as a parameter to many Go functions. In the implementation, this involved a significant rewrite of `opponentNextTurn` promise handling.

A number of other changes and bugfixes are included:
* Fixes the issue where handicap stones are added on game load.
* Better typing for error callbacks.
* Throw errors instead of deadlocking on bad cheat usage.
* Return always-resolved gameOver promise after game end
* Added a new `resetStats` api function.

---------

Co-authored-by: David Walker <d0sboots@gmail.com>
2025-02-02 20:47:16 -08:00
catloversg
d6ee16cdb3 API: Move tail-related APIs to another namespace (#1935)
* API: Move tail-related APIs to another namespace

* Add missing RAM cost config

* Remove setTailFontSize from NS namespace
2025-02-01 21:43:56 -08:00
catloversg
956e3875e9 API: Add getSaveData API (#1390) 2025-01-30 10:36:59 -08:00
catloversg
2965f51879 API: Add a way to get the list of all factions (#1457) 2025-01-28 10:40:11 -08:00
catloversg
b161142796 API: Add ns.renderTail (#1815) 2025-01-25 09:14:45 -08:00
catloversg
1a54be184e DOCUMENTATION: Make nuke and port opening functions return boolean (#1923) 2025-01-24 08:48:50 -08:00
Mathekatze
7b009991e5 DOCUMENTATION: improve documentation for atExit() (#1916) 2025-01-19 12:49:25 -08:00
catloversg
0f9144a059 CODEBASE: Validate theme, editor theme, and styles (#1789) 2025-01-08 19:20:05 -08:00
G4mingJon4s
c622291eff NETSCRIPT: Added changing tail font size through scripts (#1852) 2025-01-04 16:51:13 -08:00
catloversg
93c07ac107 DOCUMENTATION: Clarify returned value of ns.bladeburner.getActionCountRemaining (#1873) 2025-01-04 16:33:45 -08:00
catloversg
bcbaf3e224 DOCUMENTATION: Clarify type of returned value of ns.gang.getOtherGangInformation (#1882) 2025-01-04 16:21:17 -08:00
Naga
ef87174e3f DOCUMENTATION: Clarify the return descriptions of 'getPurchasedServerCost' and 'getPurchasedServerUpgradeCost' to include the returns for invalid inputs. (#1884) 2025-01-04 16:20:20 -08:00
catloversg
bc0dc15536 DOCUMENTATION: Fix typo of CrimeStats (#1850) 2024-12-18 03:32:21 -08:00
catloversg
c2fe6108e1 DOCUMENTATION: Clarify getGraftableAugmentations API (#1858) 2024-12-18 03:23:56 -08:00
catloversg
bb7a1fbb22 MISC: Add raw command string to autocomplete data (#1846) 2024-12-18 03:16:38 -08:00
catloversg
8aea99e5cd API: Add "No AI" to GoOpponent type (#1845) 2024-12-18 03:14:35 -08:00
catloversg
e6078ab1df UI: Change description and add tooltip for HackMoney-related multipliers (#1823)
* UI: Change description and add tooltip for HackMoney-related multipliers

* Update based on feedback
2024-12-18 02:51:25 -08:00
catloversg
37ddb43b82 API: Allow passing 0 SkillPoints to skillMaxUpgradeCount (#1844) 2024-12-12 03:07:31 -08:00
catloversg
4137a0e522 DOCUMENTATION: Clarify isBusy and stopAction Singularity APIs (#1822) 2024-12-12 02:57:19 -08:00
catloversg
6e1848dd79 CORPORATION: Add new API to check if player can create corporation (#1598)
* CORPORATION: Add new API to check if player can create corporation
* Update description of createCorporation API
* Return enum instead of true/false
* Use throwIfReachable
* Fix typo in comment
2024-11-30 21:49:19 -08:00
catloversg
72a63b15cb API: Return active SF levels in getOwnedSourceFiles and ResetInfo.ownedSF (#1761)
* DOCUMENTATION: Clarify getOwnedSourceFiles when player overrides active levels of SFs
* Return Player.activeSourceFiles instead of Player.sourceFiles
* Get rid of zeroes in the map
2024-11-10 22:56:57 -08:00
catloversg
40651a757d CORPORATION: Clarify ns.corporation.bribe() (#1766) 2024-11-10 22:53:27 -08:00
catloversg
c638d858c6 DOCUMENTATION: Clarify FactionWorkRepGain multiplier (#1767) 2024-11-10 16:40:13 -08:00
catloversg
e825492319 CORPORATION: Expose valuation via ns.corporation.getCorporation() (#1765) 2024-11-10 16:32:25 -08:00
catloversg
650cf51acb DOCUMENTATION: Add more information for deprecated nFormat API (#1762) 2024-11-10 16:27:35 -08:00
G4mingJon4s
d6874d68aa UI: Added the ability to change the font size (#1703) 2024-11-09 16:50:18 -08:00
catloversg
e5e4e2693f DOCUMENTATION: Clarify getSkillUpgradeCost and fix typo in BaseTask (#1749) 2024-11-03 23:27:59 -08:00
ballardrog
0bf378a1b0 IPVGO: Add getCheatCount(). (#1734) 2024-10-27 18:52:23 -07:00
Michael Ficocelli
6df3dcdc82 IPVGO: Add optional board state argument to the go analysis functions (#1716) 2024-10-27 17:31:06 -07:00
catloversg
f49d3b32a5 DOCUMENTATION: Clarify cyclesWorked of Task (#1725) 2024-10-23 16:18:18 -07:00
catloversg
b72c03acf0 DOCUMENTATION: Clarify "completion" property of GraftingTask (#1713) 2024-10-21 21:22:17 -07:00
catloversg
3ce2ae5fd7 API: Change type of skill name parameter of skillMaxUpgradeCount API (#1712) 2024-10-21 20:39:56 -07:00
catloversg
e644c0e91e API: Make condition of donateToFaction consistent (#1686) 2024-10-07 23:14:09 -07:00
catloversg
3ef3821a08 DOCUMENTATION: Clarify condition of ns.corporation.bribe (#1687) 2024-10-07 23:12:35 -07:00
catloversg
4d60c833cc MISC: Remove mention of Hacking Mission (#1684) 2024-10-06 22:58:24 -07:00
catloversg
32e00aff7a BUGFIX: Wrong parameter requirement of ns.bladeburner.setTeamSize (#1673) 2024-09-30 20:18:25 -07:00
Michael Ficocelli
2a5b0ca4e9 IPVGO: Prevent issues caused by resetting the board while the go AI is in flight (#1608) 2024-09-07 18:33:49 -07:00
G4mingJon4s
651b17739c NETSCRIPT: Add ns.self() as a free info function (#1636)
* added utility info

* moved info to running script

* fix for RAM cost

* description changes

Co-authored-by: David Walker <d0sboots@gmail.com>

* fixed wrong formatting

* Added parent to ignored fields

---------

Co-authored-by: David Walker <d0sboots@gmail.com>
2024-09-07 17:34:24 -07:00
catloversg
0ce5cd35dc DOCUMENTATION: Fix mangled NS API TSDoc (#1643) 2024-09-07 17:29:23 -07:00
Fireball5939
95394b5956 DOCUMENTATION: Improve ns.enableLog() docs to remove a missleading description (#1634)
Changed ns.enableLog documentation to be very similar to ns.disableLog, to remove possible confusion that it only undoes the effects of ns.disableLog
2024-08-26 19:49:44 -07:00
Nicole
b4f2a5c641 set static information netscript costs to 0 (#1628) 2024-08-25 10:09:36 -07:00
Nicole
7f5c4e1fe0 API: Reduced RAM cost for ns.getPurchasedServers (#1614) 2024-08-22 00:44:21 -07:00
catloversg
614bec1e13 DOCUMENTATION: Fix wrong description of ns.corporation.createCorporation (#1612) 2024-08-21 17:50:47 -07:00
Nicole
995e367432 DOCS: Correct function signature for hashUpgradeCost (#1603) 2024-08-21 16:47:26 -07:00
catloversg
cacecda72f API: Add types for parameters of gym-university-bladeburner API (Fix merging error) (#1596)
* API: Add types for parameters of gym-university-bladeburner API
* Fix merging error
2024-08-17 14:08:55 -07:00
David Walker
79bb0d289a Revert "API: Add types for parameters of gym-university-bladeburner API (#1591)" (#1592)
This reverts commit da8870ed796c916c19cac7c2b6328a75180367fc.
2024-08-16 13:45:54 -07:00