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

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

src/l/a/Lampost-Mud-HEAD/lampost/model/item.py   Lampost-Mud(Download)
from lampost.gameops.action import item_action
from lampost.gameops.display import TELL_TO_DISPLAY
from lampost.gameops.template import TemplateInstance, TemplateMeta
 
m_requires('dispatcher', __name__)
class BaseItem(TemplateInstance):
    __metaclass__ = BaseItemMeta
    class_id = 'base_item'
 
    desc = DBOTField('')

src/l/a/Lampost-Mud-HEAD/lampost/lpflavor/skill.py   Lampost-Mud(Download)
from lampost.datastore.auto import TemplateField
from lampost.gameops.action import ActionError, convert_verbs
from lampost.gameops.template import Template, TemplateInstance
from lampost.mud.action import mud_action, imm_action
 
class BaseSkill(TemplateInstance):
    template_id = 'skill'
 
    verb = DBOTField()
    desc = DBOTField()