X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=rogue_chat.py;h=aebeffbf7c2186da680734d099e31c7f2b0018b3;hb=46108644f062458df5b0540f806abffab650683f;hp=0b1ea23197e0042049cbce0215c71ac783ab1adf;hpb=00167344ddc7cb47c344473e2bc3bbfef6b4fe41;p=plomrogue2
diff --git a/rogue_chat.py b/rogue_chat.py
index 0b1ea23..aebeffb 100755
--- a/rogue_chat.py
+++ b/rogue_chat.py
@@ -4,7 +4,8 @@ from plomrogue.io_websocket import PlomWebSocketServer
from plomrogue.io_tcp import PlomTCPServer
from plomrogue.commands import (cmd_ALL, cmd_LOGIN, cmd_NICK, cmd_QUERY, cmd_PING,
cmd_MAP, cmd_TURN, cmd_MAP_LINE, cmd_GET_ANNOTATION,
- cmd_ANNOTATE, cmd_PORTAL, cmd_GET_GAMESTATE)
+ cmd_ANNOTATE, cmd_PORTAL, cmd_GET_GAMESTATE,
+ cmd_TASKS, cmd_MAP_CONTROL_LINE, cmd_MAP_CONTROL_PW)
from plomrogue.tasks import (Task_WAIT, Task_MOVE, Task_WRITE,
Task_FLATTEN_SURROUNDINGS)
import sys
@@ -21,10 +22,13 @@ game.register_command(cmd_QUERY)
game.register_command(cmd_TURN)
game.register_command(cmd_MAP)
game.register_command(cmd_MAP_LINE)
+game.register_command(cmd_MAP_CONTROL_LINE)
+game.register_command(cmd_MAP_CONTROL_PW)
game.register_command(cmd_GET_ANNOTATION)
game.register_command(cmd_ANNOTATE)
game.register_command(cmd_PORTAL)
game.register_command(cmd_GET_GAMESTATE)
+game.register_command(cmd_TASKS)
game.register_task(Task_WAIT)
game.register_task(Task_MOVE)
game.register_task(Task_WRITE)