This commit is contained in:
Olivier Gagnon 2021-12-03 16:09:13 -05:00
parent 564bc4502b
commit 647ccd6a7b
9 changed files with 134 additions and 67 deletions

20
dist/vendor.bundle.js vendored

File diff suppressed because one or more lines are too long

@ -3,6 +3,68 @@
Changelog
=========
v1.1.0 - 2021-12-03 BN13: They're Lunatics (hydroflame & community)
-------------------------------------------------------
** BN13: They're Lunatics **
* BN13 added.
** Steam **
* Tested on all 3 major OS.
* 94 achievements added
* Release is 2021-12-10.
** Netscript **
* tprintf crashes when not giving a format as first arg.
* tprintf no longer prints filename (@BartKoppelmans)
* TIX buy/sell/sellShort all return askprice/bidprice (@Insight)
* getRunningScript now works.
* Fix disableLog for gang and TIX API
* getOwnedSourceFiles is not singularity anymore (makes it easier to share scripts.) (@theit8514)
* true/false is a valid value to send to other scripts.
* workForFaction no longer returns null when trying to work for gang.
* Scripts logging no longer generates the string if logging is disabled.
This should give performance boost for some scripts.
** Gang **
* Gang with 0 territory can no longer fight
* Territory now caps at exactly 0 or 1.
** Misc. **
* Clicking "previous" on the browser will not pretend you had unsaved information
allowing you to cancel if needs be.
* Fixed some tail box coloring issue.
* Fixed BladeBurner getCityCommunities ram cost
* The download terminal command no longer duplicate extensions (@Insight)
* Fix #000 on #000 text in blackjack. (@Insight)
* Remove reference to .fconf
* Tail boxes all die on soft reset.
* Fix codign contract focus bug.
* Megacorp factions simply re-invite you instead of auto added on reset. (@theit8514)
* Tail window is bound to html body.
* Infiltration reward is tied to your potential stats, not your actual stats
So you won't lose reward for doing the same thing over and over.
* intelligence lowers program creation requirements.
* Terminal parses true as the boolean, not the string.
* Tail and kill autocomplete using the ns2 autocomplete feature.
* scan-analyze doesn't take up as many terminal entries.
* GangOtherInfo documentation now renders correctly.
* ActiveScripts search box also searches for script names.
* Infinite money no longer allows for infinite hacknet server.
* Blackjack doesn't make you lose money twice.
* Recent Scripts is now from most to least recent.
* Fix mathjax ascii art bug in NiteSec.
* Remove warning that the theme editor is slow, it's only slow in dev mode.
* In BN8 is it possible to reduce the money on a server without gaining any.
* In the options, the timestamp feature has a placeholder explaining the expected format.
* Bunch of doc typo fix. (hydroflame & @BartKoppelmans)
* nerf noodle bar
v1.0.2 - 2021-11-17 It's the little things (hydroflame)
-------------------------------------------------------

@ -64,9 +64,9 @@ documentation_title = '{0} Documentation'.format(project)
# built documents.
#
# The short X.Y version.
version = '1.0'
version = '1.1'
# The full version, including alpha/beta/rc tags.
release = '1.0.2'
release = '1.1.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,7 +1,7 @@
{
"name": "bitburner",
"license": "SEE LICENSE IN license.txt",
"version": "1.0.2",
"version": "1.1.0",
"main": "electron-main.js",
"author": {
"name": "Daniel Xie"

@ -31,10 +31,6 @@ export const CONSTANTS: {
PurchasedServerMaxRam: number;
MultipleAugMultiplier: number;
TorRouterCost: number;
InfiltrationBribeBaseAmount: number;
InfiltrationMoneyValue: number;
InfiltrationRepValue: number;
InfiltrationExpPow: number;
WSEAccountCost: number;
TIXAPICost: number;
MarketData4SCost: number;
@ -115,8 +111,8 @@ export const CONSTANTS: {
TotalNumBitNodes: number;
LatestUpdate: string;
} = {
VersionString: "1.0.2",
VersionNumber: 5,
VersionString: "1.1.0",
VersionNumber: 6,
// Speed (in ms) at which the main loop is updated
_idleSpeed: 200,
@ -169,12 +165,6 @@ export const CONSTANTS: {
// TOR Router
TorRouterCost: 200e3,
// Infiltration
InfiltrationBribeBaseAmount: 100e3, //Amount per clearance level
InfiltrationMoneyValue: 5e3, //Convert "secret" value to money
InfiltrationRepValue: 1.4, //Convert "secret" value to faction reputation
InfiltrationExpPow: 0.8,
// Stock market
WSEAccountCost: 200e6,
TIXAPICost: 5e9,
@ -283,19 +273,66 @@ export const CONSTANTS: {
TotalNumBitNodes: 24,
LatestUpdate: `
v1.0.2 - 2021-11-17 It's the little things (hydroflame)
v1.1.0 - 2021-12-03 BN13: They're Lunatics (hydroflame & community)
-------------------------------------------------------
** Breaking (very small I promise!) **
** BN13: They're Lunatics **
* BN13 added.
* buy / sell now return getAskPrice / getBidPrice instead of just price.
This should help solve some inconsistencies.
** Steam **
* Tested on all 3 major OS.
* 94 achievements added
* Release is 2021-12-10.
** Netscript **
* tprintf crashes when not giving a format as first arg.
* tprintf no longer prints filename (@BartKoppelmans)
* TIX buy/sell/sellShort all return askprice/bidprice (@Insight)
* getRunningScript now works.
* Fix disableLog for gang and TIX API
* getOwnedSourceFiles is not singularity anymore (makes it easier to share scripts.) (@theit8514)
* true/false is a valid value to send to other scripts.
* workForFaction no longer returns null when trying to work for gang.
* Scripts logging no longer generates the string if logging is disabled.
This should give performance boost for some scripts.
** Gang **
* Gang with 0 territory can no longer fight
* Territory now caps at exactly 0 or 1.
** Misc. **
* scripts logs are colorized. Start your log with SUCCESS, ERROR, FAIL, WARN, INFO.
* documentation for scp not say string | string[]
* Donation link updated.
* Clicking "previous" on the browser will not pretend you had unsaved information
allowing you to cancel if needs be.
* Fixed some tail box coloring issue.
* Fixed BladeBurner getCityCommunities ram cost
* The download terminal command no longer duplicate extensions (@Insight)
* Fix #000 on #000 text in blackjack. (@Insight)
* Remove reference to .fconf
* Tail boxes all die on soft reset.
* Fix codign contract focus bug.
* Megacorp factions simply re-invite you instead of auto added on reset. (@theit8514)
* Tail window is bound to html body.
* Infiltration reward is tied to your potential stats, not your actual stats
So you won't lose reward for doing the same thing over and over.
* intelligence lowers program creation requirements.
* Terminal parses true as the boolean, not the string.
* Tail and kill autocomplete using the ns2 autocomplete feature.
* scan-analyze doesn't take up as many terminal entries.
* GangOtherInfo documentation now renders correctly.
* ActiveScripts search box also searches for script names.
* Infinite money no longer allows for infinite hacknet server.
* Blackjack doesn't make you lose money twice.
* Recent Scripts is now from most to least recent.
* Fix mathjax ascii art bug in NiteSec.
* Remove warning that the theme editor is slow, it's only slow in dev mode.
* In BN8 is it possible to reduce the money on a server without gaining any.
* In the options, the timestamp feature has a placeholder explaining the expected format.
* Bunch of doc typo fix. (hydroflame & @BartKoppelmans)
* nerf noodle bar
`,
};

@ -1226,19 +1226,5 @@ export function NetscriptSingularity(
return Object.assign({}, crime);
},
isFocused: function (): boolean {
helper.updateDynamicRam("isFocused", getRamCost("isFocused"));
helper.checkSingularityAccess("isFocused", 2);
return player.focus;
},
setFocus: function (focus: any): void {
helper.updateDynamicRam("setFocus", getRamCost("setFocus"));
helper.checkSingularityAccess("setFocus", 2);
if (focus === true) {
player.startFocusing();
} else if (focus === false) {
player.stopFocusing();
}
},
};
}

@ -1940,24 +1940,6 @@ export interface Singularity {
* @returns True if the installation was successful.
*/
installBackdoor(): Promise<void>;
/**
* SF4.2 - Check if the player is focused.
* @remarks
* RAM cost: 0.1 GB
*
*
* @returns True if the player is focused.
*/
isFocused(): void;
/**
* SF4.2 - Set the players focus.
* @remarks
* RAM cost: 0.1 GB
*
*/
setFocus(focus: boolean): void;
}
/**