Thing templates can now define verbs in TOML using [verbs] section with module:function references. Verbs are resolved at spawn time and bound to the spawned object instance using functools.partial. Works for both Thing and Container instances.
1 line
24 B
Python
1 line
24 B
Python
"""Tests for mudlib."""
|