mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
Compare commits
1 Commits
c21d1f44b2
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45bce6e45e |
@@ -4,19 +4,10 @@ import { AchievementList } from "./AchievementList";
|
||||
import { achievements } from "./Achievements";
|
||||
import { Box, Typography } from "@mui/material";
|
||||
import { Player } from "@player";
|
||||
import { makeStyles } from "tss-react/mui";
|
||||
|
||||
const useStyles = makeStyles()({
|
||||
root: {
|
||||
width: 50,
|
||||
userSelect: "none",
|
||||
},
|
||||
});
|
||||
|
||||
export function AchievementsRoot(): JSX.Element {
|
||||
const { classes } = useStyles();
|
||||
return (
|
||||
<div className={classes.root} style={{ width: "100%" }}>
|
||||
<div style={{ width: "100%" }}>
|
||||
<Typography variant="h4">Achievements</Typography>
|
||||
<Box mx={2}>
|
||||
<Typography>
|
||||
|
||||
@@ -157,7 +157,7 @@ const Engine = {
|
||||
messages: 150,
|
||||
mechanicProcess: 5, // Process Bladeburner
|
||||
contractGeneration: 3000, // Generate Coding Contracts
|
||||
achievementsCounter: 60, // Check if we have new achievements
|
||||
achievementsCounter: 5, // Check if we have new achievements
|
||||
},
|
||||
|
||||
decrementAllCounters: function (numCycles = 1) {
|
||||
@@ -215,7 +215,7 @@ const Engine = {
|
||||
|
||||
if (Engine.Counters.achievementsCounter <= 0) {
|
||||
calculateAchievements();
|
||||
Engine.Counters.achievementsCounter = 300;
|
||||
Engine.Counters.achievementsCounter = 5;
|
||||
}
|
||||
|
||||
// This **MUST** remain the last block in the function!
|
||||
|
||||
Reference in New Issue
Block a user