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

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

src/l/a/Lampost-Mud-HEAD/lampost/model/article.py   Lampost-Mud(Download)
from lampost.datastore.auto import TemplateField
from lampost.gameops.script import Scriptable
from lampost.model.item import BaseItem, target_keys
from lampost.gameops.action import ActionError
from lampost.datastore.dbo import RootDBO, DBOField, DBOTField
class Article(BaseItem, Scriptable):
    template_id  = 'article'
 
    weight = DBOTField(0)
    value = DBOTField(0)

src/l/a/Lampost-Mud-HEAD/lampost/model/entity.py   Lampost-Mud(Download)
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
 
m_requires('log', __name__)
 
 
class Entity(BaseItem):

src/l/a/Lampost-Mud-HEAD/lampost/env/feature.py   Lampost-Mud(Download)
from lampost.datastore.classes import get_dbo_class
from lampost.context.resource import m_requires
from lampost.datastore.dbo import DBOField
from lampost.gameops.script import Scriptable
from lampost.model.item import BaseItem
 
m_requires('log', __name__)
 
 
class Feature(BaseItem, Scriptable):

src/l/a/Lampost-Mud-HEAD/lampost/mud/inventory.py   Lampost-Mud(Download)
from lampost.datastore.dbo import DBOField
 
from lampost.gameops.display import EXIT_DISPLAY
from lampost.model.item import BaseItem
from lampost.mud.action import mud_action
class InvenContainer(BaseItem):
    class_id = 'container'
 
    contents = DBOField([], 'article_inst')