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.
irreligious/src/model/resource/CryptoCurrency.ts

15 lines
435 B
TypeScript

/// <reference path="./Purchasable.ts" />
class CryptoCurrency extends Purchasable {
constructor () {
super('Faithcoin',
"A crypto coin that can't be spent directly, but provides a steady stream of passive income.");
this.cost.money = 100;
this._costMultiplier.money = 1.1;
this.valueInWholeNumbers = false;
}
public max: (state: GameState) => number = (state) =>
state.config.cfgStartingCryptoMax;
}