NETSCRIPT: Add ns.stock.getConstants (#692)

This commit is contained in:
Snarling
2023-07-31 23:08:42 -04:00
committed by GitHub
parent a85efbc4da
commit 1c6369ffa4
18 changed files with 230 additions and 56 deletions
+2 -1
View File
@@ -118,6 +118,7 @@ const hacknet = {
// Stock API
const stock = {
getConstants: 0,
hasWSEAccount: 0.05,
hasTIXAPIAccess: 0.05,
has4SData: 0.05,
@@ -348,7 +349,7 @@ const grafting = {
const corporation = {
hasCorporation: 0, // This one is free
getConstants: RamCostConstants.Corporation,
getConstants: 0,
getIndustryData: RamCostConstants.Corporation,
getMaterialData: RamCostConstants.Corporation,
issueNewShares: RamCostConstants.Corporation,