Merge pull request #2615 from owllex/help
Fix typo in contrib import path.
This commit is contained in:
commit
352c7a5dc2
2 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Contribution by owllex, 2021
|
Contribution by owllex, 2021
|
||||||
|
|
||||||
Cooldowns are used modelling rate-limited actions, like how often a
|
Cooldowns are used to model rate-limited actions, like how often a
|
||||||
character can perform a given action; until a certain time has passed their
|
character can perform a given action; until a certain time has passed their
|
||||||
command can not be used again. This contrib provides a simple cooldown
|
command can not be used again. This contrib provides a simple cooldown
|
||||||
handler that can be attached to any typeclass. A cooldown is a lightweight persistent
|
handler that can be attached to any typeclass. A cooldown is a lightweight persistent
|
||||||
|
|
@ -30,7 +30,7 @@ customize this if desired by passing a different value for the `db_attribute`
|
||||||
parameter.
|
parameter.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from evennia.game_systems.contrib.cooldowns import Cooldownhandler
|
from evennia.contrib.game_systems.cooldowns import Cooldownhandler
|
||||||
from evennia.utils.utils import lazy_property
|
from evennia.utils.utils import lazy_property
|
||||||
|
|
||||||
@lazy_property
|
@lazy_property
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ By default the CooldownHandler will use the `cooldowns` property, but you can
|
||||||
customize this if desired by passing a different value for the db_attribute
|
customize this if desired by passing a different value for the db_attribute
|
||||||
parameter.
|
parameter.
|
||||||
|
|
||||||
from evennia.game_systems.contrib.cooldowns import Cooldownhandler
|
from evennia.contrib.game_systems.cooldowns import Cooldownhandler
|
||||||
from evennia.utils.utils import lazy_property
|
from evennia.utils.utils import lazy_property
|
||||||
|
|
||||||
@lazy_property
|
@lazy_property
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue