Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/l/a/Lampost-Mud-HEAD/lampost/model/entity.py   Lampost-Mud(Download)
from lampost.context.resource import m_requires
from lampost.gameops.display import SYSTEM_DISPLAY
from lampost.gameops.parser import ParseError, parse_actions, has_action
from lampost.model.item import BaseItem
from lampost.mud.inventory import InvenContainer
    def parse(self, command):
        if command[0] == '\'':
            command = 'say {}'.format(command[1:])
        try:
            action, act_args = parse_actions(self, command)