From 21b164f6996440af88a27d7101cecae63220766f Mon Sep 17 00:00:00 2001 From: homeofpoe Date: Thu, 21 Mar 2024 09:12:16 -0700 Subject: [PATCH] Update Beginner-Tutorial-Adding-Commands.md Resolves #3448 --- .../Part1/Beginner-Tutorial-Adding-Commands.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Adding-Commands.md b/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Adding-Commands.md index 78c3fa29bb..5d9d3f6e2c 100644 --- a/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Adding-Commands.md +++ b/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Adding-Commands.md @@ -238,7 +238,7 @@ Tweak this file as follows: ```python # in mygame/commands/default_cmdsets.py -# ,.. +# ... from . import mycommands # <------- @@ -299,9 +299,6 @@ Still in `mygame/commands/mycommands.py`, add a new class, between `CmdEcho` and ```{code-block} python # in mygame/commands/mycommands.py -:linenos: -:emphasize-lines: 3,4,11,14,15,17,18,19,21 - # ... class CmdHit(Command): @@ -439,4 +436,4 @@ You won't see the second string. Only Smaug sees that (and is not amused). In this lesson we learned how to create our own Command, add it to a CmdSet and then to ourselves. We also upset a dragon. In the next lesson we'll learn how to hit Smaug with different weapons. We'll also -get into how we replace and extend Evennia's default Commands. \ No newline at end of file +get into how we replace and extend Evennia's default Commands.