Commit Graph

7111 Commits

Author SHA1 Message Date
Phil Despotos
16655349f5 Fix research tree of product industries post-prestige
After destroying a BitNode, the `resetIndustryResearchTrees` reset all
industries to the _base_ research tree, leaving the product industries
without the `uPgrade` researches in the graph. So corporations started
in the next BitNode were unable to expand product capacity.

This fixes that reset function to use the correct product industry tree.
2022-02-04 19:40:49 -06:00
phyzical
105ea19eae add the industry name to assist with debugging when error occurs 2022-02-04 17:46:08 +08:00
phyzical
608cc089b2 Added a check for exisiting industry type before expanding 2022-02-04 17:34:16 +08:00
Justin Wade
0e4affdf0e fix typo in FactionInfo.tsx 2022-02-03 22:31:39 -05:00
Thomas B
c6573fb19d
Reset Location Upon Reset 2022-02-03 08:50:08 -05:00
Logan H Koch
977a6795da
Update recommendedbitnodeorder.rst
Correct wording on source file leveling for Singularity Functions
2022-02-01 19:41:12 -07:00
zeddrak
bfaecc644d
startMoney check should be >= moneyMax, not ==
Just realized that I checked for exactly equal (as would be likely when operating internally), but really, it should treat anything greater than or equal to as a zero growth scenario (just better protection from a wider range of potential issues)
2022-02-01 14:34:27 -08:00
Nathan Solomon
df30a45388
Fixing Broken Error Message 2022-02-01 15:45:50 -06:00
Alexander Lichter
5564f82b44 fix typo 2022-02-01 12:43:14 +01:00
tigercat2000
f0557eadf7
Terminal: There is now an interface definition for the autocomplete() 'data' argument. 2022-01-31 20:47:15 -08:00
zeddrak
5cc7a6a0a2
added numCycleForGrowthByMultiplier (ie old growthAnalyze parameters)
implemented numCycleForGrowthByMultiplier (fully compatible with old growthAnalyze - though still slightly wrong, it does so in a way that could be seen as beneficial and is compatible with existing scripts)
Also some fixes to numCycleForGrowthByHackAmt (wrong parameter order)
2022-01-31 20:41:42 -08:00
zeddrak
76cc1532a7
Added note to numCycleForGrowthByHackAmt
* NOTE: the prehackMoney parameter can be removed and server.moneyMax used in its place. The return value would then give a thread count
 * that would slowly grow the server more than it is hacked until reaching moneyMax where it would return the correct number of threads.
2022-01-31 20:15:55 -08:00
zeddrak
63e833317b
more otpys
fuinction => function
2022-01-31 20:06:13 -08:00
zeddrak
94bcd0484a
Small comment change
had an "a the" and the point was redundant, so removed it
2022-01-31 20:04:39 -08:00
zeddrak
28a32ed3a0
Ytpo fix
Missed one
2022-01-31 19:56:02 -08:00
zeddrak
7bb3a8169e
Comment Ytop fixes
Sigh, my fingers are soo old and don't work right any more... :)
Thanks for the info.
2022-01-31 19:54:38 -08:00
Brian Leip
1a414358cc Fixed issue-2377: No passive reputation gain on BN6, BN7 2022-01-31 15:21:01 -08:00
Phil
378f67097c Amending NetscriptDefinitions 2022-01-31 18:15:13 +00:00
David Thompson
37bf1aac81
QoI: Increase HacknetNodeElem name colSpan
Spanning {node.name} across all three table columns in the Hacknet Node UI uses a bit less screen real estate, so that on larger font sizes you don't end up with e.g. "hacknet- " on one line and "node-11" on the next.
2022-01-31 21:46:47 +13:00
qcorradi
b09b7fa346 numCycleForGrowth using Newton-Raphson's method 2022-01-31 00:22:59 +01:00
Chris Rabe
3e61780fad fix: fixed hackAnalyzeThreads returning infinity 2022-01-31 08:14:10 +10:00
nickofolas
21e27dfab6 Save data sanitization
- Run in `Editor.beforeMount`, as well as when the
options modal is closed
- Recursively validates all token colors and
replaces them with bright red if they're invalid
2022-01-30 10:38:58 -06:00
Phil
af43e63415 Blanking Prompt value on close 2022-01-30 14:21:46 +00:00
Phil
08d0b4cbae Adding support for text/select options in Prompt command 2022-01-30 14:06:18 +00:00
phyzical
f2ba3e0ac7 gang member current task disconnect fix
* Added check to manually update interal state of dropdown on change of a members task via api
2022-01-30 18:33:04 +08:00
nickofolas
dd77deca7b Add Paper styling to modal 2022-01-29 23:54:36 -06:00
nickofolas
e800886d42 Tie up loose ends
- Ensure that customTheme is redefined whenever the options modal
is closed, regardless of saved or not
- Reset the pending value for the theme editor whenever modal is clsoed
2022-01-29 23:44:31 -06:00
nickofolas
0d700bd252 Change global theme import rows to 10 and format 2022-01-29 23:19:58 -06:00
nickofolas
7ad0c53234 Update label for common.accent 2022-01-29 23:19:24 -06:00
nickofolas
83e5b46f3e Implement Monaco theme editor 2022-01-29 23:17:57 -06:00
nickofolas
5a476178fa Add types token 2022-01-29 23:11:21 -06:00
nickofolas
4ba6926e01 Theme attribute cleanup 2022-01-29 22:39:13 -06:00
nickofolas
20d3115e4a Framework for custom theme 2022-01-29 19:27:49 -06:00
smolgumball
3431997315 fix: electron windowTracker error when reloading and killing scripts 2022-01-29 17:58:09 -07:00
smolgumball
0f43b02685 Add Zoom -> Reset Zoom command 2022-01-29 17:24:57 -07:00
SagePtr
db5476ebd0 Add user-friendly invalid argument number message to purchaseServer 2022-01-30 00:04:45 +02:00
SagePtr
4483c2bbce Add hasOwnProperty check to GetServer 2022-01-29 23:30:13 +02:00
Sage Pointer
ac054b0065
Fix ps documentation 2022-01-29 22:20:27 +02:00
SagePtr
622ba0a2bd Better readable production equation 2022-01-29 20:59:18 +02:00
SagePtr
f22f0ed50a Hide irrelevant divisions in Export modal 2022-01-29 20:02:07 +02:00
smolgumball
d3ac29609d Merge branch 'dev' into add-ns-getRecentScripts 2022-01-29 10:11:55 -07:00
SagePtr
a5f82e96ed Don't hide irrelevant materials if their stock is not empty 2022-01-29 18:58:21 +02:00
hydroflame
9ddb1c4379
Merge pull request #2863 from SagePtr/can-run-scripts
Show "Can run scripts" to "NO" for zero-RAM servers in "analyze" command
2022-01-29 11:27:05 -05:00
SagePtr
40f2d16f44 Show "Can run scripts" to "NO" for zero-RAM servers in "analyze" command 2022-01-29 18:10:59 +02:00
zeddrak
ecdde9c96c
learning ts
forgot a return type, all better now, we hope....
2022-01-28 15:34:39 -08:00
zeddrak
1b81aa2533
moar fixes
just tidying up some more parameters left over from copy/paste
2022-01-28 15:30:28 -08:00
zeddrak
f8c4d07cc2
quick fix
forgot to remove a line used for notes
2022-01-28 15:25:03 -08:00
zeddrak
9af0ed7dba
(WIP) intermediate save 2
Have all the functions in, but need to setup the repercussions.
2022-01-28 15:21:05 -08:00
zeddrak
744cecb058
minor fix
Better to leave off with a commit that at least passes checks ;)
2022-01-28 13:45:12 -08:00
zeddrak
3401f7d0d0
(WIP) Incremental save
Just saving my progress so far before pressing on after lunch.
2022-01-28 13:36:28 -08:00