mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 22:52:29 +01:00
Fixed bug where sleeves's exp didnt properly reset on prestige. Updated versions to v0.46.0. Added production build
This commit is contained in:
parent
804e4c23e3
commit
36499ae9f2
2
dist/engine.bundle.js
vendored
2
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
125
dist/engine.css
vendored
125
dist/engine.css
vendored
@ -486,6 +486,7 @@ button {
|
|||||||
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6); }
|
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6); }
|
||||||
|
|
||||||
.a-link-button-inactive,
|
.a-link-button-inactive,
|
||||||
|
.std-button-disabled,
|
||||||
.std-button:disabled {
|
.std-button:disabled {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
@ -501,11 +502,15 @@ button {
|
|||||||
.a-link-button-inactive:hover .tooltiptext,
|
.a-link-button-inactive:hover .tooltiptext,
|
||||||
.a-link-button-inactive:hover .tooltiptexthigh,
|
.a-link-button-inactive:hover .tooltiptexthigh,
|
||||||
.a-link-button-inactive:hover .tooltiptextleft,
|
.a-link-button-inactive:hover .tooltiptextleft,
|
||||||
|
.std-button-disabled:hover .tooltiptext,
|
||||||
|
.std-button-disabled:hover .tooltiptexthigh,
|
||||||
|
.std-button-disabled:hover .tooltiptextleft,
|
||||||
.std-button:disabled:hover .tooltiptext,
|
.std-button:disabled:hover .tooltiptext,
|
||||||
.std-button:disabled:hover .tooltiptexthigh,
|
.std-button:disabled:hover .tooltiptexthigh,
|
||||||
.std-button:disabled:hover .tooltiptextleft {
|
.std-button:disabled:hover .tooltiptextleft {
|
||||||
visibility: visible; }
|
visibility: visible; }
|
||||||
.a-link-button-inactive:active,
|
.a-link-button-inactive:active,
|
||||||
|
.std-button-disabled:active,
|
||||||
.std-button:disabled:active {
|
.std-button:disabled:active {
|
||||||
pointer-events: none; }
|
pointer-events: none; }
|
||||||
|
|
||||||
@ -671,7 +676,7 @@ button {
|
|||||||
/* COLORS */
|
/* COLORS */
|
||||||
/* Attributes */
|
/* Attributes */
|
||||||
/**
|
/**
|
||||||
* Styling for the Character Overview Panel (top-right)
|
* Styling for the Character Overview Panel (top-right panel)
|
||||||
*/
|
*/
|
||||||
#character-overview-wrapper {
|
#character-overview-wrapper {
|
||||||
position: relative; }
|
position: relative; }
|
||||||
@ -927,6 +932,64 @@ button {
|
|||||||
|
|
||||||
/* Specified overrides for Code mirror Editor are defined in codemirror-override.scss */
|
/* Specified overrides for Code mirror Editor are defined in codemirror-override.scss */
|
||||||
|
|
||||||
|
/* COLORS */
|
||||||
|
/* Attributes */
|
||||||
|
/**
|
||||||
|
* Styling for the Hacknet Nodes UI Page
|
||||||
|
*/
|
||||||
|
#hacknet-nodes-container {
|
||||||
|
position: fixed;
|
||||||
|
padding: 10px; }
|
||||||
|
|
||||||
|
.hacknet-general-info {
|
||||||
|
margin: 10px;
|
||||||
|
width: 70vw; }
|
||||||
|
|
||||||
|
#hacknet-nodes-container li {
|
||||||
|
float: left;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap; }
|
||||||
|
#hacknet-nodes-container li.hacknet-node {
|
||||||
|
-webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1), 0 0 16px rgba(0, 0, 0, 0.1);
|
||||||
|
-moz-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1), 0 0 16px rgba(0, 0, 0, 0.1);
|
||||||
|
box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1), 0 0 16px rgba(0, 0, 0, 0.1);
|
||||||
|
margin: 6px;
|
||||||
|
padding: 7px;
|
||||||
|
width: 35vw;
|
||||||
|
border: 2px solid var(--my-highlight-color); }
|
||||||
|
|
||||||
|
#hacknet-nodes-list {
|
||||||
|
list-style: none;
|
||||||
|
width: 82vw; }
|
||||||
|
|
||||||
|
#hacknet-nodes-money {
|
||||||
|
margin: 10px;
|
||||||
|
float: left; }
|
||||||
|
|
||||||
|
#hacknet-nodes-money-multipliers-div {
|
||||||
|
display: inline-block;
|
||||||
|
width: 70vw; }
|
||||||
|
|
||||||
|
#hacknet-nodes-multipliers {
|
||||||
|
float: right; }
|
||||||
|
|
||||||
|
#hacknet-nodes-purchase-button {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.hacknet-node-container {
|
||||||
|
display: inline-table; }
|
||||||
|
.hacknet-node-container .row {
|
||||||
|
display: table-row;
|
||||||
|
height: 30px; }
|
||||||
|
.hacknet-node-container .row p {
|
||||||
|
display: table-cell; }
|
||||||
|
.hacknet-node-container .upgradable-info {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0 4px;
|
||||||
|
/* Don't want the vertical margin/padding, just left & right */
|
||||||
|
padding: 0 4px;
|
||||||
|
width: 64px; }
|
||||||
|
|
||||||
/* COLORS */
|
/* COLORS */
|
||||||
/* Attributes */
|
/* Attributes */
|
||||||
/* CSS for different main menu pages, such as character info, script editor, etc (but excluding
|
/* CSS for different main menu pages, such as character info, script editor, etc (but excluding
|
||||||
@ -1044,64 +1107,6 @@ button {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
margin-left: 5%; }
|
margin-left: 5%; }
|
||||||
|
|
||||||
/* Hacknet Nodes */
|
|
||||||
#hacknet-nodes-container {
|
|
||||||
position: fixed;
|
|
||||||
padding: 10px; }
|
|
||||||
|
|
||||||
#hacknet-nodes-text,
|
|
||||||
#hacknet-nodes-container li {
|
|
||||||
margin: 10px;
|
|
||||||
padding: 10px; }
|
|
||||||
|
|
||||||
#hacknet-nodes-container li {
|
|
||||||
float: left;
|
|
||||||
overflow: hidden;
|
|
||||||
white-space: nowrap; }
|
|
||||||
#hacknet-nodes-container li.hacknet-node {
|
|
||||||
-webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1), 0 0 16px rgba(0, 0, 0, 0.1);
|
|
||||||
-moz-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1), 0 0 16px rgba(0, 0, 0, 0.1);
|
|
||||||
box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1), 0 0 16px rgba(0, 0, 0, 0.1);
|
|
||||||
margin: 6px;
|
|
||||||
padding: 7px;
|
|
||||||
width: 35vw;
|
|
||||||
border: 2px solid var(--my-highlight-color); }
|
|
||||||
|
|
||||||
#hacknet-nodes-list {
|
|
||||||
list-style: none;
|
|
||||||
width: 82vw; }
|
|
||||||
|
|
||||||
#hacknet-nodes-money {
|
|
||||||
margin: 10px;
|
|
||||||
float: left; }
|
|
||||||
|
|
||||||
#hacknet-nodes-money-multipliers-div {
|
|
||||||
display: inline-block;
|
|
||||||
width: 70vw; }
|
|
||||||
|
|
||||||
#hacknet-nodes-multipliers {
|
|
||||||
float: right; }
|
|
||||||
|
|
||||||
#hacknet-nodes-purchase-button {
|
|
||||||
display: inline-block; }
|
|
||||||
|
|
||||||
.hacknet-node-container {
|
|
||||||
display: inline-table; }
|
|
||||||
.hacknet-node-container .row {
|
|
||||||
display: table-row;
|
|
||||||
height: 30px; }
|
|
||||||
.hacknet-node-container .row p {
|
|
||||||
display: table-cell; }
|
|
||||||
.hacknet-node-container .upgradable-info {
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0 4px;
|
|
||||||
/* Don't want the vertical margin/padding, just left & right */
|
|
||||||
padding: 0 4px;
|
|
||||||
width: 64px; }
|
|
||||||
|
|
||||||
.menu-page-text {
|
|
||||||
width: 70vw; }
|
|
||||||
|
|
||||||
/* World */
|
/* World */
|
||||||
#world-container {
|
#world-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@ -1402,7 +1407,7 @@ button {
|
|||||||
/* Pop-up boxes */
|
/* Pop-up boxes */
|
||||||
.popup-box-container {
|
.popup-box-container {
|
||||||
display: none;
|
display: none;
|
||||||
/* Hidden by default */
|
/* Initially hidden */
|
||||||
position: fixed;
|
position: fixed;
|
||||||
/* Stay in place */
|
/* Stay in place */
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
130
dist/vendor.bundle.js
vendored
130
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -3,6 +3,24 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
v0.46.0 - 4/3/2019
|
||||||
|
------------------
|
||||||
|
* Added BitNode-9: Hacktocracy
|
||||||
|
* Changed BitNode-11's multipliers to make it slightly harder overall
|
||||||
|
* Source-File 11 is now slightly stronger
|
||||||
|
* Added several functions to Netscript Sleeve API for buying Sleeve augmentations (by hydroflame)
|
||||||
|
* Added a new stat for Duplicate Sleeves: Memory
|
||||||
|
* Increase baseline experience earned from Infiltration, but it now gives diminishing returns (on exp) as you get to higher difficulties/levels
|
||||||
|
* In Bladeburner, stamina gained from Hyperbolic Regeneration Chamber is now a percentage of your max stamina
|
||||||
|
|
||||||
|
* Corporation Changes:
|
||||||
|
* 'Demand' value of products decreases more slowly
|
||||||
|
* Bug Fix: Fixed a Corporation issue that broke the Market-TA2 Research
|
||||||
|
* Bug Fix: Issuing New Shares now works properly
|
||||||
|
|
||||||
|
* Bug Fix: Money Statistics tracker was incorrectly recording profits when selling stocks manually
|
||||||
|
* Bug Fix: Fixed an issue with the job requirement tooltip for security jobs
|
||||||
|
|
||||||
v0.45.1 - 3/23/2019
|
v0.45.1 - 3/23/2019
|
||||||
-------------------
|
-------------------
|
||||||
* Added two new Corporation Researches
|
* Added two new Corporation Researches
|
||||||
|
@ -64,9 +64,9 @@ documentation_title = '{0} Documentation'.format(project)
|
|||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '0.45'
|
version = '0.46'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '0.45.0'
|
release = '0.46.0'
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
30
index.html
30
index.html
@ -201,35 +201,7 @@
|
|||||||
|
|
||||||
<!-- Hacknet Nodes -->
|
<!-- Hacknet Nodes -->
|
||||||
<div id="hacknet-nodes-container" class="generic-menupage-container">
|
<div id="hacknet-nodes-container" class="generic-menupage-container">
|
||||||
<h1 id="hacknet-nodes-title"> Hacknet Nodes </h1>
|
<!-- React Component -->
|
||||||
<p id="hacknet-nodes-text" class="menu-page-text">
|
|
||||||
The Hacknet is a global, decentralized network of machines. It is used by hackers all around
|
|
||||||
the world to anonymously share computing power and perform distributed cyberattacks without the
|
|
||||||
fear of being traced.
|
|
||||||
<br/><br/>
|
|
||||||
Here, you can purchase a Hacknet Node, a specialized machine that can connect and contribute its
|
|
||||||
resources to the Hacknet network. This allows you to take a small percentage of profits
|
|
||||||
from hacks performed on the network. Essentially, you are renting out your Node's computing power.
|
|
||||||
<br/><br/>
|
|
||||||
Each Hacknet Node you purchase will passively earn you money. Each Hacknet Node can be upgraded
|
|
||||||
in order to increase its computing power and thereby increase the profit you earn from it.
|
|
||||||
</p>
|
|
||||||
<a id="hacknet-nodes-purchase-button" class="a-link-button"> Purchase Hacknet Node </a>
|
|
||||||
<br/>
|
|
||||||
<div id="hacknet-nodes-money-multipliers-div">
|
|
||||||
<p id="hacknet-nodes-money">
|
|
||||||
<span>Money:</span><span id="hacknet-nodes-player-money" class="money-gold"></span><br/>
|
|
||||||
<span>Total Hacknet Node Production:</span><span id="hacknet-nodes-total-production" class="money-gold"></span>
|
|
||||||
</p>
|
|
||||||
<span id="hacknet-nodes-multipliers">
|
|
||||||
<a id="hacknet-nodes-1x-multiplier" class="a-link-button-inactive"> x1 </a>
|
|
||||||
<a id="hacknet-nodes-5x-multiplier" class="a-link-button"> x5 </a>
|
|
||||||
<a id="hacknet-nodes-10x-multiplier" class="a-link-button"> x10 </a>
|
|
||||||
<a id="hacknet-nodes-max-multiplier" class="a-link-button"> MAX </a>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<ul id="hacknet-nodes-list">
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- World -->
|
<!-- World -->
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
import {IMap} from "./types";
|
import {IMap} from "./types";
|
||||||
|
|
||||||
export let CONSTANTS: IMap<any> = {
|
export let CONSTANTS: IMap<any> = {
|
||||||
Version: "0.45.1",
|
Version: "0.46.0",
|
||||||
|
|
||||||
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
||||||
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then
|
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then
|
||||||
|
@ -436,6 +436,12 @@ export class Sleeve extends Person {
|
|||||||
* Called on every sleeve for a Source File prestige
|
* Called on every sleeve for a Source File prestige
|
||||||
*/
|
*/
|
||||||
prestige(p: IPlayer) {
|
prestige(p: IPlayer) {
|
||||||
|
this.hacking_exp = 0;
|
||||||
|
this.strength_exp = 0;
|
||||||
|
this.defense_exp = 0;
|
||||||
|
this.dexterity_exp = 0;
|
||||||
|
this.agility_exp = 0;
|
||||||
|
this.charisma_exp = 0;
|
||||||
this.resetTaskStatus();
|
this.resetTaskStatus();
|
||||||
this.earningsForSleeves = createTaskTracker();
|
this.earningsForSleeves = createTaskTracker();
|
||||||
this.earningsForPlayer = createTaskTracker();
|
this.earningsForPlayer = createTaskTracker();
|
||||||
|
Loading…
Reference in New Issue
Block a user