home · contact · privacy
Differentiate Spawner into ItemSpawner.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 27 Nov 2020 03:00:27 +0000 (04:00 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 27 Nov 2020 03:00:27 +0000 (04:00 +0100)
plomrogue/things.py
rogue_chat.py

index ca53e87dd057056e655c07df0141c3f27ede3141..98dff00dbb40868e2af8d2beb35e85fdfda2d23c 100644 (file)
@@ -43,7 +43,7 @@ class Thing_Item(Thing):
 
 
 
-class Thing_Spawner(Thing):
+class Thing_ItemSpawner(Thing):
     symbol_hint = 'S'
 
     def proceed(self):
index 1d9e4cbddd1189b426964a6fadcc94048e3a9c65..1f9228faf01763226c8bd0af09ed5bf226bf0669 100755 (executable)
@@ -12,7 +12,7 @@ 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_Spawner
+from plomrogue.things import Thing_Player, Thing_Item, Thing_ItemSpawner
 
 from plomrogue.config import config
 game = Game(config['savefile'])
@@ -52,7 +52,7 @@ game.register_task(Task_PICK_UP)
 game.register_task(Task_DROP)
 game.register_thing_type(Thing_Player)
 game.register_thing_type(Thing_Item)
-game.register_thing_type(Thing_Spawner)
+game.register_thing_type(Thing_ItemSpawner)
 game.read_savefile()
 game.io.start_loop()
 for port in config['servers']: