Commit Graph

34 Commits

Author SHA1 Message Date
Olivier Gagnon d745150c45 all the lints 2021-05-01 03:17:31 -04:00
hydroflame 52a80ad236 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>
2021-04-28 20:07:26 -04:00
danielyxie 6ae7b0136c Minor bugfixes for a variety of NS functions. After infiltration, UI returns to corp page rather than city page 2019-07-15 21:40:43 -07:00
danielyxie 215cf59e0b Fixed comment styling for all top-level src files 2019-04-14 02:07:29 -07:00
danielyxie 0d14cd6e7e Improved module import styling for all top-level src files 2019-04-14 02:07:29 -07:00
danielyxie c4cb7daac5 Initial v0.46.0 changes - Fixed BN9 bugs. Rebalanced BN11 and Corporations. Added memory to Dup sleeves. Various bug fixes 2019-03-27 01:36:14 -07:00
Olivier Gagnon 2ce4af2498 infiltration now scale exp gained by some factor to prevent some abuse 2019-03-24 20:09:39 -07:00
danielyxie 6d8d25e0bb Refactored Augmentation implementation to Typescript, and to have the multiplier information in the actrual Augmentation object 2019-01-15 05:11:14 -08:00
Steven Evans a681fc5577 [chore] Disabling a couple ESLint violations
These should really be refactored and fixed, but the end-to-end testing
will take a bit more effort. It can be tackled later.
2018-09-10 10:59:07 -04:00
Mat Jaworski f721e21622 More minor font colour and Infiltration details updates 2018-09-07 00:15:36 +10:00
Mat Jaworski 0b0a3d366c More UI updates
- infiltration: added colours, updated spacing and fixed alignment
- terminal prompt: added colour for the previous lines as well
- Active Scripts and Hacknet Nodes: money values have a gold colour now; minor spacing updates
- minor code refactoring
2018-09-03 22:10:00 +10:00
Steven Evans edcfe71eed [refactor] Moving BitNodeMultipliers to its own file to break cyclical
module references.
2018-08-02 14:33:08 -04:00
Steven Evans 8016321bfb [refactor] Moved 'clearEventListeners' to its own TS file 2018-07-08 21:18:10 -04:00
Steven Evans be9891d93b [refactor] Moved 'getRandomInt' to its own TS file 2018-07-08 20:17:49 -04:00
danielyxie fde2b8cbc1 Infiltration can no longer be done programmatically. HP is reset when prestiging 2018-07-07 19:16:58 -05:00
danielyxie 393ce096fd Finishing Infiltration returns to company page. Infiltration remembers selected faction 2018-06-27 22:34:57 -05:00
Olivier Gagnon 6bdf946790 remove all .js from all appplicable imports 2018-06-26 12:34:11 -04:00
danielyxie 89ecb15b6f Merge pull request #324 from hydroflame/hydroflame-convert-ts
first conversion
2018-06-25 20:02:40 -05:00
danielyxie 8c8574878c Rebalanced infiltration by making base difficulty lower, slightly decreasing the difficulty gain, and increasing money/exp rewards 2018-06-24 21:50:03 -05:00
Olivier Gagnon 53ddfbc9ec first conversion 2018-06-22 17:30:24 -04:00
danielyxie 521b81aec0 v0.35.2 2018-03-26 19:46:21 -05:00
danielyxie f33d81b1a5 v0.35.1 2018-03-12 14:39:04 -05:00
danielyxie 9e5db4b644 Merged conflicts. Fixed several minor bugs. Increased infiltration exp. TIX api functions return transaction value rather than boolean. Hacking Mission changes for v0.34.0 2017-12-02 22:19:49 -06:00
danielyxie 4dc87af132 v0.32.0 - Added BitNode-8: Ghost of Wall Street 2017-10-25 14:47:47 -05:00
danielyxie 246acf5966 Game now uses indexedDb. Added new Bond Forgery crime. Added commitCrime() and getStats() Singularity functions. Removed getIntelligence(). Balance changes to crime/infiltration 2017-10-11 21:00:22 -05:00
danielyxie 0927c4251e v0.29.3 Changed - Bug fixes for new player-defined Netscript functions. Rebalancing/bug fixes for Infiltration and Hacking Mission. Added function name autocompletion in Script Editor 2017-10-03 20:50:13 -05:00
danielyxie e3991b8795 v0.28.6 changes 2017-09-15 09:06:59 -05:00
danielyxie 7a05d3585a All 0.28.0 Changes - Bitnodes 4 and 11 and webpack migration 2017-08-30 12:44:29 -05:00
danielyxie 3db6d9d007 0.27.0 2nd Tier Prestige + Gangs 2017-08-13 00:01:33 -05:00
danielyxie 4a99c04772 Refactored Server() to take old init args in constructor. Removed Server.init(). Faction reputation is now exponential. Increased infiltration exp gains. DOM now loads before scripts 2017-08-02 23:21:15 -05:00
danielyxie ddca05f4c5 Balancing. Buffed crimes, infiltration, jobs, nerfed hacking 2017-08-01 14:03:45 -05:00
danielyxie 53d514d28e Decimal.js support for player's money. Buffed early game servers. 2017-07-29 11:25:40 -05:00
danielyxie e653b7b315 All v0.26.0 changes 2017-07-21 17:54:55 -05:00
Daniel Xie 36e3a3b5d2 StockMarket and Infiltration implementations 2017-07-03 14:42:11 -05:00