This repository has been archived on 2022-01-16. You can view files and clone it, but cannot push or open issues or pull requests.
2021-08-21 19:02:57 -05:00
|
|
|
/// <reference path="./Purchasable.ts" />
|
|
|
|
|
|
|
|
class CryptoCurrency extends Purchasable {
|
|
|
|
constructor () {
|
2021-08-21 19:53:43 -05:00
|
|
|
super('Faithcoin',
|
|
|
|
"A crypto coin that can't be spent directly, but provides a steady stream of passive income.");
|
2021-08-21 19:02:57 -05:00
|
|
|
this.cost.money = 100;
|
|
|
|
this._costMultiplier.money = 1.1;
|
2021-08-22 11:51:16 -05:00
|
|
|
this.valueInWholeNumbers = false;
|
2021-08-21 19:02:57 -05:00
|
|
|
}
|
2021-09-05 14:45:37 -05:00
|
|
|
|
|
|
|
public max: (state: GameState) => number = (state) =>
|
|
|
|
state.config.cfgStartingCryptoMax;
|
2021-08-21 19:02:57 -05:00
|
|
|
}
|