Olivier Gagnon
5d4b72e1d1
Added some purchased server functions
2022-10-09 02:32:13 -04:00
Snarling
068533cd2f
format, lint, more enums, revert fn rename
2022-10-05 14:52:48 -04:00
Snarling
8bb88a5080
Better RamCost testing (see desc)
...
* RamCostGenerator will have an error if ramcosts are defined for nonexistent functions, in addition to error if not all functions have ram costs defined
* Removed a few random blank comment lines in NetscriptDefinitions.d.ts
* RamCalculation.test.ts checks exact expected static and dynamic ram usage from (almost) every function, based on defined RamCosts in RamCostGenerator.
2022-10-05 10:42:07 -04:00
Snarling
50f14b4f58
Commit1
2022-10-03 12:12:16 -04:00
Snarling
572c68738f
Unify error handling
2022-09-27 15:34:47 -04:00
phyzical
ca2f1a62a5
add singularity function for exporting game save
2022-09-07 16:11:51 +08:00
Olivier Gagnon
c9a0998cc1
Improve wrong arg user message and add ui.windowSize
2022-08-29 18:07:17 -04:00
Olivier Gagnon
89aa23f4b3
Add dummy function to generate a mock server or player for formulas stuff
2022-08-23 16:01:34 -04:00
Olivier Gagnon
a8bef50ef5
Added a few formulas to calculate work gains
2022-08-17 14:32:52 -04:00
Snarling
ea7c2c4981
fixing other commits after rebase
2022-08-09 18:25:02 -04:00
Olivier Gagnon
07c7f0641a
allbuild commit c8440ef2
2022-07-28 14:35:55 -04:00
Olivier Gagnon
4549b0d467
finish sleeve rework
2022-07-28 02:46:34 -04:00
Olivier Gagnon
3e4f26ac0a
allbuild commit e6d14eff
2022-07-26 15:30:12 -04:00
Olivier Gagnon
2d522ea1e6
allbuild commit e9254edf
2022-07-21 15:09:55 -04:00
Olivier Gagnon
693baf26df
add sleeve aug price and rep function
2022-07-21 02:42:48 -04:00
Olivier Gagnon
43b8cfec5c
fix test suite
2022-07-21 02:13:47 -04:00
Olivier Gagnon
ef42ee7232
few more api break
2022-07-20 17:03:08 -04:00
Olivier Gagnon
4518eabc29
Remove some any and add getAugmentationBasePrice
2022-07-20 01:20:11 -04:00
Olivier Gagnon
70d5390e4d
most anys in NetFunc
2022-07-19 19:04:06 -04:00
Olivier Gagnon
ae38b11ede
made static ram cost typecheck that it's missing no property.
2022-05-24 18:34:00 -04:00
Olivier Gagnon
0da2e74d12
more work on wrapping formulas
2022-05-24 17:51:48 -04:00
hydroflame
570c6d6b32
Merge pull request #3702 from borisflagell/FIX#3508
...
BLADEBURNER: FIX #3508 Add GetActionCurrentTime() to Bitburner API
2022-05-23 12:21:27 -04:00
PathToLife
3f1cb27ec1
Add tprintf to RamCostGenerator
2022-05-23 19:57:23 +12:00
borisflagell
8e0af049d9
BLADEBURNER: FIX #3508 Add GetActionCurrentTime() to Bitburner API
...
Add GetActionCurrentTime() to Bitburner API.
Slightly tweak BItburner.resetAction() to also reset time counters.
2022-05-22 06:40:08 +02:00
Stephen Reindl
35978689f9
Fix #3690 by adding missing function RamCostGenerator
2022-05-21 17:24:20 +02:00
Olivier Gagnon
7eb4494ac1
fix mc
2022-05-20 15:58:33 -04:00
rderfler
77073836cb
Merge remote-tracking branch 'upstream/dev' into dev
2022-05-06 22:44:24 -04:00
Zoë Hoekstra
472c9778df
Add ns.ui.clearTerminal for 0.2 GB
2022-05-06 12:29:21 +02:00
rderfler
7cf21629a7
Address review
...
Add ns function setToBladeburnerAction
Formatting updates
fix sleeves using player stamina
Correct supporting sleeve causing error
2022-04-30 15:25:36 -04:00
phyzical
711955c112
added logic to allow quitJob to be called from singularity
2022-04-28 19:05:56 +08:00
phyzical
8e1300d69d
Merge branch 'dev' into feature/add-infiltration-faction
...
# Conflicts:
# src/Netscript/RamCostGenerator.ts
2022-04-20 20:10:05 +08:00
Undeemiss
46a90e6271
Added ns function stanek.acceptGift
...
Added a new ns function stanek.acceptGift to the game, with a ram
cost of 2gb. The function attempts to join the CotMG and install
the gift, then returns true iff the player is in the CotMG and has
the gift installed.
2022-04-19 12:08:38 -05:00
phyzical
9c23fc89d1
merge base
2022-04-14 21:27:08 +08:00
Olivier Gagnon
9281cbe559
ns func to flume and destroy wd
2022-04-13 17:34:02 -04:00
nickofolas
51e5d38c7b
Add grafting API function to get graftable augs
2022-04-13 09:43:27 -05:00
phyzical
6b48ff8f21
merge base
2022-04-13 18:50:42 +08:00
hydroflame
c8c271a334
Merge pull request #3401 from TheMas3212/feat/wrap-singularity
...
Wrap Singularity API with wrapper
2022-04-12 20:53:55 -04:00
Olivier Gagnon
52e01fc026
fix a few things about getRecentScritps
2022-04-12 14:45:48 -04:00
hydroflame
68abd27d2c
Merge branch 'dev' into add-ns-getRecentScripts
2022-04-12 14:21:18 -04:00
TheMas3212
b2689eaa5a
Wrap Singularity API with wrapper
...
also refactored the RamCosts IMap as it didnt quite work properly due to
how the wrapper calculates function names
2022-04-12 16:51:10 +10:00
phyzical
c70f59ac54
merge dev
2022-04-07 16:27:23 +08:00
Stephen Reindl
689059ea83
Fix expected ram calculation for ns.goToLocation()
2022-03-31 12:37:33 +02:00
phyzical
07c6051004
merge dev
2022-03-30 19:00:57 +08:00
Olivier Gagnon
6b25ba5cd8
allbuild commit da27223a
2022-03-29 18:13:08 -04:00
Jesse Clark
fcc121cc21
Fix spelling of grafting functions
2022-03-29 14:34:48 -07:00
Jesse Clark
cde6eca6b5
Set mv
ram cost to ScriptReadWriteRamCost
...
This seems a bit high but avoids an exploit due to setting it lower than `rm`.
2022-03-29 14:27:30 -07:00
Jesse Clark
1d0c5d8fef
Set atExit ram cost to 0
2022-03-29 14:24:38 -07:00
Jesse Clark
4d48b7c621
Update Stanek functions in RamCostGenerator
2022-03-29 14:17:42 -07:00
Olivier Gagnon
680081c548
post-grafting changes
2022-03-29 14:09:17 -04:00
nickofolas
3b32811f5e
Grafting API RAM cost & doc update
2022-03-27 15:33:31 -04:00