mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-25 07:32:27 +01:00
Corpo Typo Fixes
This commit is contained in:
parent
b1d1de9118
commit
0edd4ffdf1
@ -104,7 +104,7 @@ export function ResearchModal(props: IProps): React.ReactElement {
|
|||||||
<Modal open={props.open} onClose={props.onClose}>
|
<Modal open={props.open} onClose={props.onClose}>
|
||||||
<Upgrade division={props.industry} n={researchTree.root} />
|
<Upgrade division={props.industry} n={researchTree.root} />
|
||||||
<Typography>
|
<Typography>
|
||||||
Research points: {props.industry.sciResearch.qty}
|
Research points: {props.industry.sciResearch.qty.toFixed(3)}
|
||||||
<br />
|
<br />
|
||||||
Multipliers from research:
|
Multipliers from research:
|
||||||
<br />* Advertising Multiplier: x{researchTree.getAdvertisingMultiplier()}
|
<br />* Advertising Multiplier: x{researchTree.getAdvertisingMultiplier()}
|
||||||
|
@ -9,7 +9,7 @@ import { ICorporation } from "../ICorporation";
|
|||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
import TextField from "@mui/material/TextField";
|
import TextField from "@mui/material/TextField";
|
||||||
import Button from "@mui/material/Button";
|
import Button from "@mui/material/Button";
|
||||||
|
import { Money } from "../../ui/React/Money";
|
||||||
interface IProps {
|
interface IProps {
|
||||||
open: boolean;
|
open: boolean;
|
||||||
onClose: () => void;
|
onClose: () => void;
|
||||||
@ -72,11 +72,12 @@ export function SellSharesModal(props: IProps): React.ReactElement {
|
|||||||
player.gainMoney(profit);
|
player.gainMoney(profit);
|
||||||
player.recordMoneySource(profit, "corporation");
|
player.recordMoneySource(profit, "corporation");
|
||||||
props.onClose();
|
props.onClose();
|
||||||
dialogBoxCreate(
|
dialogBoxCreate(
|
||||||
`Sold {numeralWrapper.formatMoney(shares)} shares for ` +
|
<>
|
||||||
`${numeralWrapper.formatMoney(profit)}. ` +
|
Sold {numeralWrapper.formatMoney(shares)} shares for
|
||||||
`The corporation's stock price fell to ${numeralWrapper.formatMoney(corp.sharePrice)} ` +
|
<Money money={profit} />. The corporation's stock price fell to <Money money={corp.sharePrice} />
|
||||||
`as a result of dilution.`,
|
as a result of dilution.
|
||||||
|
</>,
|
||||||
);
|
);
|
||||||
|
|
||||||
props.rerender();
|
props.rerender();
|
||||||
|
Loading…
Reference in New Issue
Block a user