mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
Avoid use of any in CONSTANTS.ts
This commit is contained in:
parent
e1c29f25e2
commit
1241cc5128
119
src/Constants.ts
119
src/Constants.ts
@ -5,7 +5,124 @@
|
||||
*/
|
||||
import { IMap } from "./types";
|
||||
|
||||
export const CONSTANTS: IMap<any> = {
|
||||
export const CONSTANTS: {
|
||||
Version: string;
|
||||
_idleSpeed: number;
|
||||
MaxSkillLevel: number;
|
||||
MilliPerCycle: number;
|
||||
CorpFactionRepRequirement: number;
|
||||
BaseCostFor1GBOfRamHome: number;
|
||||
BaseCostFor1GBOfRamServer: number;
|
||||
TravelCost: number;
|
||||
BaseFavorToDonate: number;
|
||||
DonateMoneyToRepDivisor: number;
|
||||
FactionReputationToFavorBase: number;
|
||||
FactionReputationToFavorMult: number;
|
||||
CompanyReputationToFavorBase: number;
|
||||
CompanyReputationToFavorMult: number;
|
||||
NeuroFluxGovernorLevelMult: number;
|
||||
NumNetscriptPorts: number;
|
||||
HomeComputerMaxRam: number;
|
||||
ServerBaseGrowthRate: number;
|
||||
ServerMaxGrowthRate: number;
|
||||
ServerFortifyAmount: number;
|
||||
ServerWeakenAmount: number;
|
||||
PurchasedServerLimit: number;
|
||||
PurchasedServerMaxRam: number;
|
||||
MultipleAugMultiplier: number;
|
||||
TorRouterCost: number;
|
||||
InfiltrationBribeBaseAmount: number;
|
||||
InfiltrationMoneyValue: number;
|
||||
InfiltrationRepValue: number;
|
||||
InfiltrationExpPow: number;
|
||||
WSEAccountCost: number;
|
||||
TIXAPICost: number;
|
||||
MarketData4SCost: number;
|
||||
MarketDataTixApi4SCost: number;
|
||||
StockMarketCommission: number;
|
||||
HospitalCostPerHp: number;
|
||||
IntelligenceCrimeWeight: number;
|
||||
IntelligenceInfiltrationWeight: number;
|
||||
IntelligenceCrimeBaseExpGain: number;
|
||||
IntelligenceProgramBaseExpGain: number;
|
||||
IntelligenceTerminalHackBaseExpGain: number;
|
||||
IntelligenceSingFnBaseExpGain: number;
|
||||
IntelligenceClassBaseExpGain: number;
|
||||
IntelligenceHackingMissionBaseExpGain: number;
|
||||
HackingMissionRepToDiffConversion: number;
|
||||
HackingMissionRepToRewardConversion: number;
|
||||
HackingMissionSpamTimeIncrease: number;
|
||||
HackingMissionTransferAttackIncrease: number;
|
||||
HackingMissionMiscDefenseIncrease: number;
|
||||
HackingMissionDifficultyToHacking: number;
|
||||
HackingMissionHowToPlay: string;
|
||||
MillisecondsPer20Hours: number;
|
||||
GameCyclesPer20Hours: number;
|
||||
MillisecondsPer10Hours: number;
|
||||
GameCyclesPer10Hours: number;
|
||||
MillisecondsPer8Hours: number;
|
||||
GameCyclesPer8Hours: number;
|
||||
MillisecondsPer4Hours: number;
|
||||
GameCyclesPer4Hours: number;
|
||||
MillisecondsPer2Hours: number;
|
||||
GameCyclesPer2Hours: number;
|
||||
MillisecondsPerHour: number;
|
||||
GameCyclesPerHour: number;
|
||||
MillisecondsPerHalfHour: number;
|
||||
GameCyclesPerHalfHour: number;
|
||||
MillisecondsPerQuarterHour: number;
|
||||
GameCyclesPerQuarterHour: number;
|
||||
MillisecondsPerFiveMinutes: number;
|
||||
GameCyclesPerFiveMinutes: number;
|
||||
FactionWorkHacking: string;
|
||||
FactionWorkField: string;
|
||||
FactionWorkSecurity: string;
|
||||
WorkTypeCompany: string;
|
||||
WorkTypeCompanyPartTime: string;
|
||||
WorkTypeFaction: string;
|
||||
WorkTypeCreateProgram: string;
|
||||
WorkTypeStudyClass: string;
|
||||
WorkTypeCrime: string;
|
||||
ClassStudyComputerScience: string;
|
||||
ClassDataStructures: string;
|
||||
ClassNetworks: string;
|
||||
ClassAlgorithms: string;
|
||||
ClassManagement: string;
|
||||
ClassLeadership: string;
|
||||
ClassGymStrength: string;
|
||||
ClassGymDefense: string;
|
||||
ClassGymDexterity: string;
|
||||
ClassGymAgility: string;
|
||||
ClassDataStructuresBaseCost: number;
|
||||
ClassNetworksBaseCost: number;
|
||||
ClassAlgorithmsBaseCost: number;
|
||||
ClassManagementBaseCost: number;
|
||||
ClassLeadershipBaseCost: number;
|
||||
ClassGymBaseCost: number;
|
||||
ClassStudyComputerScienceBaseExp: number;
|
||||
ClassDataStructuresBaseExp: number;
|
||||
ClassNetworksBaseExp: number;
|
||||
ClassAlgorithmsBaseExp: number;
|
||||
ClassManagementBaseExp: number;
|
||||
ClassLeadershipBaseExp: number;
|
||||
CrimeShoplift: string;
|
||||
CrimeRobStore: string;
|
||||
CrimeMug: string;
|
||||
CrimeLarceny: string;
|
||||
CrimeDrugs: string;
|
||||
CrimeBondForgery: string;
|
||||
CrimeTraffickArms: string;
|
||||
CrimeHomicide: string;
|
||||
CrimeGrandTheftAuto: string;
|
||||
CrimeKidnap: string;
|
||||
CrimeAssassination: string;
|
||||
CrimeHeist: string;
|
||||
CodingContractBaseFactionRepGain: number;
|
||||
CodingContractBaseCompanyRepGain: number;
|
||||
CodingContractBaseMoneyGain: number;
|
||||
TotalNumBitNodes: number;
|
||||
LatestUpdate: string;
|
||||
} = {
|
||||
Version: "0.52.9",
|
||||
|
||||
// Speed (in ms) at which the main loop is updated
|
||||
|
Loading…
Reference in New Issue
Block a user