Set @event/edit to be more clever when selecting events
This commit is contained in:
parent
88516630db
commit
5e43f1370f
3 changed files with 67 additions and 17 deletions
|
|
@ -6,6 +6,8 @@ and are designed to be used more by developers to add event types.
|
|||
|
||||
"""
|
||||
|
||||
from textwrap import dedent
|
||||
|
||||
from evennia import logger
|
||||
from evennia import ScriptDB
|
||||
|
||||
|
|
@ -123,4 +125,5 @@ def connect_event_types():
|
|||
types = script.ndb.event_types[typeclass_name]
|
||||
|
||||
# Add or replace the event
|
||||
help_text = dedent(help_text.strip("\n"))
|
||||
types[event_name] = (variables, help_text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue