CycleEvent.py 339B

1234567891011
  1. from synergine.synergy.event.Event import Event
  2. from intelligine.cst import CANT_CARRY_STILL, TRANSPORTER, ALIVE
  3. class CycleEvent(Event):
  4. def concern(self, object_id, context):
  5. return context.metas.states.have(object_id, [TRANSPORTER, ALIVE])
  6. def _object_match(self, object_id, context, parameters):
  7. return True