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
phyzical
7c5097ee83
added ns functions
...
* refactored out logic to be reused by api
2022-03-27 15:53:13 +08:00
Olivier Gagnon
fb7c65957d
Added dark web functions to ns api
2022-03-20 22:49:46 -04:00
parax
458f02051f
Added functions to RamCostGenerator.ts
2022-03-18 23:52:13 -06:00
TheMas3212
68cc5fba6c
Fix bug with missing ramcost for tFormat
2022-03-19 14:21:52 +11:00
Olivier Gagnon
fc963bb583
allbuild commit /usr/bin/git
2022-03-18 16:35:56 -04:00
Master-Guy
ef9632bf63
Added 0 cost of asleep()
2022-03-17 13:32:49 +01:00
phyzical
ec927fe1f4
added ram charge for stanek width and height
2022-03-08 17:28:45 +08:00
smolgumball
2add4e9112
Merge branch 'dev' into add-ns-getRecentScripts
2022-01-26 19:07:02 -07:00
Terrana
f2c4109211
Add ns.printf function
...
Behaviour is consistent with that of tprintf versus tprint and
should be equivalent to ns.print(ns.sprintf(...))
2022-01-21 12:08:47 +00:00
smolgumball
74e2acfa6f
Add ns.getRecentScripts()
2022-01-19 00:04:48 -07:00
Olivier Gagnon
05cbc25a8f
1.4
2022-01-18 14:03:24 -05:00
Martin Fournier
07403eaaaa
Add ns.ui.getGameInfo() to retrieve game version
...
Returns { version, commit, platform }
2022-01-16 10:49:01 -05:00
hydroflame
c0f6399a96
Merge pull request #2590 from deathly809/feature/ns_support_rm
...
Add support for the mv command in NS
2022-01-15 18:26:31 -05:00
Martin Fournier
9b638b911f
Add ns.ui.[getStyles, setStyles, resetStyles]
...
Adds three Netscript functions to manipulate the user's styles like the
player can with theme.
2022-01-12 18:34:05 -05:00
Jeffrey A. Robinson
bedea0ac73
Add support for the mv command in NS
2022-01-12 09:53:54 -08:00
Olivier Gagnon
7e6976986f
rm sf4 penalty
2022-01-05 12:37:49 -05:00
hydroflame
b718fc3ef7
Merge pull request #2343 from MartinFournier/feature/set-theme
...
Add ns.ui.setTheme() and ns.ui.resetTheme()
2022-01-05 10:17:51 -05:00
theit8514
41adedf1bc
Update getOwnedSourceFiles RAM cost
...
Not a singularity function
2022-01-05 07:12:41 -05:00
Olivier Gagnon
925bed4430
fix scp
2022-01-04 22:25:41 -05:00
Martin Fournier
c9ca1e9d37
Add ns.ui.setTheme() and ns.ui.resetTheme()
2022-01-04 20:33:18 -05:00
Olivier Gagnon
c59a267437
change sf4
2022-01-04 19:09:34 -05:00
Martin Fournier
65d0877edc
Add ns.ui.getTheme() api function
2021-12-20 14:37:10 -05:00
Olivier Gagnon
d01d75606a
few bugfix
2021-12-08 17:39:01 -05:00
Olivier Gagnon
737276e855
corp api
2021-12-03 23:06:04 -05:00