NETSCRIPT: Add ns.self() as a free info function (#1636)

* added utility info

* moved info to running script

* fix for RAM cost

* description changes

Co-authored-by: David Walker <d0sboots@gmail.com>

* fixed wrong formatting

* Added parent to ignored fields

---------

Co-authored-by: David Walker <d0sboots@gmail.com>
This commit is contained in:
G4mingJon4s
2024-09-08 02:34:24 +02:00
committed by GitHub
parent 0ce5cd35dc
commit 651b17739c
20 changed files with 145 additions and 7 deletions
+1
View File
@@ -519,6 +519,7 @@ export const RamCosts: RamCostTree<NSFull> = {
run: RamCostConstants.Run,
exec: RamCostConstants.Exec,
spawn: RamCostConstants.Spawn,
self: 0,
kill: RamCostConstants.Kill,
killall: RamCostConstants.Kill,
exit: 0,