mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 00:32:51 +02:00
Changed the way Corporation valuation is calculated (now based on outstanding shares). Updated gameplay documentation for RTD
This commit is contained in:
@@ -518,6 +518,7 @@ export let CONSTANTS: IMap<any> = {
|
||||
** Slightly reduced the amount of money offered to you by investment firms
|
||||
** Employee salaries now slowly increase over time
|
||||
** Slightly reduced the effect "Real Estate" has on the Production Multiplier for the Agriculture industry
|
||||
** Changed the way your Corporation's value is calculated (this is what determines stock price)
|
||||
|
||||
* Added getOrders() Netscript function to the TIX API
|
||||
* Added getAugmentationPrereq() Singularity function (by havocmayhem)
|
||||
|
||||
@@ -2938,8 +2938,6 @@ Corporation.prototype.goPublic = function() {
|
||||
"and you will no longer own them. Your Corporation will receive " +
|
||||
numeralWrapper.format(initialSharePrice, '$0.000a') + " per share " +
|
||||
"(the IPO money will be deposited directly into your Corporation's funds).<br><br>" +
|
||||
"Furthermore, issuing more shares now will help drive up " +
|
||||
"your company's stock price in the future.<br><br>" +
|
||||
"You have a total of " + numeralWrapper.format(this.numShares, "0.000a") + " of shares that you can issue.",
|
||||
});
|
||||
var yesBtn;
|
||||
@@ -2988,7 +2986,7 @@ Corporation.prototype.goPublic = function() {
|
||||
}
|
||||
|
||||
Corporation.prototype.updateSharePrice = function() {
|
||||
var targetPrice = this.determineValuation() / (TOTALSHARES - this.issuedShares);
|
||||
var targetPrice = this.determineValuation() / (1.5 * TOTALSHARES - this.numShares);
|
||||
if (this.sharePrice <= targetPrice) {
|
||||
this.sharePrice *= (1 + (Math.random() * 0.01));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user