Resync files from wiki

This commit is contained in:
Griatch 2020-05-18 23:55:10 +02:00
parent b1dd8a38a3
commit 1e56967a7c
13 changed files with 223 additions and 72 deletions

View file

@ -149,10 +149,11 @@ In the future you can add any number of commands to this cmdset, to expand your
We will create a simple Room typeclass to act as a template for all our Chargen areas. Edit `mygame/typeclasses/rooms.py` next:
```python
# end of rooms.py
from commands.default_cmdsets import ChargenCmdset
# ...
# down at the end of rooms.py
class ChargenRoom(Room):
"""
This room class is used by character-generation rooms. It makes
@ -200,6 +201,8 @@ Go back to `mygame/commands/command.py` and add the command to the end like this
```python
import random
# ...
class CmdAttack(Command):
"""
issues an attack