home · contact · privacy
Refactor curses client.
[plomrogue2] / rogue_chat.py
index 1f9228faf01763226c8bd0af09ed5bf226bf0669..3ace6307ed4b777764c3d099983d96cb0f4dab61 100755 (executable)
@@ -12,7 +12,8 @@ from plomrogue.commands import (cmd_ALL, cmd_LOGIN, cmd_NICK, cmd_PING, cmd_THIN
                                 cmd_SET_MAP_CONTROL_PASSWORD, cmd_SPAWN_POINT)
 from plomrogue.tasks import (Task_WAIT, Task_MOVE, Task_WRITE, Task_PICK_UP,
                              Task_DROP, Task_FLATTEN_SURROUNDINGS)
-from plomrogue.things import Thing_Player, Thing_Item, Thing_ItemSpawner
+from plomrogue.things import (Thing_Player, Thing_Item, Thing_ItemSpawner,
+                              Thing_SpawnPoint, Thing_SpawnPointSpawner)
 
 from plomrogue.config import config
 game = Game(config['savefile'])
@@ -53,6 +54,8 @@ game.register_task(Task_DROP)
 game.register_thing_type(Thing_Player)
 game.register_thing_type(Thing_Item)
 game.register_thing_type(Thing_ItemSpawner)
+game.register_thing_type(Thing_SpawnPoint)
+game.register_thing_type(Thing_SpawnPointSpawner)
 game.read_savefile()
 game.io.start_loop()
 for port in config['servers']: