catloversg
216500ed32
CORPORATION: Add a new API to sell a division ( #1210 )
...
Also refactoring around use of "player" variable (whether it is capitalized or not).
2024-04-15 21:19:47 -07:00
Snarling
4f4c6fe7e5
Move heart.break out of Extra.ts ( #1133 )
2024-03-04 18:36:14 -05:00
Snarling
006fbd528f
DOCS: Add printRaw and tprintRaw docs ( #663 )
2023-07-07 18:23:26 -04:00
David Walker
4503da6226
UI: LogBox overhaul ( #508 )
2023-05-26 08:07:37 -04:00
Snarling
87f2ae459d
UI: Better support for custom player React content ( #513 )
2023-05-22 05:28:24 -04:00
Snarling
ebae35b1fb
CODEBASE: Expand lint rules, and Aliases are stored as maps ( #501 )
2023-05-05 03:55:59 -04:00
David Walker
2b54c6c9b9
NETSCRIPT: Add ramOverride as a RunOption ( #441 )
...
Allows overriding the static ram calculation. Dynamic ram limit still applies.
2023-03-22 10:09:12 -04:00
Snarling
759f86d6e5
NETSCRIPT: Rework script ram updates ( #408 )
2023-03-05 22:39:42 -05:00
T.J. Eckman
33f0150d25
BUGFIX: Memory Leak in NetscriptPorts ( #399 )
...
Co-authored-by: Snarling <84951833+Snarling@users.noreply.github.com>
2023-02-27 19:54:04 -05:00
David Walker
4eef9eec03
NETSCRIPT: More ns Proxy changes ( #297 )
2023-01-05 20:41:24 -05:00
David Walker
7b5080a42b
NETSCRIPT: Add undocumented function printRaw() ( #277 )
...
This is analagous to tprintRaw (enabled by ns.iKnowWhatImDoing()), but
for logs instead of the terminal. This provides a supported* method of
creating complicated UIs for scripts.
*No actual support, expressed or implied, is provided for use of this
function.
2023-01-05 20:30:34 -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
omuretsu
41b6f0b87b
add hoop before exposing
2022-10-11 21:02:04 -04:00
omuretsu
7d07f44b3e
move to global scope
2022-10-11 20:01:10 -04:00
omuretsu
84b99c569a
extra printRaw function
2022-10-11 16:07:45 -04:00
Snarling
931ea730a5
Move entire ns object to top-level
2022-08-09 18:09:26 -04:00
Snarling
208495e269
Initial commit
2022-08-09 18:09:24 -04:00
Olivier Gagnon
5f229c9c67
yet another any
2022-07-18 02:33:21 -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
7685f52f8e
fix import and make rainbow return the answer.
2022-04-14 15:23:49 -04:00
Olivier Gagnon
3336a6ff61
added openDevMeny
2022-04-13 13:47:48 -04:00
Olivier Gagnon
0fbcc30555
rm unused improt
2022-03-20 14:20:17 -04:00
Olivier Gagnon
06b2ec8957
allbuild commit /usr/bin/git
2022-03-18 11:18:08 -04:00
Olivier Gagnon
989d0709ed
unknown-ify some code
2022-03-16 19:33:45 -04:00
Olivier Gagnon
e93be42e7c
2 new exploits
2022-03-16 14:34:05 -04:00
Olivier Gagnon
c21644397d
Make alter reality harder
2021-11-12 19:28:52 -05:00
Olivier Gagnon
9f14f2b863
comment
2021-10-27 15:56:04 -04:00
Olivier Gagnon
c9565a2263
fix Alter Reality
2021-10-27 15:55:11 -04:00
Olivier Gagnon
738152d614
New sf -1 and changes to gang to rely more on territory
2021-10-26 23:02:46 -04:00
Olivier Gagnon
8f13363466
prettier
2021-10-11 16:38:50 -04:00
Olivier Gagnon
bb0bdb776b
extracted some of the Netscript functions into their own file.
2021-10-04 22:25:21 -04:00