Commit Graph

24 Commits

Author SHA1 Message Date
Olivier Gagnon 89aa23f4b3 Add dummy function to generate a mock server or player for formulas stuff 2022-08-23 16:01:34 -04:00
Olivier Gagnon a8bef50ef5 Added a few formulas to calculate work gains 2022-08-17 14:32:52 -04:00
Snarling 931ea730a5 Move entire ns object to top-level 2022-08-09 18:09:26 -04:00
Snarling 208495e269 Initial commit 2022-08-09 18:09:24 -04:00
Olivier Gagnon 2442402af5 fix more anys 2022-07-19 16:46:03 -04:00
Olivier Gagnon 76ccb0ba36 lint 2022-05-25 11:43:43 -04:00
Olivier Gagnon 0da2e74d12 more work on wrapping formulas 2022-05-24 17:51:48 -04:00
Olivier Gagnon 324f752d8a Wrap formulas but doesn't compile 2022-05-24 17:29:44 -04:00
Zoë Hoekstra accb9f7e23 Add repFromDonation formula to the API 2022-04-14 20:01:31 +02:00
Olivier Gagnon 4b867fea3e rename factions formulas to reputation 2022-03-31 15:52:03 -04:00
PSEUDOSTAGE a5f63e5932 fixed trailing spaces 2022-03-31 15:38:35 -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 989d0709ed unknown-ify some code 2022-03-16 19:33:45 -04:00
Heikki Aitakangas 621df103cf Fix formulas access checks 2022-01-23 00:31:59 +02:00
Olivier Gagnon 394a286646 formulas for ascension 2021-12-09 12:52:51 -05:00
Olivier Gagnon 5a15df9ce7 rename the functions I created 2 minutes ago. 2021-12-08 19:03:33 -05:00
Olivier Gagnon 6eba92b36c rename the functions I created 2 minutes ago. 2021-12-08 18:41:49 -05:00
Olivier Gagnon 2af57cb01e formulas for gang stuff 2021-12-08 18:19:30 -05:00
Olivier Gagnon 7cc4295c63 fix a few bugs 2021-11-10 07:52:26 -05:00
Olivier Gagnon 73d0f2074c formulas time in millis 2021-11-05 00:27:30 -04:00
Olivier Gagnon c5fb5155f3 work on making sure all the functions are accounted for 2021-11-03 18:16:10 -04:00
Olivier Gagnon 37845c57c0 migrate some of formulas 2021-11-02 22:58:40 -04:00
Olivier Gagnon e892e16585 Formulas.exe 2021-10-27 23:41:47 -04:00
Olivier Gagnon d3fc6a9d48 split NetscriptFunctions 2021-10-14 03:22:02 -04:00