Commit Graph

226 Commits

Author SHA1 Message Date
nickofolas 7d75093989 Init work types with new None member 2022-05-04 15:03:02 -05:00
nickofolas 59982370cb Implement CrimeType enum 2022-05-04 14:48:49 -05:00
nickofolas f45200b25e Implement ClassType and FactionWorkType enums 2022-05-04 14:18:12 -05:00
nickofolas 4a8e99b170 Refactor WorkType to an enum 2022-05-04 13:42:48 -05:00
hydroflame 44641fee07 Merge pull request #3544 from phyzical/feature/refactor-augmentation
REFACTOR:  augmentation cost, rep cost and level to be calculated in place
2022-05-04 12:08:24 -04:00
hydroflame fc3d89e51f Merge pull request #3552 from Snarling/jobSwitchFix
COMPANY: Fix #3551 Applying for a new  job will not change active employer if player is performing company work
2022-05-04 12:08:03 -04:00
hydroflame 5d4241b120 Merge pull request #3568 from nickofolas/fix/grafting-stop-work
GRAFTING: Fix Grafting not being handled in singularity stop work
2022-05-04 12:02:29 -04:00
hydroflame bffa166fc3 Merge pull request #3577 from phyzical/feature/WEB-3567
FEATURE: added logic to allow quitJob to be called from singularity
2022-05-04 11:57:39 -04:00
phyzical 0767043166 added logic to avoid stale object reference on sleeve during augmentation 2022-05-03 19:22:05 +08:00
phyzical 711955c112 added logic to allow quitJob to be called from singularity 2022-04-28 19:05:56 +08:00
phyzical af8284381c merge base 2022-04-27 19:00:42 +08:00
nickofolas a87bfb0de6 Handle grafting in singularity stop work 2022-04-26 20:11:41 -05:00
phyzical a7a725de22 merge dev 2022-04-26 20:58:39 +08:00
phyzical 21a105eb49 linting 2022-04-26 20:49:12 +08:00
hydroflame 6e9f33470b Merge pull request #3528 from borisflagell/FIX-#3415-Manage-Gang-button-improvements.-
UI: FIX #3415 Tweak Manage Gang button visibility
2022-04-25 11:27:45 -04:00
hydroflame 8e222fd58e Merge pull request #3539 from nickofolas/fix/ns-aug-graft-time
API: Fix inconsistent return value in `ns.grafting.getAugmentationGraftTime`
2022-04-25 11:27:09 -04:00
Snarling 9fec222c61 Revert change in startWork
Original change was committed accidentally. PR is focused only on applyForWork.
2022-04-24 06:57:31 -04:00
Snarling ac719dc0d2 Update PlayerObjectGeneralMethods.tsx 2022-04-23 23:55:47 -04:00
Snarling 759c57b29a applyForJob streamline and fix logic 2022-04-23 23:48:01 -04:00
borisflagell 90dc8bbc3a Streamlining GangKarmaRequirement constant
As suggested by phyzical :

The GangKarmaRequirement const was declared locally in the PlayerObjectGangMethod.ts file.

It's now part of the GangConstants object in the gang/data/constant.ts file.

Allowing it to be referenced in the FactionRoot.tsx tooltip.
2022-04-23 15:55:15 +02:00
borisflagell ff3493e184 Update src/PersonObjects/Player/PlayerObjectGangMethods.ts
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-04-23 15:39:19 +02:00
phyzical cdfbda1379 merge dev 2022-04-23 10:26:51 +08:00
Olivier Gagnon 9fdfb77dd4 Update infiltrators 2022-04-22 15:30:49 -04:00
nickofolas 8b34d2776a Implement standardized grafting time calcs 2022-04-21 21:48:18 -05:00
borisflagell e05617d9d3 UI FIX #3415
fixes #3415
2022-04-21 00:18:15 +02:00
phyzical 8e1300d69d Merge branch 'dev' into feature/add-infiltration-faction
# Conflicts:
#	src/Netscript/RamCostGenerator.ts
2022-04-20 20:10:05 +08:00
Olivier Gagnon eb778aafa9 refactor bitnode multiplier code to have less side effect. 2022-04-19 17:17:08 -04:00
Snarling bd07dea516 Fix quitting active job
When quitting active job, if there is another job, set the first remaining job as active.
2022-04-18 19:55:37 -04:00
phyzical 82610c0c44 Merge branch 'feature/add-infiltration-faction' into feature/refactor-augmentation 2022-04-15 14:26:00 +08:00
phyzical 8db74f343a merge base 2022-04-15 14:25:13 +08:00
Olivier Gagnon 7685f52f8e fix import and make rainbow return the answer. 2022-04-14 15:23:49 -04:00
Olivier Gagnon 52e27e317e Added blood donation bonus 2022-04-14 15:17:46 -04:00
phyzical c3a3994658 rename augmentation to static augmentation 2022-04-15 01:19:51 +08:00
phyzical 9c23fc89d1 merge base 2022-04-14 21:27:08 +08:00
Olivier Gagnon 62d15ff3a1 rm SourceFileFlags 2022-04-14 01:22:50 -04:00
Olivier Gagnon d8382ec762 Corp upgrades are now defined types 2022-04-14 00:21:33 -04:00
hydroflame ab0f89cea1 Merge pull request #3436 from Undeemiss/duplicate-programs
Create program action no longer creates duplicates
2022-04-13 15:43:21 -04:00
Undeemiss 87936598e2 Create program action no longer creates duplicates 2022-04-13 13:03:10 -05:00
Undeemiss 80b61ea17e Reran npm format and lint to fix formatting 2022-04-13 12:19:58 -05:00
Olivier Gagnon c76602a5df rm aug woned 2022-04-13 12:24:01 -04:00
Olivier Gagnon a029aee404 fmtlint 2022-04-13 11:18:22 -04:00
phyzical 90d1c22aca changes all references to "heath reduction to damage reduction" 2022-04-13 18:54:13 +08:00
phyzical 7f288665d3 linting 2022-04-13 18:52:32 +08:00
phyzical 6b48ff8f21 merge base 2022-04-13 18:50:42 +08:00
Heinous Tugboat 492c7012ea Renames SnackbarVariant to ToastVariant, adds enum to ns 2022-04-13 01:54:13 -04:00
hydroflame eee8d3e283 Merge pull request #3381 from HeinousTugboat/htugboat/toast-enum
Adds SnackbarVariant enum
2022-04-13 00:34:09 -04:00
nickofolas 8da51b7e0a Replace references to crafting with grafting 2022-04-11 11:07:15 -05:00
nickofolas bf518836a5 Minor grafting tweaks around Congruity aug 2022-04-09 09:24:14 -05:00
Heinous Tugboat 5b96cedd0c Adds SnackbarVariant enum 2022-04-08 23:46:19 -04:00
nickofolas 78463ed1c0 Tweaks and improvements 2022-04-07 11:25:12 -05:00