hydroflame
b5005cd480
Merge pull request #3352 from phyzical/feature/3258
...
add app id for notifications and other magic
2022-04-05 19:53:35 -04:00
hydroflame
cd33b833d5
Merge pull request #3363 from Seancheey/patch-1
...
Fix workForFaction invalid worktype case
2022-04-05 19:48:56 -04:00
Qiyi Shan
b9caddeeef
Fix workForFaction invalid worktype case
...
When invalid work type, the function should return false instead of true
2022-04-05 11:22:02 -04:00
phyzical
ee6c13d33b
add app id for notifications and other magic
2022-04-04 22:15:46 +08:00
phyzical
4a5edb9f3c
changes static arrays to functions to force new creation when called
2022-04-04 19:44:25 +08:00
phyzical
2ee73cc8d6
missing space
2022-04-04 18:34:07 +08:00
phyzical
dfe9e98c77
move route to terminal to the inside of the common fucntion
...
* tested without bandaid still works correctly
* fix default script with installAugmentations
2022-04-04 18:29:43 +08:00
phyzical
8eccdf16e1
add logic to block working for gang faction
2022-04-04 18:10:21 +08:00
Heikki Aitakangas
a7d200f7c6
Strip trailing spaces
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
a6710eb3e5
No need to return WorkerScript from startNetscript*Script promises, their only calling function already has the correct object in a variable
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
cbd59975d4
makeRuntimeRejectMsg expects the 'msg' to be string-like
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
4fd55f099b
This should not reject with ScriptDeath, the script is not being killed. Just 'undefined' isn't great either so left a TODO about improving it
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
a578763b89
Use a dedicated ScriptDeath type to signal script termination instead of WorkerScript
...
Problem with throwing WorkerScript is that the termination signal object can pass
through user code, which permits user to modify that object and all parts of the
game state accessible through it.
2022-04-02 23:28:21 +03:00
Heikki Aitakangas
1ed1f78222
Fixed a wrong comment
2022-04-02 23:27:06 +03:00
phyzical
61fc815a6b
added apr1 terminal command
...
* just opens the rickroll modal
2022-04-02 20:08:57 +08:00
BB
c7a95ccb2d
Fixed eslint warning for unused vars
2022-04-02 13:11:55 +02:00
hydroflame
acfd164927
Merge pull request #3330 from ApamNapat/fix_makeRuntimeErrorMsg_type
...
Fixed type of makeRuntimeErrorMsg in INetscriptHelper
2022-04-02 01:25:06 -04:00
Heikki Aitakangas
233289af56
Fix lint errors
2022-04-02 05:16:48 +03:00
Heikki Aitakangas
dc3b083587
Add readthedocs documentation for Shortest Path contract type
2022-04-02 04:55:15 +03:00
Heikki Aitakangas
197e875610
Set Shortest Path contract difficulty factor
2022-04-02 04:34:16 +03:00
Heikki Aitakangas
809f8f6687
Tuned Shortest Path contract generation
...
Now generates about 4/5 puzzles where a path exists and 1/5 with the destination
completely blocked off.
2022-04-02 04:27:42 +03:00
Heikki Aitakangas
fb0cc15794
New coding contract type: 'Shortest Path in a Grid'
2022-04-02 03:18:18 +03:00
Heikki Aitakangas
d69e94002e
Add binary heap data structure
2022-04-02 03:18:18 +03:00
BB
c495d39e6b
Fixed type of makeRuntimeErrorMsg in INetscriptHelper
2022-04-02 00:30:12 +02:00
Olivier Gagnon
e3e6b449d4
Make Stanek hacknet cost percentage better.
2022-04-01 16:59:23 -04:00
Olivier Gagnon
b86ff7d405
allbuild commit 6c8a46d3
2022-04-01 16:39:58 -04:00
Olivier Gagnon
6c8a46d38b
allbuild commit 1bf12d29
2022-04-01 16:05:16 -04:00
hydroflame
1bf12d29b5
Merge pull request #3325 from danielyxie/stanek-formula-rework
...
stanek-formula-rework
2022-04-01 16:01:14 -04:00
Olivier Gagnon
cd09589f25
stanek-formula-rework
2022-04-01 15:45:12 -04:00
Steven Malis
e572c6e139
Add unassigned and training.
2022-04-01 01:44:53 -04:00
Steven Malis
bb62973905
Fix docs for employeeProd and add employeeJobs.
2022-04-01 01:37:27 -04:00
Olivier Gagnon
9b4750aed4
allbuild commit d9499077
2022-04-01 01:18:03 -04:00
hydroflame
d94990779f
Merge pull request #3319 from danielyxie/apr1
...
Added apr1
2022-04-01 01:13:37 -04:00
Olivier Gagnon
40faa6af5c
allbuild commit 4b867fea
2022-03-31 15:53:38 -04:00
Olivier Gagnon
4b867fea3e
rename factions formulas to reputation
2022-03-31 15:52:03 -04:00
Olivier Gagnon
565659fba9
allbuild commit f55197ea
2022-03-31 15:48:16 -04:00
hydroflame
f55197eabd
Merge pull request #3314 from PSEUDOSTAGE/patch-1
...
Add calculateFavorToRep and calculateRepToFavor to Formulas.exe
2022-03-31 15:45:13 -04:00
PSEUDOSTAGE
a5f63e5932
fixed trailing spaces
2022-03-31 15:38:35 -04:00
PSEUDOSTAGE
ad9ff78533
Add calculateFavorToRep and calculateRepToFavor to Formulas.exe
...
The favorToRep and repToFavor formulas are shown to the player in the factions pages but were not available in Formulas.exe. This change adds a FactionsFormulas interface with the calculateFavorToRep and calculateRepToFavor functions.
2022-03-31 15:28:25 -04:00
PSEUDOSTAGE
a0333d36a5
Add calculateFavorToRep and calculateRepToFavor to Formulas.exe
...
The favorToRep and repToFavor formulas are displayed to the player in the factions pages but were not available in Formulas.exe. This change adds a FactionsFormulas interface with the calculateFavorToRep and calculateRepToFavor as new functions.
2022-03-31 15:27:02 -04:00
Olivier Gagnon
384cfb0044
Added apr1
2022-03-31 12:04:06 -04:00
Olivier Gagnon
d04e05eac8
allbuild commit 5d36336d
2022-03-31 10:52:24 -04:00
Olivier Gagnon
5d36336db9
allbuild commit 65c8e2b2
2022-03-31 10:50:06 -04:00
Olivier Gagnon
65c8e2b280
Fix aug cost
2022-03-31 10:45:52 -04:00
phyzical
18af3f8413
moved updateRam to first call to avoid lack of mocks for tests
...
* added wrapper funcs to simplify updateRam
* added static parser tests and skiped what isnt worker still for next person to try and fix
2022-03-31 21:41:19 +08:00
Stephen Reindl
805480693c
remove unnecessary space
2022-03-31 12:46:48 +02:00
Stephen Reindl
689059ea83
Fix expected ram calculation for ns.goToLocation()
2022-03-31 12:37:33 +02:00
Olivier Gagnon
d814a81b79
allbuild commit a0361c9a
2022-03-30 21:45:52 -04:00
hydroflame
a0361c9a42
Merge pull request #3304 from danielyxie/revoke-fix
...
revoke-fix
2022-03-30 21:43:43 -04:00
Olivier Gagnon
3e6d1f6d95
round 2
2022-03-30 21:40:51 -04:00