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/mobile.py   Lampost-Mud(Download)
from lampost.datastore.dbo import RootDBO, DBOField
from lampost.gameops.template import Template
from lampost.model.entity import Entity
from lampost.model.item import target_keys
 
class Mobile(Entity):
    template_id = 'mobile'
 
    def detach(self):
        super(Mobile, self).detach()

src/l/a/Lampost-Mud-HEAD/lampost/lpflavor/entity.py   Lampost-Mud(Download)
from lampost.lpflavor.attributes import need_refresh, POOL_LIST
from lampost.lpflavor.combat import calc_consider
from lampost.model.entity import Entity
 
m_requires('log', 'tools', 'dispatcher', __name__)
class EntityLP(Entity):
    health = 0
    stamina = 0
    mental = 0
    action = 0