From b46df5643a21abcf538c9e4bc6e476bc883adc6d Mon Sep 17 00:00:00 2001 From: Griatch Date: Sat, 3 Sep 2016 23:32:00 +0200 Subject: [PATCH] Add minor fixes to tutorial world batch-build script and some better error reporting in the extended_room detail command. --- evennia/contrib/extended_room.py | 3 +++ evennia/contrib/tutorial_world/build.ev | 1 + 2 files changed, 4 insertions(+) diff --git a/evennia/contrib/extended_room.py b/evennia/contrib/extended_room.py index 17af96ffe2..a9c4340028 100644 --- a/evennia/contrib/extended_room.py +++ b/evennia/contrib/extended_room.py @@ -381,6 +381,9 @@ class CmdExtendedDesc(default_cmds.CmdDesc): if not location: caller.msg("No location to detail!") return + if not location.db.details: + caller.msg("|rThis location does not support details.|n") + return if self.switches and self.switches[0] in 'del': # removing a detail. if self.lhs in location.db.details: diff --git a/evennia/contrib/tutorial_world/build.ev b/evennia/contrib/tutorial_world/build.ev index 55e3ff2ebe..73abe85848 100644 --- a/evennia/contrib/tutorial_world/build.ev +++ b/evennia/contrib/tutorial_world/build.ev @@ -533,6 +533,7 @@ bridge # feature of the BridgeRoom. # @dig/teleport Protruding ledge;cliffledge;ledge;tut#06 + : tutorial_world.rooms.WeatherRoom # @set here/tutorial_info = This room is stored as an attribute on the 'Bridge' room and used as