b1t_flume.exe program can now be created instantly (reqd hacking level is 1 instead of 5). Fixed some linting errors

This commit is contained in:
danielyxie 2018-08-29 15:25:01 -05:00
parent aa18420e0c
commit 63cd269d5e
5 changed files with 15 additions and 13 deletions

@ -15,7 +15,7 @@
padding: 10px;
border: 5px solid #fff;
width: 23%;
overflow:hidden;
overflow: hidden;
background-color: #444; /* Fallback color */
color: #fff;
@ -64,9 +64,9 @@
}
*/
#interactive-tutorial-exit {
position:absolute;
position: absolute;
bottom: 0;
left:0;
left: 0;
}
#interactive-tutorial-back {

@ -579,7 +579,6 @@ a:visited {
&.active:after {
content: "\2796"; /* "minus" sign (-) */
}
}
.accordion-panel {

@ -83,9 +83,9 @@ const Programs = {
time: CONSTANTS.MillisecondsPerQuarterHour,
}),
BitFlume: new Program("b1t_flum3.exe", {
level: 5,
level: 1,
tooltip:"This program creates a portal to the BitNode Nexus (allows you to restart and switch BitNodes)",
req: function() {return Player.sourceFiles.length > 0 && Player.hacking_skill >= 5},
req: function() {return Player.sourceFiles.length > 0 && Player.hacking_skill >= 1},
time: CONSTANTS.MillisecondsPerFiveMinutes / 5,
}),
// special because you can't create it.

@ -39,6 +39,11 @@ interface IDefaultSettings {
*/
SuppressFactionInvites: boolean;
/**
* Whether to show a popup message when player is hospitalized from taking too much damage
*/
SuppressHospitalizationPopup: boolean;
/**
* Whether the user should be shown a dialog box whenever they receive a new message file.
*/
@ -48,11 +53,6 @@ interface IDefaultSettings {
* Whether the user should be asked to confirm travelling between cities.
*/
SuppressTravelConfirmation: boolean;
/**
* Whether to show a popup message when player is hospitalized from taking too much damage
*/
SuppressHospitalizationPopup: boolean;
}
/**
@ -95,9 +95,9 @@ const defaultSettings: IDefaultSettings = {
MaxPortCapacity: 50,
SuppressBuyAugmentationConfirmation: false,
SuppressFactionInvites: false,
SuppressHospitalizationPopup: false,
SuppressMessages: false,
SuppressTravelConfirmation: false,
SuppressHospitalizationPopup: false,
};
/**
@ -114,9 +114,9 @@ export const Settings: ISettings & ISelfInitializer & ISelfLoading = {
MaxPortCapacity: defaultSettings.MaxPortCapacity,
SuppressBuyAugmentationConfirmation: defaultSettings.SuppressBuyAugmentationConfirmation,
SuppressFactionInvites: defaultSettings.SuppressFactionInvites,
SuppressHospitalizationPopup: defaultSettings.SuppressHospitalizationPopup,
SuppressMessages: defaultSettings.SuppressMessages,
SuppressTravelConfirmation: defaultSettings.SuppressTravelConfirmation,
SuppressHospitalizationPopup: defaultSettings.SuppressHospitalizationPopup,
ThemeBackgroundColor: "#000000",
ThemeFontColor: "#66ff33",
ThemeHighlightColor: "#ffffff",

@ -1,3 +1,6 @@
/**
* Returns a MM/DD HH:MM timestamp for the current time
*/
export function getTimestamp() {
const d: Date = new Date();
// A negative slice value takes from the end of the string rather than the beginning.