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: ->
|
createMiner: ->
|
||||||
if @currentSelectedTile and !@currentSelectedTile.entity
|
if @currentSelectedTile and !@currentSelectedTile.entity
|
||||||
if @checkResource('stardust', 30, true)
|
if @checkResource('lubinit', 10, true)
|
||||||
@currentSelectedTile.entity = new Miner
|
@currentSelectedTile.entity = new Miner
|
||||||
else
|
else
|
||||||
@speechbubble.say 'nores'
|
@speechbubble.say 'nores'
|
||||||
|
@ -168,7 +168,7 @@ app.game =
|
||||||
createSilo: ->
|
createSilo: ->
|
||||||
if @currentSelectedTile
|
if @currentSelectedTile
|
||||||
if @checkPosition(@currentSelectedTile)
|
if @checkPosition(@currentSelectedTile)
|
||||||
if @checkResource('stardust', 20, true)
|
if @checkResource('dirt', 10, true)
|
||||||
@currentSelectedTile.entity = new Silo
|
@currentSelectedTile.entity = new Silo
|
||||||
else
|
else
|
||||||
@speechbubble.say 'nores'
|
@speechbubble.say 'nores'
|
||||||
|
|
Loading…
Reference in a new issue