Refactor return_apperance hook to make it easier to override. Resolves #2530, Resolves #2362.

This commit is contained in:
Griatch 2021-10-08 01:04:55 +02:00
parent 074f3bf068
commit bf2c4f151b
2 changed files with 130 additions and 42 deletions

View file

@ -2,7 +2,7 @@
## Evennia 1.0 (2019-) (develop branch, WIP)
Up requirements to Django 3.2+
Up requirements to Django 3.2+, Twisted 21+
- New `drop:holds()` lock default to limit dropping nonsensical things. Access check
defaults to True for backwards-compatibility in 0.9, will be False in 1.0
@ -90,12 +90,20 @@ Up requirements to Django 3.2+
while /Tall becomes 'Tall man'. One can turn this off if wanting the old style.
- Change `EvTable` fixed-height rebalance algorithm to fill with empty lines at end of
column instead of inserting rows based on cell-size (could be mistaken for a bug).
- Split `return_appearance` hook with helper methods and have it use a template
string in order to make it easier to override.
### Evennia 0.9.5 (2019-2020)
Released 2020-11-14.
A transitional release, including new doc system.
Backported from develop: Python 3.8, 3.9 support. Django 3.2+ support, Twisted 21+ support.
- `is_typeclass(obj (Object), exact (bool))` now defaults to exact=False
- `py` command now reroutes stdout to output results in-game client. `py`
without arguments starts a full interactive Python console.