Commit Graph

26 Commits

Author SHA1 Message Date
Undeemiss
6d55bfe795 Removed redundant check for whether the player is in CotMG 2022-04-19 13:39:56 -05:00
Undeemiss
b3e83dd976 Added check for aug status to stanek.acceptGift
Added a check to stanek.acceptGift for aug status. It's not
particularly elegant, but I copied the checks from the ui. Also
changed the way CotMG status is checked to be more robust.
2022-04-19 13:33:07 -05: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
Olivier Gagnon
5cbeae9353 lint 2022-04-11 14:17:27 -04:00
TheMas3212
b2e7817a0b
format 2022-04-08 10:02:59 +10:00
TheMas3212
9b53896732
slight change on how wrapping work based on discussion in #development 2022-04-08 09:57:16 +10:00
TheMas3212
f0cfc8700a run formater 2022-04-07 10:23:52 +10:00
TheMas3212
8c58f0676d Improve Typesafety on API Wrapper 2022-04-07 10:23:52 +10:00
TheMas3212
40f74e4a98 add wrapped helpers to ctx
add ramcheck into wrapper
2022-04-07 10:23:52 +10:00
TheMas3212
ea2b444b87 Initial API Wrapper Work
onlying wrapping Stanek api currently as test sample
(Rebased onto upstream/dev)
2022-04-07 10:23:46 +10:00
phyzical
18af3f8413 moved updateRam to first call to avoid lack of mocks for tests
* added wrapper funcs to simplify updateRam
* added static parser tests and skiped what isnt worker still for next person to try and fix
2022-03-31 21:41:19 +08:00
Olivier Gagnon
443b0b6a89 rename functions in staneks gift 2022-03-29 14:20:40 -04:00
Olivier Gagnon
8c9603d903 more unknown 2022-03-17 14:00:22 -04:00
phyzical
ec927fe1f4 added ram charge for stanek width and height 2022-03-08 17:28:45 +08:00
Heinous Tugboat
c7a3ac216f Replaces anys in Stanek with unknown 2022-01-27 20:48:37 -05:00
Heikki Aitakangas
c6ff982b1d Remove stopFlag checks made redundant by the netscriptDelay change 2022-01-09 02:42:36 +02:00
Olivier Gagnon
c59a267437 change sf4 2022-01-04 19:09:34 -05:00
Olivier Gagnon
d4ebc46a19 merge dev 2021-12-03 15:35:45 -05:00
Olivier Gagnon
ae9ad4430e Increase rep gains 2 2021-11-17 10:59:15 -05:00
Olivier Gagnon
43a6521403 more work on bn13 2021-11-13 23:45:26 -05:00
Olivier Gagnon
56ddcd9a45 more work on bn13 2021-11-13 22:44:17 -05:00
Olivier Gagnon
35a5e2f343 change the way charge works 2021-10-17 18:59:37 -04:00
Olivier Gagnon
092d5146b4 rotation! 2021-10-16 17:12:04 -04:00
Olivier Gagnon
4355420349 made staneks gift work with prestiges 2021-10-08 03:16:51 -04:00
Olivier Gagnon
2f677c7ec8 more work 2021-10-04 23:51:39 -04:00
Olivier Gagnon
c5e29dafc4 fix mc 2021-10-04 22:31:07 -04:00