made travel cost a constant and prevent travelToCity from traveling if the player doesn't have enough money

This commit is contained in:
Olivier Gagnon
2018-06-03 21:09:12 -04:00
parent 5caa247c89
commit 4b6dbee628
3 changed files with 13 additions and 7 deletions
+2
View File
@@ -14,6 +14,8 @@ let CONSTANTS = {
BaseCostFor1GBOfRamServer: 55000, //1 GB of RAM
BaseCostFor1GBOfRamHacknetNode: 30000,
TravelCost: 200000,
BaseCostForHacknetNode: 1000,
BaseCostForHacknetNodeCore: 500000,