mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 00:32:51 +02:00
See description
Reverted ToastVariant back to an enum internally. Still exposed to player as just possible strings. Changed all 1-line documentation comments to actually be 1-line. Moved some because they were not providing documentation for the thing they were trying to.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
/**
|
||||
* Object representing an upgrade that can be purchased with hashes
|
||||
*/
|
||||
/** Object representing an upgrade that can be purchased with hashes */
|
||||
export interface IConstructorParams {
|
||||
cost?: number;
|
||||
costPerLevel: number;
|
||||
@@ -26,9 +24,7 @@ export class HashUpgrade {
|
||||
*/
|
||||
costPerLevel = 0;
|
||||
|
||||
/**
|
||||
* Description of what the upgrade does
|
||||
*/
|
||||
/** Description of what the upgrade does */
|
||||
desc = "";
|
||||
|
||||
/**
|
||||
@@ -37,7 +33,7 @@ export class HashUpgrade {
|
||||
*/
|
||||
hasTargetServer = false;
|
||||
|
||||
// Name of upgrade
|
||||
/** Name of upgrade */
|
||||
name = "";
|
||||
|
||||
// Generic value used to indicate the potency/amount of this upgrade's effect
|
||||
|
||||
Reference in New Issue
Block a user