diff --git a/contrib/tutorial_world/build.ev b/contrib/tutorial_world/build.ev index 110ca7c1f..a8d40fe15 100644 --- a/contrib/tutorial_world/build.ev +++ b/contrib/tutorial_world/build.ev @@ -681,7 +681,7 @@ hole lichen it seems very sturdy. In a corner lies what might have once been a bed or a bench but is now nothing more than a pile or rotting splinters. One of the walls are covered with a thick cover of black - roots where they has broken through the cracks.{n + roots where they have broken through the cracks.{n # @create/drop iron-cast door;iron;door;iron-cast # diff --git a/contrib/tutorial_world/objects.py b/contrib/tutorial_world/objects.py index da4444a57..c43912f62 100644 --- a/contrib/tutorial_world/objects.py +++ b/contrib/tutorial_world/objects.py @@ -336,7 +336,7 @@ class LightSource(TutorialObject): super(LightSource, self).at_object_creation() self.db.tutorial_info = "This object can be turned on off and has a timed script controlling it." self.db.is_active = False - self.db.burntime = 60 # 1 minute + self.db.burntime = 60*3 # 3 minutes self.db.desc = "A splinter of wood with remnants of resin on it, enough for burning." # add commands self.cmdset.add_default(CmdSetLightSource, permanent=True) diff --git a/contrib/tutorial_world/rooms.py b/contrib/tutorial_world/rooms.py index 41a2662c4..8d462c9c9 100644 --- a/contrib/tutorial_world/rooms.py +++ b/contrib/tutorial_world/rooms.py @@ -206,7 +206,7 @@ class CmdDarkHelp(Command): # the nomatch system command will give a suitable error when we cannot find the normal commands. from src.commands.default.syscommands import CMD_NOMATCH - +from src.commands.default.general import CmdSay class CmdDarkNoMatch(Command): "This is called when there is no match" key = CMD_NOMATCH @@ -225,7 +225,7 @@ class DarkCmdSet(CmdSet): self.add(CmdLookDark()) self.add(CmdDarkHelp()) self.add(CmdDarkNoMatch()) - + self.add(CmdSay) # # Darkness room two-state system # @@ -483,6 +483,9 @@ class CmdLookBridge(Command): "Under your feet a plank comes loose, tumbling down. For a moment you dangle over the abyss ...", "The section of rope you hold onto crumble in your hands, parts of it breaking apart. You sway trying to regain balance.") message = "{c%s{n\n" % self.obj.key + messages[bridge_position] + "\n" + moods[random.randint(0, len(moods) - 1)] + chars = [obj for obj in self.obj.contents if obj.has_player] + message += "\n You see: %s" % ", ".join("{c%s{n" % char.key for char in chars) + self.caller.msg(message) # there is a chance that we fall if we are on the western or central part of the bridge.