mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 15:26:30 +01:00
Evennia 1.0.2 bugfix release
This commit is contained in:
parent
dfeb0a298d
commit
290475a9fe
8 changed files with 44 additions and 17 deletions
|
|
@ -1,6 +1,17 @@
|
|||
# Changelog
|
||||
|
||||
### Evennia 1.0
|
||||
### Evennia 1.0.2
|
||||
Dec 21, 2022
|
||||
|
||||
Bug fix release. Fix more issues with discord bot reconnecting. Some doc
|
||||
updates.
|
||||
|
||||
### Evennia 1.0.1
|
||||
|
||||
|
||||
Bug fix release. Main issue was reconnect bug for discord bot.
|
||||
|
||||
## Evennia 1.0
|
||||
|
||||
2019-2022
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ is being combined instead):
|
|||
See the [sword example](evennia.contrib.game_systems.crafting.example_recipes) for an example
|
||||
of how to design a recipe tree for crafting a sword from base elements.
|
||||
|
||||
## Intallation and Usage
|
||||
## Installation and Usage
|
||||
|
||||
Import the `CmdCraft` command from evennia/contrib/crafting/crafting.py and
|
||||
add it to your Character cmdset. Reload and the `craft` command will be
|
||||
|
|
|
|||
|
|
@ -16,11 +16,12 @@ In more detail, in `mygame/commands/default_cmdsets.py`:
|
|||
|
||||
```python
|
||||
...
|
||||
from evennia.contrib import extended_room # <---
|
||||
from evennia.contrib.grid import extended_room # <---
|
||||
|
||||
class CharacterCmdset(default_cmds.Character_CmdSet):
|
||||
class CharacterCmdset(default_cmds.CharacterCmdSet):
|
||||
...
|
||||
def at_cmdset_creation(self):
|
||||
super().at_cmdset_creation()
|
||||
...
|
||||
self.add(extended_room.ExtendedRoomCmdSet) # <---
|
||||
|
||||
|
|
@ -28,7 +29,10 @@ class CharacterCmdset(default_cmds.Character_CmdSet):
|
|||
|
||||
Then reload to make the new commands available. Note that they only work
|
||||
on rooms with the typeclass `ExtendedRoom`. Create new rooms with the right
|
||||
typeclass or use the `typeclass` command to swap existing rooms.
|
||||
typeclass or use the `typeclass` command to swap existing rooms. Note that since
|
||||
this contrib overrides the `look` command, you will need to add the
|
||||
`extended_room.ExtendedRoomCmdSet` to the default character cmdset *after*
|
||||
super().at_cmdset_creation(), or it will be overridden by the default look.
|
||||
|
||||
## Features
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue