home · contact · privacy
Simplify Thing type differentiation, Furniture becomes Item.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 26 Nov 2020 21:16:33 +0000 (22:16 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 26 Nov 2020 21:16:33 +0000 (22:16 +0100)
plomrogue/things.py
rogue_chat.py

index 0f058f2af68822cf30650f667e5931a3e1f83562..0edf8fbed42a83363ad43d0012a4a1f74cd37685 100644 (file)
@@ -40,11 +40,6 @@ class Thing_Item(Thing):
 
 
 
-class Thing_Furniture(Thing):
-    symbol_hint = 'h'
-
-
-
 class ThingAnimate(Thing):
     blocking = True
 
index 407dc29381534bec3cda962575c59783f3bead0a..f4bc7cdeafba10a6cba5e87ae7459c41a455dd25 100755 (executable)
@@ -10,7 +10,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_Furniture
+from plomrogue.things import Thing_Player, Thing_Item
 
 from plomrogue.config import config
 game = Game(config['savefile'])
@@ -47,7 +47,6 @@ 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_Furniture)
 game.read_savefile()
 game.io.start_loop()
 for port in config['servers']: