bezrodnov
294603fff8
Fix getAugmentationGraftPrice bug ( #530 )
2023-05-26 04:14:11 -04:00
Snarling
ebae35b1fb
CODEBASE: Expand lint rules, and Aliases are stored as maps ( #501 )
2023-05-05 03:55:59 -04:00
Snarling
fb1f95c26e
VARIOUS: Various changes prior to release 2.2 ( #271 )
...
See PR #271 description
2022-12-29 20:28:53 -05:00
David Walker
8d793ea271
Internal refactoring of Router ( #241 )
2022-12-04 03:14:06 -05:00
omuretsu
7a384d53f4
typefix netscriptFunctions (see desc)
...
* Types for InternalFunction and ExternalFunction have been modified to actually typecheck ns functions against docs.
* Internal functions are required to use unknown for any params on the inner function.
* Return types for internal function inner-function must match the respective external function.
* Added new typecheck assertion function for asserting dynamic object types, to allow unknownifying params that were previously hardcoded objec structures.
* Because type assertion for parameter types and return types is enforced by InternalAPI, removed all duplicate type declarations on NetscriptFunction params and returns.
2022-10-12 08:49:27 -04:00
Snarling
83d357e758
commit1
2022-09-27 15:35:40 -04:00
Snarling
931ea730a5
Move entire ns object to top-level
2022-08-09 18:09:26 -04:00
Snarling
01e63b10a1
move ctx.log to NetscriptHelpers
2022-08-09 18:09:26 -04:00
Snarling
208495e269
Initial commit
2022-08-09 18:09:24 -04:00
Olivier Gagnon
0550bc188c
refactor some stuff
2022-07-14 17:43:08 -04:00
Olivier Gagnon
fac6633347
remove so many fields and values used by the old system
2022-07-12 23:13:40 -04:00
Olivier Gagnon
606f1bf6c4
create program and grafting done
2022-07-10 01:37:36 -04:00
Olivier Gagnon
c6806caca2
Wrap most of the API
2022-05-07 19:08:07 -04:00
phyzical
a7a725de22
merge dev
2022-04-26 20:58:39 +08:00
nickofolas
8b34d2776a
Implement standardized grafting time calcs
2022-04-21 21:48:18 -05:00
phyzical
c3a3994658
rename augmentation to static augmentation
2022-04-15 01:19:51 +08:00
nickofolas
51e5d38c7b
Add grafting API function to get graftable augs
2022-04-13 09:43:27 -05:00
nickofolas
8da51b7e0a
Replace references to crafting with grafting
2022-04-11 11:07:15 -05: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
nickofolas
4f7b44df39
Handle pre-requisite augmentations
2022-03-29 17:09:36 -04:00
Olivier Gagnon
680081c548
post-grafting changes
2022-03-29 14:09:17 -04:00
nickofolas
9f6c827dee
Properly return false from craftAug
2022-03-27 15:33:03 -04:00
nickofolas
b437adb16c
Simplify API check
2022-03-23 15:48:39 -05:00
nickofolas
3476f0f0eb
Grafting API (no RAM costs yet)
2022-03-23 12:35:15 -05:00