lib/gemwarrior/entities/items/pond.rb in gemwarrior-0.14.4 vs lib/gemwarrior/entities/items/pond.rb in gemwarrior-0.14.5
- old
+ new
@@ -18,9 +18,10 @@
def use(world)
puts 'You gently place your fingers on the pond\'s rippling surface.'
if (NEEDED_ITEMS - world.player.inventory.items.map(&:name)).empty?
+ Audio.play_synth(:uncover_secret)
puts 'The pond water explodes with a force that knocks you back onto the ground. When you come to, you notice the depression in the ground where the pond once was now has a new curious object!'
self.description = 'A barren depression in the ground is all that is left of the pond.'
return { type: 'item', data: 'Opalaser' }
else
puts 'You graze your fingers within the pond for a moment, feeling the coolness. You feel zen.'