Add minor fixes to tutorial world batch-build script and some better error reporting in the extended_room detail command.

This commit is contained in:
Griatch 2016-09-03 23:32:00 +02:00
parent 17ee28ab6c
commit b46df5643a
2 changed files with 4 additions and 0 deletions

View file

@ -381,6 +381,9 @@ class CmdExtendedDesc(default_cmds.CmdDesc):
if not location: if not location:
caller.msg("No location to detail!") caller.msg("No location to detail!")
return 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': if self.switches and self.switches[0] in 'del':
# removing a detail. # removing a detail.
if self.lhs in location.db.details: if self.lhs in location.db.details:

View file

@ -533,6 +533,7 @@ bridge
# feature of the BridgeRoom. # feature of the BridgeRoom.
# #
@dig/teleport Protruding ledge;cliffledge;ledge;tut#06 @dig/teleport Protruding ledge;cliffledge;ledge;tut#06
: tutorial_world.rooms.WeatherRoom
# #
@set here/tutorial_info = @set here/tutorial_info =
This room is stored as an attribute on the 'Bridge' room and used as This room is stored as an attribute on the 'Bridge' room and used as