home · contact · privacy
Add BottleDeposit thing that spawns MusicPlayers for returned Bottles.
[plomrogue2] / rogue_chat.py
index cb3080d0caa3d315f01f76c80c4d457492c81d11..4509d33a73dc1d01a294524edafa21dd4800ca13 100755 (executable)
@@ -19,7 +19,8 @@ from plomrogue.tasks import (Task_WAIT, Task_MOVE, Task_WRITE, Task_PICK_UP,
 from plomrogue.things import (Thing_Player, Thing_Item, Thing_ItemSpawner,
                               Thing_SpawnPoint, Thing_SpawnPointSpawner,
                               Thing_Door, Thing_DoorSpawner, Thing_Bottle,
-                              Thing_BottleSpawner, Thing_MusicPlayer)
+                              Thing_BottleSpawner, Thing_BottleDeposit,
+                              Thing_MusicPlayer)
 
 from plomrogue.config import config
 game = Game(config['savefile'])
@@ -73,6 +74,7 @@ game.register_thing_type(Thing_Door)
 game.register_thing_type(Thing_DoorSpawner)
 game.register_thing_type(Thing_Bottle)
 game.register_thing_type(Thing_BottleSpawner)
+game.register_thing_type(Thing_BottleDeposit)
 game.register_thing_type(Thing_MusicPlayer)
 game.read_savefile()
 game.io.start_loop()