Commit Graph

6878 Commits

Author SHA1 Message Date
Undeemiss
f3bf872b23 Limit shareholder reservation on new shares relative to ownership
Updated the computations for issuing new corp shares so that
private investors cannot purchase a greater percentage of the
company than they already own. This change is an indirect buff
to corporations that elect not to use as many private investors
as possible.

Also updated UI elements to reflect the change. I'm not sure about
the wording I chose; I think it could be improved upon, but that
was the best I came up with.
2022-04-16 12:11:05 -05:00
H3draut3r
2d0cccfa3f HammingCodingContracts need rework 2022-04-16 18:30:38 +02:00
Zoë Hoekstra
43807fb757
Add code for handling when dest. script is running 2022-04-15 19:44:08 +02:00
Martin Fournier
f7fbee0688 doc: Add linked issues info in pr template 2022-04-15 11:00:04 -04:00
Martin Fournier
fbe81efef3 tools: Add GitHub action to validate PR titles
Ensures the pull request title matches a certain pattern.
If it does not match, warns the user by commenting on the PR & adding a label.
2022-04-15 10:59:53 -04:00
hydroflame
f790aa27ce
Merge pull request #3469 from ActuallyCurtis/patch-1
CODINGCONTRACT: Typo & clarity fixes to description of Encoded Binary to Integer contract
2022-04-15 09:58:57 -04:00
hydroflame
0fda1ecabf
Merge pull request #3470 from TheMas3212/misc/singularity-logging
API: replace a number of references to workerscript.log with _ctx.log
2022-04-15 09:58:25 -04:00
TheMas3212
7696f582eb
replace a number of references to workerscript.log with _ctx.log that i
missed in Singularity.ts
2022-04-15 21:23:35 +10:00
ActuallyCurtis
4b3694d806
Typo fixes to Encoded Binary to Integer
Various capitalization and punctuation fixes
Changed "Note" to "NOTE" to match other coding contracts. 
Removed "encoded/decoded following hamming's rule" because I couldn't find references to hamming's rule (there are various things called Hamming's Rule, but they didn't seem relevant here). I believe that clause was just emphasizing that the binary string encoded as a hamming code, which we already know?
Rewrote the "return" text to include it should be a string. 
*NOTE 4 could be removed, or kept for redundancy's sake
*"So MAYBE there is an altered bit" is also redundant, since note 3 already says a 55% chance, which means "maybe." Left, but could be removed.
2022-04-15 00:34:50 -07: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
phyzical
1478e7a5b1 lint 2022-04-15 11:17:49 +08:00
phyzical
ec8437cadd freeze the cost to stop sneeky sneekers 2022-04-15 11:17:27 +08:00
phyzical
0bff9be8a7 missed one reference to making baseCost static 2022-04-15 11:14:16 +08:00
hydroflame
209c46310e
Merge pull request #3466 from Undeemiss/nitesec-test-hostname
MESSAGES: Added the name of NiteSec's server to their .msg
2022-04-14 19:16:25 -04:00
Undeemiss
3dfb2afb58 Added the name of NiteSec's server to their .msg 2022-04-14 18:14:15 -05:00
Olivier Gagnon
6f4de879fa Increase donation count 2022-04-14 18:58:39 -04:00
hydroflame
23baae56cf
Merge pull request #3465 from Undeemiss/lore-txts
Started collecting lore so that additions to it are simpler
2022-04-14 18:27:25 -04:00
hydroflame
6ce1bab5fe
Merge pull request #3461 from Hoekstraa/3263
API: Add repFromDonation() to the Formula API
2022-04-14 18:26:38 -04:00
hydroflame
5493908167
Merge pull request #3463 from danielyxie/dependabot/npm_and_yarn/async-2.6.4
Bump async from 2.6.3 to 2.6.4
2022-04-14 18:14:49 -04:00
Undeemiss
7d4c10544e Started collecting lore so that additions to it are simpler
For now, a brief description of enders and the general concept of
bitnodes
2022-04-14 16:08:26 -05:00
rderfler
9e6e97d1fb fmt and merge upstream 2022-04-14 15:49:21 -04:00
rderfler
3cd8f8a223 merged from upstream 2022-04-14 15:47:00 -04:00
rderfler
332b803332 Fmt and lint 2022-04-14 15:28:13 -04: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
dependabot[bot]
4b2230cdc5
Bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 19:02:46 +00:00
Olivier Gagnon
afbfb46775 rm widget 2022-04-14 15:02:13 -04:00
Olivier Gagnon
69596f009f Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-04-14 15:01:47 -04:00
Olivier Gagnon
48d7385ac3 widget 2022-04-14 15:01:43 -04:00
Zoë Hoekstra
accb9f7e23
Add repFromDonation formula to the API 2022-04-14 20:01:31 +02:00
phyzical
db97125d22 remove level, base cost and rep requirment from base augmentation obj
* added in place calculations for cost and level of augmentations given player context
* removed redundant logic for dynamically calculating cost,rep and level against the augmentation object
* replaced references to startingCost to baseCost as it is now always whatever it started at
2022-04-15 01:39:38 +08:00
phyzical
c3a3994658 rename augmentation to static augmentation 2022-04-15 01:19:51 +08:00
hydroflame
18fafff91f
Merge pull request #3460 from Undeemiss/stanek-collision
STANEK: FIX #3277 Can no longer overlap rotated fragments
2022-04-14 12:27:31 -04:00
Olivier Gagnon
f2d8d11d32 tempalte 2022-04-14 12:16:03 -04:00
Undeemiss
749b93608b Fixed Stanek fragment collision detection
Relaxed some overzealous short-circuiting to ensure fragments
on the Stanek's Gift board properly check for collisions.
2022-04-14 11:13:50 -05:00
Olivier Gagnon
69c5e42e30 remove redundant naming scheme 2022-04-14 12:13:01 -04:00
hydroflame
e3fc77c340
Merge pull request #3458 from TheMas3212/fix/2993-invalid-city-names
API: FIX #2993 sleeve.travel with invalid city names
2022-04-14 12:12:25 -04:00
TheMas3212
de3359dfad
switch to checkEnum 2022-04-15 02:07:47 +10:00
TheMas3212
e07b92a408
fix 2993 sleeve.travel with invalid city names 2022-04-15 02:00:34 +10:00
rderfler
9d18118208 Format, but git forgot this last time 2022-04-14 12:00:17 -04:00
rderfler
3886e31a45 Format 2022-04-14 11:59:49 -04:00
rderfler
1239c7ad7f Merge branch 'dev' of https://github.com/rderfler/bitburner into dev 2022-04-14 11:57:19 -04:00
rderfler
0406272942 Clean up
linter
2022-04-14 11:57:01 -04:00
hydroflame
18a6477342
Merge pull request #3456 from TheMas3212/fix/3395
fix #3395 donating to special factions possible via singularity
2022-04-14 11:51:40 -04:00
rderfler
7c468663d4
Merge branch 'danielyxie:dev' into dev 2022-04-14 11:48:44 -04:00
rderfler
d1388a62aa Merge branch 'dev' of https://github.com/rderfler/bitburner into dev 2022-04-14 11:41:02 -04:00
rderfler
2613948bad Add bladeburner actions to sleeves
This adds bladeburner actions to sleeves. In addition this bulked out the IPerson functionality and updated bladeburner functions to be more sleeve compatible
2022-04-14 11:40:59 -04:00
TheMas3212
89baba2e24
fix #3395 donating to special factions possible via singularity 2022-04-15 01:32:18 +10:00
hydroflame
b1fc909411
Merge pull request #3455 from TheMas3212/fix/dram-tests
Fix test/jest/Netscript/DynamicRamCalculation.test.js
2022-04-14 11:15:32 -04:00