12345678910 |
- from intelligine.synergy.event.transport.TakeableEvent import TakeableEvent
- from xyzworld.mechanism.ArroundMechanism import ArroundMechanism
- from intelligine.cst import TRANSPORTER, ALIVE, CARRYING, CANT_PUT_STILL
-
-
- class PutableEvent(TakeableEvent):
-
- def concern(self, object_id, context):
- return context.metas.states.have_list(object_id, [TRANSPORTER, ALIVE, CARRYING]) \
- and not context.metas.value.get(CANT_PUT_STILL, object_id, allow_empty=True)
|