mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 21:07:04 +02:00
v0.51.6 (#905)
* Make command `cd` without arguments an alias for `cd /` (#853) In most shells `cd` without arguments takes you to the home directory of the current user. I keep trying to do this due to muscle memory from working in terminals, so I figured I'd make it do something useful. There is no home directory in the game, but going to / is the closest thing we have, since that is the starting point for the user in the game. * Add new `backdoor` terminal command (#852) * Add the backdoor command to the terminal This command will perform a manual hack without rewarding money. It will be used for the story, mainly for faction hacking tests * Add tab completion for backdoor command * Add help text for backdoor command * Change condition syntax to be more consistent with others * Extract reused code block so it is always called after actions * Update documentation for new backdoor command Modified references to manual hack as it isn't for factions anymore * Remove extra parenthesis * Rename manuallyHacked to backdoorInstalled * Fix typo * Change faction test messages to use backdoor instad of hack * Rename more instances of manuallyHacked * fixed typo in helptext of darkweb buy (#858) * Fix typos and unify descriptions of augmentations (#859) Made an attempt to... - give all "+rep% company/faction" the same text - make all augmentations with a single effect use a single line to describe the effect - make all effects end with a period * Made Cashroot starter kit display its tooltip with the money formatted properly and in gold * fix typo in docs (#860) * Initial code for Casino Card Deck implementation * Casino Blackjack Implementation * Update some tools (eslint, typescript) * Blackjack code cleanup * Update README_contribution * Update ScriptHelpers.js (#861) expand error message * More augmentation typo fixes (#862) * Add Netscript function getCurrentScript (#856) Add netscript function that returns the current script. * Added milestones menu to guide new players. (#865) Milestone menu * fix typos in milestones (#866) Co-authored-by: sschmidTU <s.schmid@phonicscore.com> * Corrupt location title when backdoor is installed (#864) * Add corruptableText component * Corrupt location title if backdoor is installed * Formatting * Add helper to check value of backdoorInstalled Helper could be oneline but it would make it less readable * Fix some formatting * Add settings option to disable text effects * Import useState * getRunningScript (#867) * Replaced getCurrentScript with getRunningScript * Bunch of smaller fixes (#904) Fix #884 Fix #879 Fix #878 Fix #876 Fix #874 Fix #873 Fix #887 Fix #891 Fix #895 * rework the early servers to be more noob friendly (#903) * v0.51.6 Co-authored-by: Andreas Eriksson <2691182+AndreasTPC@users.noreply.github.com> Co-authored-by: Jack <jackdewinter1@gmail.com> Co-authored-by: Teun Pronk <5228255+Crownie88@users.noreply.github.com> Co-authored-by: Pimvgd <Pimvgd@gmail.com> Co-authored-by: Daniel Xie <daniel.xie@flockfreight.com> Co-authored-by: Simon <33069673+sschmidTU@users.noreply.github.com> Co-authored-by: sschmidTU <s.schmid@phonicscore.com>
This commit is contained in:
@@ -31,6 +31,7 @@ import { clearObject } from "../../utils/helpers/clearObject";
|
||||
import { createElement } from "../../utils/uiHelpers/createElement";
|
||||
import { isString } from "../../utils/helpers/isString";
|
||||
import { removeChildrenFromElement } from "../../utils/uiHelpers/removeChildrenFromElement";
|
||||
import { Money } from "../ui/React/Money";
|
||||
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
@@ -177,7 +178,7 @@ function initAugmentations() {
|
||||
const CombatRib3 = new Augmentation({
|
||||
name:AugmentationNames.CombatRib3, repCost:14e3, moneyCost:24e6,
|
||||
info:"This is an upgrade to the Combat Rib II augmentation, and is capable of releasing even more potent combat-enhancing " +
|
||||
"drugs into the bloodstream<br><br>." +
|
||||
"drugs into the bloodstream.<br><br>" +
|
||||
"This augmentation increases the player's strength and defense by 18%.",
|
||||
prereqs:[AugmentationNames.CombatRib2],
|
||||
strength_mult: 1.18,
|
||||
@@ -880,9 +881,7 @@ function initAugmentations() {
|
||||
info:"The body is genetically re-engineered so that it produces the ADR-V1 pheromone, " +
|
||||
"an artificial pheromone discovered by scientists. The ADR-V1 pheromone, when excreted, " +
|
||||
"triggers feelings of admiration and approval in other people.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases the amount of reputation the player gains when working for a company by 10% <br>" +
|
||||
"Increases the amount of reputation the player gains for a faction by 10%.",
|
||||
"This augmentation increases the amount of reputation the player gains when working for a faction or company by 10%.",
|
||||
company_rep_mult: 1.1,
|
||||
faction_rep_mult: 1.1,
|
||||
});
|
||||
@@ -897,8 +896,7 @@ function initAugmentations() {
|
||||
info:"The body is genetically re-engineered so that it produces the ADR-V2 pheromone, " +
|
||||
"which is similar to but more potent than ADR-V1. This pheromone, when excreted, " +
|
||||
"triggers feelings of admiration, approval, and respect in others.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases the amount of reputation the player gains for a faction and company by 20%.",
|
||||
"This augmentation increases the amount of reputation the player gains when working for a faction or company by 20%.",
|
||||
company_rep_mult: 1.2,
|
||||
faction_rep_mult: 1.2,
|
||||
});
|
||||
@@ -915,8 +913,7 @@ function initAugmentations() {
|
||||
"criminal organizations and allows the user to project and control holographic " +
|
||||
"simulacrums within a large radius. These simulacrums are commonly used for " +
|
||||
"espionage and surveillance work.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases the amount of reputation the player gains when working for a faction or company by 15%.",
|
||||
"This augmentation increases the amount of reputation the player gains when working for a faction or company by 15%.",
|
||||
company_rep_mult: 1.15,
|
||||
faction_rep_mult: 1.15,
|
||||
});
|
||||
@@ -1152,7 +1149,7 @@ function initAugmentations() {
|
||||
"cells, when powered, have a negative refractive index. As a result, they bend light " +
|
||||
"around the skin, making the user much harder to see from the naked eye.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases the player's agility by 5% <br>" +
|
||||
"Increases the player's agility by 5%.<br>" +
|
||||
"Increases the amount of money the player gains from crimes by 10%.",
|
||||
agility_mult: 1.05,
|
||||
crime_money_mult: 1.1,
|
||||
@@ -1170,8 +1167,8 @@ function initAugmentations() {
|
||||
"cells, when powered, are capable of not only bending light but also of bending heat, " +
|
||||
"making the user more resilient as well as stealthy.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases the player's agility by 10% <br>" +
|
||||
"Increases the player's defense by 10% <br>" +
|
||||
"Increases the player's agility by 10%.<br>" +
|
||||
"Increases the player's defense by 10%.<br>" +
|
||||
"Increases the amount of money the player gains from crimes by 25%.",
|
||||
prereqs:[AugmentationNames.LuminCloaking1],
|
||||
agility_mult: 1.1,
|
||||
@@ -1372,7 +1369,7 @@ function initAugmentations() {
|
||||
name:AugmentationNames.Xanipher, repCost:350e3, moneyCost:850e6,
|
||||
info:"A concoction of advanced nanobots that is orally ingested into the " +
|
||||
"body. These nanobots induce physiological change and significantly " +
|
||||
"improve the body's functionining in all aspects.<br><br>" +
|
||||
"improve the body's functioning in all aspects.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases all of the player's stats by 20%.<br>" +
|
||||
"Increases the player's experience gain rate for all stats by 15%.",
|
||||
@@ -1554,12 +1551,12 @@ function initAugmentations() {
|
||||
// Sector12
|
||||
const CashRoot = new Augmentation({
|
||||
name:AugmentationNames.CashRoot, repCost:5e3, moneyCost:25e6,
|
||||
info:"A collection of digital assets saved on a small chip. The chip is implanted " +
|
||||
"into your wrist. A small jack in the chip allows you to connect it to a computer " +
|
||||
"and upload the assets.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Lets the player start with $1,000,000 after a reset.<br>" +
|
||||
"Lets the player start with the BruteSSH.exe program after a reset."
|
||||
info:<>A collection of digital assets saved on a small chip. The chip is implanted
|
||||
into your wrist. A small jack in the chip allows you to connect it to a computer
|
||||
and upload the assets.<br /><br />
|
||||
This augmentation:<br />
|
||||
Lets the player start with {Money(1e6)} after a reset.<br />
|
||||
Lets the player start with the BruteSSH.exe program after a reset.</>
|
||||
});
|
||||
CashRoot.addToFactions(["Sector-12"]);
|
||||
if (augmentationExists(AugmentationNames.CashRoot)) {
|
||||
@@ -1574,8 +1571,7 @@ function initAugmentations() {
|
||||
"synthesizes glucose, amino acids, and vitamins and redistributes them " +
|
||||
"across the body. The device is powered by the body's naturally wasted " +
|
||||
"energy in the form of heat.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases the player's experience gain rate for all combat stats by 20%.",
|
||||
"This augmentation increases the player's experience gain rate for all combat stats by 20%.",
|
||||
strength_exp_mult: 1.2,
|
||||
defense_exp_mult: 1.2,
|
||||
dexterity_exp_mult: 1.2,
|
||||
@@ -1785,8 +1781,7 @@ function initAugmentations() {
|
||||
"nature of the plasma disrupts the electrical systems of Augmentations. However, " +
|
||||
"it can also be effective against non-augmented enemies due to its high temperature " +
|
||||
"and concussive force.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases the player's success chance in Bladeburner contracts/operations by 6%.",
|
||||
"This augmentation increases the player's success chance in Bladeburner contracts/operations by 6%.",
|
||||
bladeburner_success_chance_mult: 1.06,
|
||||
isSpecial: true,
|
||||
});
|
||||
@@ -1799,8 +1794,7 @@ function initAugmentations() {
|
||||
"is more advanced and powerful than the original V1 model. This V2 model is " +
|
||||
"more power-efficiency, more accurate, and can fire plasma bolts at a much " +
|
||||
"higher velocity than the V1 model.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases the player's success chance in Bladeburner contracts/operations by 8%.",
|
||||
"This augmentation increases the player's success chance in Bladeburner contracts/operations by 8%.",
|
||||
prereqs:[AugmentationNames.HyperionV1],
|
||||
bladeburner_success_chance_mult: 1.08,
|
||||
isSpecial: true,
|
||||
@@ -1958,8 +1952,7 @@ function initAugmentations() {
|
||||
info:"Upgrades the BLADE-51b Tesla Armor with a concentrated deuterium-fluoride laser " +
|
||||
"weapon. It's precision an accuracy makes it useful for quickly neutralizing " +
|
||||
"threats while keeping casualties to a minimum.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases the player's success chance in Bladeburner contracts/operations by 8%.",
|
||||
"This augmentation increases the player's success chance in Bladeburner contracts/operations by 8%.",
|
||||
prereqs:[AugmentationNames.BladeArmor],
|
||||
bladeburner_success_chance_mult: 1.08,
|
||||
isSpecial: true,
|
||||
@@ -1973,8 +1966,7 @@ function initAugmentations() {
|
||||
"multiple-fiber system. The upgraded weapon uses multiple fiber laser " +
|
||||
"modules that combine together to form a single, more powerful beam of up to " +
|
||||
"2000MW.<br><br>" +
|
||||
"This augmentation:<br>" +
|
||||
"Increases the player's success chance in Bladeburner contracts/operations by 10%.",
|
||||
"This augmentation increases the player's success chance in Bladeburner contracts/operations by 10%.",
|
||||
prereqs:[AugmentationNames.BladeArmorUnibeam],
|
||||
bladeburner_success_chance_mult: 1.1,
|
||||
isSpecial: true,
|
||||
|
||||
Reference in New Issue
Block a user