mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix typo in code structure and utils tutorial. Resolve #3474
This commit is contained in:
parent
2c570f5208
commit
7f41e5a649
2 changed files with 2 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ ABILITY_REVERSE_MAP = {
|
|||
|
||||
Above, the `Ability` class holds some basic properties of a character sheet.
|
||||
|
||||
The `ABILITY_REVERSE_MAP` is a convenient map to go the other way &mdas; if in some command we were to enter the string 'cha', we could use this mapping to directly convert your input to the correct `Ability`. For example:
|
||||
The `ABILITY_REVERSE_MAP` is a convenient map to go the other way — if in some command we were to enter the string 'cha', we could use this mapping to directly convert your input to the correct `Ability`. For example:
|
||||
|
||||
ability = ABILITY_REVERSE_MAP.get(your_input)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue