Fix item cost
This commit is contained in:
parent
723d130791
commit
95735090d5
1 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ app.game =
|
|||
|
||||
createMiner: ->
|
||||
if @currentSelectedTile and !@currentSelectedTile.entity
|
||||
if @checkResource('stardust', 30, true)
|
||||
if @checkResource('lubinit', 10, true)
|
||||
@currentSelectedTile.entity = new Miner
|
||||
else
|
||||
@speechbubble.say 'nores'
|
||||
|
@ -168,7 +168,7 @@ app.game =
|
|||
createSilo: ->
|
||||
if @currentSelectedTile
|
||||
if @checkPosition(@currentSelectedTile)
|
||||
if @checkResource('stardust', 20, true)
|
||||
if @checkResource('dirt', 10, true)
|
||||
@currentSelectedTile.entity = new Silo
|
||||
else
|
||||
@speechbubble.say 'nores'
|
||||
|
|
Loading…
Reference in a new issue