diff gamelib/scenes/machine.py @ 215:08f39251c6a5

Laser sound
author Neil Muller <neil@dip.sun.ac.za>
date Thu, 26 Aug 2010 19:39:00 +0200
parents 6a52752f4920
children 326300c218a6
line wrap: on
line diff
--- a/gamelib/scenes/machine.py	Thu Aug 26 19:40:08 2010 +0200
+++ b/gamelib/scenes/machine.py	Thu Aug 26 19:39:00 2010 +0200
@@ -63,7 +63,8 @@
         else:
             self.set_data('cans_in_place', 0)
             self.state.add_inventory_item('tube_fragments')
-            return Result("With high-precision spitzensparken, the cans are welded into a replacement tube.")
+            return Result("With high-precision spitzensparken, the cans are welded into a replacement tube.",
+                    soundfile='laser.ogg')
 
     def interact_with_dented_can(self, item):
         return self.interact_with_empty_can(item)