Olivier Gagnon
d8a5f5b03c
many fixes
2022-01-09 15:24:32 -05:00
Russell Stringer
e8d4265c96
Fix #2446 - ns.purchaseAugment() can no longer buy NF from gang
...
Added the checks from AugmentationPage.tsx to the singularity
purchaseAugment() function to disallow buying NF from player-run
gang and disallow TRP from player-run gang outside BN2
2022-01-07 17:02:44 -05:00
Heikki Aitakangas
804fbfa90a
Make corporation delayed functions check if script has been stopped during delay
2022-01-06 19:06:44 +02: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
hydroflame
ef3c7494cc
Merge pull request #2354 from TheMas3212/fix-1862
...
Fixes 1862 Combat gang members can do hacking tasks via API and vice versa
2022-01-05 10:16:52 -05:00
hydroflame
f798115259
Merge branch 'dev' into nan-donation
2022-01-05 10:15:40 -05:00
TheMas3212
c9f0c9c553
Fixes 1862 Combat gang members can do hacking tasks via API and vice versa
2022-01-05 22:02:25 +11:00
TheMas3212
860e77f109
Add check to see if player is in gang before getting Gang Faction
2022-01-05 21:41:04 +11:00
TheMas3212
538a440b7e
Fixes #1860 donate to gang faction possible via singularity
...
also fixes bug i found while testing this where its possible to donate
to a faction you arent a member of
2022-01-05 21:36:09 +11:00
Olivier Gagnon
925bed4430
fix scp
2022-01-04 22:25:41 -05:00
Woody Lam
3ca36fca95
Fix #2275 accepts NaN donation bug
2022-01-05 02:05:56 +00: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
Anton Mironov
23683d3482
Fixes CorporationInfo.state
...
Before:
CorporationInfo.state was returning "[Object object]".
After:
CorporationInfo.state returns an actual state like START, PURCHASE, PRODUCTION, SALE, EXPORT
2021-12-24 17:32:51 +01:00
Martin Fournier
6b59a58ea3
Fix linter errors
2021-12-22 04:44:07 -05:00
hydroflame
79eb2f7e0b
Merge pull request #2092 from theit8514/script-focus-v2
...
Add focus parameter to workForCompany/workForFaction
2021-12-21 11:02:26 -05:00
theit8514
d873f7279b
Add focus parameter to workForCompany/workForFaction
...
Defaults to true to keep previous behavior.
2021-12-21 08:13:18 -05:00
Martin Fournier
65d0877edc
Add ns.ui.getTheme() api function
2021-12-20 14:37:10 -05:00
Martin Fournier
3b99da8474
Lint current problems & fix ignore paths
2021-12-19 13:17:44 -05:00
Martin Fournier
217b94d0a0
Fix #1863 : Add getHashUpgrades hacknet function
...
Adds a new functions ofr hacknet servers that returns the list of
available hash upgrades.
2021-12-17 05:35:17 -05:00
Olivier Gagnon
d7f9cb8cec
make setFocus a little more robust
2021-12-16 12:02:46 -05:00
theit8514
d59601f848
Add return value and code style cleanup
2021-12-15 20:48:19 -05:00
theit8514
cd4c98d942
Only change to terminal when focused
2021-12-15 20:44:08 -05:00
theit8514
c50c92f9b5
Update SF requirement to match documentation
2021-12-15 20:33:48 -05:00
theit8514
2726420709
Add errors and only change page when focus changes
2021-12-15 20:33:48 -05:00
theit8514
07d449afc2
Ensure focus does not change between calls to work
2021-12-15 20:33:48 -05:00
theit8514
ad57f3dc73
Work functions do not take focus
...
setFocus readded and updated to send the user to the Work page if focusing.
2021-12-15 20:33:48 -05:00
Olivier Gagnon
394a286646
formulas for ascension
2021-12-09 12:52:51 -05:00
Olivier Gagnon
c915cd06d8
corp doc
2021-12-08 20:03:22 -05:00
Olivier Gagnon
5a15df9ce7
rename the functions I created 2 minutes ago.
2021-12-08 19:03:33 -05:00
Olivier Gagnon
6eba92b36c
rename the functions I created 2 minutes ago.
2021-12-08 18:41:49 -05:00
Olivier Gagnon
35fa4a4117
fix sleeve function not returning cha
2021-12-08 18:27:14 -05:00
Olivier Gagnon
2af57cb01e
formulas for gang stuff
2021-12-08 18:19:30 -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
Olivier Gagnon
647ccd6a7b
BN13
2021-12-03 16:09:13 -05:00
Olivier Gagnon
d4ebc46a19
merge dev
2021-12-03 15:35:45 -05:00
Olivier Gagnon
49a545f00e
many bugfix
2021-12-03 14:12:32 -05:00
Olivier Gagnon
d852649f2b
log issue
2021-12-03 13:54:49 -05:00
theit8514
cb1aa452a1
Move getOwnedSourceFiles to NetscriptFunctions
2021-12-02 12:17:33 -05:00
Alain Bryden
ca2948b854
Bad copy pasta from isFocused -> setFocus
2021-11-26 23:02:02 -04:00
Olivier Gagnon
6e71258a53
fix disable log for tix api
2021-11-26 18:43:50 -05:00
Olivier Gagnon
c05518e162
workerscript log takes a function now, hopefully this will increase performance.
2021-11-26 18:30:58 -05:00
Olivier Gagnon
f0a004e75b
Fix a bunch of scripting related stuff.
2021-11-25 11:47:31 -05:00
Alain Bryden
6b8a91a23b
Return the price paid/recieved on short/sellShort
2021-11-22 11:19:23 -04:00
Olivier Gagnon
f035457efc
build part pr
2021-11-20 15:01:04 -05:00
Olivier Gagnon
60d34c3cc6
rebuild
2021-11-19 23:45:34 -05:00
Olivier Gagnon
a4a931dad7
v1.0.2 part 1
2021-11-19 14:39:38 -05:00
Olivier Gagnon
632de50a73
convert BN13 to a more conventional one.
2021-11-18 15:38:19 -05:00
Olivier Gagnon
ae9ad4430e
Increase rep gains 2
2021-11-17 10:59:15 -05:00