Fix item cost

master
Ruben Müller 8 years ago
parent 723d130791
commit 95735090d5

@ -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…
Cancel
Save